summaryrefslogtreecommitdiff
path: root/x11-misc
diff options
context:
space:
mode:
Diffstat (limited to 'x11-misc')
-rw-r--r--x11-misc/3ddesktop/3ddesktop-0.2.9-r1.ebuild57
-rw-r--r--x11-misc/3ddesktop/Manifest9
-rw-r--r--x11-misc/3ddesktop/files/3ddesktop-0.2.9-asneeded.patch13
-rw-r--r--x11-misc/3ddesktop/files/3ddesktop-0.2.9-gcc4.patch14
-rw-r--r--x11-misc/3ddesktop/files/3ddesktop-0.2.9-gl_init.patch23
-rw-r--r--x11-misc/3ddesktop/files/3ddesktop-0.2.9-missing-include.patch12
-rw-r--r--x11-misc/3ddesktop/metadata.xml16
-rw-r--r--x11-misc/3dfb/3dfb-0.6.1-r1.ebuild29
-rw-r--r--x11-misc/3dfb/Manifest7
-rw-r--r--x11-misc/3dfb/files/0.6.1-gcc41.patch12
-rw-r--r--x11-misc/3dfb/files/3dfb-0.6.1-freeglut-compat.patch10
-rw-r--r--x11-misc/3dfb/metadata.xml8
-rw-r--r--x11-misc/3dfm/3dfm-1.0-r1.ebuild23
-rw-r--r--x11-misc/3dfm/Manifest5
-rw-r--r--x11-misc/3dfm/metadata.xml8
-rw-r--r--x11-misc/Xorgautoconfig/Manifest7
-rw-r--r--x11-misc/Xorgautoconfig/Xorgautoconfig-0.2.4-r1.ebuild38
-rw-r--r--x11-misc/Xorgautoconfig/files/Xorgautoconfig-lz.patch11
-rw-r--r--x11-misc/Xorgautoconfig/files/backingstore.patch10
-rw-r--r--x11-misc/Xorgautoconfig/metadata.xml11
-rw-r--r--x11-misc/accessx/Manifest6
-rw-r--r--x11-misc/accessx/accessx-0951-r2.ebuild39
-rw-r--r--x11-misc/accessx/files/accessx-0951-build.patch65
-rw-r--r--x11-misc/accessx/metadata.xml8
-rw-r--r--x11-misc/afbinit/Manifest8
-rw-r--r--x11-misc/afbinit/afbinit-1.0.1-r7.ebuild43
-rw-r--r--x11-misc/afbinit/files/afbinit-mmap-1.0.1.patch20
-rw-r--r--x11-misc/afbinit/files/afbinit.init13
-rw-r--r--x11-misc/afbinit/files/rc.afb-1.0.1-r7.patch62
-rw-r--r--x11-misc/afbinit/metadata.xml9
-rw-r--r--x11-misc/alacarte/Manifest5
-rw-r--r--x11-misc/alacarte/alacarte-3.11.91.ebuild62
-rw-r--r--x11-misc/alacarte/metadata.xml8
-rw-r--r--x11-misc/albert/Manifest7
-rw-r--r--x11-misc/albert/albert-0.12.0.ebuild54
-rw-r--r--x11-misc/albert/albert-0.13.0.ebuild63
-rw-r--r--x11-misc/albert/metadata.xml10
-rw-r--r--x11-misc/alock/Manifest10
-rw-r--r--x11-misc/alock/alock-1.0.0.ebuild72
-rw-r--r--x11-misc/alock/files/check-setuid.patch31
-rw-r--r--x11-misc/alock/files/fix-aliasing.patch23
-rw-r--r--x11-misc/alock/files/implicit_pointer_conversion_fix_amd64.patch13
-rw-r--r--x11-misc/alock/files/no-xf86misc.patch129
-rw-r--r--x11-misc/alock/files/tidy-printf.patch23
-rw-r--r--x11-misc/alock/metadata.xml22
-rw-r--r--x11-misc/appmenu-qt/Manifest5
-rw-r--r--x11-misc/appmenu-qt/appmenu-qt-0.2.6.ebuild24
-rw-r--r--x11-misc/appmenu-qt/metadata.xml11
-rw-r--r--x11-misc/apwal/Manifest6
-rw-r--r--x11-misc/apwal/apwal-0.4.5-r2.ebuild29
-rw-r--r--x11-misc/apwal/files/apwal-0.4.5-makefile.patch67
-rw-r--r--x11-misc/apwal/metadata.xml8
-rw-r--r--x11-misc/arandr/Manifest5
-rw-r--r--x11-misc/arandr/arandr-0.1.9.ebuild40
-rw-r--r--x11-misc/arandr/metadata.xml8
-rw-r--r--x11-misc/autocutsel/Manifest5
-rw-r--r--x11-misc/autocutsel/autocutsel-0.10.0.ebuild24
-rw-r--r--x11-misc/autocutsel/metadata.xml12
-rw-r--r--x11-misc/basqet/Manifest6
-rw-r--r--x11-misc/basqet/basqet-0.2.0-r1.ebuild32
-rw-r--r--x11-misc/basqet/files/basqet-0.2.0-desktop.patch14
-rw-r--r--x11-misc/basqet/metadata.xml12
-rw-r--r--x11-misc/bbacpi/Manifest7
-rw-r--r--x11-misc/bbacpi/bbacpi-0.1.5-r3.ebuild41
-rw-r--r--x11-misc/bbacpi/files/bbacpi-0.1.5-noextraquals.diff13
-rw-r--r--x11-misc/bbacpi/files/bbacpi-0.1.5-overflows.diff105
-rw-r--r--x11-misc/bbacpi/metadata.xml14
-rw-r--r--x11-misc/bbcd/Manifest8
-rw-r--r--x11-misc/bbcd/bbcd-0.3.1-r2.ebuild28
-rw-r--r--x11-misc/bbcd/files/bbcd-0.3.1-gcc3.3.patch20
-rw-r--r--x11-misc/bbcd/files/bbcd-0.3.1-gcc4.3.patch11
-rw-r--r--x11-misc/bbcd/files/bbcd-0.3.1_0.3.1a.diff41
-rw-r--r--x11-misc/bbcd/metadata.xml8
-rw-r--r--x11-misc/bbdate/Manifest6
-rw-r--r--x11-misc/bbdate/bbdate-0.2.4-r2.ebuild38
-rw-r--r--x11-misc/bbdate/files/bbdate-0.2.4-as-needed.patch21
-rw-r--r--x11-misc/bbdate/metadata.xml9
-rw-r--r--x11-misc/bbkeys/Manifest5
-rw-r--r--x11-misc/bbkeys/bbkeys-0.9.1-r1.ebuild26
-rw-r--r--x11-misc/bbkeys/metadata.xml11
-rw-r--r--x11-misc/bblaunch/Manifest6
-rw-r--r--x11-misc/bblaunch/bblaunch-0.0.3.ebuild23
-rw-r--r--x11-misc/bblaunch/files/bblaunch-0.0.3.patch11
-rw-r--r--x11-misc/bblaunch/metadata.xml11
-rw-r--r--x11-misc/bbmail/Manifest8
-rw-r--r--x11-misc/bbmail/bbmail-0.9.3-r1.ebuild39
-rw-r--r--x11-misc/bbmail/files/bbmail-0.9.3-gcc4.3.patch45
-rw-r--r--x11-misc/bbmail/files/bbmail-0.9.3-gcc4.4.patch89
-rw-r--r--x11-misc/bbmail/files/bbmail-0.9.3-shebang.patch8
-rw-r--r--x11-misc/bbmail/metadata.xml11
-rw-r--r--x11-misc/bbpager/Manifest7
-rw-r--r--x11-misc/bbpager/bbpager-0.4.7-r1.ebuild35
-rw-r--r--x11-misc/bbpager/files/bbpager-0.4.7-as-needed.patch92
-rw-r--r--x11-misc/bbpager/files/bbpager-0.4.7-gcc43.patch33
-rw-r--r--x11-misc/bbpager/metadata.xml11
-rw-r--r--x11-misc/bbppp/Manifest9
-rw-r--r--x11-misc/bbppp/bbppp-0.2.5-r1.ebuild42
-rw-r--r--x11-misc/bbppp/bbppp-0.2.5.ebuild38
-rw-r--r--x11-misc/bbppp/files/bbppp-0.2.5-gcc3-multiline.patch44
-rw-r--r--x11-misc/bbppp/files/bbppp-0.2.5-overflows.patch17
-rw-r--r--x11-misc/bbppp/files/bbppp-asneeded.patch38
-rw-r--r--x11-misc/bbppp/metadata.xml11
-rw-r--r--x11-misc/bbrun/Manifest7
-rw-r--r--x11-misc/bbrun/bbrun-1.6-r1.ebuild34
-rw-r--r--x11-misc/bbrun/files/bbrun-1.6-list.patch127
-rw-r--r--x11-misc/bbrun/files/bbrun-1.6-makefile.patch29
-rw-r--r--x11-misc/bbrun/metadata.xml5
-rw-r--r--x11-misc/bbtime/Manifest6
-rw-r--r--x11-misc/bbtime/bbtime-0.1.5-r1.ebuild36
-rw-r--r--x11-misc/bbtime/files/bbtime-0.1.5-asneeded.patch39
-rw-r--r--x11-misc/bbtime/metadata.xml9
-rw-r--r--x11-misc/bbweather/Manifest6
-rw-r--r--x11-misc/bbweather/bbweather-0.6.3-r1.ebuild44
-rw-r--r--x11-misc/bbweather/files/bbweather-asneeded.patch40
-rw-r--r--x11-misc/bbweather/metadata.xml8
-rw-r--r--x11-misc/blockdpy/Manifest5
-rw-r--r--x11-misc/blockdpy/blockdpy-1-r1.ebuild69
-rw-r--r--x11-misc/blockdpy/metadata.xml5
-rw-r--r--x11-misc/bumblebee/Manifest11
-rw-r--r--x11-misc/bumblebee/bumblebee-3.2.1.ebuild76
-rw-r--r--x11-misc/bumblebee/bumblebee-3.2.1_p20170123.ebuild95
-rw-r--r--x11-misc/bumblebee/bumblebee-9999.ebuild95
-rw-r--r--x11-misc/bumblebee/files/bumblebee.confd3
-rw-r--r--x11-misc/bumblebee/files/bumblebee.envd3
-rw-r--r--x11-misc/bumblebee/files/bumblebee.initd22
-rw-r--r--x11-misc/bumblebee/metadata.xml29
-rw-r--r--x11-misc/cairo-clock/Manifest7
-rw-r--r--x11-misc/cairo-clock/cairo-clock-0.3.4-r1.ebuild36
-rw-r--r--x11-misc/cairo-clock/files/cairo-clock-0.3.4-desktop.patch18
-rw-r--r--x11-misc/cairo-clock/files/cairo-clock-0.3.4-linker.patch22
-rw-r--r--x11-misc/cairo-clock/metadata.xml11
-rw-r--r--x11-misc/calise/Manifest5
-rw-r--r--x11-misc/calise/calise-0.4.2.ebuild57
-rw-r--r--x11-misc/calise/metadata.xml15
-rw-r--r--x11-misc/cbatticon/Manifest9
-rw-r--r--x11-misc/cbatticon/cbatticon-1.6.5.ebuild49
-rw-r--r--x11-misc/cbatticon/cbatticon-1.6.6.ebuild49
-rw-r--r--x11-misc/cbatticon/cbatticon-1.6.7.ebuild49
-rw-r--r--x11-misc/cbatticon/metadata.xml11
-rw-r--r--x11-misc/ccsm/Manifest5
-rw-r--r--x11-misc/ccsm/ccsm-0.8.4-r5.ebuild53
-rw-r--r--x11-misc/ccsm/files/ccsm-0.8.4-pygobject-glib-fix.patch16
-rw-r--r--x11-misc/ccsm/metadata.xml6
-rw-r--r--x11-misc/cdm/Manifest5
-rw-r--r--x11-misc/cdm/cdm-0.6.1_pre20130419.ebuild70
-rw-r--r--x11-misc/cdm/metadata.xml19
-rw-r--r--x11-misc/chgres/Manifest7
-rw-r--r--x11-misc/chgres/chgres-0.1-r2.ebuild35
-rw-r--r--x11-misc/chgres/files/chgres-0.1-flags.patch21
-rw-r--r--x11-misc/chgres/files/chgres-0.1-includes.patch15
-rw-r--r--x11-misc/chgres/metadata.xml9
-rw-r--r--x11-misc/colord/Manifest9
-rw-r--r--x11-misc/colord/colord-1.2.12.ebuild170
-rw-r--r--x11-misc/colord/colord-1.3.3.ebuild161
-rw-r--r--x11-misc/colord/colord-1.3.4.ebuild161
-rw-r--r--x11-misc/colord/metadata.xml15
-rw-r--r--x11-misc/compton/Manifest6
-rw-r--r--x11-misc/compton/compton-0.1_beta2.ebuild69
-rw-r--r--x11-misc/compton/compton-9999.ebuild66
-rw-r--r--x11-misc/compton/metadata.xml12
-rw-r--r--x11-misc/dclock/Manifest7
-rw-r--r--x11-misc/dclock/dclock-2.2.2_p9.ebuild72
-rw-r--r--x11-misc/dclock/files/dclock-2.2.2_p4-include.patch10
-rw-r--r--x11-misc/dclock/metadata.xml8
-rw-r--r--x11-misc/devilspie/Manifest6
-rw-r--r--x11-misc/devilspie/devilspie-0.23-r1.ebuild43
-rw-r--r--x11-misc/devilspie/devilspie-0.23.ebuild39
-rw-r--r--x11-misc/devilspie/metadata.xml8
-rw-r--r--x11-misc/devilspie2/Manifest5
-rw-r--r--x11-misc/devilspie2/devilspie2-0.42.ebuild51
-rw-r--r--x11-misc/devilspie2/metadata.xml8
-rw-r--r--x11-misc/dex/Manifest7
-rw-r--r--x11-misc/dex/dex-0.7.ebuild31
-rw-r--r--x11-misc/dex/dex-0.8.0.ebuild36
-rw-r--r--x11-misc/dex/metadata.xml11
-rw-r--r--x11-misc/dmenu/Manifest11
-rw-r--r--x11-misc/dmenu/dmenu-4.6.ebuild56
-rw-r--r--x11-misc/dmenu/dmenu-4.7.ebuild57
-rw-r--r--x11-misc/dmenu/dmenu-9999.ebuild61
-rw-r--r--x11-misc/dmenu/files/dmenu-4.6-gentoo.patch38
-rw-r--r--x11-misc/dmenu/files/dmenu-4.7-gentoo.patch38
-rw-r--r--x11-misc/dmenu/files/dmenu-9999-gentoo.patch37
-rw-r--r--x11-misc/dmenu/metadata.xml11
-rw-r--r--x11-misc/dockmanager/Manifest5
-rw-r--r--x11-misc/dockmanager/dockmanager-0.1.0-r1.ebuild42
-rw-r--r--x11-misc/dockmanager/metadata.xml7
-rw-r--r--x11-misc/driconf/Manifest10
-rw-r--r--x11-misc/driconf/driconf-0.9.1-r2.ebuild51
-rw-r--r--x11-misc/driconf/files/driconf-0.9.1-desktop-menu.patch9
-rw-r--r--x11-misc/driconf/files/driconf-0.9.1-driconf_simpleui.py.patch16
-rw-r--r--x11-misc/driconf/files/driconf-0.9.1-drop-old-tooltips.patch61
-rw-r--r--x11-misc/driconf/files/driconf-0.9.1-glxinfo-unicode.patch22
-rw-r--r--x11-misc/driconf/files/driconf-0.9.1-update-toolbar-methods.patch108
-rw-r--r--x11-misc/driconf/metadata.xml8
-rw-r--r--x11-misc/dsx/Manifest5
-rw-r--r--x11-misc/dsx/dsx-0.1-r1.ebuild29
-rw-r--r--x11-misc/dsx/files/dsx-0.172
-rw-r--r--x11-misc/dsx/metadata.xml8
-rw-r--r--x11-misc/dunst/Manifest7
-rw-r--r--x11-misc/dunst/dunst-1.1.0.ebuild67
-rw-r--r--x11-misc/dunst/dunst-1.2.0.ebuild55
-rw-r--r--x11-misc/dunst/metadata.xml11
-rw-r--r--x11-misc/dxpc/Manifest5
-rw-r--r--x11-misc/dxpc/dxpc-3.9.2-r2.ebuild25
-rw-r--r--x11-misc/dxpc/metadata.xml8
-rw-r--r--x11-misc/dzen/Manifest7
-rw-r--r--x11-misc/dzen/dzen-0.9.5-r1.ebuild78
-rw-r--r--x11-misc/dzen/files/dzen-0.9.5-config-default.patch95
-rw-r--r--x11-misc/dzen/files/dzen-0.9.5-off-by-one.patch11
-rw-r--r--x11-misc/dzen/metadata.xml15
-rw-r--r--x11-misc/e16keyedit/Manifest5
-rw-r--r--x11-misc/e16keyedit/e16keyedit-0.7.ebuild25
-rw-r--r--x11-misc/e16keyedit/metadata.xml14
-rw-r--r--x11-misc/e16menuedit2/Manifest6
-rw-r--r--x11-misc/e16menuedit2/e16menuedit2-0.0.3.ebuild31
-rw-r--r--x11-misc/e16menuedit2/files/e16menuedit2-0.0.3-no-docs.patch19
-rw-r--r--x11-misc/e16menuedit2/metadata.xml11
-rw-r--r--x11-misc/easystroke/Manifest12
-rw-r--r--x11-misc/easystroke/easystroke-0.6.0-r1.ebuild62
-rw-r--r--x11-misc/easystroke/easystroke-0.6.0-r2.ebuild64
-rw-r--r--x11-misc/easystroke/files/easystroke-0.6.0-buttons-scroll-send.patch43
-rw-r--r--x11-misc/easystroke/files/easystroke-0.6.0-cellrendertextish.patch20
-rw-r--r--x11-misc/easystroke/files/easystroke-0.6.0-cxx11.patch18
-rw-r--r--x11-misc/easystroke/files/easystroke-0.6.0-desktop.patch11
-rw-r--r--x11-misc/easystroke/files/easystroke-0.6.0-gentoo.patch41
-rw-r--r--x11-misc/easystroke/files/easystroke-0.6.0-reinstate-signal-handlers.patch42
-rw-r--r--x11-misc/easystroke/metadata.xml11
-rw-r--r--x11-misc/efax-gtk/Manifest7
-rw-r--r--x11-misc/efax-gtk/efax-gtk-3.2.13.ebuild52
-rw-r--r--x11-misc/efax-gtk/efax-gtk-3.2.9.ebuild53
-rw-r--r--x11-misc/efax-gtk/metadata.xml11
-rw-r--r--x11-misc/evolvotron/Manifest6
-rw-r--r--x11-misc/evolvotron/evolvotron-0.6.3-r1.ebuild50
-rw-r--r--x11-misc/evolvotron/files/evolvotron-0.6.3-gcc6.patch15
-rw-r--r--x11-misc/evolvotron/metadata.xml11
-rw-r--r--x11-misc/fbdesk/Manifest9
-rw-r--r--x11-misc/fbdesk/fbdesk-1.4.1.ebuild36
-rw-r--r--x11-misc/fbdesk/files/fbdesk-1.4.1-fix-c++14.patch22
-rw-r--r--x11-misc/fbdesk/files/fbdesk-1.4.1-gcc-4.3.patch156
-rw-r--r--x11-misc/fbdesk/files/fbdesk-1.4.1-libpng14.patch11
-rw-r--r--x11-misc/fbdesk/files/fbdesk-1.4.1-libpng15.patch145
-rw-r--r--x11-misc/fbdesk/metadata.xml8
-rw-r--r--x11-misc/fbpager/Manifest5
-rw-r--r--x11-misc/fbpager/fbpager-20090221-r1.ebuild25
-rw-r--r--x11-misc/fbpager/metadata.xml9
-rw-r--r--x11-misc/fbpanel/Manifest9
-rw-r--r--x11-misc/fbpanel/fbpanel-7.0.ebuild57
-rw-r--r--x11-misc/fbpanel/files/fbpanel-6.1-underlinking.patch15
-rw-r--r--x11-misc/fbpanel/files/fbpanel-6.1-xlogout.patch13
-rw-r--r--x11-misc/fbpanel/files/fbpanel-7.0-clang.patch57
-rw-r--r--x11-misc/fbpanel/files/fbpanel-7.0-shebangs.patch120
-rw-r--r--x11-misc/fbpanel/metadata.xml12
-rw-r--r--x11-misc/fireflies/Manifest5
-rw-r--r--x11-misc/fireflies/fireflies-2.08-r1.ebuild39
-rw-r--r--x11-misc/fireflies/metadata.xml11
-rw-r--r--x11-misc/flow-pomodoro/Manifest5
-rw-r--r--x11-misc/flow-pomodoro/flow-pomodoro-1.2.0.ebuild24
-rw-r--r--x11-misc/flow-pomodoro/metadata.xml8
-rw-r--r--x11-misc/fluxter/Manifest6
-rw-r--r--x11-misc/fluxter/files/fluxter-0.1.0-asneeded.patch43
-rw-r--r--x11-misc/fluxter/fluxter-0.1.0.ebuild33
-rw-r--r--x11-misc/fluxter/metadata.xml8
-rw-r--r--x11-misc/fpm2/Manifest5
-rw-r--r--x11-misc/fpm2/fpm2-0.79-r1.ebuild31
-rw-r--r--x11-misc/fpm2/metadata.xml8
-rw-r--r--x11-misc/fracplanet/Manifest7
-rw-r--r--x11-misc/fracplanet/files/fracplanet-0.4.0-gcc6.patch44
-rw-r--r--x11-misc/fracplanet/files/fracplanet-0.4.0-gold.patch22
-rw-r--r--x11-misc/fracplanet/fracplanet-0.4.0-r1.ebuild50
-rw-r--r--x11-misc/fracplanet/metadata.xml11
-rw-r--r--x11-misc/fraqtive/Manifest6
-rw-r--r--x11-misc/fraqtive/files/fraqtive-0.4.8-qt-includes.patch24
-rw-r--r--x11-misc/fraqtive/fraqtive-0.4.8.ebuild73
-rw-r--r--x11-misc/fraqtive/metadata.xml11
-rw-r--r--x11-misc/ftmenu/Manifest5
-rw-r--r--x11-misc/ftmenu/ftmenu-0.4.0-r1.ebuild32
-rw-r--r--x11-misc/ftmenu/metadata.xml8
-rw-r--r--x11-misc/gbase/Manifest6
-rw-r--r--x11-misc/gbase/files/gbase-0.5-gtk.patch26
-rw-r--r--x11-misc/gbase/gbase-0.5-r1.ebuild31
-rw-r--r--x11-misc/gbase/metadata.xml8
-rw-r--r--x11-misc/gbdfed/Manifest5
-rw-r--r--x11-misc/gbdfed/gbdfed-1.6.ebuild29
-rw-r--r--x11-misc/gbdfed/metadata.xml8
-rw-r--r--x11-misc/gccmakedep/Manifest5
-rw-r--r--x11-misc/gccmakedep/gccmakedep-1.0.3.ebuild12
-rw-r--r--x11-misc/gccmakedep/metadata.xml8
-rw-r--r--x11-misc/gcolor2/Manifest9
-rw-r--r--x11-misc/gcolor2/files/gcolor2-0.4-amd64.patch46
-rw-r--r--x11-misc/gcolor2/files/gcolor2-0.4-pkg-config-macro.patch10
-rw-r--r--x11-misc/gcolor2/files/modular-rgb.patch21
-rw-r--r--x11-misc/gcolor2/gcolor2-0.4-r4.ebuild44
-rw-r--r--x11-misc/gcolor2/metadata.xml11
-rw-r--r--x11-misc/genmenu/Manifest7
-rw-r--r--x11-misc/genmenu/files/genmenu-1.0.2.patch27
-rw-r--r--x11-misc/genmenu/files/genmenu-1.1.0-remove-openbox-support.patch28
-rw-r--r--x11-misc/genmenu/genmenu-1.1.0-r1.ebuild25
-rw-r--r--x11-misc/genmenu/metadata.xml5
-rw-r--r--x11-misc/gigolo/Manifest5
-rw-r--r--x11-misc/gigolo/gigolo-0.4.2.ebuild31
-rw-r--r--x11-misc/gigolo/metadata.xml8
-rw-r--r--x11-misc/gmrun/Manifest9
-rw-r--r--x11-misc/gmrun/files/gmrun-0.9.2-gcc43.patch40
-rw-r--r--x11-misc/gmrun/files/gmrun-0.9.2-glibc210.patch11
-rw-r--r--x11-misc/gmrun/files/gmrun-0.9.2-stlport.patch35
-rw-r--r--x11-misc/gmrun/files/gmrun-0.9.2-sysconfdir.patch41
-rw-r--r--x11-misc/gmrun/gmrun-0.9.2-r1.ebuild40
-rw-r--r--x11-misc/gmrun/metadata.xml15
-rw-r--r--x11-misc/googsystray/Manifest5
-rw-r--r--x11-misc/googsystray/googsystray-1.3.1-r1.ebuild20
-rw-r--r--x11-misc/googsystray/metadata.xml11
-rw-r--r--x11-misc/gpaste/Manifest4
-rw-r--r--x11-misc/gpaste/gpaste-3.20.3.ebuild81
-rw-r--r--x11-misc/gpaste/metadata.xml20
-rw-r--r--x11-misc/grabc/Manifest6
-rw-r--r--x11-misc/grabc/files/grabc-1.1-makefile.patch37
-rw-r--r--x11-misc/grabc/grabc-1.1-r2.ebuild31
-rw-r--r--x11-misc/grabc/metadata.xml8
-rw-r--r--x11-misc/gromit/Manifest6
-rw-r--r--x11-misc/gromit/files/gromit-20041213-build.patch19
-rw-r--r--x11-misc/gromit/gromit-20041213-r1.ebuild31
-rw-r--r--x11-misc/gromit/metadata.xml8
-rw-r--r--x11-misc/grsync/Manifest5
-rw-r--r--x11-misc/grsync/grsync-1.2.6.ebuild24
-rw-r--r--x11-misc/grsync/metadata.xml8
-rw-r--r--x11-misc/grub2-theme-preview/Manifest5
-rw-r--r--x11-misc/grub2-theme-preview/grub2-theme-preview-1.3.1.ebuild21
-rw-r--r--x11-misc/grub2-theme-preview/metadata.xml11
-rw-r--r--x11-misc/grun/Manifest6
-rw-r--r--x11-misc/grun/files/grun-0.9.3-no_nls.patch13
-rw-r--r--x11-misc/grun/grun-0.9.3-r1.ebuild45
-rw-r--r--x11-misc/grun/metadata.xml12
-rw-r--r--x11-misc/gtk2fontsel/Manifest5
-rw-r--r--x11-misc/gtk2fontsel/gtk2fontsel-0.1-r1.ebuild17
-rw-r--r--x11-misc/gtk2fontsel/metadata.xml11
-rw-r--r--x11-misc/gtkdialog/Manifest6
-rw-r--r--x11-misc/gtkdialog/files/gtkdialog-0.8.3-optdeps.patch62
-rw-r--r--x11-misc/gtkdialog/gtkdialog-0.8.3-r2.ebuild46
-rw-r--r--x11-misc/gtkdialog/metadata.xml24
-rw-r--r--x11-misc/gxmessage/Manifest7
-rw-r--r--x11-misc/gxmessage/gxmessage-2.20.3.ebuild34
-rw-r--r--x11-misc/gxmessage/gxmessage-3.4.3.ebuild38
-rw-r--r--x11-misc/gxmessage/metadata.xml8
-rw-r--r--x11-misc/habak/Manifest6
-rw-r--r--x11-misc/habak/files/README.en165
-rw-r--r--x11-misc/habak/habak-0.2.5-r2.ebuild44
-rw-r--r--x11-misc/habak/metadata.xml8
-rw-r--r--x11-misc/hsetroot/Manifest9
-rw-r--r--x11-misc/hsetroot/files/hsetroot-1.0.2-underlinking.patch22
-rw-r--r--x11-misc/hsetroot/hsetroot-1.0.2.ebuild28
-rw-r--r--x11-misc/hsetroot/hsetroot-1.0.2_p5.ebuild41
-rw-r--r--x11-misc/hsetroot/metadata.xml23
-rw-r--r--x11-misc/i3blocks/Manifest4
-rw-r--r--x11-misc/i3blocks/files/i3blocks-default-sysconfdir.patch15
-rw-r--r--x11-misc/i3blocks/i3blocks-1.4-r1.ebuild35
-rw-r--r--x11-misc/i3blocks/metadata.xml11
-rw-r--r--x11-misc/i3lock/Manifest7
-rw-r--r--x11-misc/i3lock/i3lock-2.8.ebuild39
-rw-r--r--x11-misc/i3lock/i3lock-2.9.1.ebuild42
-rw-r--r--x11-misc/i3lock/metadata.xml8
-rw-r--r--x11-misc/i3status/Manifest6
-rw-r--r--x11-misc/i3status/files/i3status-2.11-pulseaudio.patch42
-rw-r--r--x11-misc/i3status/i3status-2.11.ebuild44
-rw-r--r--x11-misc/i3status/metadata.xml19
-rw-r--r--x11-misc/i855crt/Manifest6
-rw-r--r--x11-misc/i855crt/files/i855crt-i915support.diff70
-rw-r--r--x11-misc/i855crt/i855crt-0.4-r1.ebuild41
-rw-r--r--x11-misc/i855crt/metadata.xml15
-rw-r--r--x11-misc/icewmcp/Manifest5
-rw-r--r--x11-misc/icewmcp/icewmcp-3.2-r4.ebuild63
-rw-r--r--x11-misc/icewmcp/metadata.xml11
-rw-r--r--x11-misc/icon-naming-utils/Manifest5
-rw-r--r--x11-misc/icon-naming-utils/icon-naming-utils-0.8.90-r1.ebuild17
-rw-r--r--x11-misc/icon-naming-utils/metadata.xml7
-rw-r--r--x11-misc/iconbox/Manifest5
-rw-r--r--x11-misc/iconbox/iconbox-0.2.ebuild27
-rw-r--r--x11-misc/iconbox/metadata.xml15
-rw-r--r--x11-misc/idesk-extras/Manifest6
-rw-r--r--x11-misc/idesk-extras/files/idesk-extras-1.37-stdout.patch112
-rw-r--r--x11-misc/idesk-extras/idesk-extras-1.37-r2.ebuild27
-rw-r--r--x11-misc/idesk-extras/metadata.xml5
-rw-r--r--x11-misc/idesk/Manifest6
-rw-r--r--x11-misc/idesk/files/idesk-0.7.5-glibc-2.12.patch17
-rw-r--r--x11-misc/idesk/idesk-0.7.5-r3.ebuild41
-rw-r--r--x11-misc/idesk/metadata.xml11
-rw-r--r--x11-misc/imake/Manifest5
-rw-r--r--x11-misc/imake/imake-1.0.7.ebuild23
-rw-r--r--x11-misc/imake/metadata.xml8
-rw-r--r--x11-misc/imwheel/Manifest7
-rw-r--r--x11-misc/imwheel/imwheel-1.0.0_pre12.ebuild48
-rw-r--r--x11-misc/imwheel/imwheel-1.0.0_pre13_p20100827.ebuild44
-rw-r--r--x11-misc/imwheel/metadata.xml11
-rw-r--r--x11-misc/ipager/Manifest9
-rw-r--r--x11-misc/ipager/files/ipager-1.1.0-gcc43.patch29
-rw-r--r--x11-misc/ipager/files/ipager-1.1.0-gcc47.patch12
-rw-r--r--x11-misc/ipager/files/ipager-1.1.0-scons_flags.patch24
-rw-r--r--x11-misc/ipager/files/ipager-1.1.0-scons_imlib2.patch19
-rw-r--r--x11-misc/ipager/ipager-1.1.0-r1.ebuild47
-rw-r--r--x11-misc/ipager/metadata.xml8
-rw-r--r--x11-misc/kapow/Manifest7
-rw-r--r--x11-misc/kapow/kapow-1.5.2.ebuild36
-rw-r--r--x11-misc/kapow/kapow-1.5.3.ebuild36
-rw-r--r--x11-misc/kapow/metadata.xml8
-rw-r--r--x11-misc/kaqaz/Manifest7
-rw-r--r--x11-misc/kaqaz/files/kaqaz-1.2.0-qt55.patch14
-rw-r--r--x11-misc/kaqaz/files/kaqaz-1.2.0-unbundle-qtsingleapplication.patch43
-rw-r--r--x11-misc/kaqaz/kaqaz-1.2.0-r2.ebuild51
-rw-r--r--x11-misc/kaqaz/metadata.xml11
-rw-r--r--x11-misc/kbdd/Manifest5
-rw-r--r--x11-misc/kbdd/kbdd-0.7.1.ebuild32
-rw-r--r--x11-misc/kbdd/metadata.xml10
-rw-r--r--x11-misc/kdocker/Manifest6
-rw-r--r--x11-misc/kdocker/files/kdocker-4.8-unbundle-qtsingleapplication.patch17
-rw-r--r--x11-misc/kdocker/kdocker-4.8-r2.ebuild45
-rw-r--r--x11-misc/kdocker/metadata.xml9
-rw-r--r--x11-misc/kronometer/Manifest4
-rw-r--r--x11-misc/kronometer/kronometer-2.1.5.ebuild32
-rw-r--r--x11-misc/kronometer/metadata.xml8
-rw-r--r--x11-misc/ktsuss/Manifest5
-rw-r--r--x11-misc/ktsuss/ktsuss-2.1.ebuild32
-rw-r--r--x11-misc/ktsuss/metadata.xml15
-rw-r--r--x11-misc/launchy/Manifest7
-rw-r--r--x11-misc/launchy/files/launchy-2.5-prefix-and-libdir.patch112
-rw-r--r--x11-misc/launchy/files/launchy-2.5-underlink.patch12
-rw-r--r--x11-misc/launchy/launchy-2.5-r1.ebuild51
-rw-r--r--x11-misc/launchy/metadata.xml4
-rw-r--r--x11-misc/libinput-gestures/Manifest8
-rw-r--r--x11-misc/libinput-gestures/libinput-gestures-2.15.ebuild32
-rw-r--r--x11-misc/libinput-gestures/libinput-gestures-2.19.ebuild32
-rw-r--r--x11-misc/libinput-gestures/libinput-gestures-2.26.ebuild32
-rw-r--r--x11-misc/libinput-gestures/libinput-gestures-9999.ebuild33
-rw-r--r--x11-misc/libinput-gestures/metadata.xml22
-rw-r--r--x11-misc/light-locker/Manifest9
-rw-r--r--x11-misc/light-locker/files/light-locker-1.7.0-systemd.patch46
-rw-r--r--x11-misc/light-locker/light-locker-1.7.0-r1.ebuild68
-rw-r--r--x11-misc/light-locker/light-locker-1.7.0.ebuild64
-rw-r--r--x11-misc/light-locker/light-locker-1.8.0.ebuild64
-rw-r--r--x11-misc/light-locker/metadata.xml17
-rw-r--r--x11-misc/lightdm-gtk-greeter/Manifest12
-rw-r--r--x11-misc/lightdm-gtk-greeter/files/lightdm-gtk-greeter-2.0.1-gcc6.patch25
-rw-r--r--x11-misc/lightdm-gtk-greeter/files/lightdm-gtk-greeter-2.0.1-lightdm-1.19.2.patch64
-rw-r--r--x11-misc/lightdm-gtk-greeter/lightdm-gtk-greeter-2.0.1-r1.ebuild67
-rw-r--r--x11-misc/lightdm-gtk-greeter/lightdm-gtk-greeter-2.0.2-r1.ebuild65
-rw-r--r--x11-misc/lightdm-gtk-greeter/lightdm-gtk-greeter-2.0.3.ebuild68
-rw-r--r--x11-misc/lightdm-gtk-greeter/metadata.xml11
-rw-r--r--x11-misc/lightdm/Manifest15
-rw-r--r--x11-misc/lightdm/files/README.gentoo11
-rw-r--r--x11-misc/lightdm/files/Xsession74
-rw-r--r--x11-misc/lightdm/files/lightdm8
-rw-r--r--x11-misc/lightdm/files/lightdm-autologin6
-rw-r--r--x11-misc/lightdm/files/lightdm.service14
-rw-r--r--x11-misc/lightdm/lightdm-1.18.3.ebuild134
-rw-r--r--x11-misc/lightdm/lightdm-1.22.0.ebuild133
-rw-r--r--x11-misc/lightdm/lightdm-1.24.0.ebuild133
-rw-r--r--x11-misc/lightdm/metadata.xml14
-rw-r--r--x11-misc/lineak-defaultplugin/Manifest7
-rw-r--r--x11-misc/lineak-defaultplugin/files/lineak-defaultplugin-0.9.0-gcc43.patch10
-rw-r--r--x11-misc/lineak-defaultplugin/files/lineak-defaultplugin-0.9.0-gcc47.patch10
-rw-r--r--x11-misc/lineak-defaultplugin/lineak-defaultplugin-0.9.0-r1.ebuild46
-rw-r--r--x11-misc/lineak-defaultplugin/metadata.xml11
-rw-r--r--x11-misc/lineak-xosdplugin/Manifest6
-rw-r--r--x11-misc/lineak-xosdplugin/files/lineak-xosdplugin-0.9.0-gcc43.patch14
-rw-r--r--x11-misc/lineak-xosdplugin/lineak-xosdplugin-0.9.0-r1.ebuild39
-rw-r--r--x11-misc/lineak-xosdplugin/metadata.xml11
-rw-r--r--x11-misc/lineakd/Manifest8
-rw-r--r--x11-misc/lineakd/files/lineakd-0.9.0-DELL-XPS-M1330-XOrg-1_5.patch32
-rw-r--r--x11-misc/lineakd/files/lineakd-0.9.0-gcc43.patch42
-rw-r--r--x11-misc/lineakd/lineakd-0.9.0-r1.ebuild60
-rw-r--r--x11-misc/lineakd/lineakd-0.9.0-r2.ebuild59
-rw-r--r--x11-misc/lineakd/metadata.xml11
-rw-r--r--x11-misc/lndir/Manifest5
-rw-r--r--x11-misc/lndir/lndir-1.0.3-r1.ebuild15
-rw-r--r--x11-misc/lndir/metadata.xml8
-rw-r--r--x11-misc/lsw/Manifest5
-rw-r--r--x11-misc/lsw/lsw-0.3.ebuild37
-rw-r--r--x11-misc/lsw/metadata.xml8
-rw-r--r--x11-misc/macopix/Manifest16
-rw-r--r--x11-misc/macopix/files/macopix-1.7.4-windres.patch58
-rw-r--r--x11-misc/macopix/macopix-1.7.4-r1.ebuild86
-rw-r--r--x11-misc/macopix/metadata.xml8
-rw-r--r--x11-misc/magick-rotation/Manifest5
-rw-r--r--x11-misc/magick-rotation/magick-rotation-1.6.2-r2.ebuild95
-rw-r--r--x11-misc/magick-rotation/metadata.xml21
-rw-r--r--x11-misc/makedepend/Manifest5
-rw-r--r--x11-misc/makedepend/makedepend-1.0.5.ebuild14
-rw-r--r--x11-misc/makedepend/metadata.xml8
-rw-r--r--x11-misc/matchbox-keyboard/Manifest6
-rw-r--r--x11-misc/matchbox-keyboard/files/matchbox-keyboard-0.1-r1-modernize_desktop.patch11
-rw-r--r--x11-misc/matchbox-keyboard/matchbox-keyboard-0.1-r1.ebuild27
-rw-r--r--x11-misc/matchbox-keyboard/metadata.xml5
-rw-r--r--x11-misc/mate-notification-daemon/Manifest12
-rw-r--r--x11-misc/mate-notification-daemon/files/org.freedesktop.Notifications.service3
-rw-r--r--x11-misc/mate-notification-daemon/mate-notification-daemon-1.12.1.ebuild61
-rw-r--r--x11-misc/mate-notification-daemon/mate-notification-daemon-1.14.1.ebuild62
-rw-r--r--x11-misc/mate-notification-daemon/mate-notification-daemon-1.16.1.ebuild54
-rw-r--r--x11-misc/mate-notification-daemon/mate-notification-daemon-1.18.0.ebuild54
-rw-r--r--x11-misc/mate-notification-daemon/metadata.xml14
-rw-r--r--x11-misc/menulibre/Manifest9
-rw-r--r--x11-misc/menulibre/files/menulibre-13.01.4-GError-import.patch17
-rw-r--r--x11-misc/menulibre/menulibre-13.01.4-r1.ebuild68
-rw-r--r--x11-misc/menulibre/menulibre-13.01.4.ebuild65
-rw-r--r--x11-misc/menulibre/menulibre-13.04.17.ebuild68
-rw-r--r--x11-misc/menulibre/metadata.xml11
-rw-r--r--x11-misc/menumaker/Manifest6
-rw-r--r--x11-misc/menumaker/files/menumaker-0.99.10-AM_PATH_PYTHON.patch100
-rw-r--r--x11-misc/menumaker/menumaker-0.99.10.ebuild58
-rw-r--r--x11-misc/menumaker/metadata.xml15
-rw-r--r--x11-misc/metadata.xml43
-rw-r--r--x11-misc/mgm/Manifest5
-rw-r--r--x11-misc/mgm/metadata.xml8
-rw-r--r--x11-misc/mgm/mgm-1.2-r1.ebuild27
-rw-r--r--x11-misc/mixer_app/Manifest6
-rw-r--r--x11-misc/mixer_app/files/mixer_app-1.8.0-build.patch44
-rw-r--r--x11-misc/mixer_app/metadata.xml8
-rw-r--r--x11-misc/mixer_app/mixer_app-1.8.0.ebuild36
-rw-r--r--x11-misc/mozo/Manifest12
-rw-r--r--x11-misc/mozo/metadata.xml14
-rw-r--r--x11-misc/mozo/mozo-1.12.0-r1.ebuild75
-rw-r--r--x11-misc/mozo/mozo-1.14.1.ebuild66
-rw-r--r--x11-misc/mozo/mozo-1.16.0-r1.ebuild66
-rw-r--r--x11-misc/mozo/mozo-1.18.0.ebuild66
-rw-r--r--x11-misc/netwmpager/Manifest5
-rw-r--r--x11-misc/netwmpager/metadata.xml8
-rw-r--r--x11-misc/netwmpager/netwmpager-2.05.ebuild41
-rw-r--r--x11-misc/nitrogen/Manifest5
-rw-r--r--x11-misc/nitrogen/metadata.xml8
-rw-r--r--x11-misc/nitrogen/nitrogen-1.6.1.ebuild50
-rw-r--r--x11-misc/notification-daemon/Manifest13
-rw-r--r--x11-misc/notification-daemon/files/notification-daemon-0.5.0-libnotify-0.7.patch28
-rw-r--r--x11-misc/notification-daemon/files/notification-daemon-0.5.0-underlinking.patch12
-rw-r--r--x11-misc/notification-daemon/metadata.xml8
-rw-r--r--x11-misc/notification-daemon/notification-daemon-0.5.0.ebuild50
-rw-r--r--x11-misc/notification-daemon/notification-daemon-3.14.1.ebuild45
-rw-r--r--x11-misc/notification-daemon/notification-daemon-3.18.2.ebuild43
-rw-r--r--x11-misc/notification-daemon/notification-daemon-3.20.0.ebuild43
-rw-r--r--x11-misc/notify-osd/Manifest5
-rw-r--r--x11-misc/notify-osd/metadata.xml8
-rw-r--r--x11-misc/notify-osd/notify-osd-0.9.34.ebuild63
-rw-r--r--x11-misc/nts/Manifest5
-rw-r--r--x11-misc/nts/metadata.xml13
-rw-r--r--x11-misc/nts/nts-82-r1.ebuild20
-rw-r--r--x11-misc/numlockx/Manifest5
-rw-r--r--x11-misc/numlockx/metadata.xml8
-rw-r--r--x11-misc/numlockx/numlockx-1.2.ebuild39
-rw-r--r--x11-misc/obconf-qt/Manifest5
-rw-r--r--x11-misc/obconf-qt/metadata.xml8
-rw-r--r--x11-misc/obconf-qt/obconf-qt-0.9.0_p20150729.ebuild39
-rw-r--r--x11-misc/obconf/Manifest6
-rw-r--r--x11-misc/obconf/metadata.xml8
-rw-r--r--x11-misc/obconf/obconf-2.0.4.ebuild37
-rw-r--r--x11-misc/obconf/obconf-9999.ebuild41
-rw-r--r--x11-misc/obmenu-generator/Manifest5
-rw-r--r--x11-misc/obmenu-generator/metadata.xml11
-rw-r--r--x11-misc/obmenu-generator/obmenu-generator-0.66.ebuild26
-rw-r--r--x11-misc/obmenu/Manifest5
-rw-r--r--x11-misc/obmenu/metadata.xml8
-rw-r--r--x11-misc/obmenu/obmenu-1.0-r1.ebuild16
-rw-r--r--x11-misc/obtheme/Manifest5
-rw-r--r--x11-misc/obtheme/metadata.xml8
-rw-r--r--x11-misc/obtheme/obtheme-2013.2.20.2.ebuild31
-rw-r--r--x11-misc/okindd/Manifest6
-rw-r--r--x11-misc/okindd/files/okindd-0.6.1-gcc-4.7.patch10
-rw-r--r--x11-misc/okindd/metadata.xml8
-rw-r--r--x11-misc/okindd/okindd-0.6.1.ebuild44
-rw-r--r--x11-misc/openbox-menu/Manifest6
-rw-r--r--x11-misc/openbox-menu/files/openbox-menu-0.5.0-build.patch81
-rw-r--r--x11-misc/openbox-menu/metadata.xml20
-rw-r--r--x11-misc/openbox-menu/openbox-menu-0.8.0.ebuild42
-rw-r--r--x11-misc/oroborus-deskmenu/Manifest5
-rw-r--r--x11-misc/oroborus-deskmenu/metadata.xml10
-rw-r--r--x11-misc/oroborus-deskmenu/oroborus-deskmenu-1.4.5-r1.ebuild24
-rw-r--r--x11-misc/oroborus-keylaunch/Manifest5
-rw-r--r--x11-misc/oroborus-keylaunch/metadata.xml10
-rw-r--r--x11-misc/oroborus-keylaunch/oroborus-keylaunch-1.3.9-r1.ebuild34
-rw-r--r--x11-misc/parcellite/Manifest5
-rw-r--r--x11-misc/parcellite/metadata.xml11
-rw-r--r--x11-misc/parcellite/parcellite-1.2.1.ebuild49
-rw-r--r--x11-misc/pathfinder/Manifest5
-rw-r--r--x11-misc/pathfinder/metadata.xml4
-rw-r--r--x11-misc/pathfinder/pathfinder-1.7.49.ebuild29
-rw-r--r--x11-misc/pcmanfm-qt/Manifest7
-rw-r--r--x11-misc/pcmanfm-qt/metadata.xml12
-rw-r--r--x11-misc/pcmanfm-qt/pcmanfm-qt-0.10.0.ebuild53
-rw-r--r--x11-misc/pcmanfm-qt/pcmanfm-qt-0.11.1.ebuild48
-rw-r--r--x11-misc/pcmanfm/Manifest9
-rw-r--r--x11-misc/pcmanfm/files/pcmanfm-1.2.5-CVE-2017-8934.patch40
-rw-r--r--x11-misc/pcmanfm/metadata.xml15
-rw-r--r--x11-misc/pcmanfm/pcmanfm-1.2.3.ebuild63
-rw-r--r--x11-misc/pcmanfm/pcmanfm-1.2.5.ebuild72
-rw-r--r--x11-misc/pcmanfm/pcmanfm-9999.ebuild80
-rw-r--r--x11-misc/peksystray/Manifest8
-rw-r--r--x11-misc/peksystray/files/peksystray-0.4.0-asneeded.patch36
-rw-r--r--x11-misc/peksystray/metadata.xml9
-rw-r--r--x11-misc/peksystray/peksystray-0.2.1.ebuild27
-rw-r--r--x11-misc/peksystray/peksystray-0.4.0.ebuild27
-rw-r--r--x11-misc/piedock/Manifest7
-rw-r--r--x11-misc/piedock/files/piedock-1.6.1-signals.patch10
-rw-r--r--x11-misc/piedock/metadata.xml11
-rw-r--r--x11-misc/piedock/piedock-1.6.6-r1.ebuild46
-rw-r--r--x11-misc/primus/Manifest4
-rw-r--r--x11-misc/primus/metadata.xml11
-rw-r--r--x11-misc/primus/primus-0.2.ebuild40
-rw-r--r--x11-misc/ptbatterysystemtray/Manifest5
-rw-r--r--x11-misc/ptbatterysystemtray/metadata.xml5
-rw-r--r--x11-misc/ptbatterysystemtray/ptbatterysystemtray-1.0.0_rc2.ebuild32
-rw-r--r--x11-misc/py3status/Manifest5
-rw-r--r--x11-misc/py3status/metadata.xml14
-rw-r--r--x11-misc/py3status/py3status-3.6.ebuild26
-rw-r--r--x11-misc/pypanel/Manifest5
-rw-r--r--x11-misc/pypanel/metadata.xml22
-rw-r--r--x11-misc/pypanel/pypanel-2.4-r2.ebuild27
-rw-r--r--x11-misc/qarma/Manifest4
-rw-r--r--x11-misc/qarma/metadata.xml11
-rw-r--r--x11-misc/qarma/qarma-1.ebuild28
-rw-r--r--x11-misc/qcomicbook/Manifest5
-rw-r--r--x11-misc/qcomicbook/metadata.xml15
-rw-r--r--x11-misc/qcomicbook/qcomicbook-0.9.1.ebuild58
-rw-r--r--x11-misc/qlipper/Manifest6
-rw-r--r--x11-misc/qlipper/files/qlipper-5.0.0-build.patch54
-rw-r--r--x11-misc/qlipper/metadata.xml11
-rw-r--r--x11-misc/qlipper/qlipper-5.0.0.ebuild40
-rw-r--r--x11-misc/qps/Manifest7
-rw-r--r--x11-misc/qps/metadata.xml8
-rw-r--r--x11-misc/qps/qps-1.10.16-r1.ebuild38
-rw-r--r--x11-misc/qps/qps-1.10.17.ebuild34
-rw-r--r--x11-misc/qsynergy/Manifest5
-rw-r--r--x11-misc/qsynergy/metadata.xml11
-rw-r--r--x11-misc/qsynergy/qsynergy-0.9.1-r1.ebuild21
-rw-r--r--x11-misc/qt5ct/Manifest6
-rw-r--r--x11-misc/qt5ct/metadata.xml23
-rw-r--r--x11-misc/qt5ct/qt5ct-0.31.ebuild49
-rw-r--r--x11-misc/qt5ct/qt5ct-0.33.ebuild52
-rw-r--r--x11-misc/qterm/Manifest5
-rw-r--r--x11-misc/qterm/metadata.xml12
-rw-r--r--x11-misc/qterm/qterm-0.7.1.ebuild69
-rw-r--r--x11-misc/qtfm/Manifest6
-rw-r--r--x11-misc/qtfm/files/qtfm-5.5-gcc6.patch11
-rw-r--r--x11-misc/qtfm/metadata.xml12
-rw-r--r--x11-misc/qtfm/qtfm-5.5-r1.ebuild50
-rw-r--r--x11-misc/qtnotifydaemon/Manifest6
-rw-r--r--x11-misc/qtnotifydaemon/files/qtnotifydaemon-1.0.14-build.patch32
-rw-r--r--x11-misc/qtnotifydaemon/metadata.xml11
-rw-r--r--x11-misc/qtnotifydaemon/qtnotifydaemon-1.0.14.ebuild35
-rw-r--r--x11-misc/quitcount/Manifest4
-rw-r--r--x11-misc/quitcount/metadata.xml16
-rw-r--r--x11-misc/quitcount/quitcount-3.1.3.ebuild27
-rw-r--r--x11-misc/qxkb/Manifest5
-rw-r--r--x11-misc/qxkb/metadata.xml11
-rw-r--r--x11-misc/qxkb/qxkb-0.4.6.ebuild29
-rw-r--r--x11-misc/read-edid/Manifest7
-rw-r--r--x11-misc/read-edid/metadata.xml8
-rw-r--r--x11-misc/read-edid/read-edid-1.4.2.ebuild18
-rw-r--r--x11-misc/read-edid/read-edid-3.0.2.ebuild22
-rw-r--r--x11-misc/redshift/Manifest5
-rw-r--r--x11-misc/redshift/metadata.xml18
-rw-r--r--x11-misc/redshift/redshift-1.11-r1.ebuild86
-rw-r--r--x11-misc/rendercheck/Manifest5
-rw-r--r--x11-misc/rendercheck/metadata.xml8
-rw-r--r--x11-misc/rendercheck/rendercheck-1.5.ebuild17
-rw-r--r--x11-misc/revelation/Manifest8
-rw-r--r--x11-misc/revelation/files/revelation-0.4.14-random.patch73
-rw-r--r--x11-misc/revelation/files/revelation-0.4.14-xor.patch59
-rw-r--r--x11-misc/revelation/metadata.xml7
-rw-r--r--x11-misc/revelation/revelation-0.4.14-r1.ebuild44
-rw-r--r--x11-misc/revelation/revelation-0.4.14-r2.ebuild49
-rw-r--r--x11-misc/rodent/Manifest5
-rw-r--r--x11-misc/rodent/metadata.xml12
-rw-r--r--x11-misc/rodent/rodent-5.3.16.3.ebuild31
-rw-r--r--x11-misc/rofi/Manifest8
-rw-r--r--x11-misc/rofi/files/rofi-0.15.12-Werror.patch11
-rw-r--r--x11-misc/rofi/metadata.xml17
-rw-r--r--x11-misc/rofi/rofi-1.3.1.ebuild55
-rw-r--r--x11-misc/rofi/rofi-1.4.1.ebuild53
-rw-r--r--x11-misc/rss-glx/Manifest9
-rw-r--r--x11-misc/rss-glx/files/rss-glx-0.9.1-asneeded.patch12
-rw-r--r--x11-misc/rss-glx/files/rss-glx-0.9.1-imagemagick-7.patch178
-rw-r--r--x11-misc/rss-glx/files/rss-glx-0.9.1-quesoglc.patch18
-rw-r--r--x11-misc/rss-glx/metadata.xml14
-rw-r--r--x11-misc/rss-glx/rss-glx-0.9.1-r1.ebuild129
-rw-r--r--x11-misc/rss-glx/rss-glx-0.9.1.ebuild119
-rw-r--r--x11-misc/safeeyes/Manifest5
-rw-r--r--x11-misc/safeeyes/metadata.xml11
-rw-r--r--x11-misc/safeeyes/safeeyes-1.2.1.ebuild50
-rw-r--r--x11-misc/safeeyes/safeeyes-1.2.2.ebuild50
-rw-r--r--x11-misc/screen-message/Manifest7
-rw-r--r--x11-misc/screen-message/metadata.xml8
-rw-r--r--x11-misc/screen-message/screen-message-0.24.ebuild27
-rw-r--r--x11-misc/screen-message/screen-message-0.25.ebuild27
-rw-r--r--x11-misc/screengrab/Manifest5
-rw-r--r--x11-misc/screengrab/metadata.xml16
-rw-r--r--x11-misc/screengrab/screengrab-1.2.1-r1.ebuild39
-rw-r--r--x11-misc/sct/Manifest5
-rw-r--r--x11-misc/sct/metadata.xml8
-rw-r--r--x11-misc/sct/sct-0.3.ebuild28
-rw-r--r--x11-misc/sct/sct-0.4.ebuild28
-rw-r--r--x11-misc/sddm/Manifest16
-rw-r--r--x11-misc/sddm/files/sddm-0.12.0-respect-user-flags.patch26
-rw-r--r--x11-misc/sddm/files/sddm-0.13.0-pam_kwallet.patch10
-rw-r--r--x11-misc/sddm/files/sddm-0.14.0-avatars.patch33
-rw-r--r--x11-misc/sddm/files/sddm-0.14.0-consolekit.patch9
-rw-r--r--x11-misc/sddm/files/sddm-0.14.0-nsswitch_conf.patch27
-rw-r--r--x11-misc/sddm/files/sddm-enable-elogind.patch56
-rw-r--r--x11-misc/sddm/metadata.xml25
-rw-r--r--x11-misc/sddm/sddm-0.14.0-r2.ebuild86
-rw-r--r--x11-misc/sddm/sddm-0.14.0-r4.ebuild92
-rw-r--r--x11-misc/sddm/sddm-0.15.0.ebuild64
-rw-r--r--x11-misc/sddm/sddm-0.16.0.ebuild64
-rw-r--r--x11-misc/seetxt/Manifest7
-rw-r--r--x11-misc/seetxt/files/0.72-0001-fix-linking.patch39
-rw-r--r--x11-misc/seetxt/files/0.72-0002-fix-shared-files-install.patch32
-rw-r--r--x11-misc/seetxt/metadata.xml12
-rw-r--r--x11-misc/seetxt/seetxt-0.72-r1.ebuild32
-rw-r--r--x11-misc/sent/Manifest7
-rw-r--r--x11-misc/sent/metadata.xml11
-rw-r--r--x11-misc/sent/sent-0.2.ebuild43
-rw-r--r--x11-misc/sent/sent-1.ebuild44
-rw-r--r--x11-misc/sent/sent-9999.ebuild43
-rw-r--r--x11-misc/set_opacity/Manifest6
-rw-r--r--x11-misc/set_opacity/metadata.xml15
-rw-r--r--x11-misc/set_opacity/set_opacity-1.0.ebuild31
-rw-r--r--x11-misc/set_opacity/set_opacity-9999.ebuild32
-rw-r--r--x11-misc/shared-mime-info/Manifest9
-rw-r--r--x11-misc/shared-mime-info/metadata.xml7
-rw-r--r--x11-misc/shared-mime-info/shared-mime-info-1.4.ebuild53
-rw-r--r--x11-misc/shared-mime-info/shared-mime-info-1.8.ebuild57
-rw-r--r--x11-misc/shared-mime-info/shared-mime-info-1.9.ebuild53
-rw-r--r--x11-misc/shutter/Manifest8
-rw-r--r--x11-misc/shutter/files/shutter-0.90-goocanvas.patch18
-rw-r--r--x11-misc/shutter/files/shutter-0.90-webphoto.patch17
-rw-r--r--x11-misc/shutter/files/shutter-0.93.1-insecure_use_of_system.patch19
-rw-r--r--x11-misc/shutter/metadata.xml15
-rw-r--r--x11-misc/shutter/shutter-0.93.1-r3.ebuild85
-rw-r--r--x11-misc/shutterbug/Manifest5
-rw-r--r--x11-misc/shutterbug/metadata.xml4
-rw-r--r--x11-misc/shutterbug/shutterbug-1.7.49.ebuild29
-rw-r--r--x11-misc/simple-ccsm/Manifest4
-rw-r--r--x11-misc/simple-ccsm/metadata.xml6
-rw-r--r--x11-misc/simple-ccsm/simple-ccsm-0.8.4-r2.ebuild53
-rw-r--r--x11-misc/simpleswitcher/Manifest4
-rw-r--r--x11-misc/simpleswitcher/metadata.xml11
-rw-r--r--x11-misc/simpleswitcher/simpleswitcher-9999.ebuild32
-rw-r--r--x11-misc/sisctrl/Manifest6
-rw-r--r--x11-misc/sisctrl/files/sisctrl-0.0.20051202-no-xv.patch12
-rw-r--r--x11-misc/sisctrl/metadata.xml8
-rw-r--r--x11-misc/sisctrl/sisctrl-0.0.20051202.ebuild31
-rw-r--r--x11-misc/skippy/Manifest7
-rw-r--r--x11-misc/skippy/files/skippy-0.5.0-Makefile.patch32
-rw-r--r--x11-misc/skippy/files/skippy-pointer-size.patch11
-rw-r--r--x11-misc/skippy/metadata.xml8
-rw-r--r--x11-misc/skippy/skippy-0.5.0-r1.ebuild44
-rw-r--r--x11-misc/slim/Manifest21
-rw-r--r--x11-misc/slim/files/Xsession-r3158
-rw-r--r--x11-misc/slim/files/slim-1.3.5-arm.patch11
-rw-r--r--x11-misc/slim/files/slim-1.3.5-disable-ck-for-systemd.patch122
-rw-r--r--x11-misc/slim/files/slim-1.3.6-config.diff77
-rw-r--r--x11-misc/slim/files/slim-1.3.6-drop-zlib.patch10
-rw-r--r--x11-misc/slim/files/slim-1.3.6-envcpy-bad-pointer-arithmetic.patch15
-rw-r--r--x11-misc/slim/files/slim-1.3.6-fix-slimlock-nopam-v2.patch26
-rw-r--r--x11-misc/slim/files/slim-1.3.6-freetype.patch12
-rw-r--r--x11-misc/slim/files/slim-1.3.6-honour-cflags.patch14
-rw-r--r--x11-misc/slim/files/slim-1.3.6-libslim-cmake-fixes.patch33
-rw-r--r--x11-misc/slim/files/slim-1.3.6-session-chooser.patch115
-rw-r--r--x11-misc/slim/files/slim-1.3.6-strip-systemd-unit-install.patch13
-rw-r--r--x11-misc/slim/files/slim-1.3.6-systemd-session.patch29
-rw-r--r--x11-misc/slim/files/slim-9999-config.diff70
-rw-r--r--x11-misc/slim/files/slim.logrotate9
-rw-r--r--x11-misc/slim/metadata.xml17
-rw-r--r--x11-misc/slim/slim-1.3.6-r5.ebuild140
-rw-r--r--x11-misc/slim/slim-9999.ebuild137
-rw-r--r--x11-misc/slock/Manifest5
-rw-r--r--x11-misc/slock/metadata.xml11
-rw-r--r--x11-misc/slock/slock-1.4.ebuild63
-rw-r--r--x11-misc/slop/Manifest9
-rw-r--r--x11-misc/slop/files/slop-4.3.21-no-cppcheck.patch20
-rw-r--r--x11-misc/slop/files/slop-4.3.21-no-gengetopt.patch33
-rw-r--r--x11-misc/slop/files/slop-4.3.21-no-librt.patch37
-rw-r--r--x11-misc/slop/files/slop-4.3.21-no-opengl.patch39
-rw-r--r--x11-misc/slop/metadata.xml22
-rw-r--r--x11-misc/slop/slop-4.3.21.ebuild49
-rw-r--r--x11-misc/slop/slop-6.3.46.ebuild27
-rw-r--r--x11-misc/spacefm/Manifest10
-rw-r--r--x11-misc/spacefm/files/spacefm-include-sysmacros.patch21
-rw-r--r--x11-misc/spacefm/metadata.xml30
-rw-r--r--x11-misc/spacefm/spacefm-1.0.4-r1.ebuild90
-rw-r--r--x11-misc/spacefm/spacefm-1.0.4.ebuild86
-rw-r--r--x11-misc/spacefm/spacefm-1.0.5-r2.ebuild89
-rw-r--r--x11-misc/spacefm/spacefm-9999.ebuild87
-rw-r--r--x11-misc/spnavcfg/Manifest6
-rw-r--r--x11-misc/spnavcfg/files/spnavcfg-0.3-custom-flags.patch60
-rw-r--r--x11-misc/spnavcfg/metadata.xml23
-rw-r--r--x11-misc/spnavcfg/spnavcfg-0.3.ebuild27
-rw-r--r--x11-misc/sprop/Manifest5
-rw-r--r--x11-misc/sprop/metadata.xml8
-rw-r--r--x11-misc/sprop/sprop-0.1-r1.ebuild47
-rw-r--r--x11-misc/sselp/Manifest6
-rw-r--r--x11-misc/sselp/metadata.xml12
-rw-r--r--x11-misc/sselp/sselp-0.2-r1.ebuild30
-rw-r--r--x11-misc/sselp/sselp-9999.ebuild30
-rw-r--r--x11-misc/stalonetray/Manifest5
-rw-r--r--x11-misc/stalonetray/metadata.xml11
-rw-r--r--x11-misc/stalonetray/stalonetray-0.8.3.ebuild33
-rw-r--r--x11-misc/sunflower/Manifest6
-rw-r--r--x11-misc/sunflower/files/sunflower5
-rw-r--r--x11-misc/sunflower/metadata.xml16
-rw-r--r--x11-misc/sunflower/sunflower-0.2_alpha59.ebuild92
-rw-r--r--x11-misc/superswitcher/Manifest7
-rw-r--r--x11-misc/superswitcher/files/superswitcher-0.6-glib-single-include.patch27
-rw-r--r--x11-misc/superswitcher/files/superswitcher-0.6-wnck-workspace.patch62
-rw-r--r--x11-misc/superswitcher/metadata.xml11
-rw-r--r--x11-misc/superswitcher/superswitcher-0.6-r1.ebuild44
-rw-r--r--x11-misc/sux/Manifest8
-rw-r--r--x11-misc/sux/files/sux-1.0-dash.patch12
-rw-r--r--x11-misc/sux/files/sux-1.0-r1.patch52
-rw-r--r--x11-misc/sux/files/sux-X11R6.patch24
-rw-r--r--x11-misc/sux/metadata.xml8
-rw-r--r--x11-misc/sux/sux-1.0-r4.ebuild33
-rw-r--r--x11-misc/sw-notify-send/Manifest6
-rw-r--r--x11-misc/sw-notify-send/metadata.xml16
-rw-r--r--x11-misc/sw-notify-send/sw-notify-send-1.2.1.ebuild33
-rw-r--r--x11-misc/sw-notify-send/sw-notify-send-9999.ebuild39
-rw-r--r--x11-misc/sxhkd/Manifest7
-rw-r--r--x11-misc/sxhkd/metadata.xml11
-rw-r--r--x11-misc/sxhkd/sxhkd-0.5.7.ebuild27
-rw-r--r--x11-misc/sxhkd/sxhkd-0.5.8.ebuild27
-rw-r--r--x11-misc/synergy/Manifest18
-rw-r--r--x11-misc/synergy/files/synergy-1.4.16_p1969-pthread.patch11
-rw-r--r--x11-misc/synergy/files/synergy-1.4.17_p2055-CSocketMultiplexer.patch13
-rw-r--r--x11-misc/synergy/files/synergy-1.4.17_p2055-cryptopp.patch96
-rw-r--r--x11-misc/synergy/files/synergy-1.4.17_p2055-gentoo.patch11
-rw-r--r--x11-misc/synergy/files/synergy-1.4.17_p2055-test.patch33
-rw-r--r--x11-misc/synergy/files/synergy-1.7.5-gentoo.patch11
-rw-r--r--x11-misc/synergy/files/synergy-1.8.1-internal-gmock-gtest.patch23
-rw-r--r--x11-misc/synergy/files/synergy-1.8.5-gtest.patch38
-rw-r--r--x11-misc/synergy/metadata.xml12
-rw-r--r--x11-misc/synergy/synergy-1.6.3.ebuild116
-rw-r--r--x11-misc/synergy/synergy-1.8.6.ebuild112
-rw-r--r--x11-misc/synergy/synergy-1.8.8.ebuild111
-rw-r--r--x11-misc/tabbed/Manifest5
-rw-r--r--x11-misc/tabbed/metadata.xml12
-rw-r--r--x11-misc/tabbed/tabbed-0.6.ebuild47
-rw-r--r--x11-misc/tint2/Manifest11
-rw-r--r--x11-misc/tint2/files/0.12.12-fix-compilation-without-svg.patch18
-rw-r--r--x11-misc/tint2/files/0.12.12-no-hardcode-update-icon-cache.patch34
-rw-r--r--x11-misc/tint2/files/0.12.12-relax-pango-includes.patch26
-rw-r--r--x11-misc/tint2/files/0.14.6-sysconfdir-xdg2.patch12
-rw-r--r--x11-misc/tint2/metadata.xml18
-rw-r--r--x11-misc/tint2/tint2-0.12.12.ebuild65
-rw-r--r--x11-misc/tint2/tint2-0.14.6-r2.ebuild63
-rw-r--r--x11-misc/tintwizard/Manifest5
-rw-r--r--x11-misc/tintwizard/metadata.xml12
-rw-r--r--x11-misc/tintwizard/tintwizard-0.3.4-r2.ebuild31
-rw-r--r--x11-misc/tinynotify-send/Manifest6
-rw-r--r--x11-misc/tinynotify-send/metadata.xml16
-rw-r--r--x11-misc/tinynotify-send/tinynotify-send-1.2.1-r1.ebuild38
-rw-r--r--x11-misc/tinynotify-send/tinynotify-send-9999.ebuild47
-rw-r--r--x11-misc/touchcal/Manifest5
-rw-r--r--x11-misc/touchcal/metadata.xml8
-rw-r--r--x11-misc/touchcal/touchcal-0.80.ebuild21
-rw-r--r--x11-misc/touchfreeze/Manifest6
-rw-r--r--x11-misc/touchfreeze/files/touchfreeze-0.2.5-underlinking.patch7
-rw-r--r--x11-misc/touchfreeze/metadata.xml5
-rw-r--r--x11-misc/touchfreeze/touchfreeze-0.2.5-r1.ebuild34
-rw-r--r--x11-misc/trayer-srg/Manifest7
-rw-r--r--x11-misc/trayer-srg/metadata.xml11
-rw-r--r--x11-misc/trayer-srg/trayer-srg-1.1.6-r1.ebuild31
-rw-r--r--x11-misc/trayer-srg/trayer-srg-1.1.7.ebuild40
-rw-r--r--x11-misc/trayer/Manifest9
-rw-r--r--x11-misc/trayer/files/trayer-1.0-as-needed-and-pre-stripped.patch29
-rw-r--r--x11-misc/trayer/files/trayer-1.0-dont-include-gdk-pixbuf-xlib.patch44
-rw-r--r--x11-misc/trayer/files/trayer-1.0-dont-include-libXmu.patch24
-rw-r--r--x11-misc/trayer/metadata.xml5
-rw-r--r--x11-misc/trayer/trayer-1.0-r2.ebuild52
-rw-r--r--x11-misc/trayer/trayer-1.0-r3.ebuild41
-rw-r--r--x11-misc/treeline/Manifest13
-rw-r--r--x11-misc/treeline/files/treeline-1.2.3-nocompile.patch12
-rw-r--r--x11-misc/treeline/metadata.xml11
-rw-r--r--x11-misc/treeline/treeline-1.4.1-r1.ebuild60
-rw-r--r--x11-misc/treeline/treeline-2.0.2.ebuild39
-rw-r--r--x11-misc/treeline/treeline-2.1.1.ebuild39
-rw-r--r--x11-misc/treeline/treeline-2.1.2.ebuild39
-rw-r--r--x11-misc/unclutter/Manifest7
-rw-r--r--x11-misc/unclutter/files/unclutter-8-FocusOut.patch17
-rw-r--r--x11-misc/unclutter/files/unclutter-8-include.patch10
-rw-r--r--x11-misc/unclutter/metadata.xml8
-rw-r--r--x11-misc/unclutter/unclutter-8-r4.ebuild35
-rw-r--r--x11-misc/urxvt-font-size/Manifest6
-rw-r--r--x11-misc/urxvt-font-size/metadata.xml11
-rw-r--r--x11-misc/urxvt-font-size/urxvt-font-size-1.1.ebuild30
-rw-r--r--x11-misc/urxvt-font-size/urxvt-font-size-9999.ebuild30
-rw-r--r--x11-misc/urxvt-perls/Manifest5
-rw-r--r--x11-misc/urxvt-perls/metadata.xml11
-rw-r--r--x11-misc/urxvt-perls/urxvt-perls-2.2.ebuild23
-rw-r--r--x11-misc/urxvtconfig/Manifest3
-rw-r--r--x11-misc/urxvtconfig/metadata.xml15
-rw-r--r--x11-misc/urxvtconfig/urxvtconfig-1.0.ebuild40
-rw-r--r--x11-misc/util-macros/Manifest5
-rw-r--r--x11-misc/util-macros/metadata.xml8
-rw-r--r--x11-misc/util-macros/util-macros-1.19.1.ebuild11
-rw-r--r--x11-misc/vdpauinfo/Manifest5
-rw-r--r--x11-misc/vdpauinfo/metadata.xml8
-rw-r--r--x11-misc/vdpauinfo/vdpauinfo-1.0.ebuild22
-rw-r--r--x11-misc/viewglob/Manifest8
-rw-r--r--x11-misc/viewglob/files/README.gentoo17
-rw-r--r--x11-misc/viewglob/files/viewglob-2.0.4-format-security.patch36
-rw-r--r--x11-misc/viewglob/files/viewglob-2.0.4-underlinking.patch163
-rw-r--r--x11-misc/viewglob/metadata.xml18
-rw-r--r--x11-misc/viewglob/viewglob-2.0.4-r1.ebuild34
-rw-r--r--x11-misc/virtualgl/Manifest13
-rw-r--r--x11-misc/virtualgl/files/vgl-helper.sh39
-rw-r--r--x11-misc/virtualgl/files/vgl.confd-r227
-rw-r--r--x11-misc/virtualgl/files/vgl.initd-r345
-rw-r--r--x11-misc/virtualgl/files/vgl.service13
-rw-r--r--x11-misc/virtualgl/metadata.xml23
-rw-r--r--x11-misc/virtualgl/virtualgl-2.4.1-r3.ebuild85
-rw-r--r--x11-misc/virtualgl/virtualgl-2.5.1.ebuild84
-rw-r--r--x11-misc/virtualgl/virtualgl-2.5.2.ebuild88
-rw-r--r--x11-misc/vnc2swf/Manifest5
-rw-r--r--x11-misc/vnc2swf/metadata.xml16
-rw-r--r--x11-misc/vnc2swf/vnc2swf-0.5.0-r1.ebuild46
-rw-r--r--x11-misc/vym/Manifest6
-rw-r--r--x11-misc/vym/metadata.xml11
-rw-r--r--x11-misc/vym/vym-2.6.8.ebuild77
-rw-r--r--x11-misc/vym/vym-9999.ebuild70
-rw-r--r--x11-misc/wayv/Manifest5
-rw-r--r--x11-misc/wayv/metadata.xml8
-rw-r--r--x11-misc/wayv/wayv-0.3-r2.ebuild35
-rw-r--r--x11-misc/wbar/Manifest11
-rw-r--r--x11-misc/wbar/files/wbar-2.3.3-cfg.patch15
-rw-r--r--x11-misc/wbar/files/wbar-2.3.3-desktopfile.patch89
-rw-r--r--x11-misc/wbar/files/wbar-2.3.3-nowerror.patch14
-rw-r--r--x11-misc/wbar/files/wbar-2.3.3-test.patch11
-rw-r--r--x11-misc/wbar/files/wbar-2.3.4-automake-1.13.patch11
-rw-r--r--x11-misc/wbar/files/wbar-2.3.4-completion.patch19
-rw-r--r--x11-misc/wbar/metadata.xml15
-rw-r--r--x11-misc/wbar/wbar-2.3.4-r2.ebuild55
-rw-r--r--x11-misc/wbarconf/Manifest6
-rw-r--r--x11-misc/wbarconf/files/wbarconf-0.7.2.2-install.patch81
-rw-r--r--x11-misc/wbarconf/metadata.xml8
-rw-r--r--x11-misc/wbarconf/wbarconf-0.7.2.2-r2.ebuild36
-rw-r--r--x11-misc/wdm/Manifest7
-rw-r--r--x11-misc/wdm/files/wdm-1.28-remove-fakehome.patch12
-rw-r--r--x11-misc/wdm/files/wdm-1.28-terminateServer.patch12
-rw-r--r--x11-misc/wdm/metadata.xml11
-rw-r--r--x11-misc/wdm/wdm-1.28-r4.ebuild45
-rw-r--r--x11-misc/whaw/Manifest6
-rw-r--r--x11-misc/whaw/files/whaw-0.2-fix-implicit-declaration-warning.patch10
-rw-r--r--x11-misc/whaw/metadata.xml14
-rw-r--r--x11-misc/whaw/whaw-0.2.ebuild26
-rw-r--r--x11-misc/wininfo/Manifest6
-rw-r--r--x11-misc/wininfo/files/wininfo-0.7-desktop-entry.patch14
-rw-r--r--x11-misc/wininfo/metadata.xml8
-rw-r--r--x11-misc/wininfo/wininfo-0.7-r1.ebuild22
-rw-r--r--x11-misc/winswitch/Manifest6
-rw-r--r--x11-misc/winswitch/files/winswitch-0.12.18-PIL.patch84
-rw-r--r--x11-misc/winswitch/metadata.xml12
-rw-r--r--x11-misc/winswitch/winswitch-0.12.18-r1.ebuild47
-rw-r--r--x11-misc/wmakerconf/Manifest8
-rw-r--r--x11-misc/wmakerconf/files/wmakerconf-2.12-desktop.patch8
-rw-r--r--x11-misc/wmakerconf/files/wmakerconf-2.12-format-security.patch12
-rw-r--r--x11-misc/wmakerconf/files/wmakerconf-2.12-wmaker-0.95_support.patch82
-rw-r--r--x11-misc/wmakerconf/metadata.xml11
-rw-r--r--x11-misc/wmakerconf/wmakerconf-2.12-r3.ebuild59
-rw-r--r--x11-misc/wmctrl/Manifest6
-rw-r--r--x11-misc/wmctrl/files/amd64-Xlib.patch28
-rw-r--r--x11-misc/wmctrl/metadata.xml15
-rw-r--r--x11-misc/wmctrl/wmctrl-1.07-r2.ebuild33
-rw-r--r--x11-misc/wmiface/Manifest5
-rw-r--r--x11-misc/wmiface/metadata.xml8
-rw-r--r--x11-misc/wmiface/wmiface-2.1.ebuild23
-rw-r--r--x11-misc/wmname/Manifest6
-rw-r--r--x11-misc/wmname/files/wmname-0.1-buildsystem.patch26
-rw-r--r--x11-misc/wmname/metadata.xml8
-rw-r--r--x11-misc/wmname/wmname-0.1-r1.ebuild30
-rw-r--r--x11-misc/x11vnc/Manifest7
-rw-r--r--x11-misc/x11vnc/files/x11vnc.conf.d37
-rw-r--r--x11-misc/x11vnc/files/x11vnc.init.d70
-rw-r--r--x11-misc/x11vnc/metadata.xml21
-rw-r--r--x11-misc/x11vnc/x11vnc-0.9.14_p20161013.ebuild60
-rw-r--r--x11-misc/x2vnc/Manifest6
-rw-r--r--x11-misc/x2vnc/files/expectk.patch17
-rw-r--r--x11-misc/x2vnc/metadata.xml8
-rw-r--r--x11-misc/x2vnc/x2vnc-1.7.2-r1.ebuild36
-rw-r--r--x11-misc/x2x/Manifest9
-rw-r--r--x11-misc/x2x/metadata.xml8
-rw-r--r--x11-misc/x2x/x2x-1.27-r3.ebuild59
-rw-r--r--x11-misc/xaos/Manifest13
-rw-r--r--x11-misc/xaos/files/xaos-3.4-include.patch7
-rw-r--r--x11-misc/xaos/files/xaos-3.4-png.patch11
-rw-r--r--x11-misc/xaos/files/xaos-3.5-build-fix-i686.patch20
-rw-r--r--x11-misc/xaos/files/xaos-3.5-gettext.patch88
-rw-r--r--x11-misc/xaos/files/xaos-3.5-libpng15.patch131
-rw-r--r--x11-misc/xaos/files/xaos-3.6-locale-dir.patch11
-rw-r--r--x11-misc/xaos/files/xaos-3.6-no-auto-strip.patch20
-rw-r--r--x11-misc/xaos/metadata.xml19
-rw-r--r--x11-misc/xaos/xaos-3.6.ebuild99
-rw-r--r--x11-misc/xautolock/Manifest6
-rw-r--r--x11-misc/xautolock/metadata.xml8
-rw-r--r--x11-misc/xautolock/xautolock-2.2_p5_p1.ebuild64
-rw-r--r--x11-misc/xautomation/Manifest5
-rw-r--r--x11-misc/xautomation/metadata.xml8
-rw-r--r--x11-misc/xautomation/xautomation-1.09-r1.ebuild25
-rw-r--r--x11-misc/xbatt/Manifest8
-rw-r--r--x11-misc/xbatt/files/xbatt-1.2.1-implicits.patch14
-rw-r--r--x11-misc/xbatt/metadata.xml8
-rw-r--r--x11-misc/xbatt/xbatt-1.2.1-r1.ebuild41
-rw-r--r--x11-misc/xbatt/xbatt-1.3_rc1.ebuild44
-rw-r--r--x11-misc/xbattbar/Manifest10
-rw-r--r--x11-misc/xbattbar/files/xbattbar-1.4.3.patch38
-rw-r--r--x11-misc/xbattbar/files/xbattbar-1.4.5.patch40
-rw-r--r--x11-misc/xbattbar/files/xbattbar-1.4.8-const.patch11
-rw-r--r--x11-misc/xbattbar/metadata.xml8
-rw-r--r--x11-misc/xbattbar/xbattbar-1.4.3.ebuild41
-rw-r--r--x11-misc/xbattbar/xbattbar-1.4.8.ebuild51
-rw-r--r--x11-misc/xbindkeys/Manifest5
-rw-r--r--x11-misc/xbindkeys/metadata.xml8
-rw-r--r--x11-misc/xbindkeys/xbindkeys-1.8.6.ebuild25
-rw-r--r--x11-misc/xbitmaps/Manifest5
-rw-r--r--x11-misc/xbitmaps/metadata.xml8
-rw-r--r--x11-misc/xbitmaps/xbitmaps-1.1.1-r1.ebuild15
-rw-r--r--x11-misc/xcalendar/Manifest7
-rw-r--r--x11-misc/xcalendar/files/xcalendar-4.0-implicits.patch22
-rw-r--r--x11-misc/xcalendar/files/xcalendar-4.0-motif-gentoo.diff26
-rw-r--r--x11-misc/xcalendar/metadata.xml8
-rw-r--r--x11-misc/xcalendar/xcalendar-4.0-r2.ebuild54
-rw-r--r--x11-misc/xcalib/Manifest5
-rw-r--r--x11-misc/xcalib/metadata.xml8
-rw-r--r--x11-misc/xcalib/xcalib-0.9.0_p20161210.ebuild28
-rw-r--r--x11-misc/xcape/Manifest7
-rw-r--r--x11-misc/xcape/metadata.xml15
-rw-r--r--x11-misc/xcape/xcape-1.1.ebuild37
-rw-r--r--x11-misc/xcape/xcape-1.2.ebuild37
-rw-r--r--x11-misc/xcave/Manifest5
-rw-r--r--x11-misc/xcave/metadata.xml8
-rw-r--r--x11-misc/xcave/xcave-2.4.0.ebuild27
-rw-r--r--x11-misc/xcb/Manifest5
-rw-r--r--x11-misc/xcb/metadata.xml8
-rw-r--r--x11-misc/xcb/xcb-2.4-r1.ebuild54
-rw-r--r--x11-misc/xclip/Manifest5
-rw-r--r--x11-misc/xclip/metadata.xml11
-rw-r--r--x11-misc/xclip/xclip-0.13.ebuild27
-rw-r--r--x11-misc/xcompmgr/Manifest5
-rw-r--r--x11-misc/xcompmgr/metadata.xml8
-rw-r--r--x11-misc/xcompmgr/xcompmgr-1.1.7.ebuild24
-rw-r--r--x11-misc/xdaliclock/Manifest5
-rw-r--r--x11-misc/xdaliclock/metadata.xml8
-rw-r--r--x11-misc/xdaliclock/xdaliclock-2.43.ebuild32
-rw-r--r--x11-misc/xdesktopwaves/Manifest6
-rw-r--r--x11-misc/xdesktopwaves/files/xdesktopwaves-1.3-gentoo.patch38
-rw-r--r--x11-misc/xdesktopwaves/metadata.xml17
-rw-r--r--x11-misc/xdesktopwaves/xdesktopwaves-1.3-r2.ebuild41
-rw-r--r--x11-misc/xdg-user-dirs-gtk/Manifest6
-rw-r--r--x11-misc/xdg-user-dirs-gtk/metadata.xml7
-rw-r--r--x11-misc/xdg-user-dirs-gtk/xdg-user-dirs-gtk-0.10-r1.ebuild47
-rw-r--r--x11-misc/xdg-user-dirs-gtk/xdg-user-dirs-gtk-0.10.ebuild36
-rw-r--r--x11-misc/xdg-user-dirs/Manifest8
-rw-r--r--x11-misc/xdg-user-dirs/files/xdg-user-dirs-0.15-libiconv.patch14
-rw-r--r--x11-misc/xdg-user-dirs/metadata.xml7
-rw-r--r--x11-misc/xdg-user-dirs/xdg-user-dirs-0.15.ebuild30
-rw-r--r--x11-misc/xdg-user-dirs/xdg-user-dirs-0.16.ebuild31
-rw-r--r--x11-misc/xdg-utils/Manifest8
-rw-r--r--x11-misc/xdg-utils/files/xdg-utils-1.1.1-ktraderclient5.patch43
-rw-r--r--x11-misc/xdg-utils/metadata.xml7
-rw-r--r--x11-misc/xdg-utils/xdg-utils-1.1.1-r1.ebuild71
-rw-r--r--x11-misc/xdg-utils/xdg-utils-1.1.2-r1.ebuild78
-rw-r--r--x11-misc/xdialog/Manifest7
-rw-r--r--x11-misc/xdialog/files/xdialog-2.3.1-install.patch13
-rw-r--r--x11-misc/xdialog/files/xdialog-2.3.1-no-strip.patch48
-rw-r--r--x11-misc/xdialog/metadata.xml8
-rw-r--r--x11-misc/xdialog/xdialog-2.3.1.ebuild58
-rw-r--r--x11-misc/xdiskusage/Manifest5
-rw-r--r--x11-misc/xdiskusage/metadata.xml11
-rw-r--r--x11-misc/xdiskusage/xdiskusage-1.51.ebuild31
-rw-r--r--x11-misc/xdo/Manifest9
-rw-r--r--x11-misc/xdo/metadata.xml11
-rw-r--r--x11-misc/xdo/xdo-0.5.6.ebuild26
-rw-r--r--x11-misc/xdo/xdo-0.5.7.ebuild26
-rw-r--r--x11-misc/xdo/xdo-0.5.ebuild25
-rw-r--r--x11-misc/xdock/Manifest6
-rw-r--r--x11-misc/xdock/files/xdock-0.2.0-ldconfig.patch8
-rw-r--r--x11-misc/xdock/metadata.xml8
-rw-r--r--x11-misc/xdock/xdock-0.3.0.ebuild25
-rw-r--r--x11-misc/xdotool/Manifest7
-rw-r--r--x11-misc/xdotool/metadata.xml16
-rw-r--r--x11-misc/xdotool/xdotool-3.20150503.1-r1.ebuild50
-rw-r--r--x11-misc/xdotool/xdotool-3.20160805.1.ebuild58
-rw-r--r--x11-misc/xearth/Manifest6
-rw-r--r--x11-misc/xearth/files/xearth-1.1-include.patch10
-rw-r--r--x11-misc/xearth/metadata.xml8
-rw-r--r--x11-misc/xearth/xearth-1.1-r1.ebuild47
-rw-r--r--x11-misc/xembedsniproxy/Manifest4
-rw-r--r--x11-misc/xembedsniproxy/files/xembedsniproxy-5.10.3-Standalone-build.patch47
-rw-r--r--x11-misc/xembedsniproxy/metadata.xml12
-rw-r--r--x11-misc/xembedsniproxy/xembedsniproxy-5.10.3.ebuild36
-rw-r--r--x11-misc/xfe/Manifest5
-rw-r--r--x11-misc/xfe/metadata.xml11
-rw-r--r--x11-misc/xfe/xfe-1.42.ebuild76
-rw-r--r--x11-misc/xfishtank/Manifest6
-rw-r--r--x11-misc/xfishtank/files/xfishtank-2.1-implicits.patch75
-rw-r--r--x11-misc/xfishtank/metadata.xml8
-rw-r--r--x11-misc/xfishtank/xfishtank-2.1-r2.ebuild34
-rw-r--r--x11-misc/xfractint/Manifest7
-rw-r--r--x11-misc/xfractint/files/xfractint-20.04p09-ldflags.patch29
-rw-r--r--x11-misc/xfractint/files/xfractint.envd4
-rw-r--r--x11-misc/xfractint/metadata.xml5
-rw-r--r--x11-misc/xfractint/xfractint-20.04_p12.ebuild45
-rw-r--r--x11-misc/xgestures/Manifest5
-rw-r--r--x11-misc/xgestures/metadata.xml11
-rw-r--r--x11-misc/xgestures/xgestures-0.4.ebuild33
-rw-r--r--x11-misc/xhkeys/Manifest8
-rw-r--r--x11-misc/xhkeys/files/xhkeys15
-rw-r--r--x11-misc/xhkeys/files/xhkeys-2.2.1-CC.patch15
-rw-r--r--x11-misc/xhkeys/files/xhkeys-2.2.1-linux_headers.patch12
-rw-r--r--x11-misc/xhkeys/metadata.xml8
-rw-r--r--x11-misc/xhkeys/xhkeys-2.2.1.ebuild34
-rw-r--r--x11-misc/xiccd/Manifest6
-rw-r--r--x11-misc/xiccd/metadata.xml19
-rw-r--r--x11-misc/xiccd/xiccd-0.2.3.ebuild24
-rw-r--r--x11-misc/xiccd/xiccd-0.2.4.ebuild24
-rw-r--r--x11-misc/xidle/Manifest6
-rw-r--r--x11-misc/xidle/files/xidle-26052015-dead.patch24
-rw-r--r--x11-misc/xidle/metadata.xml8
-rw-r--r--x11-misc/xidle/xidle-26052015.ebuild39
-rw-r--r--x11-misc/xkbd/Manifest9
-rw-r--r--x11-misc/xkbd/files/xkbd-0.8.15-fix-keysyms-search.patch13
-rw-r--r--x11-misc/xkbd/files/xkbd-0.8.15-increase-delay.patch22
-rw-r--r--x11-misc/xkbd/files/xkbd-0.8.16-desktop.patch19
-rw-r--r--x11-misc/xkbd/files/xkbd-0.8.16-fix-geometry.patch36
-rw-r--r--x11-misc/xkbd/metadata.xml8
-rw-r--r--x11-misc/xkbd/xkbd-0.8.16-r1.ebuild38
-rw-r--r--x11-misc/xkbset/Manifest8
-rw-r--r--x11-misc/xkbset/files/xkbset-0.5-ldflags.patch11
-rw-r--r--x11-misc/xkbset/metadata.xml10
-rw-r--r--x11-misc/xkbset/xkbset-0.5_p5_p1.ebuild52
-rw-r--r--x11-misc/xkbset/xkbset-0.5_p6.ebuild49
-rw-r--r--x11-misc/xkeyboard-config/Manifest9
-rw-r--r--x11-misc/xkeyboard-config/metadata.xml8
-rw-r--r--x11-misc/xkeyboard-config/xkeyboard-config-2.20.ebuild40
-rw-r--r--x11-misc/xkeyboard-config/xkeyboard-config-2.21.ebuild40
-rw-r--r--x11-misc/xkeyboard-config/xkeyboard-config-2.22.ebuild40
-rw-r--r--x11-misc/xkeycaps/Manifest7
-rw-r--r--x11-misc/xkeycaps/files/xkeycaps-2.47-Imakefile.patch22
-rw-r--r--x11-misc/xkeycaps/files/xkeycaps-2.47-man.patch12
-rw-r--r--x11-misc/xkeycaps/metadata.xml8
-rw-r--r--x11-misc/xkeycaps/xkeycaps-2.47-r2.ebuild45
-rw-r--r--x11-misc/xlockmore/Manifest15
-rw-r--r--x11-misc/xlockmore/files/xlockmore-5.46-freetype261.patch11
-rw-r--r--x11-misc/xlockmore/files/xlockmore-5.47-CXX.patch19
-rw-r--r--x11-misc/xlockmore/files/xlockmore-5.47-_BSD_SOURCE.patch11
-rw-r--r--x11-misc/xlockmore/files/xlockmore-5.47-strip.patch64
-rw-r--r--x11-misc/xlockmore/metadata.xml12
-rw-r--r--x11-misc/xlockmore/xlockmore-5.47.ebuild106
-rw-r--r--x11-misc/xlockmore/xlockmore-5.50.ebuild106
-rw-r--r--x11-misc/xlockmore/xlockmore-5.54.ebuild106
-rw-r--r--x11-misc/xlockmore/xlockmore-5.55_alpha.ebuild107
-rw-r--r--x11-misc/xmobar/Manifest10
-rw-r--r--x11-misc/xmobar/files/xmobar-0.24.3-noxpm.patch9
-rw-r--r--x11-misc/xmobar/metadata.xml22
-rw-r--r--x11-misc/xmobar/xmobar-0.23.1.ebuild88
-rw-r--r--x11-misc/xmobar/xmobar-0.24.2.ebuild93
-rw-r--r--x11-misc/xmobar/xmobar-0.24.3.ebuild94
-rw-r--r--x11-misc/xmonad-log-applet/Manifest6
-rw-r--r--x11-misc/xmonad-log-applet/files/xmonad.hs60
-rw-r--r--x11-misc/xmonad-log-applet/metadata.xml17
-rw-r--r--x11-misc/xmonad-log-applet/xmonad-log-applet-2.0.0-r301.ebuild46
-rw-r--r--x11-misc/xmountains/Manifest5
-rw-r--r--x11-misc/xmountains/metadata.xml8
-rw-r--r--x11-misc/xmountains/xmountains-2.9-r1.ebuild48
-rw-r--r--x11-misc/xnee/Manifest6
-rw-r--r--x11-misc/xnee/files/xnee-3.18-linker.patch10
-rw-r--r--x11-misc/xnee/metadata.xml8
-rw-r--r--x11-misc/xnee/xnee-3.19-r1.ebuild68
-rw-r--r--x11-misc/xnots/Manifest8
-rw-r--r--x11-misc/xnots/files/xnots-0.2.1-gcc6.patch46
-rw-r--r--x11-misc/xnots/metadata.xml12
-rw-r--r--x11-misc/xnots/xnots-0.2.1-r1.ebuild53
-rw-r--r--x11-misc/xnots/xnots-0.2.1-r2.ebuild59
-rw-r--r--x11-misc/xnots/xnots-9999.ebuild55
-rw-r--r--x11-misc/xorg-cf-files/Manifest6
-rw-r--r--x11-misc/xorg-cf-files/files/xorg-cf-files-1.0.2-solaris-prefix.patch663
-rw-r--r--x11-misc/xorg-cf-files/metadata.xml8
-rw-r--r--x11-misc/xorg-cf-files/xorg-cf-files-1.0.6.ebuild31
-rw-r--r--x11-misc/xosview/Manifest5
-rw-r--r--x11-misc/xosview/metadata.xml8
-rw-r--r--x11-misc/xosview/xosview-1.19.ebuild51
-rw-r--r--x11-misc/xowl/Manifest2
-rw-r--r--x11-misc/xowl/metadata.xml10
-rw-r--r--x11-misc/xowl/xowl-9999.ebuild47
-rw-r--r--x11-misc/xpad/Manifest9
-rw-r--r--x11-misc/xpad/metadata.xml12
-rw-r--r--x11-misc/xpad/xpad-4.2.ebuild27
-rw-r--r--x11-misc/xpad/xpad-4.9.0.ebuild38
-rw-r--r--x11-misc/xpad/xpad-5.0.0.ebuild38
-rw-r--r--x11-misc/xplanet/Manifest7
-rw-r--r--x11-misc/xplanet/files/xplanet-1.3.1-giflib.patch55
-rw-r--r--x11-misc/xplanet/files/xplanet-1.3.1-remove-null-comparison.patch157
-rw-r--r--x11-misc/xplanet/metadata.xml11
-rw-r--r--x11-misc/xplanet/xplanet-1.3.1-r1.ebuild82
-rw-r--r--x11-misc/xplanetFX/Manifest8
-rw-r--r--x11-misc/xplanetFX/files/xplanetFX-2.6.4-gentoo-path.patch42
-rw-r--r--x11-misc/xplanetFX/metadata.xml15
-rw-r--r--x11-misc/xplanetFX/xplanetFX-2.6.12.ebuild62
-rw-r--r--x11-misc/xplanetFX/xplanetFX-2.6.13.ebuild62
-rw-r--r--x11-misc/xprintidle/Manifest3
-rw-r--r--x11-misc/xprintidle/metadata.xml10
-rw-r--r--x11-misc/xprintidle/xprintidle-2.0.ebuild36
-rw-r--r--x11-misc/xrestop/Manifest6
-rw-r--r--x11-misc/xrestop/files/xrestop-0.4-tinfo.patch10
-rw-r--r--x11-misc/xrestop/metadata.xml8
-rw-r--r--x11-misc/xrestop/xrestop-0.4.ebuild31
-rw-r--r--x11-misc/xrootconsole/Manifest8
-rw-r--r--x11-misc/xrootconsole/files/xrootconsole-0.6.makefile.patch36
-rw-r--r--x11-misc/xrootconsole/files/xrootconsole-0.6.manpage.patch22
-rw-r--r--x11-misc/xrootconsole/files/xrootconsole-0.6.noversion.patch52
-rw-r--r--x11-misc/xrootconsole/metadata.xml11
-rw-r--r--x11-misc/xrootconsole/xrootconsole-0.6-r1.ebuild45
-rw-r--r--x11-misc/xscreensaver-app/Manifest6
-rw-r--r--x11-misc/xscreensaver-app/files/xscreensaver-app-2.3-configure.ac21
-rw-r--r--x11-misc/xscreensaver-app/metadata.xml11
-rw-r--r--x11-misc/xscreensaver-app/xscreensaver-app-2.3-r3.ebuild45
-rw-r--r--x11-misc/xscreensaver/Manifest15
-rw-r--r--x11-misc/xscreensaver/files/xscreensaver-5.05-interix.patch32
-rw-r--r--x11-misc/xscreensaver/files/xscreensaver-5.20-blurb-hndl-test-passwd.patch12
-rw-r--r--x11-misc/xscreensaver/files/xscreensaver-5.20-test-passwd-segv-tty.patch13
-rw-r--r--x11-misc/xscreensaver/files/xscreensaver-5.20-tests-miscfix.patch23
-rw-r--r--x11-misc/xscreensaver/files/xscreensaver-5.28-comment-style.patch21
-rw-r--r--x11-misc/xscreensaver/files/xscreensaver-5.31-pragma.patch11
-rw-r--r--x11-misc/xscreensaver/files/xscreensaver-5.35-gentoo.patch47
-rw-r--r--x11-misc/xscreensaver/files/xscreensaver-5.35-offensive.patch59
-rw-r--r--x11-misc/xscreensaver/metadata.xml18
-rw-r--r--x11-misc/xscreensaver/xscreensaver-5.36.ebuild144
-rw-r--r--x11-misc/xscreensaver/xscreensaver-5.37.ebuild144
-rw-r--r--x11-misc/xsel/Manifest6
-rw-r--r--x11-misc/xsel/metadata.xml8
-rw-r--r--x11-misc/xsel/xsel-1.2.0-r1.ebuild23
-rw-r--r--x11-misc/xsel/xsel-9999.ebuild32
-rw-r--r--x11-misc/xsensors/Manifest6
-rw-r--r--x11-misc/xsensors/files/xsensors-0.70-gtk220.patch38
-rw-r--r--x11-misc/xsensors/metadata.xml8
-rw-r--r--x11-misc/xsensors/xsensors-0.70-r1.ebuild35
-rw-r--r--x11-misc/xsetleds/Manifest7
-rw-r--r--x11-misc/xsetleds/files/xsetleds-0.1.3-assignment.patch11
-rw-r--r--x11-misc/xsetleds/files/xsetleds-0.1.3-isalpha.patch13
-rw-r--r--x11-misc/xsetleds/metadata.xml17
-rw-r--r--x11-misc/xsetleds/xsetleds-0.1.3-r1.ebuild33
-rw-r--r--x11-misc/xsnap/Manifest6
-rw-r--r--x11-misc/xsnap/files/xsnap-1.5.15-root_name.patch11
-rw-r--r--x11-misc/xsnap/metadata.xml8
-rw-r--r--x11-misc/xsnap/xsnap-1.5.15-r1.ebuild65
-rw-r--r--x11-misc/xsnow/Manifest5
-rw-r--r--x11-misc/xsnow/metadata.xml8
-rw-r--r--x11-misc/xsnow/xsnow-1.42-r2.ebuild45
-rw-r--r--x11-misc/xsri/Manifest6
-rw-r--r--x11-misc/xsri/files/xsri-2.1.0-configure.patch26
-rw-r--r--x11-misc/xsri/metadata.xml8
-rw-r--r--x11-misc/xsri/xsri-2.1.0-r3.ebuild28
-rw-r--r--x11-misc/xss-lock/Manifest4
-rw-r--r--x11-misc/xss-lock/metadata.xml27
-rw-r--r--x11-misc/xss-lock/xss-lock-0.3.0_p20140302-r1.ebuild28
-rw-r--r--x11-misc/xssstate/Manifest6
-rw-r--r--x11-misc/xssstate/files/xssstate-1.0.20130103-gentoo.patch89
-rw-r--r--x11-misc/xssstate/metadata.xml12
-rw-r--r--x11-misc/xssstate/xssstate-1.1.ebuild35
-rw-r--r--x11-misc/xstroke/Manifest7
-rw-r--r--x11-misc/xstroke/files/xstroke-0.6-sigsegv_sprintf.patch13
-rw-r--r--x11-misc/xstroke/files/xstroke-0.6-underlinking.patch11
-rw-r--r--x11-misc/xstroke/metadata.xml11
-rw-r--r--x11-misc/xstroke/xstroke-0.6-r1.ebuild43
-rw-r--r--x11-misc/xteddy/Manifest6
-rw-r--r--x11-misc/xteddy/files/xteddy-2.2-linking.patch22
-rw-r--r--x11-misc/xteddy/metadata.xml15
-rw-r--r--x11-misc/xteddy/xteddy-2.2.ebuild30
-rw-r--r--x11-misc/xtermcontrol/Manifest5
-rw-r--r--x11-misc/xtermcontrol/metadata.xml16
-rw-r--r--x11-misc/xtermcontrol/xtermcontrol-3.3.ebuild13
-rw-r--r--x11-misc/xtitle/Manifest4
-rw-r--r--x11-misc/xtitle/metadata.xml8
-rw-r--r--x11-misc/xtitle/xtitle-1.0.4.ebuild29
-rw-r--r--x11-misc/xtoolwait/Manifest5
-rw-r--r--x11-misc/xtoolwait/metadata.xml8
-rw-r--r--x11-misc/xtoolwait/xtoolwait-1.3-r2.ebuild46
-rw-r--r--x11-misc/xtrace/Manifest5
-rw-r--r--x11-misc/xtrace/metadata.xml16
-rw-r--r--x11-misc/xtrace/xtrace-1.3.0.ebuild35
-rw-r--r--x11-misc/xtrlock/Manifest5
-rw-r--r--x11-misc/xtrlock/metadata.xml8
-rw-r--r--x11-misc/xtrlock/xtrlock-2.8.ebuild35
-rw-r--r--x11-misc/xtscal/Manifest6
-rw-r--r--x11-misc/xtscal/metadata.xml12
-rw-r--r--x11-misc/xtscal/xtscal-0.6.3-r1.ebuild30
-rw-r--r--x11-misc/xvfb-run/Manifest6
-rw-r--r--x11-misc/xvfb-run/metadata.xml8
-rw-r--r--x11-misc/xvfb-run/xvfb-run-1.18.4_p2.ebuild31
-rw-r--r--x11-misc/xvfb-run/xvfb-run-1.19.3_p2.ebuild32
-rw-r--r--x11-misc/xvkbd/Manifest6
-rw-r--r--x11-misc/xvkbd/files/xvkbd-3.6-last_altgr_mask.patch11
-rw-r--r--x11-misc/xvkbd/metadata.xml8
-rw-r--r--x11-misc/xvkbd/xvkbd-3.7.ebuild61
-rw-r--r--x11-misc/xwinwrap/Manifest5
-rw-r--r--x11-misc/xwinwrap/metadata.xml8
-rw-r--r--x11-misc/xwinwrap/xwinwrap-0_p4-r1.ebuild39
-rw-r--r--x11-misc/xwit/Manifest6
-rw-r--r--x11-misc/xwit/metadata.xml8
-rw-r--r--x11-misc/xwit/xwit-3.4_p15.ebuild39
-rw-r--r--x11-misc/xwrits/Manifest5
-rw-r--r--x11-misc/xwrits/metadata.xml8
-rw-r--r--x11-misc/xwrits/xwrits-2.26-r1.ebuild22
-rw-r--r--x11-misc/xxkb/Manifest14
-rw-r--r--x11-misc/xxkb/files/README9
-rw-r--r--x11-misc/xxkb/files/de15.xpm22
-rw-r--r--x11-misc/xxkb/files/de48.xpm55
-rw-r--r--x11-misc/xxkb/files/missing_init.patch22
-rw-r--r--x11-misc/xxkb/files/pl15.xpm21
-rw-r--r--x11-misc/xxkb/files/pl48.xpm54
-rw-r--r--x11-misc/xxkb/files/svg-appdefaults.patch30
-rw-r--r--x11-misc/xxkb/files/svg-flags.patch122
-rw-r--r--x11-misc/xxkb/metadata.xml11
-rw-r--r--x11-misc/xxkb/xxkb-1.11.1.ebuild76
-rw-r--r--x11-misc/xystray/Manifest5
-rw-r--r--x11-misc/xystray/files/xystray-1.0-ldflags.patch11
-rw-r--r--x11-misc/xystray/metadata.xml11
-rw-r--r--x11-misc/xystray/xystray-1.0.ebuild28
-rw-r--r--x11-misc/zim/Manifest8
-rw-r--r--x11-misc/zim/files/zim-0.60-remove-ubuntu-theme.patch18
-rw-r--r--x11-misc/zim/metadata.xml17
-rw-r--r--x11-misc/zim/zim-0.65.ebuild83
-rw-r--r--x11-misc/zim/zim-0.66.ebuild83
1326 files changed, 36680 insertions, 0 deletions
diff --git a/x11-misc/3ddesktop/3ddesktop-0.2.9-r1.ebuild b/x11-misc/3ddesktop/3ddesktop-0.2.9-r1.ebuild
new file mode 100644
index 000000000000..ad64f92fe636
--- /dev/null
+++ b/x11-misc/3ddesktop/3ddesktop-0.2.9-r1.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit autotools eutils
+
+DESCRIPTION="OpenGL virtual desktop switching"
+HOMEPAGE="http://desk3d.sourceforge.net/"
+SRC_URI="mirror://sourceforge/desk3d/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+
+RDEPEND="
+ >=media-libs/freetype-2
+ media-libs/freeglut
+ media-libs/imlib2[X]
+ x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXi
+ x11-libs/libXmu
+ x11-libs/libXt
+ x11-libs/libXxf86vm
+"
+DEPEND="
+ ${RDEPEND}
+ x11-proto/xf86vidmodeproto
+ x11-proto/xproto
+"
+
+DOCS=( AUTHORS TODO ChangeLog README README.windowmanagers )
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}"/${P}-gcc4.patch \
+ "${FILESDIR}"/${P}-asneeded.patch \
+ "${FILESDIR}"/${P}-missing-include.patch \
+ "${FILESDIR}"/${P}-gl_init.patch
+
+ eautoreconf
+}
+
+pkg_postinst() {
+ echo
+ elog "This ebuild installed a configuration file called /etc/3ddesktop.conf"
+ elog "The default configuration makes a screenshot of the virtual desktops"
+ elog "every X seconds. This is non-optimal behavior."
+ elog
+ elog "To enable a more intelligent way of updating the virtual desktops,"
+ elog "execute the following:"
+ elog
+ elog " echo \"AutoAcquire 0\" >> /etc/3ddesktop.conf"
+ elog
+ elog "This will cause 3ddesktop to update the virtual desktop snapshots"
+ elog "only when a 3d desktop switch is required."
+}
diff --git a/x11-misc/3ddesktop/Manifest b/x11-misc/3ddesktop/Manifest
new file mode 100644
index 000000000000..04d42ce6ee94
--- /dev/null
+++ b/x11-misc/3ddesktop/Manifest
@@ -0,0 +1,9 @@
+AUX 3ddesktop-0.2.9-asneeded.patch 269 SHA256 2a21502c80e04177a873ddd1b9832ef1414b27b221e49f163e71626ff17e4160 SHA512 bc0fa8247f122c5ec2504c23211730d3274008bd5583b61da2a65b7176cf7de9301f40f51b961b013566c8f30d5ef50f0a81620d14abe2017e0ea9ba7fe279d4 WHIRLPOOL f433cfdd7b796b2296b59082730e34fc940e2ccc1569055876761d14e2ad0e07272348a26fcc56ed7d49d7dd1aac3f9835ba7cc12f210cda62408dae313a6c0a
+AUX 3ddesktop-0.2.9-gcc4.patch 371 SHA256 aa7a5b1ee09fbe8704f568ba90666a4c19460c460fb6dec569d1135d3917a311 SHA512 7752d9596db58ff779389a70fcabe9cfe99af454a5c9dc36239988c1fa14755d15b51fb225fe6510bbc681f815887c7f3294d27ac4e50c2b2aab29f54c7788d1 WHIRLPOOL 1d1f30677ae681f7fd84dd84d3f44cccdc1dbfbe85f8403ac7af86c4218344cfb1e3ffe6f6a301a8b9b8139d4193d8e5ea39fbd2ecb2bd565de21f50b90ed7e4
+AUX 3ddesktop-0.2.9-gl_init.patch 526 SHA256 6716c2cafd6e374ea6515c3a423ea2bc5fd7f2d8ff5386781b7cdfb965f1cf15 SHA512 2f7ffdf022ec2eeb1b06933e09922de6856bfc4a4ee0fdb0a4ec2ba2623a8a50a0adaaa87cfec9f90ad24a1436051fdbcf340664f6458be26f119c4d05d4ce7e WHIRLPOOL 575528b98bfb266e44fba8bb717da28758f539ebfa93e3952ba6937b68f5c4947c73af63aa0ac10935e3ababcc5aac7aa1d2f742100596881f08a80e71d31be5
+AUX 3ddesktop-0.2.9-missing-include.patch 189 SHA256 728bde5d88d15be95b04bdf5eb0271568e568e90086d0492c6afcfbd5c80a9ba SHA512 6ba19f2a760de39a38ad774b9a932d1fa1bca1193707bef5e269c16353df9b8a25cf6d6d3e39e2d3b354125f266a6bf553695b8a9f8475ee3ad247b3e60a4fde WHIRLPOOL 7f9eeebeeb6d13c0d1c4d7e0b28da5cd04160dc8b7d602f646b5b2b7e91601464592af68c37f2c60a5f708a5ba523dce42091be75f4c98b6fca0f10028efb473
+DIST 3ddesktop-0.2.9.tar.gz 182278 SHA256 8fde969c1aec60685e0a74d2ebcfa1ef570df454288d5774646e2b291515e8c5 SHA512 87de83561bc1614e4dde623197b04e482e04ad363ba88adf4e4e9950a942a5725d2a7199406949981c1a4aeba5d71fb9a1693f99aefa21ed7b83e083bb902686 WHIRLPOOL 5238f9c99b1df49cab181e0d872c6af0d54b8fc126801c9d7a0b145729e7921cb5db82d734498506af74a0dcc2a7fe51009bfbe6a06b018754ed5980aa32560f
+EBUILD 3ddesktop-0.2.9-r1.ebuild 1384 SHA256 62b7e2a4ec335637c08615d244daa373ee4f840f9f1bffe295377cf0545c1614 SHA512 e852fee84fafe424d96a0c62d932b756a43ae290c9c1fbc42f395a3f99ef0c2a0fc37fe0e137c830283c7569acd722845286c210fe9aa854a4baaad0d20ff6b6 WHIRLPOOL 332fcd825d70402e681635908f916417634126cc4051f3d68534605f56d186ba595087f4413ab082267af4deda43bd95c99b02629ad0aa59c4e2c95b605b6a8e
+MISC ChangeLog 2601 SHA256 733c7f8c238ea0bedfa09bae1d81744d7aedc5cd5aca2936a0dc97523827f682 SHA512 de2cd509524e6b5f428ab3038891826c623f58d6410920df8351d13b5f8d4ff405263456e6f78d4bf4b7809233f933f629c8524e0537e2c858c49dac15bb334a WHIRLPOOL 821f256563df3d9abfbb27d5b0759bba0ab4784c55d410dd71b98c7909bad45bcf2be729c41dd2f38f263f2f42eccb1f759262d0c36623386c1cd86c2ed975e5
+MISC ChangeLog-2015 6186 SHA256 065036a23274eaacd3e4a49a8d0936d5f69f40f74e7b58c835f0c68b7448f780 SHA512 49edcc9d8e7a253ea0658a5e2f3113cb0ade98dc2589af463abd233b1ecebcec405358152f67cec45b0c2226dac4a6dfc8b5f1f91069e82238e7347161379412 WHIRLPOOL a43cd3695d8c5bff4a6a0d4619780f818d3fab92431a59b6ff585f6a74543586eba29f1a0f0632f018789121d0576209de13ad26e0c7dc6854eb2b620b4d364b
+MISC metadata.xml 624 SHA256 1f90ecb0990b67e269765e17d18686f36aace1e4d0a7de0a3533f46623834b1f SHA512 d59884e855a755ca70d9800007b2c73d32f6607bda8bb9f56c12b0008e5f2bcd58f77580da039db6a1c4f43458922b0e7324c0459c8e8eb2fca8634f054a95b3 WHIRLPOOL fc2972021bc9e54e3d488ff504b0c1daba27f0d75de9b61d9b8a55d418e92d6cb5789d45ead0519335814b024068d464873a5853567e161aae42e1e4d593b9ee
diff --git a/x11-misc/3ddesktop/files/3ddesktop-0.2.9-asneeded.patch b/x11-misc/3ddesktop/files/3ddesktop-0.2.9-asneeded.patch
new file mode 100644
index 000000000000..2534535dee1f
--- /dev/null
+++ b/x11-misc/3ddesktop/files/3ddesktop-0.2.9-asneeded.patch
@@ -0,0 +1,13 @@
+http://bugs.gentoo.org/206817
+
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -37,7 +37,7 @@
+ camera.cpp \
+ config.cpp
+
+-3ddeskd_LDFLAGS = $(imlib2_libs) @GL_LIBS@
++3ddeskd_LDADD = $(imlib2_libs) @GL_LIBS@
+
+ noinst_HEADERS = 3ddesk.h \
+ arrange.hpp \
diff --git a/x11-misc/3ddesktop/files/3ddesktop-0.2.9-gcc4.patch b/x11-misc/3ddesktop/files/3ddesktop-0.2.9-gcc4.patch
new file mode 100644
index 000000000000..a67753fcee39
--- /dev/null
+++ b/x11-misc/3ddesktop/files/3ddesktop-0.2.9-gcc4.patch
@@ -0,0 +1,14 @@
+http://bugs.gentoo.org/118458
+
+--- a/event.hpp
++++ b/event.hpp
+@@ -74,7 +74,7 @@
+ list<Event *>::iterator k;
+ for (k = events.begin(); k != events.end(); ++k) {
+ Event *e = *k;
+- printf(":: Event %d 0x%x\n", e->type, (unsigned int)(e->function));
++ printf(":: Event %d %p\n", e->type, e->function);
+ }
+ }
+
+
diff --git a/x11-misc/3ddesktop/files/3ddesktop-0.2.9-gl_init.patch b/x11-misc/3ddesktop/files/3ddesktop-0.2.9-gl_init.patch
new file mode 100644
index 000000000000..d817cea54ece
--- /dev/null
+++ b/x11-misc/3ddesktop/files/3ddesktop-0.2.9-gl_init.patch
@@ -0,0 +1,23 @@
+http://bugs.gentoo.org/123762
+
+--- a/3ddeskd.cpp
++++ b/3ddeskd.cpp
+@@ -2411,15 +2411,15 @@
+
+ // initialize opengl
+
+- // our own init function.
+- gl_init();
+-
+ GLWin.open_display();
+
+
+ GLWin.create_GL_window("Enhanced 3-dimensional workspace visualization magic machine",
+ cfg->options->do_fullscreen);
+
++ // our own init function.
++ gl_init();
++
+ cfg->texture_size = GLWin.get_best_texture_size(cfg->texture_size);
+
+ // Loads up the correct perspective matrix
diff --git a/x11-misc/3ddesktop/files/3ddesktop-0.2.9-missing-include.patch b/x11-misc/3ddesktop/files/3ddesktop-0.2.9-missing-include.patch
new file mode 100644
index 000000000000..328cbcad6d29
--- /dev/null
+++ b/x11-misc/3ddesktop/files/3ddesktop-0.2.9-missing-include.patch
@@ -0,0 +1,12 @@
+http://bugs.gentoo.org/228217
+
+--- a/config.hpp
++++ b/config.hpp
+@@ -24,6 +24,7 @@
+
+ #include <stdio.h>
+ #include <stdlib.h>
++#include <cstring>
+
+ #include <errno.h>
+ #include <unistd.h>
diff --git a/x11-misc/3ddesktop/metadata.xml b/x11-misc/3ddesktop/metadata.xml
new file mode 100644
index 000000000000..60a527c8f709
--- /dev/null
+++ b/x11-misc/3ddesktop/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+ <longdescription>
+3d Destkop is an OpenGL program for switching virtual desktops in a seamless
+3-dimensional manner. The current desktop is mapped into a 3D space where you
+may choose other screens. Several different visualization modes are available.
+</longdescription>
+ <upstream>
+ <remote-id type="sourceforge">desk3d</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/3dfb/3dfb-0.6.1-r1.ebuild b/x11-misc/3dfb/3dfb-0.6.1-r1.ebuild
new file mode 100644
index 000000000000..a4c1a38b6260
--- /dev/null
+++ b/x11-misc/3dfb/3dfb-0.6.1-r1.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit eutils
+
+DESCRIPTION="3D File Browser"
+HOMEPAGE="https://sourceforge.net/projects/dz3d/"
+SRC_URI="mirror://sourceforge/dz3d/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+
+RDEPEND="dev-libs/glib:2
+ media-libs/freeglut
+ virtual/opengl
+ x11-libs/libXmu"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+DOCS=( AUTHORS ChangeLog NEWS README WISHLIST )
+
+src_prepare() {
+ epatch "${FILESDIR}/${PV}-gcc41.patch" \
+ "${FILESDIR}/${P}-freeglut-compat.patch"
+ epatch_user
+}
diff --git a/x11-misc/3dfb/Manifest b/x11-misc/3dfb/Manifest
new file mode 100644
index 000000000000..e3760b24c096
--- /dev/null
+++ b/x11-misc/3dfb/Manifest
@@ -0,0 +1,7 @@
+AUX 0.6.1-gcc41.patch 330 SHA256 5f94be8d79e92ac241a86ae5c3c2cadded16a1489b4a16cc6376474348f4192d SHA512 af8a42cd700c00b25b7d984be14da8cc78c10397f49982c9ddba6fd6dfa8d5bb3a31e2a86a15ba60832ba7083916d72d2f8a8de642ffb257d630cecd4a8a7fea WHIRLPOOL 97a31b175cb62bdd12736d9f064ae60ea124e4eb41b29da100bd99d5abbb8c31a2aeab5343c676db348ff3c158b5bcaea844a850e85a5545f3f4e35303ee0008
+AUX 3dfb-0.6.1-freeglut-compat.patch 246 SHA256 d80bfc5a22489cd48c31a823ab425352e89dc45ef3c510e29d459579cc6c64dd SHA512 72d9e5326c28455b09f868b6eed6f38844914db84cbba7f603f46b5211dfe8c54f1db022aef9cd3586681548f2910d07bc2033dfaa246f3ef566eea2af458378 WHIRLPOOL 6c3a01aad9e39f01f59dde4affda292b1e0eb223a90d103df6f103ff79261a595e2d174993c482e30be860bbc62256a705a1cf3810e5091a6820af565ce718d5
+DIST 3dfb-0.6.1.tar.gz 102343 SHA256 94321725651711a7f7e61f8c479e519985f980e788dfa6a840300d8a41dacf3f SHA512 3eb43dd80d5ffaea8845e84e2cf21599ee36739ac99d558c4c11592363970795e60b30f444229c987f527a0765fa657111d7a54eef84b5d3d9375c7a812588f1 WHIRLPOOL 4d589d3f9a0b3823e7e64db15f147eced83224db5c20e73c40ac98a7192b93a409f36d561017fc4d23a354e210bdf1e9cafddee8461fe94c88abc79cb578263a
+EBUILD 3dfb-0.6.1-r1.ebuild 597 SHA256 85913baf3d1d975cd25041b6afc10f6c72e0768ffd76540cd0969ebcfd66af08 SHA512 de5aa4b862c6bcdcd1783ddbda1dea256088598296febb514ff716ce5ae28301e0a5a1382e5df5f40c84c6152f3140c07d2a5cc8ddb0be637335ec71a7565a90 WHIRLPOOL fdaf022c82592a7136edac9296b09ce52b323580eb8cd9b6659464cea42955631022ffe889a7cffdabb59755925f9493f8f4c1e6bb227929be6afefdae406ead
+MISC ChangeLog 2605 SHA256 509d473f76c18d6ae659e392d7beb4b998eab8c0e1139d36fc6612c4cee2f36b SHA512 caec1145eecc95e68deab1065fcd5119a329aedcb7af1619439ba129cd8ecbf2a0e0577104488d8fc6de866456312b560c24962d5c814d6b758d7d8a9fbce8f2 WHIRLPOOL a7389893f28061627e593341ecc8a8045356f75697c1bbae36a01d7b6a485c66873c4282f181ec4c6d203110c85d347ce3fda688b6b84a290b873c233495d9c5
+MISC ChangeLog-2015 2377 SHA256 bf62f004b044c427b112ed8eadb1e9a2e18d2fe32100f5a9fcf0a6ca967d5d37 SHA512 0b9ad3b2551d743cf2c5d2445cf6a47b14a813e94bb40ff9b30a55e680fed7767781dcb9d0c5c9b980c66cd4c292d2f9a8a4dd839a487a0e12e663f76627b2d6 WHIRLPOOL 1b1771e15bdc7db6805bfdbadb34c2ace16f0cc2522813171c3641d4539d51e7d6291c43211afc299d26724c99eea9b3181cd0cab4cb30fb31f9220c6fa4f51c
+MISC metadata.xml 241 SHA256 2281c8068294923864e2377b745500cea5c9fe1471a37e5b7290984952cd6015 SHA512 022f256386504bf83ef8e29db0da528bb28bf2d88114d839bb245da8a2d1fb81bbcfb26ee3889cc7cc7578ba4b149c5d1eff1ef4f8c8bb5361e61d6bac62dbd2 WHIRLPOOL 81878b2d1462b65484cac6c3cc3f2a482a98f8b33b0f8632de10e0088b30c19e25abc6d2cec0e8f2821d31ef95a2355184900efa3f918f07357915718a18ab37
diff --git a/x11-misc/3dfb/files/0.6.1-gcc41.patch b/x11-misc/3dfb/files/0.6.1-gcc41.patch
new file mode 100644
index 000000000000..2a964f66c21d
--- /dev/null
+++ b/x11-misc/3dfb/files/0.6.1-gcc41.patch
@@ -0,0 +1,12 @@
+diff -Nur 3dfb-0.6.1.orig/src/gui.cpp 3dfb-0.6.1/src/gui.cpp
+--- 3dfb-0.6.1.orig/src/gui.cpp 2004-07-28 22:32:21.000000000 +0000
++++ 3dfb-0.6.1/src/gui.cpp 2006-09-18 21:35:01.271923722 +0000
+@@ -70,7 +70,7 @@
+
+
+ static fileMap fileMap;
+-static levelLocation levels[fileMap.maxLevels];
++static levelLocation levels[1024];
+
+
+
diff --git a/x11-misc/3dfb/files/3dfb-0.6.1-freeglut-compat.patch b/x11-misc/3dfb/files/3dfb-0.6.1-freeglut-compat.patch
new file mode 100644
index 000000000000..f05e3538120d
--- /dev/null
+++ b/x11-misc/3dfb/files/3dfb-0.6.1-freeglut-compat.patch
@@ -0,0 +1,10 @@
+--- src/main.cpp.bak 2014-03-13 12:24:32.155889466 +0400
++++ src/main.cpp 2014-03-13 12:24:42.482890090 +0400
+@@ -7,6 +7,7 @@
+
+ int main(int argc, char **argv)
+ {
++ glutInit(&argc, argv);
+ gui_init();
+ glutMainLoop();
+ return(0);
diff --git a/x11-misc/3dfb/metadata.xml b/x11-misc/3dfb/metadata.xml
new file mode 100644
index 000000000000..a8831e3ae31e
--- /dev/null
+++ b/x11-misc/3dfb/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <upstream>
+ <remote-id type="sourceforge">dz3d</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/3dfm/3dfm-1.0-r1.ebuild b/x11-misc/3dfm/3dfm-1.0-r1.ebuild
new file mode 100644
index 000000000000..d8ea37203cb5
--- /dev/null
+++ b/x11-misc/3dfm/3dfm-1.0-r1.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="OpenGL-based 3D File Manager"
+HOMEPAGE="https://sourceforge.net/projects/innolab/"
+SRC_URI="mirror://sourceforge/innolab/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE=""
+
+DEPEND="virtual/glu
+ virtual/opengl
+ media-libs/freeglut"
+RDEPEND="${DEPEND}"
+
+src_install() {
+ default
+ mv "${ED%/}"/usr/bin/{interface,3dfm} || die
+}
diff --git a/x11-misc/3dfm/Manifest b/x11-misc/3dfm/Manifest
new file mode 100644
index 000000000000..c8e362c8fc6c
--- /dev/null
+++ b/x11-misc/3dfm/Manifest
@@ -0,0 +1,5 @@
+DIST 3dfm-1.0.tar.gz 139275 SHA256 eec8a32f4761db74cfe9c19b614e9e112d693a0273d7f0c4f77cc7639eec83ab SHA512 8db31f54df57c1054a36708117db2de04b05ca7b67de53b0af9e0cb53fc5678590745b6c03d3ea9b6fc4dbe50435b8f52d3286a18313e3011d7ca2d28620d666 WHIRLPOOL 2a9955b9a092c2cc8e0d0f98dfd78691b887bf93c5882675b567ca831b33b42e7a191d65a266079ede9aeef3585732e436b71aa2b712975c9f9de5899f4ce55d
+EBUILD 3dfm-1.0-r1.ebuild 475 SHA256 8bd1ccc6e2ebc56091d533338c731044e62fc61c16e7ca9d9849110b793d7f48 SHA512 1dd661416929418e599e071ea949db81f1e7f03bef50cf9e0ba44a54e9a13d52ff3899be505d256471d7b2151846a23c318fb3522a7de79ce1525cc53d389d72 WHIRLPOOL 745c13c24a9edff9ced5e4027817aa1ed44520888197888f280ba0a1f7b6db07b0c6917608de8dbc9e95fc19b60199f3a0739b81ce57a04c203559f846a51cbb
+MISC ChangeLog 2521 SHA256 6a675806fabf6cd9b38fdce80c6dbfc98d286b7c45f73a54c6ad52dd8cc42cae SHA512 1789b233e9effd9c2cd3fe76b2db2c268b5da3d66dd65c1f0d1d9c07605938a870a696ebb013b5807ee699147ebe5c662309946683742b5d225eb6848f65410b WHIRLPOOL ee336d11f4b12d606be99da3797726bb11a86b61f5718504bed1b693057c8ea4b23fac5ea352fccf369026367ce54ef7a3be9ad73babee883e14c63556585f25
+MISC ChangeLog-2015 1540 SHA256 c83e5d0195f8691fe09a5921ed0bc5af60eea2159df1e21b5879895ec032e345 SHA512 9691b04567ecfe2358b853b7401edf0dfcab1b39ef4c37a368468e8f4612e17cb801ea575197a3c644a75cf62b5cf269d243f11be044a7a4b9635211058503aa WHIRLPOOL 4d67f12feb3dbed7c85d8b0fe5607fa3e11151f5cb09d1b78d7c247d71976b3ad16acf5aa0d612acdf6497df7ee14662085b540c3a74aa6cfe12f470ff0d3b3a
+MISC metadata.xml 244 SHA256 f6a7907f2f22e72ff9b0f7fb9da3d2ee60f42b7c5e00d64d8a8cf88763118cff SHA512 a587b81a7777c11615a05b90bb4c1a4e278d17b45faa07998e8c1679537f7c06c8f2b173fb617ce5998e0bed195975b0b8cde1330257296472de1d4d8120fd74 WHIRLPOOL c43cceb0c5dfda88f69b95a7f3c59ed5f609e1039cbc104dfce20a0a386974f0f02d105e2fc2fd1320bbd57e9bba83665dce8d1eb74be6e5292e6411642c7c56
diff --git a/x11-misc/3dfm/metadata.xml b/x11-misc/3dfm/metadata.xml
new file mode 100644
index 000000000000..5a936625c766
--- /dev/null
+++ b/x11-misc/3dfm/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <upstream>
+ <remote-id type="sourceforge">innolab</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/Xorgautoconfig/Manifest b/x11-misc/Xorgautoconfig/Manifest
new file mode 100644
index 000000000000..f2a88b64973c
--- /dev/null
+++ b/x11-misc/Xorgautoconfig/Manifest
@@ -0,0 +1,7 @@
+AUX Xorgautoconfig-lz.patch 395 SHA256 ccdf6aa83c8b02fbfb15c8c1304b78290ace0646b2df95104377c56dbfc2f459 SHA512 fc5887ab690a547d3badcfdedc45fc872b6a57be6406128c1cb6b4005916705cac283d22b0761a3509b0e39e2d34ac2bbc11c2a222e37e08911462fb6f2f8c6b WHIRLPOOL 9d311b328ca19598c05356adda3f4e34663856a43c1277ce567bdedf6de1ef9002dba4d268ebbd5dc6dbf88e82c6435873dc6c95165185ba3f1bd4850f4663c4
+AUX backingstore.patch 450 SHA256 3bf6ad9145ab86e4410d498c3f8beec549420db1a5469e7f800d460b6ee7c033 SHA512 8336907d853a47df7f183196d3b91302ed8a89316ba005796e40c4c644792b94a87bc704c673008f1f4a7b14213cf1f4e7f5790b07bdefef9eec745ee1bb14cd WHIRLPOOL 0c9febfddba5450b5d6a7cec17c5dbb3c19dc493eca8e0745bae91c4126ffb464136aef07e041539a0290634abab513b3f6cda386756a8cb28c596573c3feb23
+DIST Xorgautoconfig-0.2.4.tar.bz2 33371 SHA256 63aece49c4584e1ef5b28a38519a7e4b8e102ea260e8acf2d7ead9b6675de3da SHA512 7486d036770e9baa8c1387fa6a59b413124a17cab55f67ee260b32f4fc1e97efaad2f2493366cc6cb4743a9ba12d59b2a36e74a5451d7163012bc27ffc362340 WHIRLPOOL 96913ba7a1cfda601f0ad9e28f4307d4a8bc05069bdd55a7ca70cefb746db032e26964b66c0ebd34d604441de2eff49084e32594e5fd0a42bc67e61f20ab27c3
+EBUILD Xorgautoconfig-0.2.4-r1.ebuild 729 SHA256 3afaa7ac9e68e7c6703766159e8031d4f87016746138cfe586307791fcb2a8d4 SHA512 ce57fe0d0ca8b3df2e12e5c6d4ce553170d68f0a37307cc442068d6fc35ce3b1890fe361ebb82f1a0cc18d5dd35ac74f74a4b7dd567c600430023ed3c246da85 WHIRLPOOL c73fe4e00f23b90e33d8623b073768c5da01c9e076b8964a15d8b3a0b56cb35bb4c85998b02d8237ccb6b199b5aef244ffd7fdfa6fadc719f0aa0c9514ef2d64
+MISC ChangeLog 3062 SHA256 349462bf94ab62e2d3b2aa390a5f17ed6fe38a95a5b5a1adeef9d1f14de0c3e4 SHA512 d6713f0cfbb8f0fc7273844a51890ef347bab4febb3102dbc0d9b7e9450dd9f1b671602985709a4c73844909fd097364b034057c88e78c073f085cf46e5c2524 WHIRLPOOL e042256e53e95cdf3d6a1a3477f76c6ac23a36f270f58da115f49fde1546b9e6e67cffd937fa8b45c2cc48ff8e08141c7a89a004e97e32ba4bf5a04509d37954
+MISC ChangeLog-2015 3280 SHA256 a800f7b509bb4907cbff85b29d72664b1e374fa8582830bf4d31f78dc00057b2 SHA512 7afc067caf4e1cf1ee4e06a7e5a13a31041b11c5b6b3b7e5132a48b47d522a7eb198e4ec320057780c45b8a2b4b8c5943f023c7da76defd8728738969cbcfbff WHIRLPOOL 5db092e58411fc21481c7612e15105ec0a385d65d0e2ac6de5f24cc77b176157b05e35282f774d37cf7ed7a4bb9ff092aa84f52fe629720b39e09da1a2e4c9f9
+MISC metadata.xml 355 SHA256 8ba1a58dafe0fa95a8d4cea1567940153b8f27bbb1b73f45aee70f77af23e2e0 SHA512 c083edd3550080fbb5e812cb35a4b2ecfc3c2b0c763b6a7ef3412f60e68bd2c9729de6fb88953a27d3387884ba6b648f2457555c90752dac7ebb63f6a3cb35d4 WHIRLPOOL f716148b5e5837df148e84f3230d255573ca11ac3e7abaa11a04fb31217a44e5430977fdf582c55e7b7c1cbcfea504ac3e0ede5211203354d021828205a3f18d
diff --git a/x11-misc/Xorgautoconfig/Xorgautoconfig-0.2.4-r1.ebuild b/x11-misc/Xorgautoconfig/Xorgautoconfig-0.2.4-r1.ebuild
new file mode 100644
index 000000000000..fc82fe4f27dd
--- /dev/null
+++ b/x11-misc/Xorgautoconfig/Xorgautoconfig-0.2.4-r1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Xorgautconfig generates xorg.conf files for PPC based computers"
+HOMEPAGE="https://dev.gentoo.org/~josejx/Xorgautoconfig.html"
+SRC_URI="mirror://gentoo/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="ppc ppc64"
+IUSE=""
+
+DEPEND=""
+RDEPEND="sys-apps/pciutils"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}"/backingstore.patch
+ epatch "${FILESDIR}"/${PN}-lz.patch
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)" || die "emake failed!"
+}
+
+src_install() {
+ dodir /usr
+ into /usr
+ dosbin Xorgautoconfig
+
+ newinitd Xorgautoconfig.init Xorgautoconfig
+
+ dodoc ChangeLog
+}
diff --git a/x11-misc/Xorgautoconfig/files/Xorgautoconfig-lz.patch b/x11-misc/Xorgautoconfig/files/Xorgautoconfig-lz.patch
new file mode 100644
index 000000000000..c0182a754957
--- /dev/null
+++ b/x11-misc/Xorgautoconfig/files/Xorgautoconfig-lz.patch
@@ -0,0 +1,11 @@
+--- Makefile.bak 2007-02-12 19:45:05.000000000 -0500
++++ Makefile 2007-02-12 19:44:37.000000000 -0500
+@@ -3,7 +3,7 @@
+ OBJS = Xorgautoconfig.o pci.o misc.o ddcprobe/minifind.o ddcprobe/common.o ddcprobe/vesamode.o ddcprobe/of.o
+
+ all: $(OBJS)
+- ${CC} -s -o Xorgautoconfig $(CFLAGS) $(OBJS) -lpci
++ ${CC} -s -o Xorgautoconfig $(CFLAGS) $(OBJS) -lpci -lz
+
+ clean:
+ rm -f $(OBJS) Xorgautoconfig
diff --git a/x11-misc/Xorgautoconfig/files/backingstore.patch b/x11-misc/Xorgautoconfig/files/backingstore.patch
new file mode 100644
index 000000000000..d1668d7da9f7
--- /dev/null
+++ b/x11-misc/Xorgautoconfig/files/backingstore.patch
@@ -0,0 +1,10 @@
+--- Xorgtext.h.bak 2006-07-06 11:48:31.000000000 -0400
++++ Xorgtext.h 2006-07-06 11:48:36.000000000 -0400
+@@ -135,7 +135,6 @@
+
+ static char *driver_radeon =
+ " ### Available Driver options:\n"
+-" Option \"BackingStore\" \"true\" # Increases performance\n"
+ " Option \"EnablePageFlip\" \"true\" # Increases performance\n"
+ " #Option \"SWcursor\" \"false\" # Use Software Cursor\n"
+ " #Option \"NoAccel\" \"false\" # Disable Hardware Acceleration\n"
diff --git a/x11-misc/Xorgautoconfig/metadata.xml b/x11-misc/Xorgautoconfig/metadata.xml
new file mode 100644
index 000000000000..fb932f1acad3
--- /dev/null
+++ b/x11-misc/Xorgautoconfig/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+<email>ppc@gentoo.org</email>
+<name>Gentoo Linux PowerPC Development</name>
+</maintainer>
+<longdescription lang="en">
+An X.org auto configuration tool for PPC machines.
+</longdescription>
+</pkgmetadata>
diff --git a/x11-misc/accessx/Manifest b/x11-misc/accessx/Manifest
new file mode 100644
index 000000000000..71c1611ceef7
--- /dev/null
+++ b/x11-misc/accessx/Manifest
@@ -0,0 +1,6 @@
+AUX accessx-0951-build.patch 1666 SHA256 8f22d2effde1ff63e4201236bd2a8928db37fdf1ecafe618569e3a1ff03bcecc SHA512 9a5c35b1ddd0ec2b79c0d9c65fce108db9af47d407e8d0f9c83be70d77b52d22e277d0394378b8f3ecd1c233e9ccf8c0601b71580e96841ce7f714ed61b43b95 WHIRLPOOL 9af95199f6a471850bcde53f8928f156527e5dad4120eae855878a676fa4adbd4d93301cb4a7463756bac0f52a73982b54d51d72482e8f092d55c8293177bd36
+DIST accessx0951.tar.gz 17199 SHA256 441e9316552a88d26b265a3074656ec56a84d8ea287d7dcebdb7a2b562111863 SHA512 2e152e15f89b95c1776327161ea36b879d2060e46e4414d0dc2e877967f570c427073ec514aecc447a5a7afedf53c43c6b5dbe30164e8098528e78392b5fa9c3 WHIRLPOOL d19e8a7749f8aa3c302cc5cfb1031c5ea72d373d6138219a769ee11ae17a78e33d03068ccbe8772ac50c09add38ca4609780d4093e1a2395c109aa9d393e4b49
+EBUILD accessx-0951-r2.ebuild 905 SHA256 09fadad02e56a8cbca8a52ee9fc6f774c5128b42720cdaaa562316ffaeb7d893 SHA512 8c707ae8cad9b3e42290bf16274806a4cb56fe632952135bf1e79cd3908a390866029b198e9a411bbe698efdea527124c30ae0957b3af2a684695cc574dbe4a1 WHIRLPOOL f61cbe52f4026d0351fc9ef617fd684aa62cdcab6581b0e09f512f68f3f97429b4b07eb6d7586afcfc5f3febe0ec1f8873a735ae9b2abba7adbf784179d9c1ab
+MISC ChangeLog 2464 SHA256 d277405f5bb24bfa45f59a67ab9d0febef4e5d50d8fdb8f298cd47f5c9c07d5f SHA512 9d0b37323000462e9d61837ddc6ec077169e1bb6757052fe9ad6f93d7dc79390fe4cf1072507a9c243b09b45a49fb9066f4c87db07eb8ba0208f5fe6e6a70524 WHIRLPOOL 0b214d9a738835ba1e648703e913e5cb8ff214cd79637ee7f0332c07d9bc64fefa458b75a14118fc09659a4391d660d3279fafff6ea884059b4be29ac2cfe5d6
+MISC ChangeLog-2015 3096 SHA256 3cd3eb7c3d7576f4fd78aafc89f41adb2d1bae688be05f37d9c0d38ffc42df12 SHA512 db2c89f4a3b95c0d0aff29643749d025a4fca62011012d8e572fd2a334a763d1d0e2c2b5b2ed4c9eab5cc34f8737761a12382415eef790d76c2122aa9c8ef304 WHIRLPOOL 45584a5f0f4779d61c4c4295c0aa663ca423987a7ea12e8972b62caf407f4d39f8301ebcb898a7765f9ecff9d7edfc2329a92956fd5aad835770aefeca60b49e
+MISC metadata.xml 276 SHA256 437f3dba7deca9da3b3f8ecda9bb5e97253de0412cbb3095d876f39140f3ea98 SHA512 3497963f4fb51bb32521472b54a995091cb457d2cda65c786bd4b46e5af325caf8f6d5c969cefa0c09fe717df09fb015ec59b52f5571c3b2b9d4ea33e6c843ab WHIRLPOOL 8550fd604cf609511bf7c34245ebd6682dd6d058d8cbfa099a77c94d1afcf592909eb679a28a0806957ac0949c6cff350675e0182303ec5890a5e2c2c26d29c5
diff --git a/x11-misc/accessx/accessx-0951-r2.ebuild b/x11-misc/accessx/accessx-0951-r2.ebuild
new file mode 100644
index 000000000000..92dbd14e21e3
--- /dev/null
+++ b/x11-misc/accessx/accessx-0951-r2.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit toolchain-funcs
+
+DESCRIPTION="Interface to the XKEYBOARD extension in X11"
+HOMEPAGE="http://cita.disability.uiuc.edu/software/accessx/freewareaccessx.php"
+SRC_URI="http://cmos-eng.rehab.uiuc.edu/${PN}/software/${PN}${PV}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ppc sparc x86"
+IUSE=""
+
+RDEPEND="x11-libs/libX11
+ x11-libs/libXext
+ dev-lang/tk:0="
+DEPEND="${RDEPEND}"
+
+S=${WORKDIR}/${PN}
+PATCHES=( "${FILESDIR}"/${P}-build.patch )
+
+src_prepare() {
+ default
+ sed -i \
+ -e 's:$(CC) $(OPTS) ax.C:$(CC) $(LDFLAGS) $(OPTS) ax.C:' \
+ Makefile || die
+}
+
+src_compile() {
+ emake CC="$(tc-getCXX)" OPTS="${CXXFLAGS}" XLIBDIR="-L/usr/$(get_libdir)" \
+ LLIBS="$($(tc-getPKG_CONFIG) --libs xext) $($(tc-getPKG_CONFIG) --libs x11)"
+}
+
+src_install() {
+ dobin accessx ax
+ einstalldocs
+}
diff --git a/x11-misc/accessx/files/accessx-0951-build.patch b/x11-misc/accessx/files/accessx-0951-build.patch
new file mode 100644
index 000000000000..6d732487214f
--- /dev/null
+++ b/x11-misc/accessx/files/accessx-0951-build.patch
@@ -0,0 +1,65 @@
+diff -ur accessx.orig/Access.C accessx/Access.C
+--- accessx.orig/Access.C 2003-09-19 19:08:01.000000000 +0300
++++ accessx/Access.C 2008-01-07 18:53:43.000000000 +0200
+@@ -22,6 +22,8 @@
+ #include <X11/XKBlib.h>
+ #include "Access.h"
+
++using namespace std;
++
+ //
+ // Access()
+ //
+@@ -153,7 +155,7 @@
+ //Get the state of the keyboard.
+
+ XkbDescPtr xkb = XkbGetMap(display, 0, XkbUseCoreKbd);
+- if ((int)xkb == BadAlloc || xkb == NULL)
++ if (xkb == NULL)
+ {
+ return 5; /*AccessKeyboardQueryFailure;*/
+ }
+@@ -262,7 +264,7 @@
+ //Get the state of the keyboard.
+
+ XkbDescPtr xkb = XkbGetMap(display, 0, XkbUseCoreKbd);
+- if ((int)xkb == BadAlloc || xkb == NULL)
++ if (xkb == NULL)
+ {
+ return 5; /*AccessKeyboardQueryFailure;*/
+ }
+diff -ur accessx.orig/Access.h accessx/Access.h
+--- accessx.orig/Access.h 2003-09-19 19:00:42.000000000 +0300
++++ accessx/Access.h 2008-01-07 18:53:47.000000000 +0200
+@@ -21,7 +21,7 @@
+ *
+ */
+
+-#include <iostream.h>
++#include <iostream>
+ #include <math.h>
+
+ inline char* onoroff(int val)
+diff -ur accessx.orig/ax.C accessx/ax.C
+--- accessx.orig/ax.C 2003-09-19 19:09:31.000000000 +0300
++++ accessx/ax.C 2008-01-07 18:53:49.000000000 +0200
+@@ -20,6 +20,7 @@
+
+ #include "ax.h"
+
++using namespace std;
+
+ ///////////////////////////////////////////////////////////////////////////////
+ //
+diff -ur accessx.orig/ax.h accessx/ax.h
+--- accessx.orig/ax.h 2003-09-19 19:06:56.000000000 +0300
++++ accessx/ax.h 2008-01-07 18:53:51.000000000 +0200
+@@ -24,7 +24,7 @@
+
+ // Include Files
+
+-#include <iostream.h>
++#include <iostream>
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
diff --git a/x11-misc/accessx/metadata.xml b/x11-misc/accessx/metadata.xml
new file mode 100644
index 000000000000..2ba8e9e851e4
--- /dev/null
+++ b/x11-misc/accessx/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/x11-misc/afbinit/Manifest b/x11-misc/afbinit/Manifest
new file mode 100644
index 000000000000..d4eadb2c1f94
--- /dev/null
+++ b/x11-misc/afbinit/Manifest
@@ -0,0 +1,8 @@
+AUX afbinit-mmap-1.0.1.patch 503 SHA256 61e3d377bba7f04b0e0fb5c68505ccd953d4a644a2b2c5abc837f5b507eb5823 SHA512 a0450aff4756e4406be00d84496b3632d5c60df5c8800403e2be0fcdfb6399242d30e3f90b634bcedff5aa2ee10fdf15af5b2797ae974a73875abddb4bedd271 WHIRLPOOL 7bb4deb691854809d89d490e1d1f1e6a8bcfab3eb57f6929ca5dd282da19727589a7adbeecd230299e42eb50a67be929f4a98785fd4abc938a193ab5b5b71077
+AUX afbinit.init 243 SHA256 c005e789636212b52340c3e88623fff5afed5a11e72421f7f162607941ef42db SHA512 8e6bd724b7552d987d6626d9472ea6848ec1e71caa5e7bef46fe7e0e16d0c9a92c51a2fa58fc9545d7a0db9d2e5bf4f498dbc772c3ca480a6fb3d188cd565a79 WHIRLPOOL f7d5bcf6942d500e5e725015f35f340d9db862facb4a50b69a61035788c82cbd74fb0555a61a01528bf0179c15f0af85515a796f778dbced72b9fac02f2105a7
+AUX rc.afb-1.0.1-r7.patch 1531 SHA256 4bedb8bdd965d5b8de2258c0a38e1298d1d6dff6726659d49a7966802cea88a4 SHA512 24155451249e38065ee55756df67baed8dc93b16560d3b6f4fc6f42bb81d3e501007dcfeca30c25864dad7350caf8a9a8a3e26680f125657fcbe3aacd5475b0e WHIRLPOOL be8fa7617a8461b3525a28bb9c0e2d5f574e02b1eb64dfc24819ebda0d4329f1203af908e0a24ecc169f65771b47a2179144e1f989910d99a83b3a9bb6241418
+DIST afbinit-1.0.1.tar.bz2 3288 SHA256 3a9b246b34f9b518f2e9a143e5c9faacd0197baa4e5dd13f82ce3c336a3c285c SHA512 5cb654ea8572cca3906bf9ecb583165eb4742f67c433e01f81e5f9a238988d3c9f8a8206c9520054ebd74b673c5c1ffef573e5946119d9f2bb1a3154bfe7afaf WHIRLPOOL f7859109014318dba60d4c882ef37d1a6d96219fd910172f136a83db70b7aa2da7b1a995e202e94db6192517a159b415a95d8b441ecd0fd8aad0eeab34759606
+EBUILD afbinit-1.0.1-r7.ebuild 1112 SHA256 e41efd7e2d47f361eac05a5d5a5a7d8b38e207e87f665fa4a409263fb6be5c80 SHA512 44300f66082791f1bd936bee8c9179a8c94d7d154664f56e0050dae604e1d2e66fc66d17f01a9c93c62d07c8e7571fce2a05aa9a9a45ba7257160435df9ab97d WHIRLPOOL 4ec0a32fd63cd7b6f9bf18e4c44bdc60b2947c333820cb08a3dacf98a73656b215f3292281589a5fbc788d44bd7498611458241c49a5fb9d31dbcde2c8da2a41
+MISC ChangeLog 2648 SHA256 5a1000fb3bf0cafc5e52e031d6424176a4f6eb15f50181e43c403539b9eab6ff SHA512 d3c9526f55fcaa0b7d241cac00b7a1fb2a70a2262789c02ac07a79c66d15d78c71f1fa6d4a37e6b73f9a4218187af3b33074bdfbe59d0cf9349e20409e79e5e1 WHIRLPOOL 932da8340429742dd5452796e488ffc5f24ddae590f4c678834e807edc72543bdeccaa75875264198d3caf4557023cbf8525084eb99dd29dc810b91e2e5e6eb6
+MISC ChangeLog-2015 6679 SHA256 fc9090fe9ee7252aec2b15cc4d8a74d295c914153fa3645feb7fcbeceebd1bc8 SHA512 4e389e548651d752749d3d4e113399df726a52685eeba257825e4e5d192b5b4d3967f9e8c4791e853fec10d3d371b693645173d3b33a4c9649ce2b1b2d29919e WHIRLPOOL 23c4c7a565fe90355fef282d56abc9bffdc52c5a71484d5497c0fa985879aef81b0b2aba386b07640be96c66d9697f00844b631ff4c92f6329501f99bc43deef
+MISC metadata.xml 264 SHA256 8a5b311fea2da31e06160081b53c7c90f9b8e0618009c3e5438d671768890e8a SHA512 dda5dcf3384eb6758810e868b61d485e2155cd87efcd284dd3ffeb08e5d7718a1447b706e6afc98d715711b8c42f97df7b9f621eca282104788d2d5eb3cf842d WHIRLPOOL 9508110fb6c41074133d08999a9988a192880b679e61e5b36609aee89e4b432a6f87f781200ce60c82b546802f40be7e14bd10908722f2818612713157cad491
diff --git a/x11-misc/afbinit/afbinit-1.0.1-r7.ebuild b/x11-misc/afbinit/afbinit-1.0.1-r7.ebuild
new file mode 100644
index 000000000000..53c60c7ec8c7
--- /dev/null
+++ b/x11-misc/afbinit/afbinit-1.0.1-r7.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+inherit eutils
+
+DESCRIPTION="loads the microcode for Elite3D framebuffers to use X"
+HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage"
+SRC_URI="mirror://gentoo/${P}.tar.bz2"
+IUSE=""
+
+LICENSE="GPL-1"
+SLOT="0"
+KEYWORDS="-* sparc"
+
+RDEPEND="${DEPEND}
+ sys-apps/util-linux"
+
+src_unpack() {
+ unpack ${A}
+ ##
+ # Patch rc.afb to handle both kernels 2.4.x and 2.6.x
+ einfo "Patching to handle both kernel 2.4.x and 2.6.x style afb identification"
+ cd "${S}"
+ epatch "${FILESDIR}"/rc.afb-${PVR}.patch || die "Cannot patch rc.afb init script"
+ einfo 'Patching afbinit.c to use MMAP_PUBLIC (needed for kernels > 2.6.14)'
+ epatch "${FILESDIR}"/afbinit-mmap-${PV}.patch || die "Cannot patch for mmap"
+}
+
+src_compile() {
+ emake || die "make failed"
+}
+
+src_install() {
+ dosbin afbinit
+ dosbin rc.afb
+ newinitd "${FILESDIR}"/afbinit.init afbinit
+}
+
+pkg_postinst() {
+ einfo "To use afbinit, you'll need the AFB microcode."
+ einfo "This is available via a Solaris install at /usr/lib/afb.ucode"
+ einfo "or via sun.com"
+}
diff --git a/x11-misc/afbinit/files/afbinit-mmap-1.0.1.patch b/x11-misc/afbinit/files/afbinit-mmap-1.0.1.patch
new file mode 100644
index 000000000000..43a16c0cbf49
--- /dev/null
+++ b/x11-misc/afbinit/files/afbinit-mmap-1.0.1.patch
@@ -0,0 +1,20 @@
+--- afbinit.c- 2006-01-31 15:21:31.000000000 +0000
++++ afbinit.c 2006-01-31 15:22:23.000000000 +0000
+@@ -236,7 +236,7 @@
+ /* MMAP the registers. */
+ uregs = mmap(0, 0x2000,
+ PROT_READ | PROT_WRITE,
+- MAP_PRIVATE,
++ MAP_SHARED,
+ afb_fd,
+ 0x04000000);
+ if (uregs == (void *)-1L) {
+@@ -246,7 +246,7 @@
+
+ kregs = mmap(0, 0x2000,
+ PROT_READ | PROT_WRITE,
+- MAP_PRIVATE,
++ MAP_SHARED,
+ afb_fd,
+ 0x0bc04000);
+ if (kregs == (void *)-1L) {
diff --git a/x11-misc/afbinit/files/afbinit.init b/x11-misc/afbinit/files/afbinit.init
new file mode 100644
index 000000000000..eb77118e7e01
--- /dev/null
+++ b/x11-misc/afbinit/files/afbinit.init
@@ -0,0 +1,13 @@
+#!/sbin/openrc-run
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+depend() {
+ before xdm
+}
+
+start() {
+ ebegin "Loading afbinit"
+ /usr/sbin/rc.afb
+ eend $? "Failed to load afbinit"
+}
diff --git a/x11-misc/afbinit/files/rc.afb-1.0.1-r7.patch b/x11-misc/afbinit/files/rc.afb-1.0.1-r7.patch
new file mode 100644
index 000000000000..37f5f40d1a6a
--- /dev/null
+++ b/x11-misc/afbinit/files/rc.afb-1.0.1-r7.patch
@@ -0,0 +1,62 @@
+--- rc.afb- 1999-09-08 06:42:36.000000000 +0000
++++ rc.afb 2008-03-18 17:55:11.000000000 +0000
+@@ -10,11 +10,6 @@
+ exit 0
+ fi
+
+-if [ `/bin/dmesg | /bin/grep -c "Elite 3D"` -eq 0 ]
+-then
+- exit 0
+-fi
+-
+ # The microcode loader binary and the microcode
+ # itself must exist.
+ if [ ! -x /usr/sbin/afbinit -o ! -f /usr/lib/afb.ucode ]
+@@ -22,13 +17,38 @@
+ exit 0
+ fi
+
+-# Make FB device list.
+-afb_devs=`/bin/dmesg | /bin/egrep -i "Elite 3D" | /bin/sed 's/\:.*//'`
++# Make FB device list, depending on which kind of kernel we have.
++# First, try kernel 2.4.x
++
++if [ `/bin/dmesg | /bin/grep -c "Elite 3D"` -gt 0 ]
++then
++
++ afb_devs=`/bin/dmesg | /bin/egrep -i "Elite 3D" | /bin/sed 's/\:.*//'`
++
++ # Load microcode onto each card.
++ for AFB in ${afb_devs}
++ do
++ echo -n "${AFB}: Loading Elite3D microcode... "
++ /usr/sbin/afbinit /dev/${AFB} /usr/lib/afb.ucode
++ echo "done."
++ done
++ exit 0
++else
++##
++# OK, we're not kernel 2.4.x
++# try kernel 2.6.x
++
++## if [ `/bin/dmesg | /bin/grep -c "AFB"` -gt 0 ]
++## then
+
+-# Load microcode onto each card.
+-for AFB in ${afb_devs}
+-do
+- echo -n "${AFB}: Loading Elite3D microcode... "
+- /usr/sbin/afbinit /dev/${AFB} /usr/lib/afb.ucode
+- echo "done."
+-done
++ [[ -e /proc/fb ]] || exit 0
++ afb_devs=`/bin/more -s /proc/fb | /bin/egrep -i "Elite 3D" | /bin/sed 's/\ .*//'`
++ # Load microcode onto each card.
++ for AFB in ${afb_devs}
++ do
++ echo -n "/dev/fb${AFB}: Loading Elite3D microcode... "
++ /usr/sbin/afbinit /dev/fb${AFB} /usr/lib/afb.ucode
++ echo "done."
++ done
++ exit 0
++fi
diff --git a/x11-misc/afbinit/metadata.xml b/x11-misc/afbinit/metadata.xml
new file mode 100644
index 000000000000..6fa5bc8b3252
--- /dev/null
+++ b/x11-misc/afbinit/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+
+ <maintainer type="project">
+ <email>sparc@gentoo.org</email>
+ <name>Gentoo Linux SPARC Development</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/x11-misc/alacarte/Manifest b/x11-misc/alacarte/Manifest
new file mode 100644
index 000000000000..6ef7b425a2d2
--- /dev/null
+++ b/x11-misc/alacarte/Manifest
@@ -0,0 +1,5 @@
+DIST alacarte-3.11.91.tar.xz 199128 SHA256 d77294f25ac9e4f293530080578d83dc8e014d5b7c6c01d6f9a7f1715719a384 SHA512 b4b5ead4ba0b9742ea0530ecb5362afa970125d29750aaf147be6fd477f238b9c360307ce1df2a56330a69cd9c849a0dde4be44b36bf55377f42e30429411935 WHIRLPOOL 6a6e2f47486c714dd1d35b6814f6a5dabd79799d9d101d7d2e8e74b2cef0d9f028bab104213574fb067d2419f82af3f4c79ad6d59b457237837ce5c65d764b02
+EBUILD alacarte-3.11.91.ebuild 1345 SHA256 041d09f83275860c55dd232faf675b5123c2e07c881c0dbace3a3f0e460ddf14 SHA512 e020e5a94f9e008daa483b32d7f9c7799943879ae2b3c74549c1ba43be0f71915b4fe3f7a3962bb8b780ffcc5f693a86a34c5d783bcacc8373bfdb37fcb7e478 WHIRLPOOL ea148cf7cdf2e4d6b5e1783bf4dbbcfbce8a854b4b8bc9dd7d5260005a4f678d5d21a1d70f392b81f5f5212e3b60101b8f7b936576547536329010c627624423
+MISC ChangeLog 2490 SHA256 a3c1ef71abf6acacebeb56ad367e7753f1e4efe64d4813576f496556567da671 SHA512 abb013a385d0ce079276d296bcf74074f7fce6b10d632634edd6018780b6878c842533cbe96b990d714dfdc4500566567a4ff013078ef4eac970d7fd372f25bb WHIRLPOOL 21af11ce53be0fcad18d6e84f77fdab204e1b58f57de7eabeac8478e58a677215121756af3feeba305272eca8d63a2a7aa9733e795517cc63a7caecae890368d
+MISC ChangeLog-2015 17379 SHA256 1544cf149ba281ea4ac62b0075af616a796aba5354935bf71cb77db082abed22 SHA512 a3db4b2f137425927e29e6c965246c0e603ecb55bdb8eaa67f557322cda9a9fc0ebc86b0ef65e8264a51573c42287615f39f87371321a917a99c798b05bb858f WHIRLPOOL 0ba1a1762f412931a502012ba5e9c9bc561f1cd146ad282e1c6017fc41df870f190930b0512a4b641d0d56316cc4c39a94ae031ffd19668affc8916ac9e71fb3
+MISC metadata.xml 249 SHA256 4505b0bfeadff287958620b7dc7b7209699065a8f17139a237a5dd409a726a97 SHA512 c40662134899a5c9f0369a1017806f35adf3280a0b3c91726f7a8ca6012a073a8b471583f5bfb6fe95faac1dcf607e8e2e43f8c91d48ec46f4a8824e2f551506 WHIRLPOOL 333a938ee1d2124595596c572697bf5ebad523a92ba12005cfb12e6bb6270881a94a911f0cc9c1cf2bb571559e8271e07dfd307dabe50058236dbe7103562b92
diff --git a/x11-misc/alacarte/alacarte-3.11.91.ebuild b/x11-misc/alacarte/alacarte-3.11.91.ebuild
new file mode 100644
index 000000000000..957334c13ffa
--- /dev/null
+++ b/x11-misc/alacarte/alacarte-3.11.91.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+GCONF_DEBUG="no"
+# FIXME: support python3 but installs in a weird location
+PYTHON_COMPAT=( python2_7 )
+PYTHON_REQ_USE="xml"
+
+inherit gnome2 python-r1
+
+DESCRIPTION="Simple GNOME menu editor"
+HOMEPAGE="https://git.gnome.org/browse/alacarte"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~alpha amd64 ~ia64 ~ppc ~ppc64 ~sparc x86 ~x86-fbsd"
+IUSE=""
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+COMMON_DEPEND="
+ ${PYTHON_DEPS}
+ dev-python/pygobject:3[${PYTHON_USEDEP}]
+ >=gnome-base/gnome-menus-3.5.3:3[introspection]
+"
+RDEPEND="${COMMON_DEPEND}
+ x11-libs/gdk-pixbuf:2[introspection]
+ x11-libs/gtk+:3[introspection]
+"
+DEPEND="${COMMON_DEPEND}
+ >=dev-util/intltool-0.40.0
+ sys-devel/gettext
+ virtual/pkgconfig
+"
+
+src_prepare() {
+ gnome2_src_prepare
+ python_copy_sources
+}
+
+src_configure() {
+ python_foreach_impl run_in_build_dir gnome2_src_configure
+}
+
+src_compile() {
+ python_foreach_impl run_in_build_dir gnome2_src_compile
+}
+
+src_test() {
+ python_foreach_impl run_in_build_dir default
+}
+
+src_install() {
+ installing() {
+ gnome2_src_install
+ # Massage shebang to make python_doscript happy
+ sed -e 's:#! '"${PYTHON}:#!/usr/bin/python:" \
+ -i alacarte || die
+ python_doscript alacarte
+ }
+ python_foreach_impl run_in_build_dir installing
+}
diff --git a/x11-misc/alacarte/metadata.xml b/x11-misc/alacarte/metadata.xml
new file mode 100644
index 000000000000..39980802b1da
--- /dev/null
+++ b/x11-misc/alacarte/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>gnome@gentoo.org</email>
+ <name>Gentoo GNOME Desktop</name>
+</maintainer>
+</pkgmetadata>
diff --git a/x11-misc/albert/Manifest b/x11-misc/albert/Manifest
new file mode 100644
index 000000000000..157e0ca7855b
--- /dev/null
+++ b/x11-misc/albert/Manifest
@@ -0,0 +1,7 @@
+DIST albert-0.12.0.tar.gz 404748 SHA256 e1ec7783b6cc22e5ed28d2f1ac6148528cb3eb734f139945b49d44e07770d9c8 SHA512 56d141a2c6b98744c0b34a7adbbca8b6af93545a7b067263acf59fc63d99ec7d9f19f2f3c73f477e5f35448ae8a563c9f132bed87be135467f8f0c1462f9b031 WHIRLPOOL 328fe6efdcce988e37bf30448ea147d0aac5a69aaee267e3453c4b0abd621a58f8b29f11727ecaf199129d9d11bc03b2fea71651c17aaf22f06e51ba582beaaa
+DIST albert-0.13.0-plugins.tar.gz 462749 SHA256 23ce66637609ca035809f2461f0d56c31347504e5562f0290703be4639e5f4ca SHA512 1ac4ddc3360d95a4cd60200ad4b67a8959a5d05304c3851c4cd9a194acb896f56ebe59e50373d6c2733fe10642a517d4262a85f6a1436524d917abf9c47dfd52 WHIRLPOOL 171d198f113b96d0389742b1e723909f6069b6f4b252f71534ecfdb7f3f45a3f1fe061abc483e8cc3ec466e173218bba70f47cabc6f4f9e7a0f9b4dcc8f8c71e
+DIST albert-0.13.0.tar.gz 80758 SHA256 d0897be526696232345174a80e770859df1c7ff42ea007c12492a9d3360627a3 SHA512 297f54bc3506a8143ed522be1044e2212e724fbc9309822860c409b3260ba8735fbb2569e539a3a57640f7c2165b09c306d8e48b5180dd74f8b7442723f6695c WHIRLPOOL ae5dc3bc929fdaebe959812c6c145266988b6f758cb5d4e657d75dd8a4613dbd106410a43e1172bdd79ed821f8204985bfbd3830dc5469770118bd1a1d0871f4
+EBUILD albert-0.12.0.ebuild 1016 SHA256 1cab307f195331df200e3a0f556d432e87c990cbd3840e869f680a0248b67818 SHA512 7047299581650cf9f31a3c71259dcab00707b73e9ae22115c512c47b536bf3103cdb120691e80caaef98714d3f70b1467930600f5c911565f4e5658a7cc11796 WHIRLPOOL 36416b53116da5b65e45f81d9b8453c4621aa34edadee0e7ea340d8b862b4f5bff112b9debf01cad82feccb7283daede77bd8d2c6fa9c34d0bd2d8d3f76d3f54
+EBUILD albert-0.13.0.ebuild 1473 SHA256 28de6c9f864bbc990d8b5e1e0aeca6e88d26c13dbc7c1f00a29942cb4aacb0fa SHA512 e21e38036035006b66916a0446be5303f03f0f599c30e972a343e66387b3adb5de79c0021cde0cffbecf73300a529ad7b88f0f029d58fe9f9270027222c6cde1 WHIRLPOOL f3c62c8c218eb01d1a39c2847b02731ae730d786949f98666c095e989fd048f63dbd477b4432460801975ac0bce32d22bb1ee43736fd5bde836c7ed8c9c11015
+MISC ChangeLog 3337 SHA256 77b2d91b88be117fb4af3e2f36d5cb3a6f84f0f7cd3316eb28fcf1bc3fc5aadd SHA512 de2e9d98bcbf76b463639af93de11bba73a9c864424c4b5b38a58064455538ba94c35ac26fd5d648ff109ffaa0ff7428158e1c78eb2a4e2fbdc5bac45a7ddf18 WHIRLPOOL a93474a14231b0d36622bcc5d4a77e94a8974dd730a8936a59f521ef353fd61bdd9579380e2b1b1eb8db5051b10a2a585f776662f65416e422c775c3b9986479
+MISC metadata.xml 307 SHA256 728a1470edc4c4c30294e89649427e1d28e7773532fffbf05a75b5ef27b426a2 SHA512 2e041e46839e742b36835304388ab2504f46a1a0f9fde76bca26e06e5db570a55e929310a7a06661ee115f5957c089a39125c5c41e42927263551e07d1c5b31a WHIRLPOOL 76f3d0838d1d6511dde2a36abd7e36752b21660eaf17b17802d68136e7d8a861c6b2f487aca7d3f6d56b168fa1b2a49ec0d4cc0e8c37fb5260711dbf09e54fec
diff --git a/x11-misc/albert/albert-0.12.0.ebuild b/x11-misc/albert/albert-0.12.0.ebuild
new file mode 100644
index 000000000000..525fa9c94c3b
--- /dev/null
+++ b/x11-misc/albert/albert-0.12.0.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils gnome2-utils
+
+DESCRIPTION="Desktop agnostic launcher"
+HOMEPAGE="https://albertlauncher.github.io/"
+SRC_URI="https://github.com/albertlauncher/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="amd64"
+IUSE="debug"
+
+RDEPEND="
+ dev-cpp/muParser
+ dev-qt/qtconcurrent:5
+ dev-qt/qtcore:5
+ dev-qt/qtdbus:5
+ dev-qt/qtgui:5
+ dev-qt/qtnetwork:5
+ dev-qt/qtsql:5[sqlite]
+ dev-qt/qtsvg:5
+ dev-qt/qtwidgets:5
+ dev-qt/qtx11extras:5
+ dev-qt/qtxml:5
+ x11-libs/libX11
+"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ sed -e "s/DESTINATION lib/DESTINATION $(get_libdir)/" \
+ -i src/plugins/*/CMakeLists.txt \
+ -i src/lib/*/CMakeLists.txt || die
+ cmake-utils_src_prepare
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DBUILD_DEBUG_EXTENSIONS=$(usex debug)
+ )
+
+ cmake-utils_src_configure
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}
diff --git a/x11-misc/albert/albert-0.13.0.ebuild b/x11-misc/albert/albert-0.13.0.ebuild
new file mode 100644
index 000000000000..f1eab3bcefd0
--- /dev/null
+++ b/x11-misc/albert/albert-0.13.0.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PLUGINS_HASH="bcca6aad60aa784cf61b8730e7865b399f163cc2"
+inherit cmake-utils gnome2-utils
+
+DESCRIPTION="Desktop agnostic launcher"
+HOMEPAGE="https://albertlauncher.github.io/"
+# plugins is a git submodule. the hash is taken from the submodule reference in the ${PV} tag.
+SRC_URI="https://github.com/albertlauncher/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
+https://github.com/albertlauncher/plugins/archive/${PLUGINS_HASH}.tar.gz -> ${P}-plugins.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="debug"
+
+RDEPEND="
+ dev-cpp/muParser
+ dev-qt/qtconcurrent:5
+ dev-qt/qtcore:5
+ dev-qt/qtdbus:5
+ dev-qt/qtdeclarative:5
+ dev-qt/qtgui:5
+ dev-qt/qtnetwork:5
+ dev-qt/qtsql:5[sqlite]
+ dev-qt/qtsvg:5
+ dev-qt/qtwidgets:5
+ dev-qt/qtx11extras:5
+ x11-libs/libX11
+"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ mv "${WORKDIR}"/plugins-${PLUGINS_HASH}/* "${S}"/plugins/ || die
+
+ sed -e "s/DESTINATION lib/DESTINATION $(get_libdir)/" \
+ -i plugins/*/CMakeLists.txt \
+ -i src/lib/*/CMakeLists.txt || die
+
+ # plugin needs virtualbox installed to build, untested
+ sed -i -e "/add_subdirectory(virtualbox)/s/^/#/" plugins/CMakeLists.txt || die
+
+ cmake-utils_src_prepare
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DBUILD_DEBUG_EXTENSIONS=$(usex debug)
+ )
+
+ cmake-utils_src_configure
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}
diff --git a/x11-misc/albert/metadata.xml b/x11-misc/albert/metadata.xml
new file mode 100644
index 000000000000..57e125768c28
--- /dev/null
+++ b/x11-misc/albert/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>kensington@gentoo.org</email>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">albertlauncher/albert</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/alock/Manifest b/x11-misc/alock/Manifest
new file mode 100644
index 000000000000..8a7161f52593
--- /dev/null
+++ b/x11-misc/alock/Manifest
@@ -0,0 +1,10 @@
+AUX check-setuid.patch 839 SHA256 33253d321a543e55fed3c0d10c0e46f720a87972b3a745757dd589f7d1b19432 SHA512 6c86673f33420ec672f7f74c1ff2423ebd43e6a6c9b54db7509196c66387c077bf105d76027a580f60f53f6dafc31c102364b4b6568e17ac5587a8833540315e WHIRLPOOL eb5b35adc15e24b545bb07914d2df29ca5ed9cfdca91c66c4df24841cb2df69e9f304a7bd085343810ed7d418ebb7a32c837d7f43a0cacf4a121a37a2eebfbb7
+AUX fix-aliasing.patch 1076 SHA256 23d2ffc9d8369c1e40d5a1a77fcc066cd8cfdf346500f026fcb1a06650d097de SHA512 edcc182ddc8a78c031111b301b090b9af97b0628dd6b53b353c144183d33f276d730596b0cd3947aba89bb1163135f990dada475b09a8f8ae8453e471671848f WHIRLPOOL d3c4887cd3ea138f2c9067e7eb3a8d41b0b80813dd7ba2886c1b9e96759d1f394fab42f5a5877eb64ff575a12f374b5bd8f69a9744a9b131b9aff4ba6b137afd
+AUX implicit_pointer_conversion_fix_amd64.patch 440 SHA256 54a5f954c8469cf20473e01f2905818fd18e6779d93e927a181cd392a0ea5ffe SHA512 052c2b01792411131c72f6c50ea2874ab0f4376ca2e79e97ece0e5167fc844d7a5e0a44408635e2477f0dac351f1441c52506fece049e811058ce8cae185c789 WHIRLPOOL 234271484e57a622a977b2e27b051799336830731f5a10424cc7bcfbbe1638b33078fdefeae59e18a778f392c5d1469b9d1744792cdd4233b5dbb1ba45c2b3b5
+AUX no-xf86misc.patch 3220 SHA256 c8b99b0225280a00718396e3f75dcacfc46ec44415a1aaa22ee1c6ae8ede4a58 SHA512 a27a7dff601c35ad5b41170be0aa3b2453c2b46c679f76ad4ae0b229731aa0d1e13e3c3dfeffbe690e119048a51c76ae091fa3673db8ceecb2f82f81d3857488 WHIRLPOOL 8270b242dd3cd9b0d5bdce6ace4a29d5ef97e4d3601f61a4947700841866a2f64d36c29931d52cb86a6444cb73320bb63ac815250f7c4543853cccb7c3dee4d3
+AUX tidy-printf.patch 801 SHA256 7df2c9fe6e3a53aa22f4846335a65cb564793b69d071e36885d96708a35777d2 SHA512 253f731e5be75676ef56ab320ee52625bee17a0a8f2bbb025efb8b9ac8a49da7330e5123bb0070eaa9c01f3cd66fadb85ead65c75c9412e6503744705402e9c4 WHIRLPOOL 1d7f9c03af5cc2cf69e0f0844158d07ad024cfc15deec5c93afeebf66314927a7354adeccd81be9366c727c488812fe814cb369bb0ca073a7543fb2b42736848
+DIST alock-1.0.0.tar.gz 71497 SHA256 011a75e612c12947b0428168386e0b4e71610e4c05330239a07ae8c74f6505aa SHA512 7f2515410919ef1324019cd8d218650f54537f9fddf1d74bebd255c7572eff9433ded92f2d1f4ee5f352151dd15f4a7f53f7b639f82d4e6f936f831262d508a5 WHIRLPOOL f6931fdbf3b16fe50625dd4c95d6c056ab3b733d416c842ea7db9499ecef8ea39b1f4c6254be0f6d4ba594830bb1979ec5f107d43e7f076dfbbbb3997d661752
+EBUILD alock-1.0.0.ebuild 1663 SHA256 187867ffb08e004e065ef02083676fa40535217d04e638ed5088571b56ad52b9 SHA512 c90b62a1d922efc2fa8d535be51efbaf6b4becb30be6eb0682e7694df0de3f432884cf3bc59886dca40e25e4939836c580902c31ea4f2b59c7a12f5d03097e07 WHIRLPOOL 9199eb4fc662beb6f139ae47efc91a0f329fe1e91ba3b12c9b49502804c3d6da36fd229df7e29a22ac8765b1a526e34afeaa204a903542215a285d9d88d8df86
+MISC ChangeLog 3472 SHA256 d79a7e9cc861788e127c5aba69e78becd6b114388d7c6fbf5a7774a08fa8cb66 SHA512 f9be49950c7e5130e132317286e154edb0432da7d3a3053b1348e75ba7428b72fa169b66194fc7736a881793706318475a1c33d7c2150ae6d3c26e25f52b1ac6 WHIRLPOOL 4f39c543139a76c1a124219aa5cfcbd0bfb9db0c170dd1a8987e61f7620451b3b430a1abd29ef5a3d236528f714f5871a615d2ce0cbc88f88becb7a3a15b93b9
+MISC ChangeLog-2015 2988 SHA256 8845fa88abd9f444415dc4fb34387f034a07a5e4e9f8dc1659ee870696baeee7 SHA512 7a5efe5e8653817477cc6c20bc2e0372ab0832e1ffe38b277b82e40dcbad8f59cf7d348de908fe7ff555e3a0aeba503960d221ea539cd13c93f5a0eefefaca98 WHIRLPOOL f5ccfad8160038a5e188465fdce0c80ef7a692e43e09fd8b0e3c2d2e1970de817cc814ece9d9f582bf14cfcb4687a8635e9ac0fed13a1a3ac197a4d55aa1e37b
+MISC metadata.xml 680 SHA256 6a342f9d4c9c50bc17da408fde5bfd48ef358be784ce48b2c48b6855d12d8f60 SHA512 4fdd3dba349b9f40cd4997c516352b3f84defb4f25827c64c10044145758919b20c67403d0503939f41fd600084f6553213fc0fbf823aa24e8450abac0055928 WHIRLPOOL d51221ed883c88a88263b94e9fc7a5cc48158f1f13d62a2f372b009a97478fd4462db586f0d0cef1e0f0b13308ff6018631cdce0389e341889ac3cfc036fb685
diff --git a/x11-misc/alock/alock-1.0.0.ebuild b/x11-misc/alock/alock-1.0.0.ebuild
new file mode 100644
index 000000000000..cdbbba3dd5be
--- /dev/null
+++ b/x11-misc/alock/alock-1.0.0.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit eutils toolchain-funcs
+
+# we need this since there are no tagged releases yet
+DESCRIPTION="locks the local X display until a password is entered"
+HOMEPAGE="http://darkshed.net/projects/alock
+ https://github.com/mgumz/alock"
+SRC_URI="https://github.com/mgumz/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE="doc imlib pam"
+
+DEPEND="x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXpm
+ x11-libs/libXrender
+ x11-libs/libXcursor
+ imlib? ( media-libs/imlib2[X] )
+ pam? ( virtual/pam )
+ doc? ( app-text/asciidoc )"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ epatch "${FILESDIR}"/implicit_pointer_conversion_fix_amd64.patch
+ epatch "${FILESDIR}"/check-setuid.patch
+ epatch "${FILESDIR}"/tidy-printf.patch
+ epatch "${FILESDIR}"/fix-aliasing.patch
+ epatch "${FILESDIR}"/no-xf86misc.patch
+ eapply_user
+}
+
+src_configure() {
+ tc-export CC
+
+ econf \
+ --prefix=/usr \
+ --with-all \
+ $(use_with pam) \
+ $(use_with imlib imlib2)
+}
+
+src_compile() {
+ # xmlto isn't required, so set to 'true' as dummy program
+ # alock.1 is suitable for a manpage
+ emake XMLTO=true
+}
+
+src_install() {
+ dobin src/alock
+ if use doc; then
+ # We need to generate the manpage...
+ a2x -d manpage -f manpage ./"${PN}".txt || die "a2x conversion failed."
+ doman alock.1
+ dodoc {CHANGELOG,README,TODO}.txt
+ fi
+
+ insinto /usr/share/alock/xcursors
+ doins contrib/xcursor-*
+
+ insinto /usr/share/alock/bitmaps
+ doins bitmaps/*
+
+ if ! use pam; then
+ # Sets suid so alock can correctly work with shadow
+ fperms 4755 /usr/bin/alock
+ fi
+}
diff --git a/x11-misc/alock/files/check-setuid.patch b/x11-misc/alock/files/check-setuid.patch
new file mode 100644
index 000000000000..d29beb072950
--- /dev/null
+++ b/x11-misc/alock/files/check-setuid.patch
@@ -0,0 +1,31 @@
+--- a/src/auth_pam.c
++++ b/src/auth_pam.c
+@@ -138,7 +138,12 @@
+
+ /* we can be installed setuid root to support shadow passwords,
+ and we don't need root privileges any longer. --marekm */
+- setuid(getuid());
++ int retval;
++ retval = setuid(getuid());
++ /* if setuid's return value isn't checked, it's a security issue */
++ if (retval != 0) {
++ return 0;
++ }
+
+ return 1;
+ }
+--- a/src/auth_passwd.c
++++ a/src/auth_passwd.c
+@@ -68,7 +68,11 @@
+
+ /* we can be installed setuid root to support shadow passwords,
+ and we don't need root privileges any longer. --marekm */
+- setuid(getuid());
++ int retval;
++ retval = setuid(getuid());
++ if (retval != 0) {
++ return 0;
++ }
+
+ if (strlen(pwd_entry->pw_passwd) < 13) {
+ perror("password entry has no pwd\n");
diff --git a/x11-misc/alock/files/fix-aliasing.patch b/x11-misc/alock/files/fix-aliasing.patch
new file mode 100644
index 000000000000..a4462c256943
--- /dev/null
+++ b/x11-misc/alock/files/fix-aliasing.patch
@@ -0,0 +1,23 @@
+--- a/src/auth_sha2.c
++++ b/src/auth_sha2.c
+@@ -511,7 +517,8 @@
+ *context->buffer = 0x80;
+ }
+ /* Set the bit count: */
+- *(u_int64_t *)&context->buffer[SHA256_SHORT_BLOCK_LENGTH] = context->bitcount;
++ /* Use memcpy so we're not casting or aliasing */
++ memcpy(&context->buffer[SHA256_SHORT_BLOCK_LENGTH], &context->bitcount, sizeof (context->bitcount));
+
+ /* Final transform: */
+ sha256_transform(context, context->buffer);
+@@ -789,8 +796,8 @@
+ *context->buffer = 0x80;
+ }
+ /* Store the length of input data (in bits): */
+- *(u_int64_t *)&context->buffer[SHA512_SHORT_BLOCK_LENGTH] = context->bitcount[1];
+- *(u_int64_t *)&context->buffer[SHA512_SHORT_BLOCK_LENGTH+8] = context->bitcount[0];
++ memcpy(&context->buffer+SHA512_SHORT_BLOCK_LENGTH, &context->bitcount+1, sizeof (context->bitcount+1));
++ memcpy(&context->buffer+SHA512_SHORT_BLOCK_LENGTH+8, &context->bitcount, sizeof (context->bitcount));
+
+ /* Final transform: */
+ sha512_transform(context, context->buffer);
diff --git a/x11-misc/alock/files/implicit_pointer_conversion_fix_amd64.patch b/x11-misc/alock/files/implicit_pointer_conversion_fix_amd64.patch
new file mode 100644
index 000000000000..1184ee73a612
--- /dev/null
+++ b/x11-misc/alock/files/implicit_pointer_conversion_fix_amd64.patch
@@ -0,0 +1,13 @@
+Index: alock-svn-94/src/auth_passwd.c
+===================================================================
+--- alock-svn-94.orig/src/auth_passwd.c
++++ alock-svn-94/src/auth_passwd.c
+@@ -43,7 +43,7 @@
+ \* ---------------------------------------------------------------- */
+
+ static struct passwd* pwd_entry = NULL;
+-
++char * crypt (const char *key, const char *salt);
+ static int alock_auth_passwd_init(const char* args) {
+
+ errno = 0;
diff --git a/x11-misc/alock/files/no-xf86misc.patch b/x11-misc/alock/files/no-xf86misc.patch
new file mode 100644
index 000000000000..7ce3326000f8
--- /dev/null
+++ b/x11-misc/alock/files/no-xf86misc.patch
@@ -0,0 +1,129 @@
+--- a/configure
++++ b/configure
+@@ -163,44 +163,6 @@
+ exit 1
+ }
+
+-check_xf86misc() {
+-
+- cat << EOF > tmp.c
+-#include <X11/Xlib.h>
+-#include <X11/extensions/xf86misc.h>
+-int main() {
+- XF86MiscSetGrabKeysState(NULL, True);
+- return 0;
+-}
+-EOF
+- msg_chkfor "extensions/xf86misc.h"
+- if ${CC} ${CFLAGS} -c tmp.c -o /dev/null 2>&3
+- then
+- echo "ok."
+- msg_chkfor "xf86misc"
+- if ${CC} ${CFLAGS} tmp.c -o /dev/null ${LDFLAGS} -lX11 -lXxf86misc 2>&3
+- then
+- echo "ok."
+- echo "#_______________________" >&4
+- echo "WITH_XF86MISC:=1" >&4
+- echo "LIBS += -lXxf86misc" >&4
+- echo "" >&4
+- return
+- fi
+- fi
+- echo "no."
+- echo " "
+- echo "!!! WARNING !!!"
+- echo " if the xserver is configured to allow"
+- echo " 'AllowDeactivateGrabs' or 'AllowClosedownGrabs'"
+- echo " people can bypass alock !!! consider"
+- echo " to install the xf86misc extension!"
+- echo "!!! WARNING !!!"
+- echo " "
+-}
+-
+-
+-
+
+ check_xlib() {
+
+@@ -431,7 +393,6 @@
+ check_docs
+ check_tools
+ check_xlib
+-check_xf86misc
+ check_xlogo16
+ [ "$CHECK_XPM" -eq 1 ] && check_xpm
+ [ "$CHECK_XRENDER" -eq 1 ] && check_xrender
+--- a/src/GNUmakefile
++++ b/src/GNUmakefile
+@@ -46,7 +46,7 @@
+
+ ######################
+
+-MODULES = PAM PASSWD HASH XRENDER XCURSOR XF86MISC IMLIB2 XPM
++MODULES = PAM PASSWD HASH XRENDER XCURSOR IMLIB2 XPM
+ STAND_ALONES = $(subst auth_,,$(SRC_HASH:.c=))
+
+ $(foreach module,$(MODULES),$(eval $(call funcAddModule,$(module))))
+--- a/src/alock.c
++++ b/src/alock.c
+@@ -24,10 +24,6 @@
+ #include <unistd.h>
+ #include <poll.h>
+
+-#ifdef HAVE_XF86MISC
+-#include <X11/extensions/xf86misc.h>
+-#endif
+-
+ /*----------------------------------------------*\
+ \*----------------------------------------------*/
+
+@@ -405,11 +401,6 @@
+ struct aXInfo xinfo;
+ struct aOpts opts;
+
+-#if HAVE_XF86MISC
+- int xf86misc_major = -1;
+- int xf86misc_minor = -1;
+-#endif
+-
+ int arg = 0;
+ const char* cursor_args = NULL;
+ const char* background_args = NULL;
+@@ -587,23 +578,6 @@
+ }
+ }
+
+-#if HAVE_XF86MISC
+- {
+- if (XF86MiscQueryVersion(xinfo.display, &xf86misc_major, &xf86misc_minor) == True) {
+-
+- if (xf86misc_major >= 0 &&
+- xf86misc_minor >= 5 &&
+- XF86MiscSetGrabKeysState(xinfo.display, False) == MiscExtGrabStateLocked) {
+-
+- printf("%s", "alock: cant disable xserver hotkeys to remove grabs.\n");
+- exit(EXIT_FAILURE);
+- }
+-
+- printf("%s", "disabled AllowDeactivateGrabs and AllowClosedownGrabs\n.");
+- }
+- }
+-#endif
+-
+ /* TODO: think about it: do we really need NR_SCREEN cursors ? we grab the
+ * pointer on :*.0 anyway ... */
+ if (XGrabPointer(xinfo.display, xinfo.window[0], False, None,
+@@ -621,13 +595,6 @@
+ opts.cursor->deinit(&xinfo);
+ opts.background->deinit(&xinfo);
+
+-#if HAVE_XF86MISC
+- if (xf86misc_major >= 0 && xf86misc_minor >= 5) {
+- XF86MiscSetGrabKeysState(xinfo.display, True);
+- XFlush(xinfo.display);
+- }
+-#endif
+-
+ XCloseDisplay(xinfo.display);
+
+ return EXIT_SUCCESS;
diff --git a/x11-misc/alock/files/tidy-printf.patch b/x11-misc/alock/files/tidy-printf.patch
new file mode 100644
index 000000000000..06a8a37ba7df
--- /dev/null
+++ b/x11-misc/alock/files/tidy-printf.patch
@@ -0,0 +1,23 @@
+--- a/src/cursor_xcursor.c
++++ a/src/cursor_xcursor.c
+@@ -37,17 +37,17 @@
+ return 0;
+
+ if (!args || strlen(args) < 13) {
+- printf("%s", "alock: error, missing arguments for [xcursor].\n");
++ printf("alock: error, missing arguments for [xcursor].\n");
+ return 0;
+ }
+
+ if (strstr(args, "xcursor:") != args || strstr(&args[8], "file=") != &args[8]) {
+- printf("%s", "alock: error, wrong arguments for [xcursor].\n");
++ printf("alock: error, wrong arguments for [xcursor].\n");
+ return 0;
+ }
+
+ if (!(cursor = XcursorFilenameLoadCursor(xinfo->display, &args[13]))) {
+- printf("%s", "alock: error, couldnt load [%s]\n", &args[13]);
++ printf("alock: error, couldnt load [%s]\n", &args[13]);
+ return 0;
+ }
+
diff --git a/x11-misc/alock/metadata.xml b/x11-misc/alock/metadata.xml
new file mode 100644
index 000000000000..f51dc2953b65
--- /dev/null
+++ b/x11-misc/alock/metadata.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>zlg@gentoo.org</email>
+ <name>Daniel Campbell</name>
+ </maintainer>
+ <longdescription>
+ An extremely simple screen locking utility based on xtrlock. Supports
+ multiple hash-types, shadow passwords, and PAM.
+ </longdescription>
+ <upstream>
+ <maintainer>
+ <email>akira@fluxbox.org</email>
+ <name>Mathias Gumz</name>
+ </maintainer>
+ <remote-id type="github">mgumz/alock</remote-id>
+ </upstream>
+ <use>
+ <flag name="doc">Build and install manpage with <pkg>app-text/asciidoc</pkg>.</flag>
+ </use>
+</pkgmetadata>
diff --git a/x11-misc/appmenu-qt/Manifest b/x11-misc/appmenu-qt/Manifest
new file mode 100644
index 000000000000..96a3ed5085ff
--- /dev/null
+++ b/x11-misc/appmenu-qt/Manifest
@@ -0,0 +1,5 @@
+DIST appmenu-qt-0.2.6.tar.bz2 22569 SHA256 21dd0357edeef1b20a5b56c91f1f423fdef65c81d082a22d8fe5761810927ddb SHA512 399c05f6983150ed585727e58998a95bd55657f54c4091a6cfb34716ace0a8f5d207f3b353aad72d5ca1d26b9b3c1a34abc69f6ed8c97dc47140674d2aac56fe WHIRLPOOL 155f508f23ca44d15d5d4a69d3676f5773e9361e0dbecaae30c3a6e609d7544be4a71be17669fc2464a40c9d410d110ed6b319238bcd89814dc96ed4e532ea14
+EBUILD appmenu-qt-0.2.6.ebuild 506 SHA256 baed8b2e8240d9e317f5395c5cbd7745ece33bff9053a9f033592bf60fbfcbce SHA512 50518e1dcc8fe92e54904e22da81b48550c6bef89bb96d971b7daa7cc61bd495a120364d75fbdb46f7e09d451b03ffa33faf7fedb3cc328fdb3f524a89a69371 WHIRLPOOL 372506c8778d18bb9131f6ef02f233425e82285cd4adcac2f37d11709818113eba9ef3b9f7a181349e737ed6d648e9d55b415436bb8713ab8438d1ac17c763f9
+MISC ChangeLog 2615 SHA256 05df191d09f103ad37b37ce9c447fbc0e889214d9c8fb1490fb963452ccca82a SHA512 d18c4c98060346f1bfeb9c5958a9adfc798809d80ae32aadbf410817c91a273929ce6b4f9dfe9cc0c453f9c2cf55bd463d3aa0d347847846b15f8d1613d80646 WHIRLPOOL 29f64ccda025699d73bbab3a5b75d49be618e0e23e3d040330fa959ba082605111f8c91b8b03d238bc4708cbcd47e0422cc2fe43593cc13d50b039b047b5aa26
+MISC ChangeLog-2015 839 SHA256 e65b863643f298d150c06b3c7cebd6ec1a58a04bbeaca77df802674f3b33935b SHA512 e26f5a4ec0d4cfce25f6c8296594959f6ec0c4ae616876cb3806c864dbf475836203e688169019de4ba120faf820c77da36049cb19f6a222168249ed695aa3ac WHIRLPOOL 580dfe100c5ff3bfe25cd0c66fb4cf4eb40757b83bd2a5158f23ab079b29aaa30ad68b847541cd5ce9af842f9a83604c3d0ba1a71a5fbcbcc691f1534cba7bc8
+MISC metadata.xml 327 SHA256 10cccbcc1e8e92012fe04ddbe8beb89996ac5498e5e3c0383bd1867ee52c962c SHA512 a97f0962666dec43ae6efc7f5e37d8a089d554728463c3e956ec27b4d94acdff69a38577c65b0bb4c874c801e25561733edf0b12b932ed9bcdc7e0f202ee1a0e WHIRLPOOL e962fa5e2edd5ff9e823ea3f240c194667d23b7a2f31a1c6860de1e91add2077f2b6f0cfaefb89cabd8f95665ea2e7cd6dab46b6cdc81959c1317bbb5cbda886
diff --git a/x11-misc/appmenu-qt/appmenu-qt-0.2.6.ebuild b/x11-misc/appmenu-qt/appmenu-qt-0.2.6.ebuild
new file mode 100644
index 000000000000..6cb5af4fb456
--- /dev/null
+++ b/x11-misc/appmenu-qt/appmenu-qt-0.2.6.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils
+
+DESCRIPTION="Application menu module for Qt"
+HOMEPAGE="https://launchpad.net/appmenu-qt"
+SRC_URI="https://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.bz2"
+
+LICENSE="GPL-2 LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+ dev-qt/qtcore:4
+ dev-qt/qtdbus:4
+ dev-qt/qtgui:4
+ >=dev-libs/libdbusmenu-qt-0.9.0[qt4]"
+RDEPEND="${DEPEND}"
+
+DOCS=( NEWS README )
diff --git a/x11-misc/appmenu-qt/metadata.xml b/x11-misc/appmenu-qt/metadata.xml
new file mode 100644
index 000000000000..0f9dabe03579
--- /dev/null
+++ b/x11-misc/appmenu-qt/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>kde@gentoo.org</email>
+ <name>Gentoo KDE Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="launchpad">appmenu-qt</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/apwal/Manifest b/x11-misc/apwal/Manifest
new file mode 100644
index 000000000000..315e12de6c49
--- /dev/null
+++ b/x11-misc/apwal/Manifest
@@ -0,0 +1,6 @@
+AUX apwal-0.4.5-makefile.patch 1796 SHA256 3be4e28d830e2691bc837cb853733e2eda8254fafdcb2a9cf98edf146d4152ce SHA512 e87ea9d0fdc328d46fb9dc345135efdb6b2801da583a1a6dc5569869f2854e062ca3c676c5477a23f0b07bc0557cf1af9a76383115bd44111dd0d17d4ad97f74 WHIRLPOOL 0b9e13cc630fbb855b2caca72510de1a655f38b84c7874861fe8668fa77a3aca24ce0febd6929a137202084c31b271071ec6ca7ba2ceba5f4b8997f65b7f1445
+DIST apwal-0.4.5.tar.gz 73999 SHA256 0de64be9b40d853ef1efe69faf99e3e7b9c3b756575ed9f40e16aa4fe74844f3 SHA512 a37f5453d49bc276d2e16d4fd739cb9034a841af1a60f723ec705751da1ea77be79e63d6a29a0f16b52f1021368e73e513c9081a3d73f34e0332639f0f243dc9 WHIRLPOOL 0c5a3abd67ee9d9aba1012ec055fc6b1945aa7b4dd8eddf0d527cfb1410bc6f9c377ef77ae428d5d65f2447751585ec08b1867fbfab5c2fe7cfc0bc6754f8a2d
+EBUILD apwal-0.4.5-r2.ebuild 582 SHA256 a8514ee32f792738a03ce7f90ccddacd9d89703fb900adaa0e01670bd8860611 SHA512 55ec053855e5a1426dbe8046b8b882a6284212881dc15f7244fe56db015a454e32301ac6e6f3065755b1fd004d5018e90244bf56f675ea4ca52e9dd2c9c4a52a WHIRLPOOL 585be27701a1973996ea981ee8a6ab6ec0007836b2bc910f4d2ca7dda440c2c0a81020db22bbf3bcd94d9f90f2d8dc37ce5be6e1a9f5017a1027820bbb943c04
+MISC ChangeLog 2462 SHA256 740e0bb67b2d406964cd6608169111d8789051f1f62b38dd937d5e796115cf58 SHA512 c1178fc6709e5a1d2fe93ce4dea984adb64f3f27e33494b3c3e82213ce911380e7d21f016b751f8b813c089d44d14529b51a9829b3ca572a8e37a654fc7839d0 WHIRLPOOL 40395784bde4e8e293da85ee0fedf86904e507c2607cfa87ab1eb63f10ddd76c40aefe0f28d6cd54e44e628fd167a6316a4fc379e7d8a6e852ebda36ec34f125
+MISC ChangeLog-2015 2315 SHA256 fa1b46a4a7aa03e78664fa12f09814dd1dfbe567ee4184a7409cb865c2b6cf5f SHA512 3e4bf260d9c7828ffc30e7c1f27d06be0a995a97f172e731a9b18690fb033249a3e6459891e9b7a8a66c84757da84f27a92e4f2f8c5ba4fc9fd191d284a987cd WHIRLPOOL 5a6d66d64551f2e81799943928e9305ddf5567fe63aa589c6972dd3f8f980c3881019cb08c1e313f8b32b8cd9746176ee6190b1f0af56a45d4c6debdb43ca7c5
+MISC metadata.xml 272 SHA256 b389ad9ba70c18154af4fc164e31d5b1e2a4e99815d34319b4a4f46ccef2be52 SHA512 ebe67da08587903b5b82fc194aa3c8f1ab65371f60d2c134928362e089550d9e9fd9531bffe8b676a345b5bf0ab209ce7f50d37d98201a88176f002e17582493 WHIRLPOOL 3d6a9660a11c299dbb7fa3ec6821005f2540dc8fc9e499206d38d79d54023b3ddc66a019b2c88fbc92199b9f5335088b47fa3fdd781f92f2da3ad98b26bc2a50
diff --git a/x11-misc/apwal/apwal-0.4.5-r2.ebuild b/x11-misc/apwal/apwal-0.4.5-r2.ebuild
new file mode 100644
index 000000000000..0ec395f371f8
--- /dev/null
+++ b/x11-misc/apwal/apwal-0.4.5-r2.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit toolchain-funcs
+
+DESCRIPTION="A simple application launcher and combined editor"
+HOMEPAGE="http://apwal.free.fr/"
+SRC_URI="http://apwal.free.fr/download/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc x86 ~x86-fbsd"
+IUSE=""
+
+RDEPEND="x11-libs/gtk+:2
+ x11-libs/gdk-pixbuf
+ dev-libs/libxml2
+ dev-libs/glib:2"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+PATCHES=( "${FILESDIR}"/${P}-makefile.patch )
+S=${WORKDIR}/${PN}
+
+src_configure() {
+ tc-export CC
+}
diff --git a/x11-misc/apwal/files/apwal-0.4.5-makefile.patch b/x11-misc/apwal/files/apwal-0.4.5-makefile.patch
new file mode 100644
index 000000000000..2c278b278a03
--- /dev/null
+++ b/x11-misc/apwal/files/apwal-0.4.5-makefile.patch
@@ -0,0 +1,67 @@
+* Fix parallel build
+* Respect CC, CFLAGS, LDFLAGS #333969
+* don't strip binaries
+* fix install paths
+
+--- a/Makefile
++++ b/Makefile
+@@ -1,11 +1,8 @@
+
+ include Makefile.inc
+
+-all:
+- (cd src && $(MAKE) $@)
+-
+-install:
+- (cd src && $(MAKE) $@)
++all install:
++ $(MAKE) -C src $@
+
+ clean:
+ (cd src && $(MAKE) $@)
+--- a/src/Makefile
++++ b/src/Makefile
+@@ -5,8 +5,8 @@
+ CFLAGS=-g -Wall -Werror `pkg-config --cflags gtk+-2.0 gthread-2.0` -DGTK_DISABLE_DEPRECATED -DAPWAL_DEBUG
+ LDFLAGS=`pkg-config --libs gtk+-2.0 gthread-2.0` `xml2-config --libs`
+ else
+-CFLAGS=-O2 `pkg-config --cflags gtk+-2.0 gthread-2.0`
+-LDFLAGS=-O2 `pkg-config --libs gtk+-2.0 gthread-2.0` `xml2-config --libs`
++CPPFLAGS=`pkg-config --cflags gtk+-2.0 gthread-2.0`
++LIBS=`pkg-config --libs gtk+-2.0 gthread-2.0` `xml2-config --libs`
+ endif
+
+ OBJS=main.o app.o launcher.o editor.o property.o \
+@@ -24,25 +24,24 @@
+ ifdef APWAL_DEBUG
+ all: checktraceformat apwal tags
+ apwal: $(OBJS)
+- gcc -o $@ $^ $(LDFLAGS)
++ $(CC) $(LDFLAGS) -o $@ $^ $(LIBS)
+ else
+ all: apwal
+ apwal: $(OBJS)
+- gcc -o $@ $^ $(LDFLAGS)
+- strip $@
++ $(CC) $(LDFLAGS) -o $@ $^ $(LIBS)
+ endif
+
+ install: all
+- cp apwal /usr/local/bin/
+- ln -sf /usr/local/bin/apwal /usr/local/bin/apwal-editor
++ install -D -m 755 apwal $(DESTDIR)/usr/bin/apwal
++ ln -sf apwal $(DESTDIR)/usr/bin/apwal-editor
+
+ .c.o: $(INCS)
+- gcc -c $< -o $*.o $(CFLAGS)
++ $(CC) -c $(CPPFLAGS) $(CFLAGS) $< -o $*.o
+
+ xmlrc.o: xmlrc.c $(INCS)
+- gcc -c $< -o $*.o $(CFLAGS) `xml2-config --cflags`
++ $(CC) $(CPPFLAGS) $(CFLAGS) `xml2-config --cflags` -c $< -o $*.o
+ about.o: about.c $(INCS) ../Makefile.inc
+- gcc -c $< -o $*.o $(CFLAGS) -DAPWAL_VERSION=\"$(VERS)\"
++ $(CC) $(CPPFLAGS) -DAPWAL_VERSION=\"$(VERS)\" $(CFLAGS) -c $< -o $*.o
+
+ gtkstuff.o: pixbufinline.inc
+ xmlrc.o: xmlrcinline.inc
diff --git a/x11-misc/apwal/metadata.xml b/x11-misc/apwal/metadata.xml
new file mode 100644
index 000000000000..49c86a887b6a
--- /dev/null
+++ b/x11-misc/apwal/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+</maintainer>
+</pkgmetadata>
diff --git a/x11-misc/arandr/Manifest b/x11-misc/arandr/Manifest
new file mode 100644
index 000000000000..b8e8d18c7aa8
--- /dev/null
+++ b/x11-misc/arandr/Manifest
@@ -0,0 +1,5 @@
+DIST arandr_0.1.9.orig.tar.gz 90437 SHA256 bb2b57dc37787c4eb7c33c5136cea3829d1b885862cdd827f16ef51e9f0a6ec4 SHA512 0b2bd62665a9680cf29132ddf0a1ba8eda6bc403b98245727e4c4613ac3e2a694d9268426a14bab35b8e79c7c9191cc224627fca56349acf20546a93d749f006 WHIRLPOOL 68ea8be7c8c802a1d8c9b11b59afe471e4f3a55687229c9031f2f88abfd671be49454e713205ba9dbf9d833f1082b48c1375af027cc6b07c737897fa0229fc3e
+EBUILD arandr-0.1.9.ebuild 980 SHA256 301311ff190e3c7ead93346b697e7e22e20c5e3f98f7f7a9d2f599ea49643a9b SHA512 967d804b33a1ff5aa33de670e01f9cfd13bc22e571ca7c741a6421c3304b1220ff98dbf2d985c68107f2a7dbe3fd9f208530810723cb438ac752819fcf0c4b6c WHIRLPOOL 5399f36083cd3745b57016c73982d203e97183a889118462dc26f82b3c7c98b7551a967cfcb9c85758bdb91c95f84298fce2d0d283018f18dee7753a9f0cbd1a
+MISC ChangeLog 2783 SHA256 cac970275432a17833cc83693c02133067a4313164976220540a5d319909e7e2 SHA512 9baac6919a843823847560d9d28854a8fcafbf47617e1e56b034cf526cf4a59ad69edf6e5e3926685e3821294fdcdcda124411f9fd2cd59cb9872a47bbcb5ab9 WHIRLPOOL 3ae384476c60438f0130b0467df0940e8de6b2cacdcc12b6009a391678a14111928d2c6456d375917f57471cfd7b7a8401b365a5b491547a4200c9d415e9c75c
+MISC ChangeLog-2015 2658 SHA256 19b0efbe226a404aff7a27535bc5f3c3e95435ae002891e768f350106e141583 SHA512 3710e40ec5351b613111e9005cc1914ce21dbeaa9ed847813defa9fbad0c8d22ceb87ff02f629ec3610358e01a7816416ab6399cfe6b527bd840d42873a8b25d WHIRLPOOL 8c1d898dc18f80cdb72f4aa761fab48049a56e9946a658290e288ea7f2086f01d3e65bd560f69ec8dc586dc0d0dc1af41847472b26ebec6037e658a5b528c0c6
+MISC metadata.xml 282 SHA256 ac9236162462e1562a26e596e7dd457a448f9367ff1a5a27ec3513ecade3026b SHA512 06c94ffb49c985c4344b170b902427ca9ce0c23b6d68330af227ab1771794f8e8b6d0ef75b5f69293c8ef0d3264c8799e1389ccdf8dfbe7c665c6477c07479e4 WHIRLPOOL 615c807081b4bef1734f1dbf9a182cb27b7de0e9bcdebd880c6b9c1ab01b95721076ddc4b4e75e93b8f777020bfd52459e9e4b1a9deb41baacc44f6cde05fd36
diff --git a/x11-misc/arandr/arandr-0.1.9.ebuild b/x11-misc/arandr/arandr-0.1.9.ebuild
new file mode 100644
index 000000000000..3bd1c5f9bbac
--- /dev/null
+++ b/x11-misc/arandr/arandr-0.1.9.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+inherit eutils distutils-r1
+
+DESCRIPTION="Another XRandR GUI"
+HOMEPAGE="http://christian.amsuess.com/tools/arandr/"
+SRC_URI="http://christian.amsuess.com/tools/${PN}/files/${PN}_${PV}.orig.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="amd64 x86"
+
+RDEPEND="
+ >=dev-python/pygtk-2[${PYTHON_USEDEP}]
+ x11-apps/xrandr
+"
+DEPEND="
+ >=dev-python/docutils-0.6[${PYTHON_USEDEP}]
+"
+
+src_prepare() {
+ local i p
+ # simulate gettext behavior:
+ # LINGUAS unset => install all
+ # LINGUAS="" => install none
+ # LINGUAS="de fr" => install de and fr
+ if [[ -n "${LINGUAS+x}" ]] ; then # if LINGUAS is set
+ for i in $(cd "${S}"/data/po ; for p in *.po ; do echo ${p%.po} ; done) ; do # for every supported language
+ if ! has ${i} ${LINGUAS} ; then # if language is disabled
+ rm data/po/${i}.po || die
+ fi
+ done
+ fi
+
+ distutils-r1_src_prepare
+}
diff --git a/x11-misc/arandr/metadata.xml b/x11-misc/arandr/metadata.xml
new file mode 100644
index 000000000000..bc1b97e1eb76
--- /dev/null
+++ b/x11-misc/arandr/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/x11-misc/autocutsel/Manifest b/x11-misc/autocutsel/Manifest
new file mode 100644
index 000000000000..84b26d3b3b61
--- /dev/null
+++ b/x11-misc/autocutsel/Manifest
@@ -0,0 +1,5 @@
+DIST autocutsel-0.10.0.tar.gz 329527 SHA256 a2376330aa1a65f36621595a5a4eb5c2cabc16854b69d66c285f11f89bd05e3f SHA512 2d9b7114fde67ee217ceee673e32b407eef5b266a9d457a83b35d1c6227e5873cc7928aa10f7d84ce5e8c78d4940ee29985696f49b4015269584f1559f6b6d1d WHIRLPOOL 9a5095c9f89aa456dbadd2d1416b5467bf163621451ccfa7d03f74c3629150286a9315445327232c531063e070ecd852a42200d3c2c42c2474f34c18b79b92aa
+EBUILD autocutsel-0.10.0.ebuild 557 SHA256 98ac6f349de626a4c7c63f82607f5f70d956bb0fb628c4c5a30ffe9818e1440c SHA512 8ce1131dead9359d0b4da3da537b11df55c99d727eab84814a5ba548e26519523b61cfb48a61f8336a840d13b93903aabccc60b2914816b77d0171bba3625c96 WHIRLPOOL 7df7593fdd2c28735cc151e0c852fc91cae91935112e19a88cb03111c1c42c044edb006003ddeca03644ddb0c9f928eda22de94079ecd92a247d96fe28b3ffda
+MISC ChangeLog 3230 SHA256 854dbf911cc09d07b677b0848b64a1b407a46d050aee18fbef53c498d9aeba0f SHA512 84bf24ee136c17ab893f7ace314ab51f52e019c8c9c07a8901cd561fba3f9373f9e086915be4c123be004cb529b08e59ec9fe1bc53a4d922dc8d09ae3b481412 WHIRLPOOL 30161147b835740bfce85b2c236fd45f97d3605cde1d4c094856ba306f9685794ed602998ab9f297882a5d48fd771e6859c7c132d04d97628527cea392501ae6
+MISC ChangeLog-2015 2696 SHA256 940834dd992901f16a0a51c99a891c3fa0c4c432e86e8abc8b03dcb7bc6ba202 SHA512 fc3193eac842e7caa02ad890b8080bba8e25c3c08e8a76807426464cd05208fa5d04f1a2d3aa2be486d00f6ec286afd6b3ae876dadfb45b40724cd6349a72ab3 WHIRLPOOL f9562a01a46283badf8107453660a99c30b3643736435e6198c3c9fbdee82fd14148fe961c9764a71518bd47f834fb4b4297f71e103153a387942d93dc8a8531
+MISC metadata.xml 534 SHA256 b4fe6888b4f11cfa02a7a51aed3a18e9cf5e26e29e3815bfe5e7b4d72deab3dd SHA512 cce46c479474f4f65e62088f8f9f294be994deb6ce0d25f4d8e87c743d9204780c0be9e67887c60de201193761e121dde7df19fea8532d2d977eb9f7b354a7ff WHIRLPOOL 5fadf861e80b6a8c772467756372a42eeb797456332162f3db87789e426b343b19563dbc3e4564b59f3996dc59f4eff600096efd3afc3e2977d28dbd422fd02c
diff --git a/x11-misc/autocutsel/autocutsel-0.10.0.ebuild b/x11-misc/autocutsel/autocutsel-0.10.0.ebuild
new file mode 100644
index 000000000000..c69e5ccadd2c
--- /dev/null
+++ b/x11-misc/autocutsel/autocutsel-0.10.0.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="Synchronise the two copy/paste buffers mainly used by X applications"
+HOMEPAGE="http://www.nongnu.org/autocutsel/ https://github.com/sigmike/autocutsel"
+SRC_URI="https://github.com/sigmike/${PN}/releases/download/${PV}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc sparc x86"
+
+RDEPEND="
+ x11-libs/libX11
+ x11-libs/libXaw
+ x11-libs/libXext
+ x11-libs/libXmu
+ x11-libs/libXt
+"
+DEPEND="
+ ${RDEPEND}
+ x11-proto/xproto
+"
diff --git a/x11-misc/autocutsel/metadata.xml b/x11-misc/autocutsel/metadata.xml
new file mode 100644
index 000000000000..c731dcd868fe
--- /dev/null
+++ b/x11-misc/autocutsel/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+ <longdescription>autocutsel synchronizes the two copy/paste buffers mainly used by X applications. It unifies "clipboards" between VNC servers and Windows.</longdescription>
+ <upstream>
+ <remote-id type="github">sigmike/autocutsel</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/basqet/Manifest b/x11-misc/basqet/Manifest
new file mode 100644
index 000000000000..2da0b796c280
--- /dev/null
+++ b/x11-misc/basqet/Manifest
@@ -0,0 +1,6 @@
+AUX basqet-0.2.0-desktop.patch 251 SHA256 4b1a41ef563f67a08905665aa7ae892b15636344c807e542990757bf3f7581bb SHA512 4418f86cc7c62c8992bf348de2b25b73d391337b95a5e4ff92729971609ada9ecfb2765f1a80fc3d26742992937393472fec377124ca06de4aae1814197c1d47 WHIRLPOOL fb453ef57f0f50b421f777ca662f64556ce75400203dd80cf49669f73bc01eda810b58d82afded67a91b2841c7b20e623f76d8c89a4ad475352fa639ca6d962a
+DIST basqet_0.2.0-src.tgz 471700 SHA256 46a66a61af82b57c5fc6be40565837dab785f1dbb375656cf207ef08eb09f8a2 SHA512 4153105f73161d02df611d9adf87508b0b35a6be95bfc3b3854319b9e38fa89ea12bcfc68ea186b21d7fe91c7f0a4e82d949eddfebff415b55c5f7f687df83e8 WHIRLPOOL 4afcee5a6e7d70babf05543c2f0f1db002e6753a03daad37f4eb5da58d0cf7ff9107bcbd4f13eb26ea0817c824b6eaa3937519282d2015d5e20d09ee34d7a8b8
+EBUILD basqet-0.2.0-r1.ebuild 652 SHA256 595744ed8c417925e460cb55cc56e83fa3d9e22c5e2cb79ca70457f4c70c1152 SHA512 cf38194e7a4244e72b89160511a9f9c05412205975ac1f044c047e24ae2adc98c884deff1e2663d71016aafe1f6967bfec17e8b2ed6cc0af548377a630125219 WHIRLPOOL 7dbe82b59ec7d0a5307e7bd214ed49b30d1d727e794d4bbe4cbe0e19d27e3e7b52e70f0cc58fd1aa76b948f20fee6d1266fa060b4d98dd56b179ded004aa2822
+MISC ChangeLog 3333 SHA256 bf5f7c82f034cc72a7e514af25ab063d84447e7163b0266f634d4cc21c8a5e59 SHA512 d54f34a6a31ad7ab13f793dfead0b53aef41d1eb9d14a0a2ca25daa9aecc06d4a24dad8f7f959e878c66add5105edda9ec282f85faa67af38a93b6585953a3b8 WHIRLPOOL bc70a8642ba979747b45f489ecbf2717e1d25355297b2b1d5b6b85527ee41cb6670686a3d5342d243895849412f96b1e97e6240fb6dd764e1d15d47d22bd2d7a
+MISC ChangeLog-2015 1167 SHA256 c9294d65edf54d49a0995b16e450a19a0abcdd9488ede7f0a9f2f413a9a8782b SHA512 9eb0e1b66f33879c5be61e82eb09ae2d9dcd0c27f8cd4ffdfdb4c297c6adf082bf85827b2ac9141baad01d1f84b460a21b60f123ce6be9ce0fb84f8e6a6c3506 WHIRLPOOL 611910dc591795b8aa99b06f86db6709e0295c2bc6c941aa5284781d313e00de0db46d23483b194f177add7e882a4aeb76dae8c50e7f86bd8e23fa159a1bec1b
+MISC metadata.xml 381 SHA256 2b221bbf5dd62a0fe770d8debc07b9f763c06ac8fcd4d2c5dd0df2df3ad40d66 SHA512 c9e2dc6ac67dcd2878d0c39482e5d4c85789354178aae017d578dbe4e9d07d3aba673a13e7c67ec3b83ead766c6dd853276bdc9dccfa173e8198acb49d82a703 WHIRLPOOL 225f18efa16b01fa666ad9cc2bf556af6134af2aacc599a3f2f7ae5833417b9d6d952b15300df8c820aace98dea0aeb2670b683eb46785ca51c1de65a5f71db9
diff --git a/x11-misc/basqet/basqet-0.2.0-r1.ebuild b/x11-misc/basqet/basqet-0.2.0-r1.ebuild
new file mode 100644
index 000000000000..3dac0761f60c
--- /dev/null
+++ b/x11-misc/basqet/basqet-0.2.0-r1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit qmake-utils
+
+DESCRIPTION="Keep your notes, pictures, ideas, and information in Baskets"
+HOMEPAGE="https://bitbucket.org/ridderby/basqet"
+SRC_URI="https://basqet.googlecode.com/files/${PN}_${PV}-src.tgz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="dev-qt/qtcore:4
+ dev-qt/qtgui:4"
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}/release_${PV}
+
+PATCHES=( "${FILESDIR}/${P}-desktop.patch" )
+
+src_configure() {
+ eqmake4 ${PN}.pro PREFIX="${EPREFIX}"/usr
+}
+
+src_install() {
+ emake INSTALL_ROOT="${D}" install
+ einstalldocs
+}
diff --git a/x11-misc/basqet/files/basqet-0.2.0-desktop.patch b/x11-misc/basqet/files/basqet-0.2.0-desktop.patch
new file mode 100644
index 000000000000..d0320a6f6377
--- /dev/null
+++ b/x11-misc/basqet/files/basqet-0.2.0-desktop.patch
@@ -0,0 +1,14 @@
+--- a/basqet.desktop
++++ b/basqet.desktop
+@@ -1,9 +1,9 @@
+ [Desktop Entry]
+-Version=0.2.0
++Version=1.0
+ Terminal=false
+ TryExec=basqet
+ Exec=basqet
+-Icon=basqet.png
++Icon=basqet
+ Type=Application
+ Categories=Office;WordProcessor;
+ StartupNotify=false
diff --git a/x11-misc/basqet/metadata.xml b/x11-misc/basqet/metadata.xml
new file mode 100644
index 000000000000..2e46c1d05256
--- /dev/null
+++ b/x11-misc/basqet/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>qt@gentoo.org</email>
+ <name>Gentoo Qt Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="google-code">basqet</remote-id>
+ <remote-id type="bitbucket">ridderby/basqet</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/bbacpi/Manifest b/x11-misc/bbacpi/Manifest
new file mode 100644
index 000000000000..7b53a2dc0c05
--- /dev/null
+++ b/x11-misc/bbacpi/Manifest
@@ -0,0 +1,7 @@
+AUX bbacpi-0.1.5-noextraquals.diff 236 SHA256 21d7a3cd345296d88cea4da3d99ccacf5722272a33ab8754527d9e588220ed2e SHA512 69aefc740a94067471b30dff016d27328567a1d472aba40f108c4647ca71c243d43368604c23881aa749c6cf2cd933af2bc6f5c7c29d16ab91c2041cf8cc2600 WHIRLPOOL f302fc47490425778a8e06210bdc59a49c5adbe0144c738379b487edea04f56456ca1f9e7812dcc35fe354af54ed4e0e5de27750cea519457453e1dc3334fef0
+AUX bbacpi-0.1.5-overflows.diff 4015 SHA256 1bce6ab98e6d34f6e49e25c1a656da923c5dbf88bbac22c7e3e336a0d7d35eee SHA512 62679f7be9c702f6fe61fbcc448951761f5a62a05ff93a99e94e6fa79389b059ab4f95b588c0cd4c561d3a22e00257dd89c45c2aa3fabad8570333cfa36ebb7e WHIRLPOOL c7aba684b8322b4d71ba1cf46993e0b07970396957b9485cb9824ff7e97755ee76998b400879b88114965023dfaf0b6aa31fbbe9c1f3654c11923b0871db5a8a
+DIST bbacpi-0.1.5.tar.gz 241565 SHA256 e3845b961f424461cd956b24b22613171b65f8fa1e302ad1ef713d22c9273e51 SHA512 4491bf0352a376ada9006f3306c377d5c8b6fafcad8d214f64f8a3cd52e1e8b8d02b084888d58d8a1389a624631f6fc3b6f98aa33cd89b06e1ccd0802b5a540a WHIRLPOOL 54207dd972e88e12a84179fc334cad721965821ee228cb3afe8af1ac17b72c13d1e4e6ecc1f559d8d5c6c5f0e8e98854c4ce5409cb7791e67d4aecfac92cd57f
+EBUILD bbacpi-0.1.5-r3.ebuild 754 SHA256 1674b76ca9c80adf81c4d832925056cfd0bf7a57b322cc49e7bd37983359fe45 SHA512 0f83c66ea1139d52b489043ac0b803cba0560a58ee0fe71bbbae70f7e23132bd04012604d299a862de04e1c4781535ea8925352c212d2782a92760ece0b63018 WHIRLPOOL 25d2d336dcfb3e212daae6d70d7761e941366cb75e4d55d01c5506a45ae5d6a41ee4d91cefd743118ff0974ef6091c9213d5ed43257149247341fb700017bd9c
+MISC ChangeLog 2563 SHA256 73753a6c9d46c10ede7a5dd8a50cbd5cbe6be844e97cc9965b640e40f4618c43 SHA512 0743082da0fbe1664f9687229fedd4ffc6d7f78a2ec0e25ec2ab10ade7346cebcaf2e9ed29cdb94236e2a8cde4bcf6237f4d2e50222a24fda535cbff716e24ff WHIRLPOOL 5e06a320fbbbce3420a520622243c535bb6df5aa40d3229070c056df90d1c1d8679a2f6eaa7be8867b6e1bae5900f01c5b70b8512d0dc80dd735a261cbc973bf
+MISC ChangeLog-2015 2264 SHA256 1220d49dff9bfafce09224846a7488b20d8a5b0111f03429172928f8f471ae93 SHA512 ce92c6378311a68e40228bd819e5e9213c626ac01bcc1afdb9f6e0a57daa30ae53c23ce578346717f8ac2e3b7e8dc776d34948c27bcb9aea500eba75196eafe8 WHIRLPOOL a29ed6cb8c8e564ec41418d5bd9230bfd9f4d6e27796b6b54f3abc5d6069a9842c859672a9ae0b8357bcc010bdf1d0173e11a9bf57abf88628244b22ed850164
+MISC metadata.xml 438 SHA256 f978783eb25b5ad023000ea5c2d482577ae420e6f9a87b45eab6487c137ae7d9 SHA512 b88162948bb8b4cb5b05ac45d8c72b80f11d05165a033137a1e99f5fc37dfad189d6619321959a540d01943efa1112fa5173bd267bbcab2529a52b497363eff5 WHIRLPOOL 661740d1177cff4affce3e7ac27f9f3bd1ca0338968708699791e2b00c2b6198aff4e77026032a226239e32e233fdae9e683b6bb4a3407273fde06cc375b6f7b
diff --git a/x11-misc/bbacpi/bbacpi-0.1.5-r3.ebuild b/x11-misc/bbacpi/bbacpi-0.1.5-r3.ebuild
new file mode 100644
index 000000000000..e3fb13c155f1
--- /dev/null
+++ b/x11-misc/bbacpi/bbacpi-0.1.5-r3.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools
+
+DESCRIPTION="ACPI monitor for X11"
+HOMEPAGE="http://bbacpi.sourceforge.net"
+SRC_URI="mirror://sourceforge/bbacpi/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 x86"
+
+DEPEND="
+ media-libs/imlib
+ sys-power/acpi
+ sys-power/acpid
+ x11-libs/libX11
+ x11-misc/xdialog"
+RDEPEND="
+ ${DEPEND}
+ media-fonts/font-adobe-100dpi"
+
+DOCS=( AUTHORS ChangeLog NEWS README data/README.bbacpi )
+PATCHES=(
+ "${FILESDIR}"/${P}-noextraquals.diff
+ "${FILESDIR}"/${P}-overflows.diff
+)
+
+src_prepare() {
+ default
+ mv configure.{in,ac} || die
+ eautoreconf
+}
+
+src_install() {
+ default
+ rm "${ED%/}"/usr/share/bbtools/README.bbacpi || die
+}
diff --git a/x11-misc/bbacpi/files/bbacpi-0.1.5-noextraquals.diff b/x11-misc/bbacpi/files/bbacpi-0.1.5-noextraquals.diff
new file mode 100644
index 000000000000..7da903cbd4ca
--- /dev/null
+++ b/x11-misc/bbacpi/files/bbacpi-0.1.5-noextraquals.diff
@@ -0,0 +1,13 @@
+--- a/resource.hh
++++ b/resource.hh
+@@ -126,8 +126,8 @@
+ {
+
+ public:
+- Resource::Resource(ToolWindow *);
+- Resource::~Resource(void);
++ Resource(ToolWindow *);
++ ~Resource(void);
+
+ struct FRAME frame;
+ struct LABEL label;
diff --git a/x11-misc/bbacpi/files/bbacpi-0.1.5-overflows.diff b/x11-misc/bbacpi/files/bbacpi-0.1.5-overflows.diff
new file mode 100644
index 000000000000..df961e607e4f
--- /dev/null
+++ b/x11-misc/bbacpi/files/bbacpi-0.1.5-overflows.diff
@@ -0,0 +1,105 @@
+Fixes buffer overflows and --as-needed issues
+
+https://bugs.gentoo.org/show_bug.cgi?id=338936
+
+Patch written by Kevin Pyle <gentoo.8eaf7cd8e5128d8191fe@spamgourmet.com>
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -1,4 +1,4 @@
+-AM_CPPFLAGS = @CPPFLAGS@ @INTERLACE@ \
++AM_CPPFLAGS = @INTERLACE@ \
+ -DGLOBAL_BB=\"$(datadir)/bbtools/bbacpi.bb\" \
+ -DGLOBAL_NOBB=\"$(datadir)/bbtools/bbacpi.nobb\" \
+ -DGLOBAL_DATA=\"$(datadir)/bbtools\"
+--- a/bbacpi.cc
++++ b/bbacpi.cc
+@@ -167,7 +167,7 @@ bool CheckLoad::checkbatteryfile (char* name, char* device)
+ if (ret = (fp = fopen(name, "r"))) {
+ char buffer[100];
+ char present[20];
+- fgets(buffer,128,fp);
++ fgets(buffer, sizeof(buffer),fp);
+ sscanf(buffer,"present: %s", present);
+ if (strncmp(present, "yes", 3) != 0) {
+ fprintf(stderr, "Device %s not present.\n", device);
+@@ -195,7 +195,7 @@ void CheckLoad::ReadStaticInfo()
+ {
+ /* Read data in any order */
+ found = 0;
+- while (found < 11 && (fgets(buffer, 63, fp) != NULL)) {
++ while (found < 11 && (fgets(buffer, sizeof(buffer), fp) != NULL)) {
+ /* Present */
+ if (strncmp(buffer, "present:", 7) == 0
+ || strncmp(buffer, "Present:", 7) == 0) {
+@@ -277,7 +277,7 @@ void CheckLoad::ReadStaticInfo()
+ {
+ /* Read data in any order */
+ found = 0;
+- while (found < 11 && (fgets(buffer, 63, fp) != NULL)) {
++ while (found < 11 && (fgets(buffer, sizeof(buffer), fp) != NULL)) {
+ /* Present */
+ if (strncmp(buffer, "present:", 7) == 0
+ || strncmp(buffer, "Present:", 7) == 0) {
+@@ -361,7 +361,7 @@ void CheckLoad::ReadStaticInfo()
+ if ((fp = fopen(names.temptrip, "r")))
+ {
+ found = 0;
+- while (found < 2 && (fgets(buffer,128,fp) != NULL)) {
++ while (found < 2 && (fgets(buffer, sizeof(buffer),fp) != NULL)) {
+ /* Critical */
+ if (strncmp(buffer, "critical", 8) == 0
+ || strncmp(buffer, "Critical", 8) == 0) {
+@@ -425,7 +425,7 @@ void CheckLoad::Reconfigure()
+ if (file_status.st_mtime != last_mtime)
+ {
+ found = 0;
+- while (found < 4 && (fgets(buffer, 63, fp) != NULL)) {
++ while (found < 4 && (fgets(buffer, sizeof(buffer), fp) != NULL)) {
+ /* Charging state */
+ if (strncmp(buffer, "charging state:", 15) == 0
+ || strncmp(buffer, "Charging State:", 15) == 0) {
+@@ -463,7 +463,7 @@ void CheckLoad::Reconfigure()
+ if (file_status.st_mtime != last_mtime)
+ {
+ found = 0;
+- while (found < 4 && (fgets(buffer, 63, fp) != NULL)) {
++ while (found < 4 && (fgets(buffer, sizeof(buffer), fp) != NULL)) {
+ /* Charging state */
+ if (strncmp(buffer, "charging state:", 15) == 0
+ || strncmp(buffer, "Charging State:", 15) == 0) {
+@@ -497,7 +497,7 @@ void CheckLoad::Reconfigure()
+ if ((fp = fopen(names.adapter, "r")))
+ {
+ found = 0;
+- while (found < 1 && (fgets(buffer, 63,fp) != NULL)) {
++ while (found < 1 && (fgets(buffer, sizeof(buffer),fp) != NULL)) {
+ if (strncmp(buffer, "state:", 6) == 0
+ || strncmp(buffer, "State:", 6) == 0) {
+ sscanf(buffer+offset,"%s", adapter.state);
+@@ -511,7 +511,7 @@ void CheckLoad::Reconfigure()
+ if ((fp = fopen(names.temperature, "r")))
+ {
+ found = 0;
+- while (found < 1 && (fgets(buffer, 63,fp) != NULL)) {
++ while (found < 1 && (fgets(buffer, sizeof(buffer),fp) != NULL)) {
+ if (strncmp(buffer, "temperature:", 12) == 0
+ || strncmp(buffer, "Temperature:", 12) == 0) {
+ sscanf(buffer+offset,"%u", &temperature.celcius);
+--- a/configure.in
++++ b/configure.in
+@@ -89,12 +89,12 @@ AC_PATH_XTRA
+
+ CFLAGS="$CFLAGS $X_CFLAGS"
+ CXXFLAGS="$CXXFLAGS $X_CFLAGS"
+-LDFLAGS="$LDFLAGS $X_LIBS $X_PRE_LIBS"
++LIBS="$LIBS $X_LIBS $X_PRE_LIBS"
+ dnl Checks for X libraries.
+-AC_CHECK_LIB(X11, XOpenDisplay, LDFLAGS="$LDFLAGS -lX11",
++AC_CHECK_LIB(X11, XOpenDisplay,,
+ AC_MSG_ERROR(XOpenDisplay not found in -lX11))
+
+-LDFLAGS="$LDFLAGS $X_EXTRA_LIBS"
++LIBS="$LIBS $X_EXTRA_LIBS"
+
+ dnl Check for Imlib
+ AC_MSG_CHECKING([for Imlib])
diff --git a/x11-misc/bbacpi/metadata.xml b/x11-misc/bbacpi/metadata.xml
new file mode 100644
index 000000000000..5c53ec9ef9bf
--- /dev/null
+++ b/x11-misc/bbacpi/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+ <longdescription lang="en">
+Utility for viewing ACPI data via X11
+</longdescription>
+ <upstream>
+ <remote-id type="sourceforge">bbacpi</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/bbcd/Manifest b/x11-misc/bbcd/Manifest
new file mode 100644
index 000000000000..4fed569ffc09
--- /dev/null
+++ b/x11-misc/bbcd/Manifest
@@ -0,0 +1,8 @@
+AUX bbcd-0.3.1-gcc3.3.patch 547 SHA256 961f8e8fba93080d102030575d9ede97e37a1e99d712a08a0aa79c8086d8a57a SHA512 ceb69249e5dabf300bffdd45af3edb25d69262368ec6b27c2493d294ddfdb834fa744f21627d274c1c081aa7814f9a0fdbae7a39e6d4f8ea8d31c21af66bc204 WHIRLPOOL 5a67108ec4200760805097b89bbc56037c8edb658da80c308eebcca141e57af5595cc62dbd7831cae1c44421db976d10d81c893d456a9b851cd5be61be2bb908
+AUX bbcd-0.3.1-gcc4.3.patch 254 SHA256 ef56df529ab3ea934ea8c79a84cb8881f56d6968a6ede4130c8f557e41d3a126 SHA512 8bee8daa0579736f5678f59023ebe54617106fbd53aa0b938ebcbae1b6d7b15e4798baf7e81ae4b3f84ffe36cd18789639ac13657110271d174039b9723fa737 WHIRLPOOL dded69c66c7249c7444e3398f333392bb8eab4e8a1b076b86634d299687c4584307e21e884a792f9dfc96d87c64eb2e8c7db98b9f9bd8e3985025859f47604e1
+AUX bbcd-0.3.1_0.3.1a.diff 1794 SHA256 db8e9e1c3bffa0863403b9a71860ebe526cc9d0dcf419a0efd00f8d9b16f0e55 SHA512 422ae54b3e18e3d9dfaa4adc28e8d0285d127cb28a175fce2772ef4d3577755e95c43bdd15e1000469da64dd9b6693cb2f11d92c5d261266cc791b9671cdfd82 WHIRLPOOL 561a3381fd068e10b5c9aefa6f1ac215cfa621d2f6fb314fa8340ebaf3e567f3a3c4d851ab9236d79bceedb919941cd659587f2074600b7368471b27102c6e25
+DIST bbcd-0.3.1.tar.gz 74853 SHA256 30a63b349d6eb6dd0018e5d76e8f1f97fdde60798f9dfec210662a47e65a8875 SHA512 817c41e8989d28fed45b3a797ffac193ce2060bae7d8793253a8f2812945b0f72e2f14ecd607329f769fc07773b678ca507a84c7f3b214fb5ac4afd62d77de7f WHIRLPOOL 388cd3a496fa6eb0e47dba8dd8576a7c598a1dd738dffdd0bd6c449ece99df7a4f9fb45e7320b9002f8344188f78a7a44cdb15669edd4cf397ff2f6cba263ba4
+EBUILD bbcd-0.3.1-r2.ebuild 583 SHA256 88e7fe25e5b8bbec682532665cc3f420081a1bb45b6ab923d5a8a9eee06e6e87 SHA512 6f0891892cca2bb9274f2f98890cd29915f148afc6d290e1f4976b7ade0701db9921bc1de89f5bba135dcd6190532404d3d5ad0368482a0b4ac39d143ca7b37f WHIRLPOOL 66c075ce74c55dc050ef7bddd8d3d399964704f474112f472798bd5e9b7c7cdbb8a47cbaff5b6ba8075a2dbaf3c78ebbf2eb1a18c8f0166df6e386af1010fc17
+MISC ChangeLog 2616 SHA256 a871e2eb79c677559a3881ea09b0ab2d4dd9722defd0118d8624ca79845b606f SHA512 93bb32fa98c9b99f9a4cffcabb87ba9ee0290acbbc796009b991914fa7fc1ae327473e6de8881948d0e209ba19c4b48f30b6ad0f6289c83bd4e931785748d3a4 WHIRLPOOL b6d0b05a2e9cb1f1e996087087b48248b64b4ef2a96c46a98d4afa54ee4c53d373a0ae1990eefb2f6c3b335f684f3b13aa802e03a0b6b27bcaea943621741e20
+MISC ChangeLog-2015 2116 SHA256 f4f15a861bfa099a5c17f24b56f621579437d4062dc2a30a3b1c1dc0f69f93d7 SHA512 fa4dcadf0c0deebf6ff1b8b702f936ac24124a7d5c8d04db3437a1b09055de237081212e76d621054729be1d841099e32b42a65873fc1d7c4de00d09ddedfd5f WHIRLPOOL 061011f319008538fa667a27cc28485693ce889f1a4b4bc0f969b537e7a7adf5c7331156cf7e67cba0af20f63695c5ae094b490963a2ba88ef6f309e8c4d680d
+MISC metadata.xml 241 SHA256 632199275d7215290f9d37dc68d0b998509dea07119609fba5d4486e6e313051 SHA512 fa9ab655c8afc6023086bbfbda56113653deee76679bff4f0edad7e86412a4dea3c943209426bee532ad0dfe0b5967aeefb121a8f45cc2f091fc79d429d7b71d WHIRLPOOL a24468e0f691b39d48effc8e2afedfa1a68e60eb0688b1ae2f3feab0b53d0e0d663d2a19d2397fc372b6a67fdc66ab7163e58b81eda1015ea2e4d75573b58ae5
diff --git a/x11-misc/bbcd/bbcd-0.3.1-r2.ebuild b/x11-misc/bbcd/bbcd-0.3.1-r2.ebuild
new file mode 100644
index 000000000000..6bfbcd066254
--- /dev/null
+++ b/x11-misc/bbcd/bbcd-0.3.1-r2.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="Basic CD Player for blackbox wm"
+HOMEPAGE="http://tranber1.free.fr/bbcd.html"
+SRC_URI="http://tranber1.free.fr/${P}.tar.gz"
+LICENSE="GPL-2"
+
+SLOT="0"
+KEYWORDS="~amd64 ppc x86 ~x86-fbsd"
+IUSE=""
+
+RDEPEND="media-libs/libcdaudio
+ x11-libs/libX11"
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+ "${FILESDIR}"/${P}_${PV}a.diff
+ "${FILESDIR}"/${P}-gcc3.3.patch
+ "${FILESDIR}"/${P}-gcc4.3.patch
+)
+
+src_install() {
+ default
+ rm "${ED%/}"/usr/share/bbtools/README.bbcd || die
+}
diff --git a/x11-misc/bbcd/files/bbcd-0.3.1-gcc3.3.patch b/x11-misc/bbcd/files/bbcd-0.3.1-gcc3.3.patch
new file mode 100644
index 000000000000..906dabf616ca
--- /dev/null
+++ b/x11-misc/bbcd/files/bbcd-0.3.1-gcc3.3.patch
@@ -0,0 +1,20 @@
+--- bbcd-0.3.1/Color.cc.org 2003-12-07 14:55:51.791299707 +0100
++++ bbcd-0.3.1/Color.cc 2003-12-07 14:56:07.724194970 +0100
+@@ -32,6 +32,7 @@
+ //#include <stdio.h>
+ //}
+ #include <iostream>
++#include <assert.h>
+
+
+ BColor::ColorCache BColor::colorcache;
+--- bbcd-0.3.1/Texture.cc.org 2003-12-07 14:55:57.382507797 +0100
++++ bbcd-0.3.1/Texture.cc 2003-12-07 14:56:41.924228114 +0100
+@@ -37,6 +37,7 @@
+ #include "Texture.hh"
+ //#include "BaseDisplay.hh"
+ #include "Image.hh"
++#include <assert.h>
+ //#include "Screen.hh"
+ //#include "blackbox.hh"
+
diff --git a/x11-misc/bbcd/files/bbcd-0.3.1-gcc4.3.patch b/x11-misc/bbcd/files/bbcd-0.3.1-gcc4.3.patch
new file mode 100644
index 000000000000..90c2d4ab8d8e
--- /dev/null
+++ b/x11-misc/bbcd/files/bbcd-0.3.1-gcc4.3.patch
@@ -0,0 +1,11 @@
+Add header to be compatible with gcc-4.3 and glibc-2.8.
+--- bbcd-0.3.1/Image.cc
++++ bbcd-0.3.1/Image.cc
+@@ -29,6 +29,7 @@
+ //# include <stdio.h>
+ //#endif // HAVE_STDIO_H
+ #include <iostream>
++#include <cstring>
+
+ #include <algorithm>
+ using std::max;
diff --git a/x11-misc/bbcd/files/bbcd-0.3.1_0.3.1a.diff b/x11-misc/bbcd/files/bbcd-0.3.1_0.3.1a.diff
new file mode 100644
index 000000000000..75db91941727
--- /dev/null
+++ b/x11-misc/bbcd/files/bbcd-0.3.1_0.3.1a.diff
@@ -0,0 +1,41 @@
+diff -urN bbcd-0.3.1/CD_Ctrl.cc bbcd-0.3.2/CD_Ctrl.cc
+--- bbcd-0.3.1/CD_Ctrl.cc Sun Jun 23 18:35:27 2002
++++ bbcd-0.3.2/CD_Ctrl.cc Mon Feb 3 09:29:00 2003
+@@ -116,7 +116,7 @@
+ cd_resume(getCdFd());
+ return di.disc_current_track;
+ }
+- if(di.disc_mode == CDAUDIO_COMPLETED) {
++ if(di.disc_mode == CDAUDIO_COMPLETED || di.disc_mode == CDAUDIO_NOSTATUS) {
+ cd_play(getCdFd(), di.disc_first_track);
+ return di.disc_first_track;
+ }
+Binary files bbcd-0.3.1/test_cd_ctrl and bbcd-0.3.2/test_cd_ctrl differ
+diff -urN bbcd-0.3.1/test_cd_ctrl.cc bbcd-0.3.2/test_cd_ctrl.cc
+--- bbcd-0.3.1/test_cd_ctrl.cc Thu Jun 27 22:52:36 2002
++++ bbcd-0.3.2/test_cd_ctrl.cc Mon Feb 3 09:19:42 2003
+@@ -88,10 +88,20 @@
+
+ CD_Controler cd(deviceName);
+ if(info) {
+- std::cout << "Drive status: \n";
+- std::cout << "Disc present ? " << (cd.isDiscPresent()?"yes":"no") << "\n";
+- std::cout << "Is drive playing ? " << (cd.isPlaying()?"yes":"no") << "\n"
+- << "Is drive paused ? " << (cd.isPaused()?"yes":"no") << "\n";
++ std::cout << "Drive status: \n"
++ << "Disc present? " << (cd.isDiscPresent()?"yes":"no") << "\n"
++ << "Is drive playing? " << (cd.isPlaying()?"yes":"no") << "\n"
++ << "Is drive paused? " << (cd.isPaused()?"yes":"no") << "\n"
++ << "Audio status: ";
++ switch(cd.getAudioStatus()) {
++ case CD_Controler::Invalid: std::cout<<"Invalid"; break;
++ case CD_Controler::Play: std::cout<<"Play"; break;
++ case CD_Controler::Paused: std::cout<<"Paused"; break;
++ case CD_Controler::Completed: std::cout<<"Completed"; break;
++ case CD_Controler::Error: std::cout<<"Error"; break;
++ case CD_Controler::NoStatus: std::cout<<"No Status"; break;
++ }
++ std::cout<<std::endl;
+ }
+
+ if(pause) {
diff --git a/x11-misc/bbcd/metadata.xml b/x11-misc/bbcd/metadata.xml
new file mode 100644
index 000000000000..abca1b86fad6
--- /dev/null
+++ b/x11-misc/bbcd/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<!-- maintainer-needed -->
+<longdescription>
+ Basic CD Player app for Blackbox.
+ </longdescription>
+</pkgmetadata>
diff --git a/x11-misc/bbdate/Manifest b/x11-misc/bbdate/Manifest
new file mode 100644
index 000000000000..46ff0a88a2ba
--- /dev/null
+++ b/x11-misc/bbdate/Manifest
@@ -0,0 +1,6 @@
+AUX bbdate-0.2.4-as-needed.patch 619 SHA256 ae5c652b46da14fbf09fe263cebb9807186f012496ca67d6ad570b0b15113065 SHA512 eb533f3802c64a557ebd791dc93e42f62eff0808ca49c07244396b4fc6ee22b59b7f75091b1e0f60403e0e1d1945a0e42953da071213a389c4a6f61447c3db10 WHIRLPOOL fe94681b6510dff069f72ded9727504dd66e53ece77097b6148b192e4e17cbef07370c30c016b3cc62c80a71e22a259c923761c8cd51443eb09a4e3a3d9e2fec
+DIST bbdate-0.2.4.tar.gz 60644 SHA256 a7957e8b8aa27b7d15d05ba19011311693d4ffd3bb53f023d1f2346f142bb802 SHA512 90c51249a6ad0b90aea640b1f94cee4e9feb3ca46e4407ab3be645f92a32e7c3f1879c58a236c487dd7bfb24aae1f6a03da0a535c9218fbcbcdbd1e6f043d041 WHIRLPOOL 29f3c9879769248f283969e17084e04262438fdaeb1a2fcb0a8132394796d775a4fc14362c9d127987d81b48d2e50ea0d928d88ab7d44eace19bd8b96bdef75d
+EBUILD bbdate-0.2.4-r2.ebuild 939 SHA256 fece8e61bc2e32f6b3bc37b66ac6a35d657e8c04c27b99b7511ae175b4712085 SHA512 67eba6092449b6731e952282ca946814820473e4bc078da50fa400e8bfc1575f463feeffee0504661ec04be4c375cfb2e6a2fce26e7bc369e2fc1bb55a5583e2 WHIRLPOOL 475ebe69bbea809cfb4174a712d3b0cd99464e9e8678a58df2dd89f9f0aac463dca25655c3fe77caef9452a1beca58a24c5a966f2cec5ceae0c8472cf7bdfa75
+MISC ChangeLog 2676 SHA256 4dee3eeb94ed69790ffd68281b0b147e251baaafd654880129999e827b916a2c SHA512 6c77a632b4fb1eadc59cad355daf9f31c4718642d1e5c0d19d3ce1ccb4370d94008baf3255ace105c0cd9c22bb41fcf793299f046360b0dfd98b104e42934c30 WHIRLPOOL eedce6e3f5645d5328aeeeed31a543d1f6f7016f7d2e8b510258ae376f058fbc7d87c6bf6a060e4248ac50b7fb3a767a25d66aade7b3f629510d7bb0520c3783
+MISC ChangeLog-2015 3237 SHA256 ed111b1915e1728c65c14cc75f61b80ac15ad8750a70ad612dc47f31ecd8243f SHA512 7d3df2560f2a9a74724d2749ea041b4801f85de0a74908bdb47a855a67e6d8a44322106374824aa70867d99056fd9b0cd80cbdaf73dccb603b0ae5aa331a531d WHIRLPOOL cc24a03d31daf7c5a9652458914d9b63f20c385ff9461792c9404871f67fc7b1f34b155d248ad4952025954c545067e5ad505e5049a4ce1b85ba8a5596a65289
+MISC metadata.xml 309 SHA256 e639d159b1fbb7010538dd1fc427a14b605412f69e43440624475b0a44df687e SHA512 ee8557b2406913cb007554644e1b510229de4aa8428af35dce200754dbbb5ea8d2bd3e3f044b039cb403d894d713ae76eca87e224bff6be093ea4473a8979c07 WHIRLPOOL ad3d1ac32f0581d54de7b8ba5e8f4358e367628e5d7344f17356b7f4cbf18b056745ce11d62eb2c85140248203b525246bf3608875da03e4b2f91cd98e7f1845
diff --git a/x11-misc/bbdate/bbdate-0.2.4-r2.ebuild b/x11-misc/bbdate/bbdate-0.2.4-r2.ebuild
new file mode 100644
index 000000000000..4ec0772b332e
--- /dev/null
+++ b/x11-misc/bbdate/bbdate-0.2.4-r2.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit autotools
+
+DESCRIPTION="blackbox date display"
+HOMEPAGE="https://sourceforge.net/projects/bbtools"
+SRC_URI="mirror://sourceforge/bbtools/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc sparc x86 ~x86-fbsd"
+IUSE=""
+
+RDEPEND="x11-libs/libX11"
+DEPEND="${RDEPEND}"
+
+DOCS=( README AUTHORS BUGS ChangeLog TODO data/README.bbdate )
+PATCHES=( "${FILESDIR}"/${P}-as-needed.patch )
+
+src_prepare() {
+ default
+ mv configure.{in,ac} || die
+ sed -i \
+ -e 's|-helvetica-|-*-|g' \
+ resource.cc data/${PN}.{nobb,style} || die
+ eautoreconf
+}
+
+src_install () {
+ default
+ rm "${ED%/}"/usr/share/bbtools/README.bbdate || die
+ # since multiple bbtools packages provide this file, install
+ # it in /usr/share/doc/${PF}
+ mv "${ED%/}"/usr/share/bbtools/bbtoolsrc.in \
+ "${ED%/}"/usr/share/doc/${PF}/bbtoolsrc.example || die
+}
diff --git a/x11-misc/bbdate/files/bbdate-0.2.4-as-needed.patch b/x11-misc/bbdate/files/bbdate-0.2.4-as-needed.patch
new file mode 100644
index 000000000000..38767a76443b
--- /dev/null
+++ b/x11-misc/bbdate/files/bbdate-0.2.4-as-needed.patch
@@ -0,0 +1,21 @@
+Reason: Correct lib and ldflags ordering, fixes --as-needed.
+Upstream: No.
+--- bbdate-0.2.4/configure.in
++++ bbdate-0.2.4/configure.in
+@@ -47,12 +47,13 @@
+
+ CFLAGS="$CFLAGS $X_CFLAGS"
+ CXXFLAGS="$CXXFLAGS $X_CFLAGS"
+-LDFLAGS="$LDFLAGS $X_LIBS $X_PRE_LIBS"
++LDFLAGS="$LDFLAGS"
++LIBS="$X_LIBS $X_PRE_LIBS"
+ dnl Checks for X libraries.
+-AC_CHECK_LIB(X11, XOpenDisplay, LDFLAGS="$LDFLAGS -lX11",
++AC_CHECK_LIB(X11, XOpenDisplay, LIBS="$LIBS -lX11",
+ AC_MSG_ERROR(XOpenDisplay not found in -lX11))
+
+-LDFLAGS="$LDFLAGS $X_EXTRA_LIBS"
++LIBS="$LIBS $X_EXTRA_LIBS"
+
+ dnl Checks for header files.
+ AC_HEADER_STDC
diff --git a/x11-misc/bbdate/metadata.xml b/x11-misc/bbdate/metadata.xml
new file mode 100644
index 000000000000..492eb679996f
--- /dev/null
+++ b/x11-misc/bbdate/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <longdescription>A data display for Blackbox.</longdescription>
+ <upstream>
+ <remote-id type="sourceforge">bbtools</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/bbkeys/Manifest b/x11-misc/bbkeys/Manifest
new file mode 100644
index 000000000000..9a00c1cbe36a
--- /dev/null
+++ b/x11-misc/bbkeys/Manifest
@@ -0,0 +1,5 @@
+DIST bbkeys-0.9.1.tar.gz 226941 SHA256 4381994b998a0b41e3b27d532bdb2a859fefaca260705022eeec8c1c02e99680 SHA512 c8643d51dbb8f080cf70149d545f33160d15f00a0c3cefdd6d3856dfdee224ff3f63fce0988669036249c75f70878be63711a697dfaa45d4357d2141a28b13bd WHIRLPOOL 9248ecda065ae011f9c489bd09a36194df734cb19f3021c9af09c813db86ec2c5e42a2136d71f74cf80631f6dc6b68a648bbfcaaa2c83b64c9db747dd62037a7
+EBUILD bbkeys-0.9.1-r1.ebuild 617 SHA256 ab3f90b792934424a5f6cb073fce1bb7213fe9ff120d903a8e48f5874c71fa57 SHA512 edaa557e8b8b2710d0de82a687f580920c30ebf507680b1d239545ed28adcd10c5c5a106ceeac489cb636a8199719a4526ea62d10b5d4d4cd4e15e255cc7d3a1 WHIRLPOOL fcd5fd2de93470534b28e6dbaf147a8521c0325c5e45162e3f3c4bf562f0c5b90ef5f233aad146f005472a135ceb3111859ca332a8b7c2feadd4791995c064fc
+MISC ChangeLog 2610 SHA256 4b8e58bed39f9ec8821b3ea324174e1faf1b0846d135811d3bbe1fe613f4a602 SHA512 8613b87e390a6321903310578f96df95fe0a999847ac4d6c21e31fe0de4cb64036998f5bc4e2c16876af970a593dd4389a3c1a12986bd0432d5614245e75e72d WHIRLPOOL bfb644aabf42785f570ec217ef9122ab8bf2192457566a7decabf579f9c925cc1e1adef1c2992a889b7a8a325ddea40af8b0871f20882f006ce25d1bf2b82951
+MISC ChangeLog-2015 3853 SHA256 7f712ef2c36fdada47c2afdfc254389e77250a62a9b493fd4b6ac4638cc03c78 SHA512 36f623422f5ea39ff70e12eb0e81cb59680a4b83758a48e11201978748e41880fc4c0f7b7c41b0c5d757583443514600b4f149b5a32213fff67dc39fa8a098a9 WHIRLPOOL bf1358b55261761c9674759a12be3cb5f1b48162c67867ddb0a8e2c8a25fd95e0a9117ac9b3f62c7622dca4873aa9deb52bde856026de6e30cb3bba933336f21
+MISC metadata.xml 318 SHA256 594b437d667806e3fd99ea91bfc6134e458a7ee30fedea8726605d7362e50eca SHA512 346baeec555112d1e81cdfb8304d0b9efb91ef1f507d12c52a2ab68cb9d82a3f873922b57ce40ba4f247b28c831ddb420647303e09ddbae82b4e561282532005 WHIRLPOOL 3002023a71a9bea2a974fc93278c14d25599d3f2293cf7b712aa529a151116dd5d084046949fed35f100b4aec01c7e2e4b56bdd2fbbf04d0a893c25b2e7f8b03
diff --git a/x11-misc/bbkeys/bbkeys-0.9.1-r1.ebuild b/x11-misc/bbkeys/bbkeys-0.9.1-r1.ebuild
new file mode 100644
index 000000000000..ca00b59d4ba5
--- /dev/null
+++ b/x11-misc/bbkeys/bbkeys-0.9.1-r1.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="Use keyboard shortcuts in the blackbox wm"
+HOMEPAGE="http://bbkeys.sourceforge.net"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ppc x86 ~x86-fbsd"
+IUSE=""
+
+RDEPEND=">=x11-wm/blackbox-0.70.0"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_install() {
+ emake DESTDIR="${D}" install
+ rm -rf "${ED%/}"/usr/share/doc || die
+ einstalldocs
+
+ echo PRELINK_PATH_MASK=\""${EPREFIX}"/usr/bin/bbkeys\" > "${T}"/99bbkeys || die
+ doenvd "${T}"/99bbkeys
+}
diff --git a/x11-misc/bbkeys/metadata.xml b/x11-misc/bbkeys/metadata.xml
new file mode 100644
index 000000000000..ca343e66c75c
--- /dev/null
+++ b/x11-misc/bbkeys/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <longdescription>
+ A keygrabber for Blackbox.
+ </longdescription>
+ <upstream>
+ <remote-id type="sourceforge">bbkeys</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/bblaunch/Manifest b/x11-misc/bblaunch/Manifest
new file mode 100644
index 000000000000..92573c79c593
--- /dev/null
+++ b/x11-misc/bblaunch/Manifest
@@ -0,0 +1,6 @@
+AUX bblaunch-0.0.3.patch 311 SHA256 c483e30fb519d53e370dde05707d2dc115308a12025fd838100c869f07d84eec SHA512 649a16bff8ece92b6540635085efcace7135114272fafe2ee63e957091bdb258b08131e46fc57402c9cbf8956c94ef9844ed2536b86524fdf7b8ef0f21abf43d WHIRLPOOL e12c9129c098fd9f8816eef87b386c703c4730c50e0d8c0f0327ed4862554a8534e66964db0d0026a9a3242ff0f42353b976e6def9493df51f6223d7208b9939
+DIST bblaunch-0.0.3.tar.gz 31719 SHA256 892e84e47aeb97843b99aef9eecae0b7ebf3971547ebb51d6e4e79111b06dfee SHA512 8814021a802705970b947078e3af040d0ad0b63a859dcefe7b5adaeac392446d1556d7200631e0cd872473f821d21b0ba50c0173f193f3614ffcd438fbb9f224 WHIRLPOOL 854e10d533a7fdef7f78594af47b6a0947eb3579afb4aeef5d66c6e2b4865d520c2b9bebf97a26201f8a3b369c1e8464924af37e6b758ca66237a0051f101156
+EBUILD bblaunch-0.0.3.ebuild 511 SHA256 33d7d3ad65bb35d080321c7ed098a67decc6a49bd074464eb3bc3a9dc16f7f91 SHA512 fda7e7c945f6f0980dec0b12362cabd8310543f2cdd452306c455e2845b73f290108de7462e7f1e6ca722cc905228a45828ae77a0f5ac3ed58d5bd9e1ba85570 WHIRLPOOL 1113991f63a1d0c57ff8e981ea60e3e810d49496b3c3ce545729c34c7e3368ba10666603500ae1989bd4b720bfba198f4e3d378f8456c104a69c6665f64ec0bd
+MISC ChangeLog 3100 SHA256 00d6ee0ec7e1138c47c8cd55b7e75d1b5b79c7fc19967a2399d72ea1dc5dcec9 SHA512 ccaa75a4333ed83133d5a45ff8b20669701c755e66560fb1202ac31e48b7d91390127367ca21f266c8da8d6a24e820d5283d5c00caca3b0569ed1c9e174e8913 WHIRLPOOL 239fc90837b9e40ad9b81a914e3097a22f233815af46b4ba6ada50f63600f3e321258a2c906937712074d36a714f21f83ec5649a84466008255582e7ce4004f3
+MISC ChangeLog-2015 1486 SHA256 5d7bef0774fb45ee13d853dac75a29d742713a896456c8a540c212d430dabbbd SHA512 ab63098d5bab18c3171a0ec5e07d473f82267a05caeacbc25866a19139c32212e7a076aa60a7599f67dfc2d1e88ffa31888e4699bbf935dc001fdbeefe05e1a8 WHIRLPOOL 704db40335c45f68019aff852fbe9b470f7da50ea687a83c8edaae79d886e96105e167c7091c033d6b31dfadc20a0386de4c810809f1bb2db18fa21150b99802
+MISC metadata.xml 333 SHA256 71b640727d1d35179f1936f2d1a544bad1c820427742246d0d062ded8161de28 SHA512 f617b6293996687d7df4fa5c9e676995531732ab13c91d57e82b15e91fb2023890c5ea1f917d659c005eed59ac37da0713e9b73bcfbbdb5d8822076121c7b8eb WHIRLPOOL a861732093bf1558780b214a78271ce3a2942c0415e3c6d420996080b1fa5049f3a136da7b047b7c0dba8e9a363b6a8c4a3b060e40168166b528c7349ce034e9
diff --git a/x11-misc/bblaunch/bblaunch-0.0.3.ebuild b/x11-misc/bblaunch/bblaunch-0.0.3.ebuild
new file mode 100644
index 000000000000..bf560a38b57d
--- /dev/null
+++ b/x11-misc/bblaunch/bblaunch-0.0.3.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=2
+inherit eutils
+
+DESCRIPTION="An application launcher for Blackbox type window managers"
+SRC_URI="http://www.stud.ifi.uio.no/~steingrd/${P}.tar.gz"
+HOMEPAGE="http://blackboxwm.sourceforge.net/"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="ppc x86 ~x86-fbsd"
+IUSE=""
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}.patch
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+ dodoc README CHANGELOG AUTHORS
+}
diff --git a/x11-misc/bblaunch/files/bblaunch-0.0.3.patch b/x11-misc/bblaunch/files/bblaunch-0.0.3.patch
new file mode 100644
index 000000000000..3c78fab2ec77
--- /dev/null
+++ b/x11-misc/bblaunch/files/bblaunch-0.0.3.patch
@@ -0,0 +1,11 @@
+--- bblaunch.c.orig 2002-05-06 23:35:57.000000000 -0500
++++ bblaunch.c 2004-06-15 07:21:11.080972712 -0500
+@@ -170,7 +170,7 @@
+ launchargs.iconic = False;
+ launchargs.pause = 1000;
+
+- sprintf(launchargs.call, "%s", (char *)atoi(argv[0]));
++ sprintf(launchargs.call, "%s", argv[0]);
+
+ i = 1;
+ valargs = 1;
diff --git a/x11-misc/bblaunch/metadata.xml b/x11-misc/bblaunch/metadata.xml
new file mode 100644
index 000000000000..374dfd611686
--- /dev/null
+++ b/x11-misc/bblaunch/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <longdescription>
+ An application launcher for Blackbox.
+ </longdescription>
+ <upstream>
+ <remote-id type="sourceforge">blackboxwm</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/bbmail/Manifest b/x11-misc/bbmail/Manifest
new file mode 100644
index 000000000000..a37c157362dd
--- /dev/null
+++ b/x11-misc/bbmail/Manifest
@@ -0,0 +1,8 @@
+AUX bbmail-0.9.3-gcc4.3.patch 1419 SHA256 f3bcc52541f0ee98fb6bff47e920e8a82c94805321dec876e550b01ad7a78c53 SHA512 03ad33beedd9138d8c7d7e276133745bc4117709053d07cf961f0ace59ec64b5013e15591b4205f6073bbb7f8a6e166423dbc0996efaad07e146bece4f30c656 WHIRLPOOL f09b2f294387b2f079d8e1d7d11c3f29dea7fdf1a873448fec5efe9a9c086d79cb51f3ce1a92ca9bf26e4f7ab03a8165809d863831a124d6ff1a01b572d43bfc
+AUX bbmail-0.9.3-gcc4.4.patch 2776 SHA256 d1496056e06ef1772e1f250f305bbff08f8c35492864ac48ea1c5687444e69e0 SHA512 b9e822b518df2f2dab6fd734ece1fdb51f2c3b9c36d6d358f6e1e6709df06c2947923aef963047c809b8d1d9d0e5ef8b4e36fde700a5395183a54c55424eece1 WHIRLPOOL 1be9f2cec612ade8d6afd7c18fa6f3b901d15181104f1df185bb319683231715c315982988ef111038c0316427cd43c38192407dc8df5deb4c0b27a23b368358
+AUX bbmail-0.9.3-shebang.patch 276 SHA256 ba7afa87e10dcc984ccdcec9b268eb5b2a7778ec1e19bd4e5b067d152d52d48e SHA512 3d84c579f461e97f542a1e21fe365c4fa86731dd9af0e4cdfcbe9bfa83c8b0e10f3a18b67515e35046f218c3b704838115d4695b84c8f2b879a90c89d97d8752 WHIRLPOOL 102a751f0bde5cffc8352273a9f5009807e8e5d46926ebc128dd9c856d03c1ad13195e4395ed9848709330e2ff38acd28b8fdf004156f5c27b0ea186e6a7a9bc
+DIST bbmail-0.9.3.tar.gz 186433 SHA256 e992f83d758215e3331f7bfcb5431b6cc8988bc542907de1bca6fe3c8ae9233e SHA512 2c0e22092e08d247edf170e22054b6d108ebf84d3f606ab8e9f1af28154bf4bff26828b5ca55622563eb2cb468d88046d5859b79c0f272895c8785becd69c860 WHIRLPOOL d05117813173c21caa9a147b30ebb72a952d9ed7bc30ffdc22870e66bdcd389b6cf1f1e42543abda6df91af9f13d65fae625a7a702bc7e707efdd1a246bd7b8a
+EBUILD bbmail-0.9.3-r1.ebuild 680 SHA256 2e2de3efa5be3d0b03ac94be19d9e1c10d4a85b759f15c979654542ac7c69fa2 SHA512 c42902719949b4748db7fb10ffc67c8d82fe2ad568e73908dfdab8e2b62a8c53df40bf36b254b81c12f7ab70c13978c30c4cc695983e959f8d645f0645bb9121 WHIRLPOOL 7859f9494275afa4b4dc8078cf8c231e06d4ed9ec4f1f9bef92c1d0838615ff53c844c560c0646d0b48c8f16e049afb4bc13553be90d1f26572fc7b5653da563
+MISC ChangeLog 2735 SHA256 f02f5015b60579835a4dcaa1d72e3bf356b93ec593fa5cc88bd38eb8a9cb39b8 SHA512 721714c94ed681c0b31aea979a707b7e29459d71627edb7f63498f4dd0604b0c09cd8bc4822bf38dd51e42ca170f5c3bd35a29aad3277279bf417ed80c945993 WHIRLPOOL c3187a85f22248abf9d1efefc1ef419c5a36877125e18b60d2aee961833fd809a0759132249409df8a08a69762c77ac364335fd9b0a8a74079ccd438d2b1ec2c
+MISC ChangeLog-2015 3312 SHA256 5bc0f29a56f28dbef8630e870400362b6c40b1f7cf50c20ea213e21db650eaf6 SHA512 117ae4dd989edad0f1454ef721a1173ca667dc5fdd9052045a8abfa2056a628046021d39bd41d1a041592be7a4a6b09ede7ab751e81bec3e4a11c05b40204826 WHIRLPOOL 52e74c061e311af3988508df7e6fd9bc7ef77ae40dedf7b563031fcce11b80b36f3f3ac8a77352eef967728a9e768c4a7b40ec195ba1ba2614c481cfc55a4151
+MISC metadata.xml 324 SHA256 2ce2875da1158a585d9c643998ece0e32005a6df6b229e6922c30c15b920c705 SHA512 a22b46d17d0c950a42a5fa84a7e8fbae3530f4f9f9a14be3a016284254e5cc35026863843fb165e408130e9a3adc66083e44be9aa239b9f02eefb9098824ba3e WHIRLPOOL 8860d7fc53a6e7f08d8b4f2316c2e795c6c98bbee9de8a455ba903db8e9e7f7ec5fe337b4f06375d668717add74bb310ecdd4cd3f776a50640470140d2a5a758
diff --git a/x11-misc/bbmail/bbmail-0.9.3-r1.ebuild b/x11-misc/bbmail/bbmail-0.9.3-r1.ebuild
new file mode 100644
index 000000000000..effec90b00f1
--- /dev/null
+++ b/x11-misc/bbmail/bbmail-0.9.3-r1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools
+
+DESCRIPTION="blackbox mail notification"
+HOMEPAGE="https://sourceforge.net/projects/bbtools"
+SRC_URI="mirror://sourceforge/bbtools/${P}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="amd64 ppc x86 ~x86-fbsd"
+IUSE=""
+
+RDEPEND="
+ dev-lang/perl
+ x11-wm/blackbox
+ x11-libs/libX11
+ x11-libs/libXext"
+DEPEND="${RDEPEND}
+ x11-proto/xproto"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-gcc4.3.patch
+ "${FILESDIR}"/${P}-gcc4.4.patch
+ "${FILESDIR}"/${P}-shebang.patch
+)
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_install () {
+ default
+ dobin scripts/bbmailparsefm.pl
+}
diff --git a/x11-misc/bbmail/files/bbmail-0.9.3-gcc4.3.patch b/x11-misc/bbmail/files/bbmail-0.9.3-gcc4.3.patch
new file mode 100644
index 000000000000..f8ccc217db81
--- /dev/null
+++ b/x11-misc/bbmail/files/bbmail-0.9.3-gcc4.3.patch
@@ -0,0 +1,45 @@
+Reason: Fix compile with gcc 4.3 and glibc 2.8.
+Upstream: Sent, https://sourceforge.net/tracker/index.php?func=detail&aid=2116825&group_id=54703&atid=474517
+--- bbmail-0.9.3.orig/src/baseresource.cpp 2008-09-17 22:39:58.000000000 +0200
++++ bbmail-0.9.3/src/baseresource.cpp 2008-09-17 22:44:16.000000000 +0200
+@@ -20,6 +20,7 @@
+ //
+
+ #include <string>
++#include <cstring>
+ #include "baseresource.h"
+ #include <stdio.h>
+ #include "Menu.hh"
+--- bbmail-0.9.3.orig/src/bbmail.cpp 2008-09-17 22:39:58.000000000 +0200
++++ bbmail-0.9.3/src/bbmail.cpp 2008-09-17 22:43:49.000000000 +0200
+@@ -22,6 +22,8 @@
+ #include "bbmail.h"
+ #include "config.h"
+ #include <string>
++#include <cstring>
++
+
+ extern "C" {
+ #include <utime.h>
+--- bbmail-0.9.3.orig/src/main.cpp 2008-09-17 22:39:58.000000000 +0200
++++ bbmail-0.9.3/src/main.cpp 2008-09-17 22:42:09.000000000 +0200
+@@ -23,6 +23,8 @@
+ #include "main.h"
+ #include "config.h"
+
++#include <cstring>
++
+ Configuration::Configuration(int iargc, char **iargv)
+ {
+ withdrawn = false;
+--- bbmail-0.9.3.orig/src/resource.cpp 2008-09-17 22:39:58.000000000 +0200
++++ bbmail-0.9.3/src/resource.cpp 2008-09-17 22:44:36.000000000 +0200
+@@ -23,6 +23,8 @@
+ #include "resource.h"
+ #include "blackboxstyle.h"
+
++#include <cstring>
++
+ Resource::Resource(ToolWindow *toolwindow, const std::string &rc_file):
+ BaseResource(*toolwindow, toolwindow->getCurrentScreen(), rc_file),
+ spoolfile(0),
diff --git a/x11-misc/bbmail/files/bbmail-0.9.3-gcc4.4.patch b/x11-misc/bbmail/files/bbmail-0.9.3-gcc4.4.patch
new file mode 100644
index 000000000000..d0f93d921d97
--- /dev/null
+++ b/x11-misc/bbmail/files/bbmail-0.9.3-gcc4.4.patch
@@ -0,0 +1,89 @@
+diff -ur bbmail-0.9.3.orig/configure.ac bbmail-0.9.3/configure.ac
+--- bbmail-0.9.3.orig/configure.ac 2007-12-03 23:04:11.000000000 +0200
++++ bbmail-0.9.3/configure.ac 2009-07-30 19:24:12.000000000 +0300
+@@ -9,13 +9,11 @@
+ AC_DEFUN(AC_SET_DEBUG,
+ [
+ test "$CXXFLAGS" = "" && CXXFLAGS="-g -Wall -DDEBUG"
+- test "$LDFLAGS" = "" && LDFLAGS=""
+ ])
+
+ AC_DEFUN(AC_SET_NODEBUG,
+ [
+- test "$CXXFLAGS" = "" && CXXFLAGS="-O2 -Wall"
+- test "$LDFLAGS" = "" && LDFLAGS="-s"
++ test "$CXXFLAGS" = "" && CXXFLAGS="-Wall"
+ ])
+
+
+@@ -46,9 +44,9 @@
+
+ CFLAGS="$CFLAGS $X_CFLAGS"
+ CXXFLAGS="$CXXFLAGS $X_CFLAGS"
+-LDFLAGS="$LDFLAGS $X_LIBS $X_PRE_LIBS"
++LIBS="$X_LIBS $X_PRE_LIBS"
+ dnl Checks for X libraries.
+-AC_CHECK_LIB(X11, XOpenDisplay, LDFLAGS="$LDFLAGS -lX11",
++AC_CHECK_LIB(X11, XOpenDisplay, LIBS="$LIBS -lX11",
+ AC_MSG_ERROR(XOpenDisplay not found in -lX11))
+
+ dnl Checks for Xextension
+diff -ur bbmail-0.9.3.orig/src/bbmail.cpp bbmail-0.9.3/src/bbmail.cpp
+--- bbmail-0.9.3.orig/src/bbmail.cpp 2007-12-03 23:08:26.000000000 +0200
++++ bbmail-0.9.3/src/bbmail.cpp 2009-07-30 19:20:10.000000000 +0300
+@@ -19,6 +19,8 @@
+ // (See the included file COPYING / GPL-2.0)
+ //
+
++#include <cstdio>
++
+ #include "bbmail.h"
+ #include "config.h"
+ #include <string>
+diff -ur bbmail-0.9.3.orig/src/mailboxmenu.cpp bbmail-0.9.3/src/mailboxmenu.cpp
+--- bbmail-0.9.3.orig/src/mailboxmenu.cpp 2005-02-01 00:03:37.000000000 +0200
++++ bbmail-0.9.3/src/mailboxmenu.cpp 2009-07-30 19:20:39.000000000 +0300
+@@ -19,6 +19,9 @@
+ // (See the included file COPYING / GPL-2.0)
+ //
+ //
++
++#include <cstdio>
++
+ #include "mailboxmenu.h"
+
+ MailboxMenu::MailboxMenu(ToolWindow *toolwindow) :
+diff -ur bbmail-0.9.3.orig/src/main.cpp bbmail-0.9.3/src/main.cpp
+--- bbmail-0.9.3.orig/src/main.cpp 2006-01-20 23:28:08.000000000 +0200
++++ bbmail-0.9.3/src/main.cpp 2009-07-30 19:19:49.000000000 +0300
+@@ -19,6 +19,8 @@
+ // (See the included file COPYING / GPL-2.0)
+ //
+
++#include <cstdio>
++
+ #include "bbmail.h"
+ #include "main.h"
+ #include "config.h"
+diff -ur bbmail-0.9.3.orig/src/Makefile.am bbmail-0.9.3/src/Makefile.am
+--- bbmail-0.9.3.orig/src/Makefile.am 2005-09-06 23:57:42.000000000 +0300
++++ bbmail-0.9.3/src/Makefile.am 2009-07-30 19:24:39.000000000 +0300
+@@ -10,5 +10,4 @@
+ spoollist.cpp spoollist.h \
+ mailboxmenu.cpp mailboxmenu.h \
+ blackboxstyle.h
+-bbmail_LDADD = @X_LIBS@
+-
++bbmail_LDADD = @LIBS@
+diff -ur bbmail-0.9.3.orig/src/resource.cpp bbmail-0.9.3/src/resource.cpp
+--- bbmail-0.9.3.orig/src/resource.cpp 2007-08-28 19:47:19.000000000 +0300
++++ bbmail-0.9.3/src/resource.cpp 2009-07-30 19:20:00.000000000 +0300
+@@ -19,6 +19,8 @@
+ // (See the included file COPYING / GPL-2.0)
+ //
+
++#include <cstdio>
++
+ #include "bbmail.h"
+ #include "resource.h"
+ #include "blackboxstyle.h"
diff --git a/x11-misc/bbmail/files/bbmail-0.9.3-shebang.patch b/x11-misc/bbmail/files/bbmail-0.9.3-shebang.patch
new file mode 100644
index 000000000000..98ceae80e1a3
--- /dev/null
+++ b/x11-misc/bbmail/files/bbmail-0.9.3-shebang.patch
@@ -0,0 +1,8 @@
+--- a/scripts/bbmailparsefm.pl 2002-10-17 21:33:21.000000000 +0300
++++ b/scripts/bbmailparsefm.pl 2017-02-14 19:49:11.371106962 +0200
+@@ -1,4 +1,4 @@
+-#!/usr/bin/perl
++#!/usr/bin/env perl
+ #
+ # Quickie script to parse fetchmail -c output
+ # (IMAP proto) for use with bbmail
diff --git a/x11-misc/bbmail/metadata.xml b/x11-misc/bbmail/metadata.xml
new file mode 100644
index 000000000000..9c0a7fefd168
--- /dev/null
+++ b/x11-misc/bbmail/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <longdescription>
+ Mail notification for Blackbox.
+ </longdescription>
+ <upstream>
+ <remote-id type="sourceforge">bbtools</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/bbpager/Manifest b/x11-misc/bbpager/Manifest
new file mode 100644
index 000000000000..f2bcc8136243
--- /dev/null
+++ b/x11-misc/bbpager/Manifest
@@ -0,0 +1,7 @@
+AUX bbpager-0.4.7-as-needed.patch 2695 SHA256 dc44d144d41b5aaccf347b76a7f82fed792b674c2365c104a94b6c00d02b13ed SHA512 8a54cf3e4f68682cb1631fcd1abcbec3801cd57fe0f230f222447fa39dacd5f469965d29ca980e9c3285dda5e0e0c54e6f4935552c9c45e00399472506ea6079 WHIRLPOOL 99d0a6927f983d81226336d30cca74577f0fd93a8b8f8c28b72dc8ee006e15dcf69e9515fe61ae5b6aa1ea368640e89b906f97a84c84be160b0b1aa17c7a1926
+AUX bbpager-0.4.7-gcc43.patch 1031 SHA256 ca574725b0eed45e9a9d72a4bc79d240186305a4bb2e14dd9d16fa656a470dc3 SHA512 41ec95853663e89b356cd781719675fbc49a6d117886dcfc85c202fe1fe73d23151fb313c9694f946055ceca9f222e05b36a6b5a981672c6a832ddcf906109ef WHIRLPOOL 9cb6b72d4d42372029fc20284c9a2e57616dd1722dddd8a7c532c4db7fee29b8b4279020f9b234c9d7f8f7ea6975715b67a19d6ba414e7ec078f630776976709
+DIST bbpager-0.4.7.tar.gz 170575 SHA256 e7063a8d65c25663f44e2769132053bd3f1b90f0d4b19a8d8aa2e5f028f0679d SHA512 33202efd4d55639ab4c5f9fe54b9b0a6e4d32dd822119fb5517d5d2231922962d6985b51d7fa84dc3eb909ddea05033965a3882cda2dc10193aae2f873da1869 WHIRLPOOL 9da0fd3db5a48c9b7225c9f3d409fd7dca4253db421eaac5cf9de4c4f7ebce974db8b84deb4d62e0f1a5887efc540ec057925fc11d84eef82494052d99d76f0e
+EBUILD bbpager-0.4.7-r1.ebuild 686 SHA256 d58b53698f007d777102afc22549e71a8ea648e9ec866e5b56a235e5e47c3bf5 SHA512 0d9b61b2320b8a627e37a241770ae83c3eb18f15dd69ed8155a8837ec43f193fb83de797a3673106425bbfcc7405c6f00c3720d5e1b3c740fc477dd53722ed12 WHIRLPOOL 23e85b8f956189f2124a18e7015c71c282d381082550c27eaf6743cf79dbffc72f79adf34c647ad5a8f40341b26ea38f90bad9eeae2f3b9b8671004ebd7aea35
+MISC ChangeLog 2596 SHA256 80d2e4f178685d6079e7b88b3881eaa8eb71bc54d215f8a5db46324efec3d977 SHA512 310b32d1bcac05c9e29faf234edc51bf0b1cf2acdc9f462d530812e1dd7e89eb7c589307407631400afbb5c0a60c42d00bf609ddf145660a4bc540f50a5d78c3 WHIRLPOOL d54ca74b79eedbf04f6328dfc98ab00b376d577e30387ea911f9b4ac8525ee864405b4b20bbb9be6f0da6942be089155daf12d272f2158416dbbb2e8334a0df6
+MISC ChangeLog-2015 4703 SHA256 248e0fbe766bc1c60752174de36939fe9ec485ccce9d5bf6d77453ff31f6ded4 SHA512 eb0f2ef43755ea84750fe9d7070b1344c82cd722dd11ae5ff04f4786bdcc3160676147e310a8397c7d75db67241e0fcad9d296c4c4225493b31c69f3320eb0dd WHIRLPOOL 527723cd0cf241e0e0294eb142435696389e580eb7e908ad9576665766c3277f81aa97272164c1db8c4bda3ba5de09c85002fac156e394b5740f441b620ce92d
+MISC metadata.xml 327 SHA256 b9fe754df9e8e0b922a8e4ade0963f00de9a7fae35cfa5950f00cc9be4c96f93 SHA512 2ffa2d598b532967cbfba44f3e285f10cc7a49029e61bb6fd06d2eebd2330d2eae075a3bbc509aa72c56ec95bf976e50e8c94a51e0167ceded1db92039beacad WHIRLPOOL 615a972cb1de2c36fa98788c934c70a582acddc6d5dc510df729b9eaf61f18bd53268da2f2b3b24b9542450744129fed6e1ae7dbae496d96c566d03e22f0fd75
diff --git a/x11-misc/bbpager/bbpager-0.4.7-r1.ebuild b/x11-misc/bbpager/bbpager-0.4.7-r1.ebuild
new file mode 100644
index 000000000000..34cebb7d9083
--- /dev/null
+++ b/x11-misc/bbpager/bbpager-0.4.7-r1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools
+
+DESCRIPTION="An understated pager for Blackbox"
+HOMEPAGE="http://bbtools.sourceforge.net/"
+SRC_URI="mirror://sourceforge/bbtools/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc ppc64 x86 ~x86-fbsd"
+IUSE=""
+
+RDEPEND="x11-wm/blackbox"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+DOCS=( AUTHORS BUGS ChangeLog README TODO data/README.bbpager )
+PATCHES=(
+ "${FILESDIR}/${P}-gcc43.patch"
+ "${FILESDIR}/${P}-as-needed.patch"
+)
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_install() {
+ default
+ rm "${ED%/}"/usr/share/bbtools/README.bbpager || die
+}
diff --git a/x11-misc/bbpager/files/bbpager-0.4.7-as-needed.patch b/x11-misc/bbpager/files/bbpager-0.4.7-as-needed.patch
new file mode 100644
index 000000000000..47efa7132f99
--- /dev/null
+++ b/x11-misc/bbpager/files/bbpager-0.4.7-as-needed.patch
@@ -0,0 +1,92 @@
+diff -NrU5 bbpager-0.4.7.orig/configure.ac bbpager-0.4.7/configure.ac
+--- bbpager-0.4.7.orig/configure.ac 2008-12-20 22:38:36.000000000 +0100
++++ bbpager-0.4.7/configure.ac 2008-12-20 23:58:12.000000000 +0100
+@@ -37,40 +37,45 @@
+ AC_PROG_INSTALL
+ AC_HEADER_STDC
+ AC_CHECK_HEADERS(ctype.h fcntl.h libgen.h locale.h process.h signal.h stdio.h time.h unistd.h sys/param.h sys/select.h sys/stat.h sys/time.h sys/types.h sys/wait.h)
+ AC_HEADER_TIME
+
++dnl Checks for typedefs, structures, and compiler characteristics.
++AC_C_CONST
++AC_STRUCT_TM
++
++dnl Checks for library functions.
++AC_CHECK_FUNCS(select strstr)
++
+ AC_CHECK_FUNCS(setlocale sigaction strftime)
+
+ AC_PATH_X
+ AC_PATH_XTRA
+
+-CFLAGS="$CFLAGS $X_CFLAGS"
+-CXXFLAGS="$CXXFLAGS $X_CFLAGS"
+-LDFLAGS="$LDFLAGS $X_LIBS $X_PRE_LIBS"
+ dnl Checks for X libraries.
+-AC_CHECK_LIB(X11, XOpenDisplay, LDFLAGS="$LDFLAGS -lX11",
+- AC_MSG_ERROR(XOpenDisplay not found in -lX11))
++AC_CHECK_LIB([X11],
++ [XOpenDisplay],
++ [],
++ [AC_MSG_ERROR(XOpenDisplay not found in -lX11)]
++ )
+
+ dnl Checks for Xextension
+-SHAPE=
+-AC_CHECK_LIB(Xext, XMissingExtension, LIBS="$LIBS -lXext"; SHAPE="-DSHAPE",
+- AC_MSG_ERROR(XMissingExtension not found in -lXext))
+-AC_SUBST(SHAPE)
+-
+-dnl Checks for typedefs, structures, and compiler characteristics.
+-AC_C_CONST
+-AC_HEADER_TIME
+-AC_STRUCT_TM
+-
+-dnl Checks for library functions.
+-AC_CHECK_FUNCS(select strstr)
++PKG_CHECK_MODULES([XEXT], [xext],
++ [
++ AC_CHECK_LIB([Xext],
++ [XMissingExtension],
++ [],
++ [AC_MSG_ERROR(XMissingExtension not found in -lXext)]
++ )
++ ],
++ [AC_MSG_ERROR(xext not found)]
++ )
+
+ dnl pkgconfig checks for blackbox library
+ PKG_CHECK_MODULES(LIBBT, libbt)
+-CXXFLAGS="$CXXFLAGS $LIBBT_CFLAGS"
+-LIBS="$LIBS $LIBBT_LIBS"
++
++LIBS="$LIBS $LIBBT_LIBS $X_LIBS $X_PRE_LIBS $XEXT_LIBS"
+
+ dnl generate the config header
+ AM_CONFIG_HEADER(config.h)
+
+ dnl Print results
+diff -NrU5 bbpager-0.4.7.orig/src/Makefile.am bbpager-0.4.7/src/Makefile.am
+--- bbpager-0.4.7.orig/src/Makefile.am 2008-12-20 22:38:36.000000000 +0100
++++ bbpager-0.4.7/src/Makefile.am 2008-12-20 23:56:15.000000000 +0100
+@@ -1,8 +1,9 @@
+-CPPFLAGS = @CPPFLAGS@ @SHAPE@ \
++AM_CPPFLAGS = $(CPPFLAGS) -DSHAPE \
+ -DBBTOOL_GLOBAL=\"$(datadir)/bbtools/bbpager.rc\" \
+ -DBBTOOL_LOCAL=\"~/.bbtools/bbpager.rc\"
++AM_CXXFLAGS = $(X_CFLAGS) $(XEXT_CFLAGS) $(LIBBT_CFLAGS)
+
+ bin_PROGRAMS = bbpager
+ bbpager_SOURCES = bbpager.cxx bbpager.h \
+ main.cxx main.h \
+ Baseresource.cxx Baseresource.h \
+@@ -10,7 +11,8 @@
+ wminterface.cxx wminterface.h \
+ blackboxstyle.h \
+ pager.cxx pager.h \
+ desktop.cxx desktop.h
+ # pagermenu.cc pagermenu.hh \
+-bbpager_LDADD = @X_LIBS@
++#
++
+
diff --git a/x11-misc/bbpager/files/bbpager-0.4.7-gcc43.patch b/x11-misc/bbpager/files/bbpager-0.4.7-gcc43.patch
new file mode 100644
index 000000000000..bf0c9bedd64e
--- /dev/null
+++ b/x11-misc/bbpager/files/bbpager-0.4.7-gcc43.patch
@@ -0,0 +1,33 @@
+diff -urNad bbpager-0.4.7~/src/Baseresource.cxx bbpager-0.4.7/src/Baseresource.cxx
+--- bbpager-0.4.7~/src/Baseresource.cxx 2008-03-28 06:55:16.000000000 -0400
++++ bbpager-0.4.7/src/Baseresource.cxx 2008-04-09 21:58:03.000000000 -0400
+@@ -20,6 +20,7 @@
+ //
+
+ #include <string>
++#include <cstring>
+ #include "Baseresource.h"
+ #include <stdio.h>
+ #include "Menu.hh"
+diff -urNad bbpager-0.4.7~/src/main.cxx bbpager-0.4.7/src/main.cxx
+--- bbpager-0.4.7~/src/main.cxx 2008-03-28 06:55:16.000000000 -0400
++++ bbpager-0.4.7/src/main.cxx 2008-04-09 21:58:03.000000000 -0400
+@@ -25,6 +25,7 @@
+
+ #include <stdio.h>
+ #include <string>
++#include <cstring>
+ #include <iostream>
+
+
+diff -urNad bbpager-0.4.7~/src/resource.cxx bbpager-0.4.7/src/resource.cxx
+--- bbpager-0.4.7~/src/resource.cxx 2007-03-11 17:47:07.000000000 -0400
++++ bbpager-0.4.7/src/resource.cxx 2008-04-09 21:58:39.000000000 -0400
+@@ -19,6 +19,7 @@
+ // (See the included file COPYING / GPL-2.0)
+ //
+
++#include <cstring>
+ #include "resource.h"
+ #include "blackboxstyle.h"
+
diff --git a/x11-misc/bbpager/metadata.xml b/x11-misc/bbpager/metadata.xml
new file mode 100644
index 000000000000..ea5d7acd3406
--- /dev/null
+++ b/x11-misc/bbpager/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <longdescription>
+ An understated pager for Blackbox.
+ </longdescription>
+ <upstream>
+ <remote-id type="sourceforge">bbtools</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/bbppp/Manifest b/x11-misc/bbppp/Manifest
new file mode 100644
index 000000000000..e6c6cfd9d2a7
--- /dev/null
+++ b/x11-misc/bbppp/Manifest
@@ -0,0 +1,9 @@
+AUX bbppp-0.2.5-gcc3-multiline.patch 2749 SHA256 0fbbce4d4c626c423c6312a6167c3109a6e2ffc5b44b787ed6cc2503c5512b31 SHA512 123c119dabd8be474abc28e8584c9d537bf299472806d168b67e9fb5daa010cdf3555d777c3a4e4c9b5b21dfe6d012a929ba600af928406edc37dcaa4ad8e424 WHIRLPOOL 213fc2de560e45fcfb1eddff9e08649065669ce5b77b994bdf51d1fae5140ee6055a28a7020ab200a52dcc7d80ccf10f6c5956961a1131541ef8248acf08b47e
+AUX bbppp-0.2.5-overflows.patch 453 SHA256 fa4e0a58ced17b513335aacb83a2d83022d6d13559f75bf0e07897e2bcfc2d4d SHA512 044755d73415d171ec2e0c61fe0affea912ab40dedd567f3e4f29938ca97825c1ab36be9bea50dc7c40227a06e5e2ea2541d0cdf71e5dc8013fef38a6db920eb WHIRLPOOL 01c7e7635a2f7e926eb85e3eec8dd9ce72e99513cdd9cd631b858ed17829b84250780d77fb2e9bbdfce47dfec5e649f496879326657eb26954cd05f59caad033
+AUX bbppp-asneeded.patch 1054 SHA256 273aba912d01274f62fc5fa1f7e77bb69d87c96efb6a31973b7559164f0ea67b SHA512 96d243ce1b372d718649a8c4d1e14b3210f8e679aa1c6a5dfeb373aced866676bfb0622e639d65c8cfedf8e2ae072e01253a1013c9dbfb682957936b97547347 WHIRLPOOL 0d9251a1a0331568de431dd85589a07a74abcf6f60a7b29e7ad7fc27b4a241683b61191af4936e89b334b8717b347c0defd9e8749da61eb2a6b2bf57db854056
+DIST bbppp-0.2.5.tar.gz 83421 SHA256 6d606f2e269574b61ad2a223ef38dfe3469cfa7518f5d114f2349545747173b4 SHA512 55d1e4d1a2c97ac5a5d34a48cd877891d8d6acf32083d7bfa90e4941cfbc18a91d056a0ec6b7a96182f72be440f6609caf3bc82c9071c6d0bcfbe95577f04930 WHIRLPOOL 09ee0e37e75c52be0bdccb8fbb518fd1c408340e256b0ea62366bc816cc830a6d265ea80432ee0e8ba768c5d938d3a6b85c026d562e27bd47aed107e27205a34
+EBUILD bbppp-0.2.5-r1.ebuild 1026 SHA256 d81e6aaa3c740c8a76bdc8c505ef1ff744bf89cd6410ddd446d923feca03001b SHA512 9957da80ae3dcb55cc1178e7765e3105d025eb4e907b677998c4b538a5955f714bd4ef413dc291661fa407c5d7969ecc7a5fd96621f3d648f6fb35a2bd394c50 WHIRLPOOL e93c40b8355722bbc50b3b10c90695a3ff4ca47417dae4e48b6c84d319d35896cc71103000aaf41e330906344646e12024ebb177b4e3496c9e6d513f7bde3f6f
+EBUILD bbppp-0.2.5.ebuild 966 SHA256 6507452d6ee815645df77c333c85b5b0fe3e1b0265f6d6546fd621dbc48475ab SHA512 d9a9d54a88cdd6d89d8f12cb7a1ea0a39dde0c263423705831066e5e219855c645cea05002f32d4dc205f9cda73074fb35706ec5dc65095032c8facbae8d5fb4 WHIRLPOOL f4d99cc4db353bcdfd993888ecc85cdda44e9449139800ba969e5358700acfe011052db80bedeae9530cbd0a633a370f225b0bf68e9fdcfc74d0cf30218585a1
+MISC ChangeLog 2815 SHA256 6cec7dfbfa24fc18f964776635d3288219f168b01775b1b89403f7467d465803 SHA512 5b8d95017c4851a6d9e11825fbc2896c086aa077b6169edc3e8881226162ac6df657a7cbde3d1b30787db2f706d6fc3f087043bfd1ca1470b3f29e4fcadfda94 WHIRLPOOL 3b396ddf79207007d8dac23e82db1fb148f17c89a329b2025391238600f9e2c889a113f631310e1b48b98295aa69c192cb96a229bacc59188b3426b01219bcd8
+MISC ChangeLog-2015 3161 SHA256 8982b2498af7ecace0f2b721cb059144c65bbae0b860600ecf8833a68a7a9605 SHA512 0ed93f99d56a0fde26a294bc98406aa4b851e5a206507394ba8842ce7286a98e7f85005399eea2c3cfe52b965662b6eb505914127609937951ce08e38e6f7a36 WHIRLPOOL b22527ca0c3c491efb2525d52444bb80d8ba35c8a482db9edc4d3544fc75cdbf26417113c507f37e3356594e7e13197b53ddcef22a92f86eb972cd895ddb55ca
+MISC metadata.xml 329 SHA256 956243d1991d2e32ba896cfd0b50362c26d2c5050637b1fabeb85e69002f41c0 SHA512 1b2b0c0055b4f8f44734697036fe3b470d8a60bba3de1972e7a8e6e21083a9a36356d9afa1e661ccbbbb686b5db6d3c8a57dd4dbba11217eee28010af18b82cc WHIRLPOOL 982282ae29c7a67142bb9d0de415e91a9c7ffe10346e3a1b56cd122919d46fff8ed481970ec0b5c45e9a4d6f8d73fb9ce36bbb567352a76fdbd0474a6f84a0dd
diff --git a/x11-misc/bbppp/bbppp-0.2.5-r1.ebuild b/x11-misc/bbppp/bbppp-0.2.5-r1.ebuild
new file mode 100644
index 000000000000..9845508cd8a5
--- /dev/null
+++ b/x11-misc/bbppp/bbppp-0.2.5-r1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+
+inherit autotools eutils
+
+DESCRIPTION="blackbox ppp frontend/monitor"
+HOMEPAGE="https://sourceforge.net/projects/bbtools/"
+SRC_URI="mirror://sourceforge/bbtools/${PN}/${P}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+DEPEND="x11-libs/libX11"
+RDEPEND="${DEPEND}
+ media-fonts/font-adobe-100dpi"
+
+DOCS=( README AUTHORS BUGS ChangeLog NEWS TODO data/README.bbppp )
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-gcc3-multiline.patch \
+ "${FILESDIR}"/${PN}-asneeded.patch \
+ "${FILESDIR}"/${P}-overflows.patch
+ eautoreconf
+}
+
+src_install () {
+ default
+ rm "${D}"/usr/share/bbtools/README.bbppp
+}
+
+pkg_postinst() {
+ # don't assume blackbox exists because virtual/blackbox is installed
+ if [[ -x ${ROOT}/usr/bin/blackbox ]] ; then
+ if ! grep bbppp "${ROOT}"/usr/bin/blackbox &>/dev/null ; then
+ sed -e "s/.*blackbox/exec \/usr\/bin\/bbppp \&\n&/" blackbox | cat > blackbox
+ fi
+ fi
+}
diff --git a/x11-misc/bbppp/bbppp-0.2.5.ebuild b/x11-misc/bbppp/bbppp-0.2.5.ebuild
new file mode 100644
index 000000000000..76a191cf9fa7
--- /dev/null
+++ b/x11-misc/bbppp/bbppp-0.2.5.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=2
+
+inherit autotools eutils
+
+DESCRIPTION="blackbox ppp frontend/monitor"
+HOMEPAGE="https://sourceforge.net/projects/bbtools/"
+SRC_URI="mirror://sourceforge/bbtools/${PN}/${P}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ppc x86"
+IUSE=""
+
+DEPEND="x11-libs/libX11"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-gcc3-multiline.patch \
+ "${FILESDIR}"/${PN}-asneeded.patch
+ eautoreconf
+}
+
+src_install () {
+ emake DESTDIR="${D}" install || die
+ dodoc README AUTHORS BUGS ChangeLog NEWS TODO data/README.bbppp || die
+ rm "${D}"/usr/share/bbtools/README.bbppp
+}
+
+pkg_postinst() {
+ # don't assume blackbox exists because virtual/blackbox is installed
+ if [[ -x ${ROOT}/usr/bin/blackbox ]] ; then
+ if ! grep bbppp "${ROOT}"/usr/bin/blackbox &>/dev/null ; then
+ sed -e "s/.*blackbox/exec \/usr\/bin\/bbppp \&\n&/" blackbox | cat > blackbox
+ fi
+ fi
+}
diff --git a/x11-misc/bbppp/files/bbppp-0.2.5-gcc3-multiline.patch b/x11-misc/bbppp/files/bbppp-0.2.5-gcc3-multiline.patch
new file mode 100644
index 000000000000..ef2072faa9af
--- /dev/null
+++ b/x11-misc/bbppp/files/bbppp-0.2.5-gcc3-multiline.patch
@@ -0,0 +1,44 @@
+--- main.cc
++++ main.cc
+@@ -24,25 +24,24 @@
+
+ void Usage()
+ {
+- char* usageOptions = {"Options:\n\
+- -display <display name> X server to connect to\n\
+- -c[onfig] <filename> Alternate config file\n\
+- -n[obb] Fall back on default configuration\n\
+- -v[ersion] Display version number\n\
+- -h[elp] Display this help\n\
+- -geom[etry] <geometry> Set geometry of window\n\
+- -d[ecorated] Show 'normal' decorated window\n\
+- -w[ithdrawn] Place bbtool in the Slit\n\
+- -s[hape] Don't display groundplate\n\
+- -thru[put] Display throughput rate\n\
+- -o[rient] <v|h> Display window widgets horizontally or vertically\n\
+- -com[pact] Display buttons in compact style\n\
+- -notime Dont display time window\n\
+- -nosecs Show uptime in old-style hh:mm format\n\n"};
++ char* usageOptions = {"Options:\n"
++ "-display <display name> X server to connect to\n"
++ "-c[onfig] <filename> Alternate config file\n"
++ "-n[obb] Fall back on default configuration\n"
++ "-v[ersion] Display version number\n"
++ "-h[elp] Display this help\n"
++ "-geom[etry] <geometry> Set geometry of window\n"
++ "-d[ecorated] Show 'normal' decorated window\n"
++ "-w[ithdrawn] Place bbtool in the Slit\n"
++ "-s[hape] Don't display groundplate\n"
++ "-thru[put] Display throughput rate\n"
++ "-o[rient] <v|h> Display window widgets horizontally or vertically\n"
++ "-com[pact] Display buttons in compact style\n"
++ "-notime Dont display time window\n"
++ "-nosecs Show uptime in old-style hh:mm format\n\n"};
+
+ fprintf(stdout,"\n%s version %s \n",BBTOOL,BBTOOL_VERSION);
+- fprintf(stdout,"Usage:\n\
+- %s [options]\n",BBTOOL);
++ fprintf(stdout,"Usage:\n%s [options]\n",BBTOOL);
+ fprintf(stdout, "%s", usageOptions);
+ /*
+ fprintf(stdout,"-t[ype] <0|1|2|3> 0:
diff --git a/x11-misc/bbppp/files/bbppp-0.2.5-overflows.patch b/x11-misc/bbppp/files/bbppp-0.2.5-overflows.patch
new file mode 100644
index 000000000000..0c089bc92f4e
--- /dev/null
+++ b/x11-misc/bbppp/files/bbppp-0.2.5-overflows.patch
@@ -0,0 +1,17 @@
+diff --git a/pppstat.cc b/pppstat.cc
+index 71264e4..ca0f11c 100644
+--- a/pppstat.cc
++++ b/pppstat.cc
+@@ -52,10 +52,10 @@ PPPStat::PPPStat(ToolWindow *toolwindow)
+ lastTimeMil = 0.0;
+ ppp_h = -1;
+ #ifndef ISDN
+- active_interface= new char[4];
++ active_interface= new char[5];
+ strcpy(active_interface,"ppp0");
+ #else
+- active_interface= new char[5];
++ active_interface= new char[6];
+ strcpy(active_interface,"ippp0");
+ #endif
+ connect_status=false;
diff --git a/x11-misc/bbppp/files/bbppp-asneeded.patch b/x11-misc/bbppp/files/bbppp-asneeded.patch
new file mode 100644
index 000000000000..7e8c2b8bcfd4
--- /dev/null
+++ b/x11-misc/bbppp/files/bbppp-asneeded.patch
@@ -0,0 +1,38 @@
+Fixing build with as-needed
+
+https://bugs.gentoo.org/show_bug.cgi?id=248552
+
+--- configure.in
++++ configure.in
+@@ -86,14 +86,9 @@
+ AC_PATH_X
+ AC_PATH_XTRA
+
+-CFLAGS="$CFLAGS $X_CFLAGS"
+-CXXFLAGS="$CXXFLAGS $X_CFLAGS"
+-LDFLAGS="$LDFLAGS $X_LIBS $X_PRE_LIBS"
+ dnl Checks for X libraries.
+-AC_CHECK_LIB(X11, XOpenDisplay, LDFLAGS="$LDFLAGS -lX11",
+- AC_MSG_ERROR(XOpenDisplay not found in -lX11))
+-
+-LDFLAGS="$LDFLAGS $X_EXTRA_LIBS"
++AC_CHECK_LIB([X11], [XOpenDisplay], ,
++ AC_MSG_ERROR(XOpenDisplay not found in -lX11),)
+
+ dnl Checks for header files.
+ AC_HEADER_STDC
+--- Makefile.am
++++ Makefile.am
+@@ -1,4 +1,4 @@
+-CPPFLAGS = @CPPFLAGS@ @INTERLACE@ @ISDN@\
++AM_CPPFLAGS = @INTERLACE@ @ISDN@\
+ -DGLOBAL_BB=\"$(datadir)/bbtools/bbppp.bb\" \
+ -DGLOBAL_NOBB=\"$(datadir)/bbtools/bbppp.nobb\"
+
+@@ -16,4 +16,5 @@
+ Basewindow.cc Basewindow.hh \
+ blackboxstyle.hh
+ EXTRA_DIST = BUGS TODO
+-bbppp_LDADD = @X_LIBS@
++bbppp_LDADD = @X_PRE_LIBS@ @X_LIBS@ @X_EXTRA_LIBS@
++bbppp_CFLAGS = @X_PRE_CFLAGS@ @X_CFLAGS@ @X_EXTRA_CFLAGS@
diff --git a/x11-misc/bbppp/metadata.xml b/x11-misc/bbppp/metadata.xml
new file mode 100644
index 000000000000..bc7abb1beac9
--- /dev/null
+++ b/x11-misc/bbppp/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <longdescription>
+ A PPP frontend/monitor for Blackbox.
+ </longdescription>
+ <upstream>
+ <remote-id type="sourceforge">bbtools</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/bbrun/Manifest b/x11-misc/bbrun/Manifest
new file mode 100644
index 000000000000..9a9b53eb55a3
--- /dev/null
+++ b/x11-misc/bbrun/Manifest
@@ -0,0 +1,7 @@
+AUX bbrun-1.6-list.patch 2945 SHA256 f33820cb88f95a039ff9a985b59ff52b918fd83e82824cc99bf06dd186627c26 SHA512 9cece93b2f75891f12a39f23bafca2ae48c7ef5344b63f7fb0e36c52013ccb236c1c8398eff8a271fbee5661abba561d3152bfee5ee437e3cee42f44f125fde7 WHIRLPOOL 8f5a767d7bfaea83009dfd9879fca43c5028a9f1b57005c9848a0dbd0c8a2a43b9966d56c053ef2c8310e309fa486918419877db8e9f817b9070532a9b56f587
+AUX bbrun-1.6-makefile.patch 730 SHA256 9c5f3e7c6d3ec9f52f70918739ee5af656ce61ce67df342b96f03767698ff4d9 SHA512 c4f3d4b13fbfd8a13279a3a3cab293b251f5e89b9eedff58bd681729ed571ea4efcbaecedd972706006a263b1140c76addac0b8c6f62f7be9c344f1c12a6dc6a WHIRLPOOL 241f2563717f42725082dbf1d96a966d46588230fdfe22dc7b3523125f31884bcb7a72b84f8b23663073aea6b5c9663cb54cda7c9c32554587a3ead1b1d87183
+DIST bbrun-1.6.tar.gz 21132 SHA256 d0af57276ec9191a94f8d20a2da69dc1818f410f23478f041334aef2d707559a SHA512 7dfa73f90775ff5826b67c977184e617521cc1308f64e1445061e6b16f1cdadc81e3b12d16e1f2cb6ff0b58e59af6608c07dc0cb483c1c60794da3213e0bfe21 WHIRLPOOL 8daca51ac36d76ea953cf1c2020ddb246421bc28ff00c2a5782d874492003b33c8fe1ecf3d5810eabd9dd66e54faa36513c2ecfee43647c37701a761bc4868aa
+EBUILD bbrun-1.6-r1.ebuild 653 SHA256 730ec0629390ce65ec6a70d3296524af551cc4c65cdc4730565f4b3116724bc4 SHA512 11f64316687c90396e7849bbe7b1182672480c3882ca3eef3027862d1af5e1c7f5097098c3c60b413bf26c888cd56715fe8ab2b967b926234316d0441b197dea WHIRLPOOL 53edab7b4b1be1fbaf813c490fb92197245ad9cb2ad568d66dd0c8a83f28964b17ef2a0dde521247055b1c87c3eb7ce7c7fd1c862185c3d460cd31d62510c0bf
+MISC ChangeLog 2919 SHA256 f0fdd54ca29648a4db4dfab399d80dda59d65c3b8ae95110d1902887329ea17d SHA512 0873170d70e225847ddf5522d07247e7d73bf2557547847b4478985f93e0c4b4aadcdc5de2858d1cbf16b0de81128e0a3a38a8c2862b76859eb941ee899b287b WHIRLPOOL 39e53910e5049f6b0fd30bc3ea060c374905c083ae7457bf958608fbfeeba9aed0c8a4840f62305b91de363cbbb20ff58722353247f7cc714fc57dab062e3931
+MISC ChangeLog-2015 4602 SHA256 5b72df9b19c991547f513fab8a72063f70f63a5f81eb4f64d62e0ea52be40462 SHA512 7c784afb9ec9e830b120e04c9013d8955d3975391098a9d6dcac9bc8af8eea06f242308612985080ac6668af459fe2efbdcaaa18629ccd241cfdbc189493a67b WHIRLPOOL 008bcd083838672df1ca5d6a22638195724265b05173228a1543ac446afb9e6a1ceb374fc56ccf224af5671cf2800d53b674a426c848b2155eaa1b8eb1555173
+MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968
diff --git a/x11-misc/bbrun/bbrun-1.6-r1.ebuild b/x11-misc/bbrun/bbrun-1.6-r1.ebuild
new file mode 100644
index 000000000000..c4340fdd041d
--- /dev/null
+++ b/x11-misc/bbrun/bbrun-1.6-r1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="blackbox program execution dialog box"
+HOMEPAGE="http://www.darkops.net/bbrun"
+SRC_URI="http://www.darkops.net/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE=""
+
+RDEPEND="x11-libs/gtk+:2"
+DEPEND="${RDEPEND}
+ x11-libs/libXpm
+ virtual/pkgconfig"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-makefile.patch
+ epatch "${FILESDIR}"/${P}-list.patch
+}
+
+src_compile() {
+ emake -C ${PN} CC="$(tc-getCC)" || die
+}
+
+src_install() {
+ dobin ${PN}/${PN}
+ dodoc Changelog README
+}
diff --git a/x11-misc/bbrun/files/bbrun-1.6-list.patch b/x11-misc/bbrun/files/bbrun-1.6-list.patch
new file mode 100644
index 000000000000..654b4f68144e
--- /dev/null
+++ b/x11-misc/bbrun/files/bbrun-1.6-list.patch
@@ -0,0 +1,127 @@
+diff -Naur wmgeneral.orig/list.c wmgeneral/list.c
+--- wmgeneral.orig/list.c 2002-02-05 18:36:19.000000000 +0100
++++ wmgeneral/list.c 2016-01-04 12:54:39.666670005 +0100
+@@ -38,7 +38,7 @@
+
+ /* Return a cons cell produced from (head . tail) */
+
+-INLINE LinkedList*
++LinkedList*
+ list_cons(void* head, LinkedList* tail)
+ {
+ LinkedList* cell;
+@@ -51,7 +51,7 @@
+
+ /* Return the length of a list, list_length(NULL) returns zero */
+
+-INLINE int
++int
+ list_length(LinkedList* list)
+ {
+ int i = 0;
+@@ -66,7 +66,7 @@
+ /* Return the Nth element of LIST, where N count from zero. If N
+ larger than the list length, NULL is returned */
+
+-INLINE void*
++void*
+ list_nth(int index, LinkedList* list)
+ {
+ while(index-- != 0)
+@@ -81,7 +81,7 @@
+
+ /* Remove the element at the head by replacing it by its successor */
+
+-INLINE void
++void
+ list_remove_head(LinkedList** list)
+ {
+ if (!*list) return;
+@@ -101,7 +101,7 @@
+
+ /* Remove the element with `car' set to ELEMENT */
+ /*
+-INLINE void
++void
+ list_remove_elem(LinkedList** list, void* elem)
+ {
+ while (*list)
+@@ -112,7 +112,7 @@
+ }
+ }*/
+
+-INLINE LinkedList *
++LinkedList *
+ list_remove_elem(LinkedList* list, void* elem)
+ {
+ LinkedList *tmp;
+@@ -132,7 +132,7 @@
+
+ /* Return element that has ELEM as car */
+
+-INLINE LinkedList*
++LinkedList*
+ list_find(LinkedList* list, void* elem)
+ {
+ while(list)
+@@ -146,7 +146,7 @@
+
+ /* Free list (backwards recursive) */
+
+-INLINE void
++void
+ list_free(LinkedList* list)
+ {
+ if(list)
+@@ -158,7 +158,7 @@
+
+ /* Map FUNCTION over all elements in LIST */
+
+-INLINE void
++void
+ list_mapcar(LinkedList* list, void(*function)(void*))
+ {
+ while(list)
+diff -Naur wmgeneral.orig/list.h wmgeneral/list.h
+--- wmgeneral.orig/list.h 2002-02-05 18:36:19.000000000 +0100
++++ wmgeneral/list.h 2016-01-04 12:54:39.666670005 +0100
+@@ -29,31 +29,25 @@
+ #ifndef __LIST_H_
+ #define __LIST_H_
+
+-#if defined(__GNUC__) && !defined(__STRICT_ANSI__)
+-# define INLINE inline
+-#else
+-# define INLINE
+-#endif
+-
+ typedef struct LinkedList {
+ void *head;
+ struct LinkedList *tail;
+ } LinkedList;
+
+-INLINE LinkedList* list_cons(void* head, LinkedList* tail);
++LinkedList* list_cons(void* head, LinkedList* tail);
+
+-INLINE int list_length(LinkedList* list);
++int list_length(LinkedList* list);
+
+-INLINE void* list_nth(int index, LinkedList* list);
++void* list_nth(int index, LinkedList* list);
+
+-INLINE void list_remove_head(LinkedList** list);
++void list_remove_head(LinkedList** list);
+
+-INLINE LinkedList *list_remove_elem(LinkedList* list, void* elem);
++LinkedList *list_remove_elem(LinkedList* list, void* elem);
+
+-INLINE void list_mapcar(LinkedList* list, void(*function)(void*));
++void list_mapcar(LinkedList* list, void(*function)(void*));
+
+-INLINE LinkedList*list_find(LinkedList* list, void* elem);
++LinkedList*list_find(LinkedList* list, void* elem);
+
+-INLINE void list_free(LinkedList* list);
++void list_free(LinkedList* list);
+
+ #endif
diff --git a/x11-misc/bbrun/files/bbrun-1.6-makefile.patch b/x11-misc/bbrun/files/bbrun-1.6-makefile.patch
new file mode 100644
index 000000000000..cf89b96df6f3
--- /dev/null
+++ b/x11-misc/bbrun/files/bbrun-1.6-makefile.patch
@@ -0,0 +1,29 @@
+Respect {C,LD}FLAGS, fix underlinking
+
+http://bugs.gentoo.org/367853
+
+--- bbrun/Makefile
++++ bbrun/Makefile
+@@ -1,7 +1,7 @@
+ CC = gcc
+ LIBDIR = -L/usr/lib -L/usr/X11R6/lib
+-LIBS = -lXpm `pkg-config --libs gtk+-2.0`
+-CFLAGS = `pkg-config --cflags gtk+-2.0`
++LIBS = `pkg-config --libs xext xpm gtk+-2.0`
++DEP_CFLAGS = `pkg-config --cflags xext xpm gtk+-2.0`
+
+ OBJS = bbrun.o \
+ ../wmgeneral/wmgeneral.o \
+@@ -11,10 +11,10 @@
+ all: bbrun
+
+ .c.o:
+- $(CC) -g -c -O2 -Wall $< -o $*.o $(CFLAGS)
++ $(CC) $(CFLAGS) $(DEP_CFLAGS) -c -Wall $< -o $*.o
+
+ bbrun: $(OBJS)
+- $(CC) -Wall -g -o bbrun $^ $(LIBDIR) $(LIBS)
++ $(CC) $(CFLAGS) $(LDFLAGS) -Wall -o bbrun $^ $(LIBDIR) $(LIBS)
+
+ install:
+ cp bbrun /usr/local/bin/
diff --git a/x11-misc/bbrun/metadata.xml b/x11-misc/bbrun/metadata.xml
new file mode 100644
index 000000000000..6f49eba8f496
--- /dev/null
+++ b/x11-misc/bbrun/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<!-- maintainer-needed -->
+</pkgmetadata>
diff --git a/x11-misc/bbtime/Manifest b/x11-misc/bbtime/Manifest
new file mode 100644
index 000000000000..632503d0f35b
--- /dev/null
+++ b/x11-misc/bbtime/Manifest
@@ -0,0 +1,6 @@
+AUX bbtime-0.1.5-asneeded.patch 1082 SHA256 4eedb04a04ca60f68210d43f829a638d80baddcf3e9dee9d0eff026450f20de1 SHA512 23fa8c215f936d1a2235469780f3518c64a8333c5314a7273c6d1c824eab1162144be7fdea24511beee405142f146c6f947239220c521056ea041c0f3cb28494 WHIRLPOOL 61cea638c95cb5e7c729420f8ef1397e7567d10fdeac9bfdbf6f57ae9d0d350320053e72d2a57ffd0d256647d57c52d34f01870ad878aafc4cd62f8b4f8181a9
+DIST bbtime-0.1.5.tar.gz 68842 SHA256 e5ee51b43e5f7014059ae9e66b00a13410a781ecfac84774dcb66d7f3371dd00 SHA512 a27966e3a35b2e59b440547680daeecf46bd50ed4fab52e5c50fdea32a307da4a78e4c19e493f72e2f58d806cec74098312d549e8610214e227b99fd4074e669 WHIRLPOOL 61bbadadadee10a8a05b0f7a3bb5f7942056816fe43231548f2ab200ba39ed739870844b2c3050a278a3f3e804c9b24a3de9d3fd0ca84a3437a3252bbeb8dcaa
+EBUILD bbtime-0.1.5-r1.ebuild 855 SHA256 fb9b95455b1d79586868aaab08d6938b9f3ff2aceb614f808b5ac91ec30dcbeb SHA512 070a760b123b4b2639b68c0b8f01ca0e22d1b6943ea1a100bedc23dec7e23d0c8c88174b88ef0e35b3b45d89f5f3addac50d1b6bd81783d0f8733e22642cccd9 WHIRLPOOL cfb3bcef28ab1ee24ad07477eb357d9b86ba56a6c76f479b433d1db08a762c06d3fa737fd3a1e3915826f20c015b961751dfa23f4eea8e2bf72391a39e66091a
+MISC ChangeLog 2666 SHA256 7b6576578bfb4d41797629a8ffff1d38d9d9347924a1cb909734d4864931419e SHA512 09c6d1a51a0a2eb97b9c24b3ea28b25196e3f8bb5fb95696f508eb086a61e624bb6479349fe9648ca21384b7bc504c0a0379282e15cc63c7a1a7c15d8e577985 WHIRLPOOL 8ad6f32177c83d08ca34da39cbbfd1fb609f80a197b2b16ad2a79067b2acef6b1fd69ea277b89670b5d6bf11a28e3f19e3da2540fbf7d1f3a00a461a6ff573e4
+MISC ChangeLog-2015 2006 SHA256 576ae1ba69e94df89fba0fa3ab8e8575da4671a456180d94b8170f5ed81b7a80 SHA512 307b3766381eb348685fa7c0d642bb9f86d517bb2e3ebbf27e8926f77bcb958e24584b264bbbf32083c19af6e21586651f2959e636124b724de4d25627b78fb0 WHIRLPOOL c6e6cd418919c91abf9141181d63843c7a03a9b79a0f7f1a738aae07a6475c2f35f68d117ec00e73e0a6deb86c6332783ced54b18469fac4944f10073fc3a8d7
+MISC metadata.xml 309 SHA256 764d7ef8b160f2cb5b56993ceb4c4d16e03e629e623fd0431bb0fe0865386f72 SHA512 7650eeea3eda0519f8045ba584d9e7d409ac3e8e07d44faca27ace597ceae3f8f32cce20ee7b4163acb710807556f706915ccc0e78360f9d19d5342c6438b7ef WHIRLPOOL a0ee483a70d7f6d48e18fa8b5735a5abed6c46db3314f1677013876145ae1d5088ed5e16c9fad5fb2392b231fbbbfe55175682c04a4e76d9bc37f60cdb0caa51
diff --git a/x11-misc/bbtime/bbtime-0.1.5-r1.ebuild b/x11-misc/bbtime/bbtime-0.1.5-r1.ebuild
new file mode 100644
index 000000000000..0b4a858cf867
--- /dev/null
+++ b/x11-misc/bbtime/bbtime-0.1.5-r1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools
+
+DESCRIPTION="blackbox time watcher"
+HOMEPAGE="https://sourceforge.net/projects/bbtools/"
+SRC_URI="mirror://sourceforge/bbtools/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ppc x86 ~x86-fbsd"
+IUSE=""
+
+RDEPEND="x11-libs/libX11"
+DEPEND="${RDEPEND}"
+
+DOCS=( README AUTHORS BUGS ChangeLog NEWS TODO data/README.bbtime )
+PATCHES=( "${FILESDIR}"/${P}-asneeded.patch )
+
+src_prepare() {
+ default
+ mv configure.{in,ac} || die
+ eautoreconf
+}
+
+src_install () {
+ default
+ rm "${ED%/}"/usr/share/bbtools/README.bbtime || die
+ # since multiple bbtools packages provide this file, install
+ # it in /usr/share/doc/${PF}
+ mv "${ED%/}/usr/share/bbtools/bbtoolsrc.in" \
+ "${ED%/}/usr/share/doc/${PF}/bbtoolsrc.example" || die
+}
diff --git a/x11-misc/bbtime/files/bbtime-0.1.5-asneeded.patch b/x11-misc/bbtime/files/bbtime-0.1.5-asneeded.patch
new file mode 100644
index 000000000000..734d60a89b47
--- /dev/null
+++ b/x11-misc/bbtime/files/bbtime-0.1.5-asneeded.patch
@@ -0,0 +1,39 @@
+Fixing build with as-needed
+
+https://bugs.gentoo.org/show_bug.cgi?id=248555
+
+--- a/configure.in
++++ b/configure.in
+@@ -47,14 +47,9 @@
+ AC_PATH_X
+ AC_PATH_XTRA
+
+-CFLAGS="$CFLAGS $X_CFLAGS"
+-CXXFLAGS="$CXXFLAGS $X_CFLAGS"
+-LDFLAGS="$LDFLAGS $X_LIBS $X_PRE_LIBS"
+ dnl Checks for X libraries.
+-AC_CHECK_LIB(X11, XOpenDisplay, LDFLAGS="$LDFLAGS -lX11",
+- AC_MSG_ERROR(XOpenDisplay not found in -lX11))
+-
+-LDFLAGS="$LDFLAGS $X_EXTRA_LIBS"
++AC_CHECK_LIB([X11], [XOpenDisplay], ,
++ AC_MSG_ERROR(XOpenDisplay not found in -lX11),)
+
+ dnl Checks for header files.
+ AC_HEADER_STDC
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -1,5 +1,4 @@
+-CPPFLAGS = @CPPFLAGS@ \
+- -DDEFAULT_CONF=\"$(datadir)/bbtools/bbtime.conf\" \
++AM_CPPFLAGS = -DDEFAULT_CONF=\"$(datadir)/bbtools/bbtime.conf\" \
+ -DDEFAULT_NOBB=\"$(datadir)/bbtools/bbtime.nobb\"
+
+
+@@ -14,4 +13,5 @@
+ timemenu.cc timemenu.hh \
+ blackboxstyle.hh
+ EXTRA_DIST = BUGS TODO
+-bbtime_LDADD = @X_LIBS@
++bbtime_LDADD = @X_PRE_LIBS@ @X_LIBS@ @X_EXTRA_LIBS@
++bbtime_CFLAGS = @X_PRE_CFLAGS@ @X_CGLAGS@ @X_EXTRA_CFLAGS@
diff --git a/x11-misc/bbtime/metadata.xml b/x11-misc/bbtime/metadata.xml
new file mode 100644
index 000000000000..0970bb5e6587
--- /dev/null
+++ b/x11-misc/bbtime/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <longdescription>A time monitor for Blackbox.</longdescription>
+ <upstream>
+ <remote-id type="sourceforge">bbtools</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/bbweather/Manifest b/x11-misc/bbweather/Manifest
new file mode 100644
index 000000000000..0969d54d5868
--- /dev/null
+++ b/x11-misc/bbweather/Manifest
@@ -0,0 +1,6 @@
+AUX bbweather-asneeded.patch 1099 SHA256 963a7a76ff0ec6e341f9b0f32a65eeb8e92be49aef67efa9e9d6f49adc35e6e2 SHA512 3e96d0210053de4a321a28064824dbd69635e6fffa72c2c335c8b1f66c8c0de9e2700f183e74803011036c285fcc43ff8b01ed156d21f36c0165874fc8f96287 WHIRLPOOL 581204fb90410abaa9761417c56995765f51f4ffd3e57c2785145986a0ed1b0244a33437b47f144e44ea9cd9c91ca1775e3ce0726473307d0d9c077bda4fda90
+DIST bbweather-0.6.3.tar.bz2 80631 SHA256 575e0f5dd1af770490bf0f3ef9c26de5245deb91f79caa3d5db3cd9dc23b8e1e SHA512 e5bd4febf119c0f81a64fb5ff4cf3b526a84e8fd26005ff04c6297f9b50963d2d710227469f9a1cf2d1c51f3524a2bce544a07c70ca4e5beff64c954768468a6 WHIRLPOOL 7b0c2f4561f54bdf1daab217ca4ca3d26e44a377013f327668a5edeb964f189ea19f1eb413ca48f35c52e69275ed945e8843c1dfedf59b28b5dc3cacd35c5724
+EBUILD bbweather-0.6.3-r1.ebuild 1098 SHA256 be8b14bedb59e56ff7fa3b1407ad860f2a563474408b846ce2d7b6529fce4d23 SHA512 27287cbca8b2fe676e2c3f7449de243d8a6644971652baa632c90142f2b7362e3aa598e144d8794f19a17c97eba7d568e53038d5c9aa5fb550ab6ff8e37e3e30 WHIRLPOOL f9ce512f7da597b7d10d0ffe861faf9eebc9b47f37921611f75b27f7f93af06ec00bbc6c1255fdd0cf0ca67a29dab9fdb32b3b53d7069135bbaec80d53048c89
+MISC ChangeLog 2567 SHA256 d8c13415b203e5bfc7f297d16544a253630a6d9b30406d72cd12bcae5daa1fd6 SHA512 b47084d30370d462f3db0809dc6cbcef07c513fb1bf54d76b02b2b30c2587b1112cb493477f4180d3d96a4c0b46810162489b1b65ed79bed7835cf2a22ecabd0 WHIRLPOOL 2c03320f3399c8134f3a42504484511e45b7cf77e3131c5da4b207e1683e83179f729be6c5b067de131a031924e6f13c14d1ca2035c42fe65fc09ef9720367eb
+MISC ChangeLog-2015 5293 SHA256 5ded7d29e99bb7a7cf4bcf405576863fb52febff87074e501387e0e0ec296a73 SHA512 2151508715c249d0b113b2f6e6b7e12fd9e1ce563b7dddc6b727f2fbf7fcf63e3b9b66c1cd7449edc23f3e82840cfd9502d097087aeab40fc896c375a20ce259 WHIRLPOOL 7e7038e517cf88b6fac5b1dabd2cbeb8d7502133df5d065315c919bc5e0499e2e86ac91427a3c3255d8918a2c69ef128aadf791d27df86014a8349f24c3d9c02
+MISC metadata.xml 235 SHA256 2273bd85bc30788ca776d3ad5dc2601606543020b0a6f7ddd3c4464e8e48a796 SHA512 f520eb76104c5ac22c816c755cc7772547ba7030326fef24077090c8d01f602839df77838373247f5f8ce5f94b6043c2a5f6a629991f265d802db39352765063 WHIRLPOOL f2d2d2f1cf060143872d0df9bcf064d3155b160313c85fcddbeeb4b46963f75b15710f16a465b4d7da5ee8f7401ea9e713722eaa908711df5f3620bb8b62c50a
diff --git a/x11-misc/bbweather/bbweather-0.6.3-r1.ebuild b/x11-misc/bbweather/bbweather-0.6.3-r1.ebuild
new file mode 100644
index 000000000000..bf4468aec901
--- /dev/null
+++ b/x11-misc/bbweather/bbweather-0.6.3-r1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=2
+
+inherit autotools eutils
+
+DESCRIPTION="blackbox weather monitor"
+HOMEPAGE="http://www.netmeister.org/apps/bbweather/"
+SRC_URI="http://www.netmeister.org/apps/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 hppa ppc x86"
+IUSE=""
+
+DEPEND="dev-lang/perl
+ x11-libs/libX11"
+RDEPEND="${DEPEND}
+ net-misc/wget
+ x11-apps/xmessage
+ !<=x11-plugins/gkrellweather-2.0.7-r1"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-asneeded.patch
+ gunzip doc/*.gz || die
+ sed -i \
+ -e "s:man_DATA:man1_MANS:;s:.gz::g;/^mandir/d" \
+ doc/Makefile.am || die
+ sed -i \
+ -e 's|-helvetica-|-*-|g' \
+ resource.cpp data/${PN}.{nobb,style} || die
+ eautoreconf
+}
+
+src_install () {
+ emake DESTDIR="${D}" docdir="/usr/share/doc/${PF}" install || die
+ dodoc README AUTHORS ChangeLog NEWS TODO data/README.bbweather || die
+
+ # since multiple bbtools packages provide this file, install
+ # it in /usr/share/doc/${PF}
+ mv "${D}"/usr/share/bbtools/bbtoolsrc.in \
+ "${D}"/usr/share/doc/${PF}/bbtoolsrc.example
+}
diff --git a/x11-misc/bbweather/files/bbweather-asneeded.patch b/x11-misc/bbweather/files/bbweather-asneeded.patch
new file mode 100644
index 000000000000..593e471641c8
--- /dev/null
+++ b/x11-misc/bbweather/files/bbweather-asneeded.patch
@@ -0,0 +1,40 @@
+Fixing build with as-needed
+
+https://bugs.gentoo.org/248556
+
+--- configure.in
++++ configure.in
+@@ -56,15 +56,10 @@
+ AC_PATH_X
+ AC_PATH_XTRA
+
+-CFLAGS="$CFLAGS $X_CFLAGS"
+-CXXFLAGS="$CXXFLAGS $X_CFLAGS"
+-LDFLAGS="$LDFLAGS $X_LIBS $X_PRE_LIBS"
+ DATADIR=$datadir
+ dnl Checks for X libraries.
+-AC_CHECK_LIB(X11, XOpenDisplay, LDFLAGS="$LDFLAGS -lX11",
+- AC_MSG_ERROR(XOpenDisplay not found in -lX11))
+-
+-LDFLAGS="$LDFLAGS $X_EXTRA_LIBS"
++AC_CHECK_LIB([X11], [XOpenDisplay], ,
++ AC_MSG_ERROR(XOpenDisplay not found in -lX11), )
+
+ dnl Checks for header files.
+ AC_HEADER_STDC
+--- Makefile.am
++++ Makefile.am
+@@ -1,5 +1,4 @@
+-CPPFLAGS = @CPPFLAGS@ \
+- -DDEFAULT_CONF=\"$(datadir)/bbtools/bbweather.conf\" \
++AM_CPPFLAGS = -DDEFAULT_CONF=\"$(datadir)/bbtools/bbweather.conf\" \
+ -DDEFAULT_NOBB=\"$(datadir)/bbtools/bbweather.nobb\"
+
+
+@@ -13,4 +12,5 @@
+ Basewindow.cpp Basewindow.h \
+ blackboxstyle.h
+ EXTRA_DIST = BUGS TODO
+-bbweather_LDADD = @X_LIBS@
++bbweather_LDADD = @X_PRE_LIBS@ @X_LIBS@ @X_EXTRA_LIBS@
++bbweather_CFLAGS = @X_PRE_CFLAGS@ @X_CFLAGS@ @X_EXTRA_CFLAGS@
diff --git a/x11-misc/bbweather/metadata.xml b/x11-misc/bbweather/metadata.xml
new file mode 100644
index 000000000000..bdb57f8b3d53
--- /dev/null
+++ b/x11-misc/bbweather/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<!-- maintainer-needed -->
+<longdescription>
+ Weather monitor for Blackbox.
+ </longdescription>
+</pkgmetadata>
diff --git a/x11-misc/blockdpy/Manifest b/x11-misc/blockdpy/Manifest
new file mode 100644
index 000000000000..dc17d495744f
--- /dev/null
+++ b/x11-misc/blockdpy/Manifest
@@ -0,0 +1,5 @@
+DIST blockdpy.c 10580 SHA256 32fc5c822db84d99dced36369695c64664d8075d1a7cf6cd2305f8f79cc8a004 SHA512 152121ee671c19a024393eb47b578fd32b372b1fe66d82513dc2dfa86b8660b0f875a9fe23749dbac94eb13afaea0a21d8a809afdce5ffbdfc8ed01036b5a542 WHIRLPOOL 21625a4c3d2c20e833e1693737bc6c28b7ec30c3a840a4022a8e7be9441a6b15bac08a430bbebf5c3e1f0942f4e567938450b3ce0053055c1841f0edb4fd2ae6
+EBUILD blockdpy-1-r1.ebuild 1836 SHA256 d3c533dc707ea26790d4eccc6c11df80488aaa25a2896129aac119087cda7406 SHA512 8ce76275d85b3d85da043f73b52d2233414bd9bcc53749f3062e025e5956842ad504d20620b3a0085f0262d3cb809558bbbfb779c347d71553ce954838e5e2aa WHIRLPOOL 914b01b7a8a32203a94841f6912ed3b8f7054c7d58299f251a7b52c588163f8aba3e39bb88767682a88237d2b139921f189fbcab41a48343b1cb68344385ad17
+MISC ChangeLog 2517 SHA256 d161535236717872737aca45dcf0e0f11396ba159dad86abefb46a770b754f18 SHA512 961704d6d5ad5f78b058ff71922d0bb323fe6889e2ffa6b6e7ea18c1d3bd5fc6cc835daf071936e1be9bef334bcc890e61d3465b5128f5a68b027286b1e68f63 WHIRLPOOL 666599b7875a98a33994690daff054b828c3f3ff3b433762a0b647a379b42d26891363d9181096f2595addecf03d27296bfa699f94abc80c43b52a3551d0ac37
+MISC ChangeLog-2015 600 SHA256 dea4a9aa95e71562a2154d4eb51814cb7b73341ece4c1e1b97b9176b5a290fe7 SHA512 e96e87ba3fef6a79260fb3f88042146469585ee24ed44acd1c344da0e2808cccbe51eadcba5818c69292e8623c4ecdc71e02f6698ed75adfc4a2976c16eb85a1 WHIRLPOOL 4d22947f2ba18477cc3693599d092d7276185c6a1ad70726a7cd3f43a5d0c76c415814f051e65113d8d15045e443e4ad6c48d689a22668c11c28125665491088
+MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968
diff --git a/x11-misc/blockdpy/blockdpy-1-r1.ebuild b/x11-misc/blockdpy/blockdpy-1-r1.ebuild
new file mode 100644
index 000000000000..37504c2a8993
--- /dev/null
+++ b/x11-misc/blockdpy/blockdpy-1-r1.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit toolchain-funcs
+
+DESCRIPTION="Tool to block access via the physical display while x11vnc is running"
+HOMEPAGE="http://www.karlrunge.com/x11vnc/blockdpy.c"
+SRC_URI="http://www.karlrunge.com/x11vnc/blockdpy.c"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+ x11-libs/libX11
+ x11-libs/libXext"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+S=${WORKDIR}
+
+src_unpack() {
+ cp "${DISTDIR}"/blockdpy.c blockdpy.c || die
+}
+
+src_prepare() {
+ default
+
+ # Add includes to avoid QA warnings.
+ sed -i '/#include <stdio.h>/i#include <stdlib.h>' blockdpy.c || die
+ sed -i '/#include <stdio.h>/i#include <string.h>' blockdpy.c || die
+}
+
+src_compile() {
+ $(tc-getCC) ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} \
+ $($(tc-getPKG_CONFIG) --cflags x11) \
+ $($(tc-getPKG_CONFIG) --cflags xext) \
+ -o blockdpy blockdpy.c \
+ $($(tc-getPKG_CONFIG) --libs x11) \
+ $($(tc-getPKG_CONFIG) --libs xext) \
+ || die "compile failed"
+
+ # Create README from head comment in source.
+ sed -n '1,/^ *\*\//s/^[ -]*\*[ \/]*//p' < blockdpy.c > README || die
+}
+
+src_install() {
+ dobin blockdpy
+ einstalldocs
+}
+
+pkg_postinst() {
+ # Just warn about missing xlock instead of requiring it in case
+ # the user wants to use something else.
+ if [[ ! -x ${EPREFIX}/usr/bin/xlock ]]; then
+ ewarn 'The xlock executable was not found.'
+ ewarn 'blockdpy runs "xlock" as the screen-lock program by default.'
+ ewarn 'You should either install x11-misc/xlockmore or override the'
+ ewarn 'default by calling blockdpy with the -lock option or by'
+ ewarn 'setting the XLOCK_CMD environment variable.'
+ ewarn
+ ewarn " Examples: blockdpy -lock 'xscreensaver-command -lock'"
+ ewarn " blockdpy -lock 'kdesktop_lock --forcelock'"
+ ewarn
+ fi
+}
diff --git a/x11-misc/blockdpy/metadata.xml b/x11-misc/blockdpy/metadata.xml
new file mode 100644
index 000000000000..6f49eba8f496
--- /dev/null
+++ b/x11-misc/blockdpy/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<!-- maintainer-needed -->
+</pkgmetadata>
diff --git a/x11-misc/bumblebee/Manifest b/x11-misc/bumblebee/Manifest
new file mode 100644
index 000000000000..71465a60f384
--- /dev/null
+++ b/x11-misc/bumblebee/Manifest
@@ -0,0 +1,11 @@
+AUX bumblebee.confd 60 SHA256 9e0287f542cff0fd3452a0c3d6d427a3404706c93ac9a00f4d99fe52ed596d75 SHA512 4c773002e372e1696c0922bda91a104ea0ee244eb6beac84a4e7ad2ff1aee265aa248e63c3ad55ea75cabbd36b03d9efa3f8ec3ef708346837ab6a10d6652251 WHIRLPOOL 53e0f7efcf8ceb1990feccabb2050a440ea5e279703c70c896ced4a0a042c191c4ef6c5096dd237af86ca2bcc8d61782cf057f56b6f21983dd642832f314bfbd
+AUX bumblebee.envd 127 SHA256 fd6c2719f8268a03fe01df6f9ead660faa3f7aa2a63230d5a7e923a190077437 SHA512 f42bd5992a8c80d045036a689e3c33cc2bdb7d54afb03bb7f33a80fa6a9c1e05f583cdec5b3da42021c48c1b59db4664e9c850e48ada47a1887327f7b11633af WHIRLPOOL dc5d9dffd2b5219f7c6f11a917cbab004fa3ed89005357dbc1dd1eb3833d4243209c71ccc0b3abc6163c1c192e1a7de8dc1b7ce137ba43aa8f0157ecfd78857c
+AUX bumblebee.initd 485 SHA256 5c67465ca9a2d4dc6fd35a7827d82ea6d72b13a8e93373e9055970fc71754b18 SHA512 12c4d28bb0dfa17239c7bf488408f3ca5e672a2167664b7d9f5501fcb878fe679c351bbe037f31b762e8e9a911088d08d66814cd8cc6b257fd973cc6c54ee10f WHIRLPOOL 8238dc729344256db59aef6ce3b7c7c0d84306a7dfffabc78591bd1046064353abfa554a98259532d873131549c2fc4d747cd242afe93e9b1a93761e6031a03c
+DIST bumblebee-3.2.1.tar.gz 143110 SHA256 1018703b07e2f607a4641249d69478ce076ae5a1e9dd6cff5694d394fa7ee30e SHA512 6f016f75d199577215ff00c059e196829e9d3efeb0fb6eebe6c3fad6176e330332e1ef25875a22ac9892895683d95899ea44f1ec1f85d31300ad83cb1fe0310a WHIRLPOOL 0d59b205f3c57afbf3fa6c8a55964afed8684e57db045e4c333c8e94f0b5d91637963a0b9f386eb6fe655716b8854e82ae5724dacdc76a34de6eb1f99ffc4908
+DIST bumblebee-3.2.1_p20170123.tar.gz 63376 SHA256 bf98d902045f3fa95633816ee34babb76fd1e537090618c632f123d28372c751 SHA512 398101927211a8d09f19d519fd0537c94b942bd7fc11d10d394a3a520f2afa6abe174db78b60bb134caf78ffda4cdd50d0ef424134acd07ff4ce93998881e31b WHIRLPOOL 8bf5367fcd9e4c90d104d97fe767197c9d65cc26f4eb8ca01cb4f18d678df101dad36dc10cfe7be75fc65fd129a171a6d034a96313c86c17085ed6ec81bdddc7
+EBUILD bumblebee-3.2.1.ebuild 2005 SHA256 5303c25feca18486c419aaff12db06f4e088b601c6e13a90c1c21627dab66d7b SHA512 02a045d7d3ed89c39b4b354d81e988cf015c873ece37ce4733405fc699e94e14935e8b395ab6a1fee32b3dfc7e186f908546766146a2f19f5702b83a201560aa WHIRLPOOL 1e011dc7566877b3130266fc841915ae8a464546291f78e9ae75e0fc71945904a648052c5c5be69b040d37d31c782edaa35c604d8bf976351fad465943b8ab3b
+EBUILD bumblebee-3.2.1_p20170123.ebuild 2215 SHA256 485d219f2d0f04ef9aeb5a78e47f5c1cb8354f15ece64f324f57d0924e00c7c1 SHA512 7da89e2bf3ee757b29fde2757dba5e63c157ff0b15b59d244df8ec43ce9a25adcd00b6f149b694488a916eb7d293b6a59d48e40c18eb94b4be1e9fa35c26a69d WHIRLPOOL 3738bd51f1bbe95147f0c49138617624279db30f280f2e55aeeb387c9074f1baaeffff495737995aab761fb3aadb78161c69bcca0098f8748be1252800a13aba
+EBUILD bumblebee-9999.ebuild 2215 SHA256 485d219f2d0f04ef9aeb5a78e47f5c1cb8354f15ece64f324f57d0924e00c7c1 SHA512 7da89e2bf3ee757b29fde2757dba5e63c157ff0b15b59d244df8ec43ce9a25adcd00b6f149b694488a916eb7d293b6a59d48e40c18eb94b4be1e9fa35c26a69d WHIRLPOOL 3738bd51f1bbe95147f0c49138617624279db30f280f2e55aeeb387c9074f1baaeffff495737995aab761fb3aadb78161c69bcca0098f8748be1252800a13aba
+MISC ChangeLog 3050 SHA256 6847a8a33e5a93dbb6fc78c8a468111fa9cce138c19c243db00d5b5d5973578a SHA512 14a4c5138babe708d6de62884620dbdd9b7a83ff0dca2d5c3e6e36a0287ad94ab1e19d6255688dbcc1515e454249b2c36ba7f46b9a817e62244c6c0da874ef97 WHIRLPOOL 1f4676fc50b187f3aa12d56a7ee04e1408ece6757d17743dc94112667cb60514e635a68ced952dc8696c4bd50716e897ceb0baf5833bf958f17c830059a676f4
+MISC ChangeLog-2015 3643 SHA256 f9de352b4b693f56c788476300c15d6f75b21774fb3c3bf32a06df735d862031 SHA512 2c18d42b9dfc32b3f7b7faeddd20f81495055093e52f96924748d91bb7ea9dc0e5529887662fb8d56d72d06b4d8a48f1849fde06327ba785dbb800d1f2df7ba1 WHIRLPOOL 1021e80cf6267e3c8f72a39b8c285e07ec47f0b6e50a88f6301866dbacc783fdb15f14ca8387f0c5d73fbd63129f7b326a49e71b88bcbb00b6a925499f05be89
+MISC metadata.xml 1006 SHA256 390edbe83f004541e1973ffb0b7bd490f4f23f95df9163eaa7b76ab62bb480f9 SHA512 71a8b920e4bac5a76bddeb54e8c0a2062f555ded301d5b3128f56fe2d65ec8da10e3323a6557a36f51eb2879b50fbb3a122f6c87a9201c62a5707a109fa8596b WHIRLPOOL e989230c88ff3ae86c360c0e13373f89f6ea411ca1a6b85855407566e90925eabbc35d4ae5899fdf0bd73b9b41e9986f47ae38d3f4e10b17c21b75b0336ad9db
diff --git a/x11-misc/bumblebee/bumblebee-3.2.1.ebuild b/x11-misc/bumblebee/bumblebee-3.2.1.ebuild
new file mode 100644
index 000000000000..a0904a9a887f
--- /dev/null
+++ b/x11-misc/bumblebee/bumblebee-3.2.1.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit eutils multilib readme.gentoo systemd user
+
+DESCRIPTION="Service providing elegant and stable means of managing Optimus graphics chipsets"
+HOMEPAGE="https://bumblebee-project.org https://github.com/Bumblebee-Project/Bumblebee"
+SRC_URI="https://bumblebee-project.org/${P}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-3"
+KEYWORDS="amd64 x86"
+
+IUSE="+bbswitch video_cards_nouveau video_cards_nvidia"
+
+RDEPEND="
+ dev-libs/libbsd
+ virtual/opengl
+ x11-base/xorg-drivers[video_cards_nvidia?,video_cards_nouveau?]
+ x11-misc/virtualgl:=
+ bbswitch? ( sys-power/bbswitch )
+"
+DEPEND="${RDEPEND}
+ dev-libs/glib:2
+ sys-apps/help2man
+ virtual/pkgconfig
+ x11-libs/libX11
+"
+
+REQUIRED_USE="|| ( video_cards_nouveau video_cards_nvidia )"
+
+src_prepare() {
+ epatch_user
+}
+
+src_configure() {
+ DOC_CONTENTS="In order to use Bumblebee, add your user to 'bumblebee' group.
+ You may need to setup your /etc/bumblebee/bumblebee.conf"
+
+ if use video_cards_nvidia ; then
+ # Get paths to GL libs for all ABIs
+ local nvlib=""
+ for i in $(get_all_libdirs) ; do
+ nvlib="${nvlib}:/usr/${i}/opengl/nvidia/lib"
+ done
+
+ local nvpref="/usr/$(get_libdir)/opengl/nvidia"
+ local xorgpref="/usr/$(get_libdir)/xorg/modules"
+ ECONF_PARAMS="CONF_DRIVER=nvidia CONF_DRIVER_MODULE_NVIDIA=nvidia \
+ CONF_LDPATH_NVIDIA=${nvlib#:} \
+ CONF_MODPATH_NVIDIA=${nvpref}/lib,${nvpref}/extensions,${xorgpref}/drivers,${xorgpref}"
+ fi
+
+ econf \
+ --docdir=/usr/share/doc/"${PF}" \
+ ${ECONF_PARAMS}
+}
+
+src_install() {
+ newconfd "${FILESDIR}"/bumblebee.confd bumblebee
+ newinitd "${FILESDIR}"/bumblebee.initd bumblebee
+ newenvd "${FILESDIR}"/bumblebee.envd 99bumblebee
+ systemd_dounit scripts/systemd/bumblebeed.service
+
+ readme.gentoo_create_doc
+
+ default
+}
+
+pkg_preinst() {
+ use video_cards_nvidia || rm "${ED}"/etc/bumblebee/xorg.conf.nvidia
+ use video_cards_nouveau || rm "${ED}"/etc/bumblebee/xorg.conf.nouveau
+
+ enewgroup bumblebee
+}
diff --git a/x11-misc/bumblebee/bumblebee-3.2.1_p20170123.ebuild b/x11-misc/bumblebee/bumblebee-3.2.1_p20170123.ebuild
new file mode 100644
index 000000000000..65477c88d732
--- /dev/null
+++ b/x11-misc/bumblebee/bumblebee-3.2.1_p20170123.ebuild
@@ -0,0 +1,95 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools multilib readme.gentoo-r1 systemd user
+
+if [[ ${PV} == 9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/Bumblebee-Project/Bumblebee.git"
+ EGIT_BRANCH="develop"
+ KEYWORDS=""
+else
+ COMMIT="c322bd849aabe6e48b4304b8d13cc4aadc36a30d"
+ SRC_URI="https://github.com/Bumblebee-Project/Bumblebee/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+
+ S="${WORKDIR}/Bumblebee-${COMMIT}"
+fi
+
+DESCRIPTION="Service providing elegant and stable means of managing Optimus graphics chipsets"
+HOMEPAGE="https://bumblebee-project.org https://github.com/Bumblebee-Project/Bumblebee"
+
+SLOT="0"
+LICENSE="GPL-3"
+
+IUSE="+bbswitch video_cards_nouveau video_cards_nvidia"
+
+COMMON_DEPEND="
+ dev-libs/glib:2
+ dev-libs/libbsd
+ sys-apps/kmod
+ x11-libs/libX11
+"
+
+RDEPEND="${COMMON_DEPEND}
+ virtual/opengl
+ x11-base/xorg-drivers[video_cards_nvidia?,video_cards_nouveau?]
+ bbswitch? ( sys-power/bbswitch )
+"
+
+DEPEND="${COMMON_DEPEND}
+ sys-apps/help2man
+ virtual/pkgconfig
+"
+
+PDEPEND="
+ || (
+ x11-misc/primus
+ x11-misc/virtualgl
+ )
+"
+
+REQUIRED_USE="|| ( video_cards_nouveau video_cards_nvidia )"
+
+pkg_setup() {
+ enewgroup bumblebee
+}
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ if use video_cards_nvidia ; then
+ # Get paths to GL libs for all ABIs
+ local i nvlib=""
+ for i in $(get_all_libdirs) ; do
+ nvlib="${nvlib}:/usr/${i}/opengl/nvidia/lib"
+ done
+
+ local nvpref="/usr/$(get_libdir)/opengl/nvidia"
+ local xorgpref="/usr/$(get_libdir)/xorg/modules"
+ ECONF_PARAMS="CONF_DRIVER=nvidia CONF_DRIVER_MODULE_NVIDIA=nvidia \
+ CONF_LDPATH_NVIDIA=${nvlib#:} \
+ CONF_MODPATH_NVIDIA=${nvpref}/lib,${nvpref}/extensions,${xorgpref}/drivers,${xorgpref}"
+ fi
+
+ econf \
+ ${ECONF_PARAMS}
+}
+
+src_install() {
+ default
+
+ newconfd "${FILESDIR}"/${PN}.confd ${PN}
+ newinitd "${FILESDIR}"/${PN}.initd ${PN}
+ newenvd "${FILESDIR}"/${PN}.envd 99${PN}
+ systemd_dounit scripts/systemd/bumblebeed.service
+
+ local DOC_CONTENTS="In order to use Bumblebee, add your user to 'bumblebee' group.
+ You may need to setup your /etc/bumblebee/bumblebee.conf"
+ readme.gentoo_create_doc
+}
diff --git a/x11-misc/bumblebee/bumblebee-9999.ebuild b/x11-misc/bumblebee/bumblebee-9999.ebuild
new file mode 100644
index 000000000000..65477c88d732
--- /dev/null
+++ b/x11-misc/bumblebee/bumblebee-9999.ebuild
@@ -0,0 +1,95 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools multilib readme.gentoo-r1 systemd user
+
+if [[ ${PV} == 9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/Bumblebee-Project/Bumblebee.git"
+ EGIT_BRANCH="develop"
+ KEYWORDS=""
+else
+ COMMIT="c322bd849aabe6e48b4304b8d13cc4aadc36a30d"
+ SRC_URI="https://github.com/Bumblebee-Project/Bumblebee/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+
+ S="${WORKDIR}/Bumblebee-${COMMIT}"
+fi
+
+DESCRIPTION="Service providing elegant and stable means of managing Optimus graphics chipsets"
+HOMEPAGE="https://bumblebee-project.org https://github.com/Bumblebee-Project/Bumblebee"
+
+SLOT="0"
+LICENSE="GPL-3"
+
+IUSE="+bbswitch video_cards_nouveau video_cards_nvidia"
+
+COMMON_DEPEND="
+ dev-libs/glib:2
+ dev-libs/libbsd
+ sys-apps/kmod
+ x11-libs/libX11
+"
+
+RDEPEND="${COMMON_DEPEND}
+ virtual/opengl
+ x11-base/xorg-drivers[video_cards_nvidia?,video_cards_nouveau?]
+ bbswitch? ( sys-power/bbswitch )
+"
+
+DEPEND="${COMMON_DEPEND}
+ sys-apps/help2man
+ virtual/pkgconfig
+"
+
+PDEPEND="
+ || (
+ x11-misc/primus
+ x11-misc/virtualgl
+ )
+"
+
+REQUIRED_USE="|| ( video_cards_nouveau video_cards_nvidia )"
+
+pkg_setup() {
+ enewgroup bumblebee
+}
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ if use video_cards_nvidia ; then
+ # Get paths to GL libs for all ABIs
+ local i nvlib=""
+ for i in $(get_all_libdirs) ; do
+ nvlib="${nvlib}:/usr/${i}/opengl/nvidia/lib"
+ done
+
+ local nvpref="/usr/$(get_libdir)/opengl/nvidia"
+ local xorgpref="/usr/$(get_libdir)/xorg/modules"
+ ECONF_PARAMS="CONF_DRIVER=nvidia CONF_DRIVER_MODULE_NVIDIA=nvidia \
+ CONF_LDPATH_NVIDIA=${nvlib#:} \
+ CONF_MODPATH_NVIDIA=${nvpref}/lib,${nvpref}/extensions,${xorgpref}/drivers,${xorgpref}"
+ fi
+
+ econf \
+ ${ECONF_PARAMS}
+}
+
+src_install() {
+ default
+
+ newconfd "${FILESDIR}"/${PN}.confd ${PN}
+ newinitd "${FILESDIR}"/${PN}.initd ${PN}
+ newenvd "${FILESDIR}"/${PN}.envd 99${PN}
+ systemd_dounit scripts/systemd/bumblebeed.service
+
+ local DOC_CONTENTS="In order to use Bumblebee, add your user to 'bumblebee' group.
+ You may need to setup your /etc/bumblebee/bumblebee.conf"
+ readme.gentoo_create_doc
+}
diff --git a/x11-misc/bumblebee/files/bumblebee.confd b/x11-misc/bumblebee/files/bumblebee.confd
new file mode 100644
index 000000000000..1c70206da6bf
--- /dev/null
+++ b/x11-misc/bumblebee/files/bumblebee.confd
@@ -0,0 +1,3 @@
+# /etc/conf.d/bumblebee
+
+BUMBLEBEE_EXTRA_OPTS="--use-syslog" \ No newline at end of file
diff --git a/x11-misc/bumblebee/files/bumblebee.envd b/x11-misc/bumblebee/files/bumblebee.envd
new file mode 100644
index 000000000000..e19cc56a1303
--- /dev/null
+++ b/x11-misc/bumblebee/files/bumblebee.envd
@@ -0,0 +1,3 @@
+# Comment this out if you are using VirtualGL also for other purposes and this
+# slows down things for you.
+VGL_READBACK="pbo"
diff --git a/x11-misc/bumblebee/files/bumblebee.initd b/x11-misc/bumblebee/files/bumblebee.initd
new file mode 100644
index 000000000000..219f71010d84
--- /dev/null
+++ b/x11-misc/bumblebee/files/bumblebee.initd
@@ -0,0 +1,22 @@
+#!/sbin/openrc-run
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+depend() {
+ need xdm vgl
+}
+
+PIDFILE="${PIDFILE:-/var/run/bumblebee.pid}"
+
+start() {
+ ebegin "Starting BumbleBee Daemon"
+ start-stop-daemon -S -p "${PIDFILE}" -x /usr/sbin/bumblebeed -- -D ${BUMBLEBEE_EXTRA_OPTS} --pidfile "${PIDFILE}"
+ eend $?
+}
+
+stop() {
+
+ ebegin "Stopping BumbleBee Daemon"
+ start-stop-daemon -K -p "${PIDFILE}" -R SIGTERM/10
+ eend $?
+}
diff --git a/x11-misc/bumblebee/metadata.xml b/x11-misc/bumblebee/metadata.xml
new file mode 100644
index 000000000000..8db7b5c88e4c
--- /dev/null
+++ b/x11-misc/bumblebee/metadata.xml
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>NP-Hardass@gentoo.org</email>
+ <name>NP-Hardass</name>
+ </maintainer>
+ <maintainer type="person">
+ <email>rei4dan@gmail.com</email>
+ <name>My Th</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <longdescription>
+ A rewrite of the original Bumblebee service, providing an elegant and stable
+ means of managing Optimus hybrid graphics chipsets. A primary goal of this
+ project is to not only enable use of the discrete GPU for rendering, but
+ also to enable smart power management of the dGPU when it's not in use.
+</longdescription>
+ <use>
+ <flag name="bbswitch">Add dependency on <pkg>sys-power/bbswitch</pkg> for
+ PM feature</flag>
+ </use>
+ <upstream>
+ <remote-id type="github">Bumblebee-Project/Bumblebee</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/cairo-clock/Manifest b/x11-misc/cairo-clock/Manifest
new file mode 100644
index 000000000000..8c295319ed29
--- /dev/null
+++ b/x11-misc/cairo-clock/Manifest
@@ -0,0 +1,7 @@
+AUX cairo-clock-0.3.4-desktop.patch 599 SHA256 fa5f4471be3159ca4f6783bdb6b418d4365b3e6ece28dee972eba6ef18069df6 SHA512 f0dcf4dc5baed7969f7515bda571a6f40f8ed8a365c665d0553c73b0224c47c64626f37ccf3a543db88d4b3f494247c86a761bd2b68b8c33f581fe26867c3577 WHIRLPOOL 33ffec21d7655704867c465a5e9c612d4550402edf0347a9e66c0930745e61593007bd3651af78d8bca0e049c8b7d7997f2abea790ce378dadbb8399a77974f6
+AUX cairo-clock-0.3.4-linker.patch 617 SHA256 96989b18b8beda4fbf679e2a594c4ff654e78ce83cc75f3bb3bf78a0e494283f SHA512 7a5f4235fbde60a932e26fc8ad60dce20f2f64ee53a1ecc3ebc7437225432d7256d2edd6d7b2a10cff31fefd6a94329b7516ba4e6202aa4c8b6f857ea19e9a64 WHIRLPOOL 9ad879d6ba5cbfce3f6bb27ea6a2eecdfd4be06c78a17783b8296e8c5c381377e38663afc33ed0e15af718d477ad31c4357e34828677df52bdcdef23f45c2b17
+DIST cairo-clock-0.3.4.tar.gz 832968 SHA256 f310de5bc03473a190d691679a831cd305351744ccf6eb7701f43dda6cd98a8d SHA512 b26c3005d4e2b22dcaf6967b8892630f5fd44e366b7482f374ea6215ca8863cf1b3f489fe2279eab73dfd4aaed1793d753e84fe4c929d105a6e97cde6da6b628 WHIRLPOOL df979c5d4809bfe887cc5150dfda0b13691e460bd1610904a04db2165a9557894c5a9e338f34a3ea651bd3f02e9de3b661ffee13af254a5d6602968b0abe758d
+EBUILD cairo-clock-0.3.4-r1.ebuild 718 SHA256 32985b976646acc3813ffeb0a8ee967262ede63bad5ca0eebb92f8e155420b47 SHA512 aef067398c8fd057b78160c4f5a2596be9e4f39eee9e0762b52888b792eb6640649384a0171e3ec999e3158ec7b003479ccf91633045ad64c23d23b74949958e WHIRLPOOL 12a94cfb912021fdc0c38d03cf0852aced9e8a5ca6520e9f261a736a7af99dec500033931ea0fa0af73d03280385573454db37ea49803862880a41b0a285b559
+MISC ChangeLog 2539 SHA256 71fe45fcedb5fa15157a7a642a662f3649b8cb24b2f624b15f1276aac045a7f1 SHA512 66cad483662bd57d365e784f1332b311c219e742e85f0469cdcbe40d2a525700e54f18ef054e1e235f1bc392b36ace6cbb2f1824a226ed4fef089c3e62107e08 WHIRLPOOL 59ec458d7656d0aed51670c711f11835409fbc700702dbdf922b195b9a1ddea4ca469b2fecd7e927ee249bdabb23d0c4735b98979e9dce997dbf5cecb87b8a39
+MISC ChangeLog-2015 2096 SHA256 ce1e0cc1f6fb546288c96027d98e3e78e7dd3a412a3468347ce29a9b1a390660 SHA512 19e886baaee49863c511409965a37ebb78b517258809c4e6d66fc49717b480381793889344834df8b18f4dba4b840543a80038b453fa3f58051b57db3ecb2fb1 WHIRLPOOL 21565f8660e66109f05c2b61dc1b8bf25f41f71f77098b76b08f3229accbedd491f9f3e9e554a2e2f173a666c9b4ff1464a6488602a59c3bfc026ba982378ce0
+MISC metadata.xml 355 SHA256 d8a3d9b81b3e6eaddc10ba11f8f61c8e8133f34b6f43043cdc21bcb692391eca SHA512 8d3c73cf909e4efbec6a89e44cb80dd5e6d13d0c15b4c5de5661ed5db8a6b775d6196cddfe4a53a63564578da7bf10bfec0638aa8afe884c836cf2c85da10641 WHIRLPOOL ce245c9414b8e969fa13ac452f65dd50216bf48d5243707bdb2c0fc8c7eef871a5df4ae85d232f93ab8eaa6a7b9343fcaa77e96aab276388a0d9805c9b42f52b
diff --git a/x11-misc/cairo-clock/cairo-clock-0.3.4-r1.ebuild b/x11-misc/cairo-clock/cairo-clock-0.3.4-r1.ebuild
new file mode 100644
index 000000000000..39f3d565031d
--- /dev/null
+++ b/x11-misc/cairo-clock/cairo-clock-0.3.4-r1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools
+
+DESCRIPTION="An analog clock displaying the system-time"
+HOMEPAGE="https://launchpad.net/cairo-clock"
+SRC_URI="http://macslow.thepimp.net/projects/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~x86 ~x86-fbsd"
+IUSE=""
+
+RDEPEND=">=dev-libs/glib-2.8
+ >=gnome-base/libglade-2.6
+ >=gnome-base/librsvg-2.14
+ >=x11-libs/cairo-1.2
+ >=x11-libs/gtk+-2.10:2
+ >=x11-libs/pango-1.10"
+DEPEND="${DEPEND}
+ dev-util/intltool
+ virtual/pkgconfig
+ sys-devel/gettext"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-desktop.patch
+ "${FILESDIR}"/${P}-linker.patch
+)
+
+src_prepare() {
+ default
+ eautoreconf
+}
diff --git a/x11-misc/cairo-clock/files/cairo-clock-0.3.4-desktop.patch b/x11-misc/cairo-clock/files/cairo-clock-0.3.4-desktop.patch
new file mode 100644
index 000000000000..5228776a00ee
--- /dev/null
+++ b/x11-misc/cairo-clock/files/cairo-clock-0.3.4-desktop.patch
@@ -0,0 +1,18 @@
+diff -u desktop/cairo-clock.desktop desktop2/cairo-clock.desktop
+--- a/desktop/cairo-clock.desktop
++++ b/desktop/cairo-clock.desktop
+@@ -37,4 +37,4 @@
+ Comment[zh_TW]=一個超好用的類比時é˜
+ Exec=cairo-clock
+ Icon=cairo-clock
+-Categories=GNOME;Application;Utility;
++Categories=GNOME;Utility;
+diff -u desktop/cairo-clock.desktop.in desktop2/cairo-clock.desktop.in
+--- a/desktop/cairo-clock.desktop.in
++++ b/desktop/cairo-clock.desktop.in
+@@ -5,4 +5,4 @@
+ _Comment=a super fine analog clock
+ Exec=cairo-clock
+ Icon=cairo-clock
+-Categories=GNOME;Application;Utility;
++Categories=GNOME;Utility;
diff --git a/x11-misc/cairo-clock/files/cairo-clock-0.3.4-linker.patch b/x11-misc/cairo-clock/files/cairo-clock-0.3.4-linker.patch
new file mode 100644
index 000000000000..bdd1a7bc8b1b
--- /dev/null
+++ b/x11-misc/cairo-clock/files/cairo-clock-0.3.4-linker.patch
@@ -0,0 +1,22 @@
+From 9e1575324da26ef15143ab2dd38f61af222576b4 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Mirco=20M=C3=BCller?= <macslow@gmail.com>
+Date: Thu, 9 Feb 2017 01:02:03 +0100
+Subject: [PATCH] Updated linker-options so ld is happy.
+
+---
+ src/Makefile.am | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/Makefile.am b/src/Makefile.am
+index 7057198..fd88852 100644
+--- a/src/Makefile.am
++++ b/src/Makefile.am
+@@ -1,7 +1,7 @@
+ bin_PROGRAMS = cairo_clock
+ transform = s/_/-/g
+
+-cairo_clock_LDFLAGS = -Wl, --export-dynamic
++cairo_clock_LDFLAGS = -Wl,-export-dynamic
+
+ cairo_clock_LDADD = \
+ $(GLIB_LIBS) \
diff --git a/x11-misc/cairo-clock/metadata.xml b/x11-misc/cairo-clock/metadata.xml
new file mode 100644
index 000000000000..006499a6c366
--- /dev/null
+++ b/x11-misc/cairo-clock/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="launchpad">cairo-clock</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/calise/Manifest b/x11-misc/calise/Manifest
new file mode 100644
index 000000000000..63787f0862e8
--- /dev/null
+++ b/x11-misc/calise/Manifest
@@ -0,0 +1,5 @@
+DIST calise-0.4.2.tar.gz 102792 SHA256 fdc380fea57a10a22e3fc3a61f57ee988b56e144db29ac1ce79e76d4e2971551 SHA512 b08722083447780dbfe6a3614cf0891eed791819adc6c434b878c55cbad6fa122d3c2042274fe9acbc0c68a2acb3ca7835422ec6d2d1f867d6fd9ec806a4f750 WHIRLPOOL 6399b583c024ec8c0a507de941d5d3ce4dff895f261bf127f7bc8583e2a15af1d8db965b04458beb11c5c829dad917973c49a8f4f3fc2da2497fcd9a88879398
+EBUILD calise-0.4.2.ebuild 1506 SHA256 e92a50ae2239c0c582f51f705c71b0a70feecd75596149311fa2342491f4680c SHA512 3e4a437d98ca82d716864a085d678c433235867401f17648d5a8a3b437d19c367bd5b90521ec84d2f09e9819e5f754dc04a5ae7a468eff800e87bf036ff402c3 WHIRLPOOL 00dbbd26f1a898ea22e262c969750c64e4aae22716574f75d1d9245372782e268726cf1af2335e244916fee2bbc6db9ec907c456fb79b2bc666ba07c650029f1
+MISC ChangeLog 3081 SHA256 5699a93dec526bbf75732c0d65830b467c03a02aa34106442eff5f4fc681763c SHA512 9f8e1e0fb613fd31e9ab198a47d3b098c7b75f6a161218108fa518fa3de2c891f53a0d26cc6516ec8d3242d35a4a690da680cb1735c4b30ee4cd4413da8a8a88 WHIRLPOOL 035be15ad2b2206e8fab3bdb430a8948db979201f849b5afea5a3d1d5222d23f8e6e7d4e4a683ffc3f357bf9fa331d1d4775aebfb4abf2af1683f9f175a05eb8
+MISC ChangeLog-2015 831 SHA256 ac5ee522dc54f2ff7e890a65eff723ccc861f6e0a982155a769b8f8b25db16f0 SHA512 3f75637b78e261bf9a85a5ea7b65d739346440cc74b1f1868e6bc2816c248b50fc89e65baa84b7e001c22387ae8d8322424cccb840a76b403de3fc99718c64aa WHIRLPOOL a984e1b5ff131e4facd3664955edf8d52bb67bb7cf54501c6ceffea59f75935599623cbc1da247b6f4396e0807649d46f7d4773806d1d5125eace07ab3d2be2a
+MISC metadata.xml 434 SHA256 0ecd7f7666d59e0719337ad5834ed2fd7fdb4d2a13f74da494b65168feaab97e SHA512 f2e544211ea0fa26be86ec4faa6124b10a5af4a348a06122a99a783a74e1d9b37c0ccd6e6e26689474f752e3dd98095d13fdfa5df4ae669e3adec7b8a5713c7c WHIRLPOOL 5c1ba83b3d99b8cb0a02d0b4d772bcca9e8d9794f000d84d4e7076ac6c90820ac435dc5917ca07c3be1348fab6aae84cf149084fa3799579f36b3e2cbb4cc2e4
diff --git a/x11-misc/calise/calise-0.4.2.ebuild b/x11-misc/calise/calise-0.4.2.ebuild
new file mode 100644
index 000000000000..e09f3e679903
--- /dev/null
+++ b/x11-misc/calise/calise-0.4.2.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+inherit distutils-r1 linux-info systemd
+
+DESCRIPTION="Computes ambient brightness and sets screen's correct backlight using a webcam"
+HOMEPAGE="http://calise.sourceforge.net/"
+SRC_URI="https://sourceforge.net/projects/${PN}/files/${PN}-beta/${PV}/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+CDEPEND="${RDEPEND}
+ dev-python/pyxdg[${PYTHON_USEDEP}]
+ dev-python/dbus-python[${PYTHON_USEDEP}]
+ dev-python/pygobject[${PYTHON_USEDEP}]
+ sci-astronomy/pyephem[${PYTHON_USEDEP}]
+ x11-themes/hicolor-icon-theme"
+DEPEND="${CDEPEND}
+ dev-python/python-distutils-extra[${PYTHON_USEDEP}]
+ dev-util/intltool
+ sys-kernel/linux-headers
+ x11-libs/libX11"
+RDEPEND="${CDEPEND}"
+
+CONFIG_CHECK="~BACKLIGHT_CLASS_DEVICE"
+
+S="${WORKDIR}/${PN}"
+
+src_prepare() {
+ # Add missing trailing ; to desktop file.
+ sed -i 's/^\(Categories=Utility\)$/\1;/' \
+ share/applications/calise.desktop.in || die
+
+ # Fix up bashisms.
+ sed -i 's:&>/dev/null:2>\&1 >/dev/null:' \
+ other/init_scripts/init.d/${PN}d || die
+}
+
+src_install() {
+ doconfd other/init_scripts/conf.d/${PN}d
+ doinitd other/init_scripts/init.d/${PN}d
+ systemd_dounit other/systemd_scripts/${PN}d.service
+
+ install -D -m755 other/pm-utils_scripts/53${PN}d "${D}"/usr/lib/pm-utils/sleep.d/53${PN}d
+
+ distutils-r1_src_install
+}
+
+pkg_postinst() {
+ einfo "Optional runtime dependency: dev-python/PyQt4 for GUI"
+}
diff --git a/x11-misc/calise/metadata.xml b/x11-misc/calise/metadata.xml
new file mode 100644
index 000000000000..4e24c1984732
--- /dev/null
+++ b/x11-misc/calise/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>alex_y_xu@yahoo.ca</email>
+ <name>Alex Xu</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">calise</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/cbatticon/Manifest b/x11-misc/cbatticon/Manifest
new file mode 100644
index 000000000000..36db5f01c7ca
--- /dev/null
+++ b/x11-misc/cbatticon/Manifest
@@ -0,0 +1,9 @@
+DIST cbatticon-1.6.5.tar.gz 27951 SHA256 bbc70d77b2fd5c14a65b3f1d14d064b0b8c9966b521b3e295fa7d487950bff77 SHA512 5e1648cf3b31fe42aefd0a5e79c4e5dc22c3ce4b6f594f0933229494ca6f2e28e44a7e078ef839de1df0b8c1ba494fce8a58866ad70d056799320f4dea32713b WHIRLPOOL f9cdf706f632a01c2bea2353cc7171d3d568aed0964bd2f2159f1c68d18bd5b374b449581d334ff96deceb32c7d1bf9aeb235d66490a83bb60a1901b5fe16492
+DIST cbatticon-1.6.6.tar.gz 28043 SHA256 636f6dc6c3a084e81f25f829ef076ed17dc90751b030ed08fdc29d801acfb4e7 SHA512 ee1388da03b338ff3194316af5f0fc9c176271b62bf23894cd01772b660b8c89777cc68e67bafa3d50bda1587904a5c5a334b4ed65195a3baf42ce128a0f526e WHIRLPOOL d82388b99b734d31de597b04ff9712e0b0e9b1f96990c99feedc1f1542b1cf3d85b1f7c7836e088850511807fab77229735f1363faf6653e43a2f6eb6557339d
+DIST cbatticon-1.6.7.tar.gz 30086 SHA256 d0c33320a8e4421ade0f3cfaf3548a6f620ebc275339019cb5ff1ed87c2256e8 SHA512 730d1be1350ba9b906f438c58c4e3172c4041d0e7c73ffbd91cbe5a01688e400bb9a7d89ccd86bff658afc803776dd5691323c720e6d41b1b1e3aeb58707f6e9 WHIRLPOOL 82e1a1df8f286b20ac3685b70133018d07a4a4cd3a2626e25ca256d9f235dc3c81aac37c1da5322c4de51183408ae901627f369caf901d5074dce73df1a2c6b9
+EBUILD cbatticon-1.6.5.ebuild 861 SHA256 3a2c357080b1d0462a8b8ad3fb27d1b6d4db2bb5e66f364e46f4e93babad68d0 SHA512 cbc37a6d09c1a8be7b0f9436a5d97d210b884d8e439570650339a60bd2a5ba2e9dc903c730979e4f7bb4166906a540209d5586d7610e47cce61ed94426438225 WHIRLPOOL 4d702bed5b4ca37bc933e0557e5d9a2c6519e5aa6e726ce9254f8d2a7ce8d4f8e68540822ff4e320af9933b55fc8ed273a7a5270cb9f358d2b892a4e5de2f2ce
+EBUILD cbatticon-1.6.6.ebuild 863 SHA256 a09e13c12e8a1780dd30dc50a1988395171febb006ebbc714674d0f116c08659 SHA512 5fdd82dcb6ac1014e5271eb98301977fd87f640ac3ecc3dfa1b61982faaec5a47d7c4f2ca067672873b2292badfa34461448bff193e840d8aa4b4a8ba5db416a WHIRLPOOL fbcc796e7c5ec5659c60e0130716cfb2cbd8a5e2bbc98289f745eddcf216200ee0fcb58a29f81402ebe947b73fee0096808f9c555bd1bffba2e269df1b170101
+EBUILD cbatticon-1.6.7.ebuild 863 SHA256 a09e13c12e8a1780dd30dc50a1988395171febb006ebbc714674d0f116c08659 SHA512 5fdd82dcb6ac1014e5271eb98301977fd87f640ac3ecc3dfa1b61982faaec5a47d7c4f2ca067672873b2292badfa34461448bff193e840d8aa4b4a8ba5db416a WHIRLPOOL fbcc796e7c5ec5659c60e0130716cfb2cbd8a5e2bbc98289f745eddcf216200ee0fcb58a29f81402ebe947b73fee0096808f9c555bd1bffba2e269df1b170101
+MISC ChangeLog 3178 SHA256 02a36fec8cd737828d65a5c6ff66f36dbecac8c305d163ed9bed0e9f54131d6b SHA512 725486dfcefbb51d601786b9507cf6fe14fa63dd3ab1a6aa2ae11e70405cfba2505b124b94a98c001d55df6132c0d64285f185bba9abf1b3edd7f320e72e2071 WHIRLPOOL 2fa950e2e63a88afebce986d92effe97483e9e9a16ffd7e93d4746a38df007d5190e212b6312c3f7356a4387f480fe6da08b6bc61b36d274273e4d9aee2d9218
+MISC ChangeLog-2015 2208 SHA256 17a47c45d79831c8fc477ff821fd91d4263517df306b729ed3d2852eca04dff2 SHA512 f524088b7c90f2a73543edcf8ff0334441d7f1f842d496953becf3d5bcb7b03b5a964bee21d154abf2e70af5665d23723a0febe4326a3b473cb5a43dfdf9292b WHIRLPOOL b04e88b8ebf6a35815e0587e269b3b67f3cc167334c1cf6065bab8a9bb598a71d5f8aa6c4503ea408bbc0e47461dce42794f9fe236dbe80b771899e775d4a066
+MISC metadata.xml 361 SHA256 df18fbd4d612263828f9fbfe9e99cb030641fbe33e7cdf172db3eef1edd4e633 SHA512 854a12b8d9eef3ad16aaedd57e7d371979a8788641759c032aaf025de3331456430325d1101dc9046bf38be86a6ba5a4b3c29eb9daef2d9aae094853c67423e9 WHIRLPOOL 7c34ff5e66d60fb12a0eee89ffa140bdd714ac1627d63395defedbb648460c5ee90286625b3c33f3c7a5a088dd5336378ddbf6d3cfc9d88a51e4394a668a18db
diff --git a/x11-misc/cbatticon/cbatticon-1.6.5.ebuild b/x11-misc/cbatticon/cbatticon-1.6.5.ebuild
new file mode 100644
index 000000000000..cad0887551f5
--- /dev/null
+++ b/x11-misc/cbatticon/cbatticon-1.6.5.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit eutils toolchain-funcs
+
+DESCRIPTION="A lightweight and fast battery icon that sits in your system tray"
+HOMEPAGE="https://github.com/ColinJones/cbatticon"
+SRC_URI="https://github.com/ColinJones/cbatticon/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="libnotify"
+
+RDEPEND="
+ dev-libs/glib:2
+ x11-libs/gtk+:3
+ libnotify? ( x11-libs/libnotify )
+"
+DEPEND="
+ ${RDEPEND}
+ virtual/pkgconfig
+"
+
+src_prepare() {
+ default
+
+ strip-linguas -i .
+}
+
+src_compile() {
+ tc-export CC
+ emake \
+ $(usex libnotify WITH_NOTIFY=1 WITH_NOTIFY=0) \
+ V=1 \
+ VERSION="${PF}" \
+ WITH_GTK3=1
+}
+
+src_install() {
+ emake \
+ DESTDIR="${D}" \
+ LANGUAGES="${LINGUAS}" \
+ V=1 VERSION="${PF}" \
+ install
+
+ dodoc Changelog
+}
diff --git a/x11-misc/cbatticon/cbatticon-1.6.6.ebuild b/x11-misc/cbatticon/cbatticon-1.6.6.ebuild
new file mode 100644
index 000000000000..397212d04700
--- /dev/null
+++ b/x11-misc/cbatticon/cbatticon-1.6.6.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit eutils toolchain-funcs
+
+DESCRIPTION="A lightweight and fast battery icon that sits in your system tray"
+HOMEPAGE="https://github.com/ColinJones/cbatticon"
+SRC_URI="https://github.com/ColinJones/cbatticon/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="libnotify"
+
+RDEPEND="
+ dev-libs/glib:2
+ x11-libs/gtk+:3
+ libnotify? ( x11-libs/libnotify )
+"
+DEPEND="
+ ${RDEPEND}
+ virtual/pkgconfig
+"
+
+src_prepare() {
+ default
+
+ strip-linguas -i .
+}
+
+src_compile() {
+ tc-export CC
+ emake \
+ $(usex libnotify WITH_NOTIFY=1 WITH_NOTIFY=0) \
+ V=1 \
+ VERSION="${PF}" \
+ WITH_GTK3=1
+}
+
+src_install() {
+ emake \
+ DESTDIR="${D}" \
+ LANGUAGES="${LINGUAS}" \
+ V=1 VERSION="${PF}" \
+ install
+
+ dodoc Changelog
+}
diff --git a/x11-misc/cbatticon/cbatticon-1.6.7.ebuild b/x11-misc/cbatticon/cbatticon-1.6.7.ebuild
new file mode 100644
index 000000000000..397212d04700
--- /dev/null
+++ b/x11-misc/cbatticon/cbatticon-1.6.7.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit eutils toolchain-funcs
+
+DESCRIPTION="A lightweight and fast battery icon that sits in your system tray"
+HOMEPAGE="https://github.com/ColinJones/cbatticon"
+SRC_URI="https://github.com/ColinJones/cbatticon/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="libnotify"
+
+RDEPEND="
+ dev-libs/glib:2
+ x11-libs/gtk+:3
+ libnotify? ( x11-libs/libnotify )
+"
+DEPEND="
+ ${RDEPEND}
+ virtual/pkgconfig
+"
+
+src_prepare() {
+ default
+
+ strip-linguas -i .
+}
+
+src_compile() {
+ tc-export CC
+ emake \
+ $(usex libnotify WITH_NOTIFY=1 WITH_NOTIFY=0) \
+ V=1 \
+ VERSION="${PF}" \
+ WITH_GTK3=1
+}
+
+src_install() {
+ emake \
+ DESTDIR="${D}" \
+ LANGUAGES="${LINGUAS}" \
+ V=1 VERSION="${PF}" \
+ install
+
+ dodoc Changelog
+}
diff --git a/x11-misc/cbatticon/metadata.xml b/x11-misc/cbatticon/metadata.xml
new file mode 100644
index 000000000000..4f6f198a59ab
--- /dev/null
+++ b/x11-misc/cbatticon/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">ColinJones/cbatticon</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/ccsm/Manifest b/x11-misc/ccsm/Manifest
new file mode 100644
index 000000000000..e52f98a96a8a
--- /dev/null
+++ b/x11-misc/ccsm/Manifest
@@ -0,0 +1,5 @@
+AUX ccsm-0.8.4-pygobject-glib-fix.patch 637 SHA256 bc715963922c0819478fe4420a5fdfdaf40ad47114ec2809b6f45fb0b810efc6 SHA512 fac2a97bcb0883ab3c0a24040f88b354653a3e507c306fb89e58f1a1d1aba46d65ed92a0094b3ebe312095ffc53af717fd43e284f13a1785dd3c45b907e38672 WHIRLPOOL 67df1d229136d39be239a990b3328431fb12e3b637e3c59716ad612fe3fa357e7258d252814b2f32cf30bed4005820161919524d8808017228811970e13ec0b2
+DIST ccsm-0.8.4.tar.bz2 475864 SHA256 46b9da032cf29e71aec0823799861d926937ad41f4edea3be718ac6a8532c16d SHA512 1991f25ca4f04363006bacd5267cb54c7e24817b263996c7172f58180ca0acf94050220938d4fa87081c93fde23ca0b44a333f9b675950e4c5187903a03692c5 WHIRLPOOL a6730161d07a8c5158700566df31653a7adcf117e791a5b4076b67b68a4ce4c7ff3f88a5710c1fce29d38eccbbade095710f5a73277c54809e5431b3c52c1fe0
+EBUILD ccsm-0.8.4-r5.ebuild 1256 SHA256 6e0379ad8ddd5beb9eb1c472cdda1882bc54e6da3ec25ae476d99d6ef0008c90 SHA512 087587ccf3c85cdba8e82874a06f5f8d477f54cef6dae0fa358bc98b074317490e6743699ed09cbcb4f693268928fa8bb9687320fe5d8ac2331c093e189034a7 WHIRLPOOL 9a576c1dd34ffc66c2892ae207d28ff543e80401475776613c95e5647e2d277a5a35c4a189bdd1a6dbe81acbeb20d2020ce91445425aca4e444fe41b220c654d
+MISC ChangeLog 498 SHA256 f51c8e81b1bf1fa853d678e52be2ecc91e28f3045ce89f7d80e5268ed838a25b SHA512 0c76f8a68264c67eb3a0229c04ae4614a5843a2a166b58c527596d729185469462a8e0a7631d34a6b29be085b98b5c2b1edc079b846fd56104ca88ea611b9739 WHIRLPOOL 50a0cbb241d0f8c7ac2e827793a45a4d78b1f276799747c1ca1501af702569d83bb3b70bb381b10eed75c6d74b37efdb4bd12475e31aabe77c25239452ad6d23
+MISC metadata.xml 244 SHA256 da51ffae263ff6a7521062474f942bdcce669afd9b3edbfaab08d8518897eee0 SHA512 cd993582cf1cfbf6bcff4c936bd1a8ad4633a2df771378d45eb18d835c39d2efa7d3fab77ac48ad00078c2c072ed1b13c39537193eb147f543f6c88aebeaf56d WHIRLPOOL 32818406e4bd250a2428fe1342d8097de2ff51865158af323ef87411d260cf1c7ec574011979dfc8c4db9a0598262d6dd801318a018b16c71670d9e54758dd21
diff --git a/x11-misc/ccsm/ccsm-0.8.4-r5.ebuild b/x11-misc/ccsm/ccsm-0.8.4-r5.ebuild
new file mode 100644
index 000000000000..235de9f1687f
--- /dev/null
+++ b/x11-misc/ccsm/ccsm-0.8.4-r5.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+PYTHON_COMPAT=( python2_7 )
+DISTUTILS_IN_SOURCE_BUILD=1
+inherit distutils-r1
+
+DESCRIPTION="Compizconfig Settings Manager"
+HOMEPAGE="http://www.compiz.org/"
+SRC_URI="http://releases.compiz.org/${PV}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+
+RDEPEND="
+ >=dev-python/compizconfig-python-${PV}[${PYTHON_USEDEP}]
+ >=dev-python/pygtk-2.12:2[${PYTHON_USEDEP}]
+ gnome-base/librsvg
+"
+
+# missing icons and text fix, bug #487106
+PATCHES=( "${FILESDIR}/${P}-pygobject-glib-fix.patch" )
+
+DOCS=( AUTHORS )
+
+python_prepare_all() {
+ # return error if wrong arguments passed to setup.py
+ sed -i -e 's/raise SystemExit/\0(1)/' setup.py || die 'sed on setup.py failed'
+ # fix desktop file
+ sed -i \
+ -e '/Categories/s/Compiz/X-\0/' \
+ -e '/Encoding/d' \
+ ccsm.desktop.in || die 'sed on ccsm.desktop.in failed'
+
+ # correct gettext behavior
+ if [[ -n "${LINGUAS+x}" ]] ; then
+ for i in $(cd po ; echo *po | sed 's/\.po//g') ; do
+ if ! has ${i} ${LINGUAS} ; then
+ rm po/${i}.po || die
+ fi
+ done
+ fi
+
+ distutils-r1_python_prepare_all
+}
+
+python_configure_all() {
+ #set prefix
+ mydistutilsargs=( build --prefix=/usr )
+}
diff --git a/x11-misc/ccsm/files/ccsm-0.8.4-pygobject-glib-fix.patch b/x11-misc/ccsm/files/ccsm-0.8.4-pygobject-glib-fix.patch
new file mode 100644
index 000000000000..9b325af7f341
--- /dev/null
+++ b/x11-misc/ccsm/files/ccsm-0.8.4-pygobject-glib-fix.patch
@@ -0,0 +1,16 @@
+Fix missing icon and text with new PyGObject
+Gentoo bugreport - https://bugs.gentoo.org/show_bug.cgi?id=487106
+Patch by Small_Penguin <dark.shadow AT gmx.at>
+
+diff -Naur ccsm-0.8.4~/ccm/Utils.py ccsm-0.8.4/ccm/Utils.py
+--- ccsm-0.8.4~/ccm/Utils.py 2009-10-14 03:05:30.000000000 +0200
++++ ccsm-0.8.4/ccm/Utils.py 2013-10-05 10:16:10.050030522 +0200
+@@ -184,7 +184,7 @@
+ if has_focus:
+ self.unset_flags (gtk.HAS_FOCUS)
+
+- ret = super (PrettyButton, self).do_expose_event (self, event)
++ ret = gtk.Button.do_expose_event (self, event)
+
+ if has_focus:
+ self.set_flags (gtk.HAS_FOCUS)
diff --git a/x11-misc/ccsm/metadata.xml b/x11-misc/ccsm/metadata.xml
new file mode 100644
index 000000000000..3f57497447fb
--- /dev/null
+++ b/x11-misc/ccsm/metadata.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <longdescription lang="en">Compizconfig Settings Manager.</longdescription>
+</pkgmetadata>
diff --git a/x11-misc/cdm/Manifest b/x11-misc/cdm/Manifest
new file mode 100644
index 000000000000..46b7e57bf1a7
--- /dev/null
+++ b/x11-misc/cdm/Manifest
@@ -0,0 +1,5 @@
+DIST cdm-0.6.1_pre20130419.tar.gz 16056 SHA256 3fabec053271c39bbca44074fd05eda0ccf8c1e320664bb6d8f23fa79aca2bca SHA512 638d92c536609b8bf1d08f4be80933e5ff23acfe412ee6b72ff924edbe1e510110b7941caea9b206136ee5a75dddd998275e89c132feba0ed3df26ab1657bf8b WHIRLPOOL 5606bc125080c74b5b49aebc26283817e03ef84bff5e671fa7df9f3f8041c3975db34a2a00ad37578419319244dc66935908df9bdd8b19f6d4b9351e5ff11f50
+EBUILD cdm-0.6.1_pre20130419.ebuild 1867 SHA256 79d485929673511e22ada3ae5ceadd9bb10a10a02d1910e4cbdf6ad59c9d7ce4 SHA512 e8ca7ae97e632a8d8190a5019b373d9bd30c70cc888632071ce05bed16297d5166ea068dac0f97368b44f0c7ce844d065cbc1a361729664f3a42e8353ea01133 WHIRLPOOL 386c031994b774764b2785a47c7f6e97331b796b5a87b983e5c0e10beb9482be2721acaf57620d22be7f0badf3e4618af9f94701fbda754f6a2457188f12daf3
+MISC ChangeLog 2720 SHA256 be84dc54bdd708f4175f9b6760f5ba531e97b1eea90f515f4caa474f27cf4891 SHA512 6c55affae89c53d0ff797e55cb959bd1399a070e6a3784c07d40177ce49a3b735cb7a37d371d7e5559c776e940e8b1046ff90418db35e658930a3dae653f4f90 WHIRLPOOL 07289387a6c2916bdf204e73c42918f24498eb94c2501b06d1eacb2538d6ff62e8d746d08e9ffb69a13d957133ceb10508c6320b5b490eedaab1d5067bf08c3a
+MISC ChangeLog-2015 836 SHA256 4b7d4b21d369bdd2bf461c856a0cf77e271c4d1c54e74a40dafca303d93b1dd1 SHA512 8f44645fc63e89c88e2018e6ce92054f5c4b6c3f2aa37ff4632ce94c0cb2bdb0ad8cd05efff3aee661e8b363635d9c244e5359863a4263ff891e41c20abab2f6 WHIRLPOOL 444784499f68bce803dfbd601df2264d35a67b789bbfe58b2274e362c3950489e1fece8f2906334fedac7cfc6d220a5c6e5da544b017151527f18ad9d787dc98
+MISC metadata.xml 717 SHA256 8c339d4433824f002406f37e61e4c0448635b5dbac63b110810fa0add10075cb SHA512 cfabe6705c7af59ba703ca849a7cddd649cad9c0dbd939c4fb5e2fcc2cd5383f5771f0d259b1259516037c9d8c41bd2b59a86d70109494d7e4a131ce232b5929 WHIRLPOOL f6b9fd22fb774023fbfebd31bf2899dd72b3b4c40d338fce8194817e515bffc6cc24056404d93516899ce7a1b0b6ac0f450303ab9c22fdfceabbb762c48207d7
diff --git a/x11-misc/cdm/cdm-0.6.1_pre20130419.ebuild b/x11-misc/cdm/cdm-0.6.1_pre20130419.ebuild
new file mode 100644
index 000000000000..2544ebcfa1a4
--- /dev/null
+++ b/x11-misc/cdm/cdm-0.6.1_pre20130419.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="4"
+
+inherit pam eutils
+
+DESCRIPTION="The Console Display Manager"
+HOMEPAGE="https://wiki.archlinux.org/index.php/CDM"
+SRC_URI="https://dev.gentoo.org/~gienah/snapshots/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="pam consolekit"
+REQUIRED_USE="consolekit? ( pam )"
+
+DEPEND="app-shells/bash"
+
+RDEPEND="${DEPEND}
+ dev-util/dialog
+ x11-apps/xdpyinfo
+ x11-apps/xinit
+ consolekit? ( sys-auth/consolekit
+ sys-apps/dbus )
+ pam? ( virtual/pam )"
+
+src_prepare() {
+ if ! use consolekit; then
+ sed -e 's@consolekit=yes@consolekit=no@' \
+ -i "${S}/src/cdmrc" || die "Could not turn off consolekit in cdmrc"
+ fi
+}
+
+src_install() {
+ if use pam ; then
+ pamd_mimic system-local-login cdm auth account session
+ fi
+
+ insinto /usr/bin/
+ insopts -m0755
+ dobin src/${PN} src/${PN}-xlaunch
+
+ insinto /etc
+ insopts -Dm644
+ doins src/cdmrc
+
+ insinto /etc/profile.d/
+ insopts -Dm755
+ newins src/profile.sh zzz-${PN}.sh
+
+ # Install themes
+ insinto /usr/share/${PN}/themes
+ doins themes/*
+ # Copy documentation manually
+ dodoc ChangeLog-0.6 ChangeLog-before-0.6 README.md
+}
+
+pkg_postinst() {
+ ewarn "In order to use CDM you must first edit your /etc/cdmrc"
+ ewarn "At least the binlist, namelist and flaglist entries should be added or edited"
+ ewarn "to specify the X window managers and console shells that you want before"
+ ewarn "you start CDM. Something like:"
+ ewarn "binlist=('xmonad' 'startkde' '/bin/zsh --login' '/bin/bash --login')"
+ ewarn "namelist=('XMonad' 'KDE' 'Console Zsh' 'Console Bash')"
+ ewarn "flaglist=(X X C C)"
+ ewarn "Ensure the flaglist X entries correspond to the X-Windows programs, and the"
+ ewarn "C entries correspond to console shells. Then just login with your username."
+ ewarn "Remove xdm from default runlevel."
+}
diff --git a/x11-misc/cdm/metadata.xml b/x11-misc/cdm/metadata.xml
new file mode 100644
index 000000000000..76e6b001343e
--- /dev/null
+++ b/x11-misc/cdm/metadata.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person">
+ <email>gienah@gentoo.org</email>
+ <name>Mark Wright</name>
+</maintainer>
+<longdescription lang="en">
+CDM is a minimalistic, yet full-featured replacement for
+login-managers like slim, kdm, gdm and qingy that provides a fast,
+dialog-based login system without the overhead of the X Window System
+or the instability of qingy. Written in pure bash, CDM has no other
+dependencies, yet supports multiple users/sessions and can start
+virtually any DE/WM.
+</longdescription>
+<use>
+ <flag name="consolekit">Enable native consolekit support</flag>
+</use>
+</pkgmetadata>
diff --git a/x11-misc/chgres/Manifest b/x11-misc/chgres/Manifest
new file mode 100644
index 000000000000..48506290835c
--- /dev/null
+++ b/x11-misc/chgres/Manifest
@@ -0,0 +1,7 @@
+AUX chgres-0.1-flags.patch 611 SHA256 1e6364a7799e087e88166d825ac87cda6f1d2f607122072b3abd5f1537c1ebcc SHA512 7b0ac6dfd7f1b4ab2a40183b68362b52ee8ef94c852fbc5dc34e84048345b564247d188460ec3bd742b7e007cb4ff0add9c49ec084ca0557e219e8cf80773a40 WHIRLPOOL 0e79cc0932b1954524ce5ec53327ac451884a94b5d2a413a495c20f644808d1e81590930919206df78d4389e71704aa7008d9d3766e7c31e31a6bf32ea09a5e5
+AUX chgres-0.1-includes.patch 387 SHA256 a2eb7c73abab81fd24b9463e02fadf22fc8bdcc8afdcb820ab28f0b816c54a13 SHA512 71eea147b53c035fecf5b33f2f7f00065d52e2c07d6b5ccd6cc424cef4f41a3e0e0cd7c71cf5e5106bbcf4efb2810b31c47cac6ab91826a92c03b1075a953709 WHIRLPOOL 36ee3c89cb972bd60632d2d293b8fe6d8f3fe62e0cb99b4c8a72c605cef7ea936e287ec894990f2b18fb790eb77829abb5752b1e61b1f9975ad448882c5f885c
+DIST chgres-0.1.tar.gz 9219 SHA256 37f76425c92c5cf8d2448c87886474348d1a05ead1ac085aa885c2533c5efb26 SHA512 f7dc698d7606a7a24e8b63b4addfe7e83549d358a49d282d7ee4c1c160f1b79be87f0ed40d830c047b31b41409818dd9fe5b8e0ff165fed226de210aa3701c96 WHIRLPOOL 18119bdfe6a73a07cc18f166fbf83a402e90db107f1464173fbc4ca703476623944d63ecdf25ff41cb5df74dde435fc224d5401428a977e5d4f08f52ce2b5c26
+EBUILD chgres-0.1-r2.ebuild 681 SHA256 ccb8946f423d54758bc53094a500911f4c135d66d71934399dd3b5ec51579bf5 SHA512 0aa3776068c330c09edb305d8c1d4f22f44989d77175136baafda149fccbf348a57594a176ca2d793c04cca099f2e1f31dba130051800e8120e402fdbb46e5d5 WHIRLPOOL d67a28df2e22b8d906449a4020d342fada536c4c81d809fd5b847a5dd3fa9cfa6109e89c4c5d3c7a3496eb4ef6dbf4d036710bc341744f99e36e3b5f2443cae9
+MISC ChangeLog 2493 SHA256 3829406e4cadaf13541adae868b1ee9deb7bc08dde4ab15eee74ecd7fabec6f8 SHA512 51ed7d4d7cef8d40a527ed6192004fc044eea0fc5a4beb2c2f0b6db215c98b0cce5724347032acae43884e535b453add228dba4053ec80ce2bab236408ee91e5 WHIRLPOOL 118f75b4a8e98f2255f2d615b945f9777e0f118a0c564f17a8e3e0962afe4d8f9c177d8488fb95030b1d575ca17544613191063d4b0cc25831f1aaec43233d39
+MISC ChangeLog-2015 2347 SHA256 78bdb4ff80746bf9dc237c01da1edf013d43a122c65189e811fef5ae012fc24b SHA512 d88686212ecaaa54acdee40b2112a1b7462dd1e206ad14e19cd2bdca161ed236b84759635ead6daf386acbb4890dcf92863ef34aa07f68154bbf0bff445c674f WHIRLPOOL 5529636b875fb91f7b04343d721f2abe6512c1553b707a76bc74a73a26e5ede77e2ff47f9cf55beda817184c9b40982f1a202a52df9e9db0628c2a2c56a62f8e
+MISC metadata.xml 563 SHA256 3260e8d8207311337b47e0ccf8d2b309ff10cd9dac42d0c6b04a0c2895939e4b SHA512 c17e646616de465dad0aa571a2d11508e501a69e7cd897e68f695b7abfaed8c1a74f67ceb649090e717aaa22016ee4969d0c68a30afae46e9bdc448dfac6406e WHIRLPOOL fb6ea0b6c75f15616f98eea30f25b98c521be1791cc2a2d927ae5aa842610a6122cf17dadf774694bf50dc2f9d479c824f8831b92bcac851e2be39980b2e798d
diff --git a/x11-misc/chgres/chgres-0.1-r2.ebuild b/x11-misc/chgres/chgres-0.1-r2.ebuild
new file mode 100644
index 000000000000..c88e4dd3ba1e
--- /dev/null
+++ b/x11-misc/chgres/chgres-0.1-r2.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit toolchain-funcs
+
+DESCRIPTION="A very simple command line utility for changing X resolutions"
+HOMEPAGE="http://hpwww.ec-lyon.fr/~vincent/"
+SRC_URI="http://hpwww.ec-lyon.fr/~vincent/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~ppc x86"
+IUSE=""
+
+RDEPEND="x11-libs/libX11
+ x11-libs/libXxf86dga
+ x11-libs/libXext
+ x11-libs/libXxf86vm"
+DEPEND="${RDEPEND}
+ x11-proto/xf86vidmodeproto
+ x11-proto/xf86dgaproto"
+
+PATCHES=( "${FILESDIR}"/${P}-{flags,includes}.patch )
+
+src_prepare() {
+ default
+ tc-export CC
+}
+
+src_install() {
+ dobin chgres
+ einstalldocs
+}
diff --git a/x11-misc/chgres/files/chgres-0.1-flags.patch b/x11-misc/chgres/files/chgres-0.1-flags.patch
new file mode 100644
index 000000000000..4045175dde09
--- /dev/null
+++ b/x11-misc/chgres/files/chgres-0.1-flags.patch
@@ -0,0 +1,21 @@
+--- a/Makefile 2001-04-18 23:07:56.000000000 +0200
++++ b/Makefile 2010-09-17 03:08:55.000000000 +0200
+@@ -1,9 +1,9 @@
+-CFLAGS=
+-LDFLAGS= -L/usr/X11R6/lib -lXext -lX11 -lXxf86vm -lXxf86dga
++LIBS= $(shell pkg-config --libs xext x11 xxf86vm xxf86dga)
++INCLUDES= $(shell pkg-config --cflags xext x11 xxf86vm xxf86dga)
+ prefix=/usr
+
+ chgres: chgres.o
+- $(CC) -o $@ $< $(LDFLAGS)
++ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LIBS)
+
+ install: chgres
+ install -D -m 0555 chgres $(prefix)/bin/
+@@ -12,4 +12,4 @@
+ rm -f core chgres.o chgres
+
+ .c.o:
+- $(CC) $(CFLAGS) -c $< -o $@
++ $(CC) $(CFLAGS) $(INCLUDES) -c $< -o $@
diff --git a/x11-misc/chgres/files/chgres-0.1-includes.patch b/x11-misc/chgres/files/chgres-0.1-includes.patch
new file mode 100644
index 000000000000..c972ab96fc8f
--- /dev/null
+++ b/x11-misc/chgres/files/chgres-0.1-includes.patch
@@ -0,0 +1,15 @@
+--- a/chgres.c 2001-04-18 22:40:05.000000000 +0200
++++ b/chgres.c 2010-09-17 03:20:37.000000000 +0200
+@@ -17,9 +17,11 @@
+ */
+
+ #include <X11/Xlib.h>
+-#include <X11/extensions/xf86dga.h>
++#include <X11/extensions/Xxf86dga.h>
+ #include <X11/extensions/xf86vmode.h>
+ #include <stdio.h>
++#include <stdlib.h> /* exit() */
++#include <strings.h> /* strcasecmp() */
+
+ #define VERSION "0.1"
+
diff --git a/x11-misc/chgres/metadata.xml b/x11-misc/chgres/metadata.xml
new file mode 100644
index 000000000000..886d6c898ab5
--- /dev/null
+++ b/x11-misc/chgres/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+ <longdescription>chgres is a small tool which uses the XFree86-VidModeExtension X11 extension to query and set the resolution of your XFree86 display, without restarting it. It has a simple command-line user interface which makes it suitable for use in shell scripts.</longdescription>
+</pkgmetadata>
diff --git a/x11-misc/colord/Manifest b/x11-misc/colord/Manifest
new file mode 100644
index 000000000000..e0a61156d44a
--- /dev/null
+++ b/x11-misc/colord/Manifest
@@ -0,0 +1,9 @@
+DIST colord-1.2.12.tar.xz 1214992 SHA256 d5241864c16a37f9e40d38d5009255456495a67f170ce0dc9250774442d68c3a SHA512 5ce8f4fd10b92ec0cb54a05017ab050753381663a43e40d959606bb5f71ddce5456a3d67f8ce0538a2c945136834c66615f3615fdfb3e1eaaf5f5ca7a9e9c4eb WHIRLPOOL 5b04acfc8de34758252f0215371f75b9ccab8f80194a9624d6b4c3651929266032f3e9e1e05b48fb82572891e93d6082739c022b2624978b0f8ece7e323e1b48
+DIST colord-1.3.3.tar.xz 1240104 SHA256 d1848e797106a036b0d6ebed99a789a6ae07d60f1d9cc59be5b257efe7ec31a4 SHA512 12ebeec00e5a5fd43fbcd97cb2cd725f300843b3c12559fbf0d41f50fc4a80e89c1b5814502c60d92b09a3fb5b0ada9c76a723f89640262a511448085199fb8d WHIRLPOOL 18385812f9fc1f0dcf54c447ba82bf67eececbeda1f1aa15b1fe6792bc1ff1fd8787f9af31530119765518cd20633c4b2574b4d37eb44638ad02a3944b8390d1
+DIST colord-1.3.4.tar.xz 1259256 SHA256 7e79ba022148900da7c72033f8232eefeab8373da25768f4b32f5aeba53b2238 SHA512 5556cc12cc72bceefd075274a1734b884e88b1a0777f7efde15118cf5d1597aa12c44680bc814dd230f39f39c9ea2dd309bc79170b19ca782488b90cda631937 WHIRLPOOL 3a74fb4a04d959efbda0d180747a90d4dcf10d2e4492d561d70e2c9316868c2c5d899b8e9fe9aab93476e4a58b4f6ab0269d7286061ec67f5ea9efb9240b4626
+EBUILD colord-1.2.12.ebuild 4463 SHA256 9129d909c35608bfa96e7ad585507e495284db848e596a8e1beef9aa3d6ad0f9 SHA512 7171fc8e01655f343159f48049615a9136d0cde8321c1082a1e39b8f863fd5a44b5b5b1294aec34442a4b31f3a07da63e416fc81e67075252b9cc3a809470909 WHIRLPOOL 6c9ec5bdfd89cbdad04bc556be1a048a111bebd55cc85ef7582163ef70f6c104b9aaa97691db5087f2f87d131ff81d65a0d6f5268408d49d56d32a5f85285bad
+EBUILD colord-1.3.3.ebuild 4347 SHA256 4373b8c89bcd0ee6b3488b36d051472bed7bee70e61d732463f7961be172718a SHA512 bb09786290204f89d229b8d9a920a4e04df0ccbee3c0c3bab1c42dd36a089800c8f5350d23e08c52dfad78d682be934a4d2b627687a56c1eaa3227210f15499c WHIRLPOOL 332a185110b662220a4b907ed7ef4fd3ae8a040f3eecf96b717a8e666836cf85e2a60afba38f267084a97cb836f4ea3ab6c53df7eac5ccadd45373443f1d2e49
+EBUILD colord-1.3.4.ebuild 4354 SHA256 0824522ed21d3856764bbb17c92ccf8f32cc376e82afaba50c4aeadd57ae803a SHA512 c3f7d55cf967c6dcd5fc909919477b900694afc5c0cfbfd527a90cd2b924941fd25c150e4279bfec7f5d850e9e35479950dcee77360efd4fef04c8eddaf8df3a WHIRLPOOL 30e74a2d780966abe120539a20068e32c902bbaa34387ed80ff7e84d496c5df25e42ad36262a3209c481292103fd61481ce30641c0bd9becd73c5ed7e6649875
+MISC ChangeLog 5827 SHA256 c6c97e1f064a46e0df024ca0989f5d71dfb33b78920aaf73bef03d92189af549 SHA512 fe8a717f36452b8f84b1e70f99a62491a2d74a5a7cd3de510c555b56c89f2de0f14779b3fe43c289de26f03dabd287f90f7d1cc4e87c7cb7d06bb2e987a9ae90 WHIRLPOOL a8fc51e1f0325251ad80e78ed257670775d85e93f10361c191b38727b990c47d90138408ba3e4511b0450a20ae249ece1b1b479876f68896b41ae6146d59cc3a
+MISC ChangeLog-2015 16525 SHA256 ab19e89b806b179811403ce3ee95b85147386bc3ceca5903819bb7f7115f873a SHA512 89d8cb886e6231bca007afa98ce79662561062a1cb66187e3e65fbff56a77c194e3cbd8f574154304d11ade6e04ef806934f3cae649b9b07c309efed88de9ac9 WHIRLPOOL a3a07cccc8a9176a37aaf1f1bf4b36d0c0222f3072fb883681129c25a874faa9c2094f2afac49f6d193a6b2f8b5f73a167a5c4ea24d1a0414b28e68fc87f1013
+MISC metadata.xml 563 SHA256 7f4efa6c35c1d3e94fb05af519a3aab939edf91b1081e0c64f789a8dfe55a38a SHA512 e358961e8d31c2e9582d93875bdabe119e574b62d674e5b16028cccfa2e0604d39384fc2c5683aa343b9cf6d543f8fc35d2eef35662de43ea97fd0f50536df3a WHIRLPOOL 81e6a4e9ddbde706028b724ff5ea600d3a5def729601beb876c77e47b47c67b1167fefd9cda8973bc1ab56074581a3ad3e5b352de3578ed81c0dba52bdc5ce54
diff --git a/x11-misc/colord/colord-1.2.12.ebuild b/x11-misc/colord/colord-1.2.12.ebuild
new file mode 100644
index 000000000000..9001e282150a
--- /dev/null
+++ b/x11-misc/colord/colord-1.2.12.ebuild
@@ -0,0 +1,170 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+GCONF_DEBUG="no"
+GNOME2_LA_PUNT="yes"
+VALA_USE_DEPEND="vapigen"
+
+inherit autotools bash-completion-r1 check-reqs eutils gnome2 user systemd udev vala multilib-minimal
+
+DESCRIPTION="System service to accurately color manage input and output devices"
+HOMEPAGE="https://www.freedesktop.org/software/colord/"
+SRC_URI="https://www.freedesktop.org/software/colord/releases/${P}.tar.xz"
+
+LICENSE="GPL-2+"
+SLOT="0/2" # subslot = libcolord soname version
+KEYWORDS="alpha amd64 ~arm hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc x86 ~x86-fbsd"
+
+# We prefer policykit enabled by default, bug #448058
+IUSE="argyllcms examples extra-print-profiles +gusb +introspection +policykit scanner systemd +udev vala"
+REQUIRED_USE="
+ gusb? ( udev )
+ scanner? ( udev )
+ vala? ( introspection )
+"
+
+COMMON_DEPEND="
+ dev-db/sqlite:3=
+ >=dev-libs/glib-2.36:2[${MULTILIB_USEDEP}]
+ >=media-libs/lcms-2.6:2=[${MULTILIB_USEDEP}]
+ argyllcms? ( media-gfx/argyllcms )
+ gusb? ( >=dev-libs/libgusb-0.2.2[introspection?,${MULTILIB_USEDEP}] )
+ introspection? ( >=dev-libs/gobject-introspection-0.9.8:= )
+ policykit? ( >=sys-auth/polkit-0.103 )
+ scanner? (
+ media-gfx/sane-backends
+ sys-apps/dbus )
+ systemd? ( >=sys-apps/systemd-44:0= )
+ udev? (
+ virtual/udev
+ virtual/libgudev:=
+ virtual/libudev:=[${MULTILIB_USEDEP}]
+ )
+"
+RDEPEND="${COMMON_DEPEND}
+ !media-gfx/shared-color-profiles
+ !<=media-gfx/colorhug-client-0.1.13
+"
+DEPEND="${COMMON_DEPEND}
+ dev-libs/libxslt
+ >=dev-util/gtk-doc-am-1.9
+ >=dev-util/intltool-0.35
+ >=sys-devel/gettext-0.17
+ virtual/pkgconfig[${MULTILIB_USEDEP}]
+ extra-print-profiles? ( media-gfx/argyllcms )
+ vala? ( $(vala_depend) )
+"
+
+# FIXME: needs pre-installed dbus service files
+RESTRICT="test"
+
+# According to upstream comment in colord.spec.in, building the extra print
+# profiles requires >=4G of memory
+CHECKREQS_MEMORY="4G"
+
+pkg_pretend() {
+ use extra-print-profiles && check-reqs_pkg_pretend
+}
+
+pkg_setup() {
+ use extra-print-profiles && check-reqs_pkg_setup
+ enewgroup colord
+ enewuser colord -1 -1 /var/lib/colord colord
+}
+
+src_prepare() {
+ # Adapt to Gentoo paths
+ sed -i -e 's/spotread/argyll-spotread/' \
+ src/sensors/cd-sensor-argyll.c \
+ configure.ac || die
+
+ eautoreconf
+ use vala && vala_src_prepare
+ gnome2_src_prepare
+}
+
+multilib_src_configure() {
+ # Reverse tools require gusb
+ # bash-completion test does not work on gentoo
+ local myconf=(
+ --disable-bash-completion
+ --disable-examples
+ --disable-static
+ --enable-libcolordcompat
+ --with-daemon-user=colord
+ --localstatedir="${EPREFIX}"/var
+ $(multilib_native_use_enable argyllcms argyllcms-sensor)
+ $(multilib_native_use_enable extra-print-profiles print-profiles)
+ $(multilib_native_usex extra-print-profiles COLPROF="$(type -P argyll-colprof)" "")
+ $(use_enable gusb)
+ $(multilib_native_use_enable gusb reverse)
+ $(multilib_native_use_enable introspection)
+ $(multilib_native_use_enable policykit polkit)
+ $(multilib_native_use_enable scanner sane)
+ $(multilib_native_use_enable systemd systemd-login)
+ $(use_enable udev)
+ --with-udevrulesdir="$(get_udevdir)"/rules.d
+ $(multilib_native_use_enable vala)
+ "$(systemd_with_unitdir)"
+ )
+
+ if ! multilib_is_native_abi; then
+ # disable some extraneous checks
+ myconf+=(
+ SQLITE_{CFLAGS,LIBS}=' '
+ GUDEV_{CFLAGS,LIBS}=' '
+ )
+ fi
+
+ ECONF_SOURCE=${S} \
+ gnome2_src_configure "${myconf[@]}"
+}
+
+multilib_src_compile() {
+ if multilib_is_native_abi; then
+ gnome2_src_compile
+ else
+ emake -C lib/colord
+ use gusb && emake -C lib/colorhug
+ emake -C lib/compat
+ fi
+}
+
+multilib_src_test() {
+ if multilib_is_native_abi; then
+ default
+ else
+ emake -C lib/colord check
+ use gusb && emake -C lib/colorhug check
+ emake -C lib/compat check
+ fi
+}
+
+multilib_src_install() {
+ if multilib_is_native_abi; then
+ gnome2_src_install
+ else
+ gnome2_src_install -C lib/colord
+ use gusb && gnome2_src_install -C lib/colorhug
+ gnome2_src_install -C lib/compat
+ gnome2_src_install -C contrib/session-helper install-libcolord_includeHEADERS
+ fi
+}
+
+multilib_src_install_all() {
+ DOCS="AUTHORS ChangeLog MAINTAINERS NEWS README.md TODO"
+ einstalldocs
+
+ newbashcomp data/colormgr colormgr
+
+ # Ensure config and profile directories exist and /var/lib/colord/*
+ # is writable by colord user
+ keepdir /var/lib/color{,d}/icc
+ fowners colord:colord /var/lib/colord{,/icc}
+
+ if use examples; then
+ docinto examples
+ dodoc examples/*.c
+ fi
+}
diff --git a/x11-misc/colord/colord-1.3.3.ebuild b/x11-misc/colord/colord-1.3.3.ebuild
new file mode 100644
index 000000000000..aab58ce6894c
--- /dev/null
+++ b/x11-misc/colord/colord-1.3.3.ebuild
@@ -0,0 +1,161 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+GNOME2_LA_PUNT="yes"
+VALA_USE_DEPEND="vapigen"
+
+inherit autotools bash-completion-r1 check-reqs gnome2 user systemd udev vala multilib-minimal
+
+DESCRIPTION="System service to accurately color manage input and output devices"
+HOMEPAGE="https://www.freedesktop.org/software/colord/"
+SRC_URI="https://www.freedesktop.org/software/colord/releases/${P}.tar.xz"
+
+LICENSE="GPL-2+"
+SLOT="0/2" # subslot = libcolord soname version
+KEYWORDS="alpha amd64 ~arm hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc x86 ~x86-fbsd"
+
+# We prefer policykit enabled by default, bug #448058
+IUSE="argyllcms examples extra-print-profiles +gusb +introspection +policykit scanner systemd +udev vala"
+REQUIRED_USE="
+ gusb? ( udev )
+ scanner? ( udev )
+ vala? ( introspection )
+"
+
+COMMON_DEPEND="
+ dev-db/sqlite:3=[${MULTILIB_USEDEP}]
+ >=dev-libs/glib-2.44.0:2[${MULTILIB_USEDEP}]
+ >=media-libs/lcms-2.6:2=[${MULTILIB_USEDEP}]
+ argyllcms? ( media-gfx/argyllcms )
+ gusb? ( >=dev-libs/libgusb-0.2.7[introspection?,${MULTILIB_USEDEP}] )
+ introspection? ( >=dev-libs/gobject-introspection-0.9.8:= )
+ policykit? ( >=sys-auth/polkit-0.104 )
+ scanner? (
+ media-gfx/sane-backends
+ sys-apps/dbus )
+ systemd? ( >=sys-apps/systemd-44:0= )
+ udev? (
+ virtual/udev
+ virtual/libgudev:=[${MULTILIB_USEDEP}]
+ virtual/libudev:=[${MULTILIB_USEDEP}]
+ )
+"
+RDEPEND="${COMMON_DEPEND}
+ !media-gfx/shared-color-profiles
+ !<=media-gfx/colorhug-client-0.1.13
+"
+DEPEND="${COMMON_DEPEND}
+ dev-libs/libxslt
+ >=dev-util/gtk-doc-am-1.9
+ >=dev-util/intltool-0.35
+ >=sys-devel/gettext-0.17
+ virtual/pkgconfig[${MULTILIB_USEDEP}]
+ extra-print-profiles? ( media-gfx/argyllcms )
+ vala? ( $(vala_depend) )
+"
+
+# FIXME: needs pre-installed dbus service files
+RESTRICT="test"
+
+# According to upstream comment in colord.spec.in, building the extra print
+# profiles requires >=4G of memory
+CHECKREQS_MEMORY="4G"
+
+pkg_pretend() {
+ use extra-print-profiles && check-reqs_pkg_pretend
+}
+
+pkg_setup() {
+ use extra-print-profiles && check-reqs_pkg_setup
+ enewgroup colord
+ enewuser colord -1 -1 /var/lib/colord colord
+}
+
+src_prepare() {
+ # Adapt to Gentoo paths
+ sed -i -e 's/spotread/argyll-spotread/' \
+ src/sensors/cd-sensor-argyll.c \
+ configure.ac || die
+
+ eautoreconf
+ use vala && vala_src_prepare
+ gnome2_src_prepare
+ multilib_copy_sources
+}
+
+multilib_src_configure() {
+ # Reverse tools require gusb
+ # bash-completion test does not work on gentoo
+ local myconf=(
+ --disable-bash-completion
+ --disable-examples
+ --disable-static
+ --enable-libcolordcompat
+ --with-daemon-user=colord
+ --localstatedir="${EPREFIX}"/var
+ $(multilib_native_use_enable argyllcms argyllcms-sensor)
+ $(multilib_native_use_enable extra-print-profiles print-profiles)
+ $(multilib_native_usex extra-print-profiles COLPROF="$(type -P argyll-colprof)" "")
+ $(use_enable gusb)
+ $(multilib_native_use_enable gusb reverse)
+ $(multilib_native_use_enable introspection)
+ $(multilib_native_use_enable policykit polkit)
+ $(multilib_native_use_enable scanner sane)
+ $(multilib_native_use_enable systemd systemd-login)
+ $(use_enable udev)
+ --with-udevrulesdir="$(get_udevdir)"/rules.d
+ $(multilib_native_use_enable vala)
+ --with-systemdsystemunitdir="$(systemd_get_systemunitdir)"
+ )
+
+ ECONF_SOURCE=${S} \
+ gnome2_src_configure "${myconf[@]}"
+}
+
+multilib_src_compile() {
+ if multilib_is_native_abi; then
+ gnome2_src_compile
+ else
+ emake -C lib/colord
+ use gusb && emake -C lib/colorhug
+ emake -C lib/compat
+ fi
+}
+
+multilib_src_test() {
+ if multilib_is_native_abi; then
+ default
+ else
+ emake -C lib/colord check
+ use gusb && emake -C lib/colorhug check
+ emake -C lib/compat check
+ fi
+}
+
+multilib_src_install() {
+ if multilib_is_native_abi; then
+ gnome2_src_install
+ else
+ gnome2_src_install -j1 -C lib/colord
+ use gusb && gnome2_src_install -j1 -C lib/colorhug
+ gnome2_src_install -j1 -C lib/compat
+ gnome2_src_install -j1 -C contrib/session-helper install-libcolord_includeHEADERS
+ fi
+}
+
+multilib_src_install_all() {
+ einstalldocs
+
+ newbashcomp data/colormgr colormgr
+
+ # Ensure config and profile directories exist and /var/lib/colord/*
+ # is writable by colord user
+ keepdir /var/lib/color{,d}/icc
+ fowners colord:colord /var/lib/colord{,/icc}
+
+ if use examples; then
+ docinto examples
+ dodoc examples/*.c
+ fi
+}
diff --git a/x11-misc/colord/colord-1.3.4.ebuild b/x11-misc/colord/colord-1.3.4.ebuild
new file mode 100644
index 000000000000..2e8a33e95475
--- /dev/null
+++ b/x11-misc/colord/colord-1.3.4.ebuild
@@ -0,0 +1,161 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+GNOME2_LA_PUNT="yes"
+VALA_USE_DEPEND="vapigen"
+
+inherit autotools bash-completion-r1 check-reqs gnome2 user systemd udev vala multilib-minimal
+
+DESCRIPTION="System service to accurately color manage input and output devices"
+HOMEPAGE="https://www.freedesktop.org/software/colord/"
+SRC_URI="https://www.freedesktop.org/software/colord/releases/${P}.tar.xz"
+
+LICENSE="GPL-2+"
+SLOT="0/2" # subslot = libcolord soname version
+KEYWORDS="alpha amd64 ~arm ~arm64 hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc x86 ~x86-fbsd"
+
+# We prefer policykit enabled by default, bug #448058
+IUSE="argyllcms examples extra-print-profiles +gusb +introspection +policykit scanner systemd +udev vala"
+REQUIRED_USE="
+ gusb? ( udev )
+ scanner? ( udev )
+ vala? ( introspection )
+"
+
+COMMON_DEPEND="
+ dev-db/sqlite:3=[${MULTILIB_USEDEP}]
+ >=dev-libs/glib-2.44.0:2[${MULTILIB_USEDEP}]
+ >=media-libs/lcms-2.6:2=[${MULTILIB_USEDEP}]
+ argyllcms? ( media-gfx/argyllcms )
+ gusb? ( >=dev-libs/libgusb-0.2.7[introspection?,${MULTILIB_USEDEP}] )
+ introspection? ( >=dev-libs/gobject-introspection-0.9.8:= )
+ policykit? ( >=sys-auth/polkit-0.104 )
+ scanner? (
+ media-gfx/sane-backends
+ sys-apps/dbus )
+ systemd? ( >=sys-apps/systemd-44:0= )
+ udev? (
+ virtual/udev
+ virtual/libgudev:=[${MULTILIB_USEDEP}]
+ virtual/libudev:=[${MULTILIB_USEDEP}]
+ )
+"
+RDEPEND="${COMMON_DEPEND}
+ !media-gfx/shared-color-profiles
+ !<=media-gfx/colorhug-client-0.1.13
+"
+DEPEND="${COMMON_DEPEND}
+ dev-libs/libxslt
+ >=dev-util/gtk-doc-am-1.9
+ >=dev-util/intltool-0.35
+ >=sys-devel/gettext-0.17
+ virtual/pkgconfig[${MULTILIB_USEDEP}]
+ extra-print-profiles? ( media-gfx/argyllcms )
+ vala? ( $(vala_depend) )
+"
+
+# FIXME: needs pre-installed dbus service files
+RESTRICT="test"
+
+# According to upstream comment in colord.spec.in, building the extra print
+# profiles requires >=4G of memory
+CHECKREQS_MEMORY="4G"
+
+pkg_pretend() {
+ use extra-print-profiles && check-reqs_pkg_pretend
+}
+
+pkg_setup() {
+ use extra-print-profiles && check-reqs_pkg_setup
+ enewgroup colord
+ enewuser colord -1 -1 /var/lib/colord colord
+}
+
+src_prepare() {
+ # Adapt to Gentoo paths
+ sed -i -e 's/spotread/argyll-spotread/' \
+ src/sensors/cd-sensor-argyll.c \
+ configure.ac || die
+
+ eautoreconf
+ use vala && vala_src_prepare
+ gnome2_src_prepare
+ multilib_copy_sources
+}
+
+multilib_src_configure() {
+ # Reverse tools require gusb
+ # bash-completion test does not work on gentoo
+ local myconf=(
+ --disable-bash-completion
+ --disable-examples
+ --disable-static
+ --enable-libcolordcompat
+ --with-daemon-user=colord
+ --localstatedir="${EPREFIX}"/var
+ $(multilib_native_use_enable argyllcms argyllcms-sensor)
+ $(multilib_native_use_enable extra-print-profiles print-profiles)
+ $(multilib_native_usex extra-print-profiles COLPROF="$(type -P argyll-colprof)" "")
+ $(use_enable gusb)
+ $(multilib_native_use_enable gusb reverse)
+ $(multilib_native_use_enable introspection)
+ $(multilib_native_use_enable policykit polkit)
+ $(multilib_native_use_enable scanner sane)
+ $(multilib_native_use_enable systemd systemd-login)
+ $(use_enable udev)
+ --with-udevrulesdir="$(get_udevdir)"/rules.d
+ $(multilib_native_use_enable vala)
+ --with-systemdsystemunitdir="$(systemd_get_systemunitdir)"
+ )
+
+ ECONF_SOURCE=${S} \
+ gnome2_src_configure "${myconf[@]}"
+}
+
+multilib_src_compile() {
+ if multilib_is_native_abi; then
+ gnome2_src_compile
+ else
+ emake -C lib/colord
+ use gusb && emake -C lib/colorhug
+ emake -C lib/compat
+ fi
+}
+
+multilib_src_test() {
+ if multilib_is_native_abi; then
+ default
+ else
+ emake -C lib/colord check
+ use gusb && emake -C lib/colorhug check
+ emake -C lib/compat check
+ fi
+}
+
+multilib_src_install() {
+ if multilib_is_native_abi; then
+ gnome2_src_install
+ else
+ gnome2_src_install -j1 -C lib/colord
+ use gusb && gnome2_src_install -j1 -C lib/colorhug
+ gnome2_src_install -j1 -C lib/compat
+ gnome2_src_install -j1 -C contrib/session-helper install-libcolord_includeHEADERS
+ fi
+}
+
+multilib_src_install_all() {
+ einstalldocs
+
+ newbashcomp data/colormgr colormgr
+
+ # Ensure config and profile directories exist and /var/lib/colord/*
+ # is writable by colord user
+ keepdir /var/lib/color{,d}/icc
+ fowners colord:colord /var/lib/colord{,/icc}
+
+ if use examples; then
+ docinto examples
+ dodoc examples/*.c
+ fi
+}
diff --git a/x11-misc/colord/metadata.xml b/x11-misc/colord/metadata.xml
new file mode 100644
index 000000000000..2ca10f47e351
--- /dev/null
+++ b/x11-misc/colord/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>gnome@gentoo.org</email>
+ <name>Gentoo GNOME Desktop</name>
+ </maintainer>
+ <use>
+ <flag name="argyllcms">Enable ArgyllCMS sensor</flag>
+ <flag name="extra-print-profiles">Generate extra print profiles.
+ Warning: significant build time and memory requirements.</flag>
+ <flag name="gusb">Enable <pkg>dev-libs/libgusb</pkg> support, needed for
+ colorimeter drivers</flag>
+ </use>
+</pkgmetadata>
diff --git a/x11-misc/compton/Manifest b/x11-misc/compton/Manifest
new file mode 100644
index 000000000000..b920aa16634c
--- /dev/null
+++ b/x11-misc/compton/Manifest
@@ -0,0 +1,6 @@
+DIST compton-0.1_beta2.tar.gz 144239 SHA256 7b9cd52a57326116fb5db3f5f89b7d50e17715252d9fd79b70b45ace30a6b009 SHA512 c3a019d90e32559d44e3a4969bcc15a15837db9c9519ce8cc70b1bd3d0cb16d29449f68cc2f6a8d834569c9620ec6533ab85c1586da957c69b1ae341d9584535 WHIRLPOOL 39ca9718bc79d4542d73cce39bb51fc9b9c0497a30914ab044b920f72a3c2f8cbd315c5dc97c999c1f0ca798ae692ada4626f069914b6835f0c225638b486422
+EBUILD compton-0.1_beta2.ebuild 1609 SHA256 f02a6cbd29843b4f8b5e8090341f52a11ace72924b31760504cb3f780ec9b200 SHA512 1bfc3b719f79cf3a8aeef0082c0fd464c0bc64a93a5b0cd494f4d34b4786252e6ff5376506c07dd4bfbf19b200b8a31a975d320266c9b4c73d6d78d5deb45c18 WHIRLPOOL 35f4a35c270c1a612d4387ea588b0cdb87b59bb7d633d29c797981f0b22408acd78523aadc1945b79b66dd6686780040c508ded70a9656fe76c1bed47ff5f397
+EBUILD compton-9999.ebuild 1530 SHA256 96942937cc6b305c21d662aa4afea538954e53bc44162059d0e4a8f88aa04d84 SHA512 48108c0b88de3f6a4d310e359af0a46443721d65bae46d3f88ca466d2fec29d8ebe65495c028f43320c8d251b2458af6e6581fb3bf93f02e13b290f693783f51 WHIRLPOOL 8bf3e1e7feaa73b76b936b0321841368fcf4a66055b829ee370982d265cc73b13f016796435f337b170cc16c3756a568fc713040047cdf1a810e87e5fc3c957e
+MISC ChangeLog 3171 SHA256 51041c62426725f7c049f748d63ca6dd98fa6cb56dbe4ad43ddcaf8c20404c4d SHA512 81e2159494a30d102ea039a2d9a10d1a490810cc5aaace10a6f4660f90be41deda744d5338f177ef11c9d677e7137a66de9f6430f817ca9a262c2b4d5d7a9c5f WHIRLPOOL 2afb2d8ba5bdfb318707ee9a0ec7fdbbd205c426bb51d5762c1f8d87383330afe99e3eb1e3955ee64f5cfccc3bac87ecf5211ca39e1d87528e4a493e5a2d0505
+MISC ChangeLog-2015 3291 SHA256 0fc119dd61feb070dd45ecc8f0bba86760c2c4d6157ac5a73f09fe6704381e83 SHA512 b9416c2fd23b34590a0fe25aaa7d012b5b2e531d94338930f3a840cb5ef00226ccc54fd6a719e2039f69a2f412eb0fa2881f387b643b7c2849159bad681f2da7 WHIRLPOOL 988eb0212fc28c8d42cbb8de8a5d7357f2638fa12e22adad26899a1ddfbd90293d88b6aa73d6550c27c81b4159cb1568f2f57d3aec9a1d6daa971c3114b1d578
+MISC metadata.xml 417 SHA256 9a91b5f6a413bbceff941308fc43ff5d812efe259d39c7338af58a3910309f26 SHA512 3220e8f0f2d71f507df50bdd8a7837042ba8ad98ae9c06b3834ba72be6e346d3af614016e657313a55b7c93351a36669c4bb5b35edadb0284a71076192ea53c2 WHIRLPOOL 9d73928cb31794fbe4208c371e07d257d2488a2ea9d365540a411951027e30431419dd80487ecb221842c098c2265c4501dea148e847b0e681a2de80f4aa0cb7
diff --git a/x11-misc/compton/compton-0.1_beta2.ebuild b/x11-misc/compton/compton-0.1_beta2.ebuild
new file mode 100644
index 000000000000..a880a690e6bc
--- /dev/null
+++ b/x11-misc/compton/compton-0.1_beta2.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python3_{4,5} )
+inherit toolchain-funcs python-r1
+
+DESCRIPTION="A compositor for X, and a fork of xcompmgr-dana"
+HOMEPAGE="https://github.com/chjj/compton"
+SRC_URI="https://github.com/chjj/compton/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="dbus +drm opengl +pcre xinerama"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+COMMON_DEPEND="${PYTHON_DEPS}
+ dev-libs/libconfig
+ x11-libs/libX11
+ x11-libs/libXcomposite
+ x11-libs/libXdamage
+ x11-libs/libXext
+ x11-libs/libXfixes
+ x11-libs/libXrandr
+ x11-libs/libXrender
+ dbus? ( sys-apps/dbus )
+ opengl? ( virtual/opengl )
+ pcre? ( dev-libs/libpcre:3 )
+ xinerama? ( x11-libs/libXinerama )"
+RDEPEND="${COMMON_DEPEND}
+ x11-apps/xprop
+ x11-apps/xwininfo"
+DEPEND="${COMMON_DEPEND}
+ app-text/asciidoc
+ virtual/pkgconfig
+ x11-proto/xproto
+ drm? ( x11-libs/libdrm )"
+
+nobuildit() { use $1 || echo yes ; }
+
+pkg_setup() {
+ if [[ ${MERGE_TYPE} != binary ]]; then
+ tc-export CC
+ fi
+}
+
+src_compile() {
+ emake docs
+
+ NO_DBUS=$(nobuildit dbus) \
+ NO_XINERAMA=$(nobuildit xinerama) \
+ NO_VSYNC_DRM=$(nobuildit drm) \
+ NO_VSYNC_OPENGL=$(nobuildit opengl) \
+ NO_REGEX_PCRE=$(nobuildit pcre) \
+ emake compton
+}
+
+src_install() {
+ NO_DBUS=$(nobuildit dbus) \
+ NO_VSYNC_DRM=$(nobuildit drm) \
+ NO_VSYNC_OPENGL=$(nobuildit opengl) \
+ NO_REGEX_PCRE=$(nobuildit pcre) \
+ default
+ docinto examples
+ dodoc compton.sample.conf dbus-examples/*
+ python_foreach_impl python_newscript bin/compton-convgen.py compton-convgen
+}
diff --git a/x11-misc/compton/compton-9999.ebuild b/x11-misc/compton/compton-9999.ebuild
new file mode 100644
index 000000000000..13e6bb5241e8
--- /dev/null
+++ b/x11-misc/compton/compton-9999.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python3_{4,5} )
+inherit toolchain-funcs python-r1 git-r3
+
+DESCRIPTION="A compositor for X, and a fork of xcompmgr-dana"
+HOMEPAGE="https://github.com/chjj/compton"
+SRC_URI=""
+
+EGIT_REPO_URI="https://github.com/chjj/compton.git"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS=""
+IUSE="dbus +drm opengl +pcre xinerama"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+COMMON_DEPEND="${PYTHON_DEPS}
+ dev-libs/libconfig
+ x11-libs/libX11
+ x11-libs/libXcomposite
+ x11-libs/libXdamage
+ x11-libs/libXext
+ x11-libs/libXfixes
+ x11-libs/libXrandr
+ x11-libs/libXrender
+ dbus? ( sys-apps/dbus )
+ opengl? ( virtual/opengl )
+ pcre? ( dev-libs/libpcre:3 )
+ xinerama? ( x11-libs/libXinerama )"
+RDEPEND="${COMMON_DEPEND}
+ x11-apps/xprop
+ x11-apps/xwininfo"
+DEPEND="${COMMON_DEPEND}
+ app-text/asciidoc
+ virtual/pkgconfig
+ x11-proto/xproto
+ drm? ( x11-libs/libdrm )"
+
+nobuildit() { use $1 || echo yes ; }
+
+src_compile() {
+ tc-export CC
+ emake docs
+
+ NO_DBUS=$(nobuildit dbus) \
+ NO_XINERAMA=$(nobuildit xinerama) \
+ NO_VSYNC_DRM=$(nobuildit drm) \
+ NO_VSYNC_OPENGL=$(nobuildit opengl) \
+ NO_REGEX_PCRE=$(nobuildit pcre) \
+ emake compton
+}
+
+src_install() {
+ NO_DBUS=$(nobuildit dbus) \
+ NO_VSYNC_DRM=$(nobuildit drm) \
+ NO_VSYNC_OPENGL=$(nobuildit opengl) \
+ NO_REGEX_PCRE=$(nobuildit pcre) \
+ default
+ docinto examples
+ dodoc compton.sample.conf dbus-examples/*
+ python_foreach_impl python_newscript bin/compton-convgen.py compton-convgen
+}
diff --git a/x11-misc/compton/metadata.xml b/x11-misc/compton/metadata.xml
new file mode 100644
index 000000000000..4260d05bc29e
--- /dev/null
+++ b/x11-misc/compton/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <use>
+ <flag name="drm">Enable VSync with DRM_IOCTL_WAIT_VBLANK</flag>
+ <flag name="opengl">Enable VSync with SGI_swap_control OpenGL extension</flag>
+ </use>
+ <upstream>
+ <remote-id type="github">chjj/compton</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/dclock/Manifest b/x11-misc/dclock/Manifest
new file mode 100644
index 000000000000..9b4168b64f40
--- /dev/null
+++ b/x11-misc/dclock/Manifest
@@ -0,0 +1,7 @@
+AUX dclock-2.2.2_p4-include.patch 208 SHA256 df2fefe37eb78805675124966a31a36f53d2c5221614165e763b209bdc1a1fc5 SHA512 13ba3f68b18396a6c85f3354a42ea1aab204cb8b3753261117eb17b1bbc2f449cc44c6d70ebfee708863986c294e9c7134348e23c14a14cf4074705ec0bfc39b WHIRLPOOL 29a9d48a1fa75c1f370a5bc9db9a73cf069396f543c31af37bbe60818922ae24ec67bc28642152de8158fffb2ea077fc5d5ee25b9acf745d478c26d569010436
+DIST dclock_2.2.2-9.debian.tar.xz 15260 SHA256 2d26b3b452a22698d52fd7e8858002c64c0d2560ef44b41a89574e4c911f1506 SHA512 025d1d228930adb6e2b13226188b6c3d37aef59786f23826f301c7b22dabba5cfc24f76347fe2f199c239daea968cd043293bd60524110235855cb77c9e4d1f0 WHIRLPOOL ea505e0998c9665129524a5d5f67969b08ebc32c455d0e851d3330062e3d9c800dbfc8c7ca53fa58d0c9e690310cf403d781b06c738d124e430d2a488582ceab
+DIST dclock_2.2.2.orig.tar.gz 63583 SHA256 d14ebc107b4b837ac3ee79ea639c32d7cec658df653687e665979640cd339c3c SHA512 c43ba031fd0d9ba2bc7e8fe9becc73591bfc47cd4ca931df03fa55207cfb148e24e5d702a7de5af8b67e188c561eae2fb7da14162f6a982d0abbb3251c32372c WHIRLPOOL 5f0dc1acd97c22b42aee274d963f6ddc687d648ab43861a8b862567a37adce036e8e662d5b5dc4aac7e26625d4de019fab85d5005c2a89f27580b8ca494277b5
+EBUILD dclock-2.2.2_p9.ebuild 1308 SHA256 c9ee4459ffa37ca3c4fe4f5e345a0b3dbaba628f1d0a9b425cb21d2e990027a2 SHA512 cfc3a68312f6273ddcbe1d61dd8c5d890674b68b2f9ba6c1ef0bcfa1cab8cbf789252e8d9a2c120079710c7c5903b45c2842c6a45a0f48e97ab6d61906e4ddfe WHIRLPOOL 1f59ac1d3f5674b7ebcac835de6b804ec53eb47c0a30482cf65c77ed2e65857e66237fcb06512f0966f8c72da8a2158a5338825397d3b41a9f6723894b73810b
+MISC ChangeLog 2532 SHA256 fb6588cf4fee460808cf1191bf8b34b6302f001da08d5a5317aa03bd83af8651 SHA512 e4e1e9ad40219ac85036ff17a26f3347e7c4bff66c9345bced519f0562a8e3e2202510dd1b8ba23b1e35c0aeed3f077553a29182976dc0fb6e6ea698c9fecc52 WHIRLPOOL a71c501f4e9236f6d9f69b5190af5292b1cfd20b3f18d25e1814fc823a0978921e00e3841d8b15ad75d9ff37ba22c1f3d9c67b7a8b56f3756f6fa2cd482efb40
+MISC ChangeLog-2015 2694 SHA256 9d45004d25e0bda62374846421a6e47906c11e80267ab0442ad2821e92da088e SHA512 35588b46f624f7c7ba9b10ed6076537ef4c02c378f990a6978e498c334169a1379b8bd98f45e445ae93bb4c6798d115de09d80ce7608bf3ab19e0cb9c23359ad WHIRLPOOL 0d124925b9f8631e2f9103ee19e64f149aa772f8d869700dc9d8ebf666e4c8b456829c116d2f9dddaa4e6976c322ab2ad473af110c106d143449e3b0012d5973
+MISC metadata.xml 318 SHA256 218a00bda7df7396b1c9db4fea27cc69073dd039cb1db1e55d34cfd004209500 SHA512 7d56445a5c7fffdc1104633cdd30eafa17588079b8a1f4cb226984b1aad4e41fe84320608681143dc01c5f1ac5f104cf0717e8183164031644220f9c61086a3b WHIRLPOOL 15d65bcdc3289c77c194a26721b45e700d54a771e5a63d29a52d431b1ac8922ee7ddd7ca11b10dbbb72ba3fd70daa5fba7dba875de04362ab9c489e70d9fb895
diff --git a/x11-misc/dclock/dclock-2.2.2_p9.ebuild b/x11-misc/dclock/dclock-2.2.2_p9.ebuild
new file mode 100644
index 000000000000..748340c6f6ef
--- /dev/null
+++ b/x11-misc/dclock/dclock-2.2.2_p9.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit flag-o-matic toolchain-funcs
+
+DESCRIPTION="Digital clock for the X window system"
+HOMEPAGE="https://packages.qa.debian.org/d/dclock.html"
+SRC_URI="
+ mirror://debian/pool/main/d/${PN}/${PN}_${PV/_p*/}.orig.tar.gz
+ mirror://debian/pool/main/d/${PN}/${PN}_${PV/_p/-}.debian.tar.xz
+"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE="xft"
+
+RDEPEND="
+ xft? (
+ media-libs/freetype
+ x11-libs/libXft
+ )
+ x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXt
+"
+DEPEND="
+ ${RDEPEND}
+ app-text/rman
+ x11-misc/imake
+ xft? ( virtual/pkgconfig )
+"
+
+S=${WORKDIR}/${P/_p*/}
+
+PATCHES=(
+ "${WORKDIR}"/debian/patches
+ "${FILESDIR}"/${PN}-2.2.2_p4-include.patch
+)
+
+src_configure() {
+ if use xft; then
+ append-cppflags \
+ -DXFT_SUPPORT \
+ $( $(tc-getPKG_CONFIG) --cflags freetype2)
+ else
+ append-cppflags -UXFT_SUPPORT
+ sed -i -e '/EXTRA_LIBRARIES/s|^|#|g' Imakefile || die
+ fi
+
+ xmkmf || die
+}
+
+src_compile() {
+ emake \
+ CC="$(tc-getCC)" \
+ CFLAGS="${CFLAGS}" \
+ CPPFLAGS="${CPPFLAGS}" \
+ EXTRA_LDOPTIONS="${LDFLAGS}"
+}
+
+src_install() {
+ default
+ emake DESTDIR="${D}" install.man
+
+ insinto /usr/share/sounds
+ doins sounds/*
+
+ insinto /usr/share/X11/app-defaults
+ newins Dclock.ad DClock
+}
diff --git a/x11-misc/dclock/files/dclock-2.2.2_p4-include.patch b/x11-misc/dclock/files/dclock-2.2.2_p4-include.patch
new file mode 100644
index 000000000000..223cd9f55279
--- /dev/null
+++ b/x11-misc/dclock/files/dclock-2.2.2_p4-include.patch
@@ -0,0 +1,10 @@
+--- a/dclock.c
++++ b/dclock.c
+@@ -7,6 +7,7 @@
+ * manager: *Dclock.seconds: on
+ */
+ #include <stdio.h>
++#include <stdlib.h> /* exit() */
+ #include <locale.h>
+ #include <X11/Intrinsic.h>
+ #include "Dclock.h"
diff --git a/x11-misc/dclock/metadata.xml b/x11-misc/dclock/metadata.xml
new file mode 100644
index 000000000000..66187a0f4213
--- /dev/null
+++ b/x11-misc/dclock/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/x11-misc/devilspie/Manifest b/x11-misc/devilspie/Manifest
new file mode 100644
index 000000000000..71f7e55c8ff7
--- /dev/null
+++ b/x11-misc/devilspie/Manifest
@@ -0,0 +1,6 @@
+DIST devilspie-0.23.tar.xz 130984 SHA256 2dd9d4b7424ac999f20c214b0ff71e8c5836d97003d7a8a7391105cd16d36deb SHA512 6ea6c79d317b0f35d943ecafa010e8c6011870796d83ff0a24a4853ad0ebad93608173dd1c4b645254d53c5c182c667e6eba42a20f764f258c211ee2bcd19174 WHIRLPOOL d1687a6c9b446bef1dc0a365ab7090c2afe36401ea158712dcb4bd098ffe8fe1a1a2ce8e3dca63197cd0c90d886283a220577a489e00bd7ffb39f19133b72cff
+EBUILD devilspie-0.23-r1.ebuild 1028 SHA256 8426325c55f4e1338a0164d75ab8cbbe30bfa0f5059e894799d9a9121ff8f1d0 SHA512 69e3078752ee90f39ae4d220d002e9b5330ccae8b2feeb73e76ad7b19f5310483da989ed6e3e8f238782c8deb53fdd3d7398705572638b90e65a4a17dbc7a06c WHIRLPOOL 973d38afe7fefe747338a233692d5b85a4cf56c63f9353baca836c8905a0f43eb9766fca1d3b2b1ed1869e566c3bbdb9da377ef3cd27cfbf388fc83c2c8206c2
+EBUILD devilspie-0.23.ebuild 968 SHA256 7270a8c85afa74a8cf66f9f3772eeaa90c3072775174ab491e0425504bc9bd9d SHA512 08710e5deb4136cf8b8591c24d375d34657575f51d6b56208b6caf6ba51b8fb069c551ae32341589b7b817cb078587cdb2f2188bf3632df874914d0090b942ed WHIRLPOOL 706dc482db3487d363e57550fad9e68a77a505bb5b3d49756ed1eb20c2a3854cd45fe9085c53e17ef70016caa93fa296c794b2da14ee17b58f8c8aa9d7f5e2d2
+MISC ChangeLog 2431 SHA256 525c0f2b75a5ff46ba5713fafdff65add66d7e8426d9ff7a8cf13e77d6e943c9 SHA512 01c763ac21937651843ba38356d896946996ea21784b4cac859599672bedba0b9f0618b0821f8eb70133263f2d54c950831cda81612dcb03efd020784a2267af WHIRLPOOL 4ecaeaf1f53fcf2ab1dbecf603502ece0f0dbaa4a219a719b8b0c87e41e6b0f255666b75b7136993378deae2a4eb646ca07b05b80bd7e6f27324014450058872
+MISC ChangeLog-2015 6192 SHA256 e5a7294fe76643ff55b645af34baaf9f182c8b4cb30163c64c442a1540f2c8f7 SHA512 9fe4d9fe39b05b2fe3263dfc4e381e2121a0d5f7be303757d8bba90db6a573dfff96b62c2f84a073941df1f3840d2bafa33d114310e696cb6d57ea4e776a7b4e WHIRLPOOL de3e13a72d9deeb3c15cf777b5b264b48f18f898ea9813acbcfe2c9eed97a8c048cb6878f1e3666412a8b571cdd92c4221dfde29a3a25204c924e9b99f0bba1e
+MISC metadata.xml 276 SHA256 437f3dba7deca9da3b3f8ecda9bb5e97253de0412cbb3095d876f39140f3ea98 SHA512 3497963f4fb51bb32521472b54a995091cb457d2cda65c786bd4b46e5af325caf8f6d5c969cefa0c09fe717df09fb015ec59b52f5571c3b2b9d4ea33e6c843ab WHIRLPOOL 8550fd604cf609511bf7c34245ebd6682dd6d058d8cbfa099a77c94d1afcf592909eb679a28a0806957ac0949c6cff350675e0182303ec5890a5e2c2c26d29c5
diff --git a/x11-misc/devilspie/devilspie-0.23-r1.ebuild b/x11-misc/devilspie/devilspie-0.23-r1.ebuild
new file mode 100644
index 000000000000..5711466aa402
--- /dev/null
+++ b/x11-misc/devilspie/devilspie-0.23-r1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit autotools toolchain-funcs
+
+DESCRIPTION="A Window Matching utility similar to Sawfish's Matched Windows feature"
+HOMEPAGE="http://www.burtonini.com/blog/tag/devilspie.html"
+SRC_URI="http://www.burtonini.com/computing/${P}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux"
+IUSE=""
+
+RDEPEND="
+ >=dev-libs/glib-2.10
+ x11-libs/gtk+:3[X]
+ x11-libs/libwnck:3
+ x11-libs/libX11"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ dev-util/intltool
+ sys-devel/gettext
+ gnome-base/gnome-common" # Required by eautoreconf
+
+src_prepare() {
+ default
+ sed -i -e "s:\(/usr/share/doc/devilspie\):\1-${PVR}:" devilspie.1 || die
+ sed -i -e '/-DG.*_DISABLE_DEPRECATED/d' src/Makefile.am || die
+ mv configure.{in,ac} || die
+ eautoreconf
+ LIBS="$($(tc-getPKG_CONFIG) --libs x11)"
+}
+
+src_configure() {
+ econf --disable-compile-warnings
+}
+
+src_install() {
+ default
+ keepdir /etc/devilspie
+}
diff --git a/x11-misc/devilspie/devilspie-0.23.ebuild b/x11-misc/devilspie/devilspie-0.23.ebuild
new file mode 100644
index 000000000000..ef185b8f810e
--- /dev/null
+++ b/x11-misc/devilspie/devilspie-0.23.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit autotools toolchain-funcs
+
+DESCRIPTION="A Window Matching utility similar to Sawfish's Matched Windows feature"
+HOMEPAGE="http://www.burtonini.com/blog/tag/devilspie.html"
+SRC_URI="http://www.burtonini.com/computing/${P}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 ppc sparc x86 ~amd64-linux ~x86-linux"
+IUSE=""
+
+RDEPEND="
+ >=dev-libs/glib-2.10
+ x11-libs/gtk+:3[X]
+ x11-libs/libwnck:3
+ x11-libs/libX11"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ dev-util/intltool
+ sys-devel/gettext
+ gnome-base/gnome-common" # Required by eautoreconf
+
+src_prepare() {
+ default
+ sed -i -e "s:\(/usr/share/doc/devilspie\):\1-${PVR}:" devilspie.1 || die
+ sed -i -e '/-DG.*_DISABLE_DEPRECATED/d' src/Makefile.am || die
+ mv configure.{in,ac} || die
+ eautoreconf
+ LIBS="$($(tc-getPKG_CONFIG) --libs x11)"
+}
+
+src_install() {
+ default
+ keepdir /etc/devilspie
+}
diff --git a/x11-misc/devilspie/metadata.xml b/x11-misc/devilspie/metadata.xml
new file mode 100644
index 000000000000..2ba8e9e851e4
--- /dev/null
+++ b/x11-misc/devilspie/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/x11-misc/devilspie2/Manifest b/x11-misc/devilspie2/Manifest
new file mode 100644
index 000000000000..92378984378f
--- /dev/null
+++ b/x11-misc/devilspie2/Manifest
@@ -0,0 +1,5 @@
+DIST devilspie2_0.42-src.tar.gz 48663 SHA256 11f5bc310fba4df404c057461ffb3fadac8ef51d211008c665c48f587a5a3f85 SHA512 796b95ded542a76343ffcff25d7838ee3bc25f37d9a02d06785a71aeb7c0da3ef05279f9b88216124c5c9c64754fde59973445a954b0f446f5b4ebe6a25f3055 WHIRLPOOL bed081e9faca39bda83a3d0c191de9f809611462d7fb7e6982414e0526feb7b8c240123d31bad9cb385977a222833b8a16642ce70718545597dc9468da733064
+EBUILD devilspie2-0.42.ebuild 1126 SHA256 05598c5f4098c3a8f8119255483813825c439d7d89f7a72eb0b001bdbe90a61b SHA512 76fd0514fdefc6e3a0a882db1ece87c5ff3e5058c4419c6ba314297acfa662e993c4f44244c03a2e302bc22cfbde99ac73a22357d9e4821d2b778560be344f0e WHIRLPOOL 4c6ff7b1fae7bf24a93847279f0eae884ac213aadabfd7e2ee19a6dbc3f6f9c54c935607167d1883bd88ef343aa5479005214878aac89001bec39bb12893af38
+MISC ChangeLog 3415 SHA256 0c6d26141ccba4cd1bc75858cfe3fcb4b6929d973272c716304d7284c23d76e9 SHA512 e1ad19796cf03ec41007c8e6a816073ec0866f3a0c62d3227e055d6b8b123e95100767a17c37d135e9d760042b6388fe4a282c438bd504c243987e1ec283bfa3 WHIRLPOOL fa4fae72ffb458739ad6c8ab9dffdc82c9f6a4a1dfccdc377957a3346ae89b1ff5385604a1e0f2720444a7ebb97410a76d90d875d8c534a39bdc67d02c1b0ac2
+MISC ChangeLog-2015 2932 SHA256 3bf63176e06b4f7cd9bf602924a1efada4eaddce275f0b115ebe6f81368f2269 SHA512 b3f692f141cfe1995479d9f48648ef6fa098b3cc87a220727e6a34aa33d137d1dd9c83de70bf3fb488b1ea2c019c628190fbe733f38304b05c709d5962064676 WHIRLPOOL 93d49ccb8e85672b58bac87b7a987129735855c515c37c0b6b54d76f7c326669e596243ecbc77903fd028719e8d932238f9d6d576139df41c7ac6dd38d1eae6b
+MISC metadata.xml 276 SHA256 437f3dba7deca9da3b3f8ecda9bb5e97253de0412cbb3095d876f39140f3ea98 SHA512 3497963f4fb51bb32521472b54a995091cb457d2cda65c786bd4b46e5af325caf8f6d5c969cefa0c09fe717df09fb015ec59b52f5571c3b2b9d4ea33e6c843ab WHIRLPOOL 8550fd604cf609511bf7c34245ebd6682dd6d058d8cbfa099a77c94d1afcf592909eb679a28a0806957ac0949c6cff350675e0182303ec5890a5e2c2c26d29c5
diff --git a/x11-misc/devilspie2/devilspie2-0.42.ebuild b/x11-misc/devilspie2/devilspie2-0.42.ebuild
new file mode 100644
index 000000000000..ad543d5081a1
--- /dev/null
+++ b/x11-misc/devilspie2/devilspie2-0.42.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+# check locales on version bump!
+PLOCALES="fi fr it ja nl pt_BR ru sv"
+inherit flag-o-matic toolchain-funcs l10n
+
+DESCRIPTION="Devilspie like window matching utility, using LUA for scripting"
+HOMEPAGE="https://gusnan.se/devilspie2"
+SRC_URI="http://download.savannah.gnu.org/releases/devilspie2/devilspie2_${PV}-src.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="debug"
+
+RDEPEND="
+ >=dev-lang/lua-5.1.5:0
+ >=dev-libs/glib-2.32.4:2
+ >=x11-libs/gtk+-3.4.4:3
+ >=x11-libs/libwnck-3.4.4:3
+ x11-libs/libX11
+"
+DEPEND="
+ ${RDEPEND}
+ sys-devel/gettext
+ virtual/pkgconfig
+ x11-proto/xproto
+"
+
+src_prepare() {
+ default
+ use debug && append-cflags -D_DEBUG
+}
+
+src_compile() {
+ emake CC=$(tc-getCC) PREFIX="/usr" LANGUAGES="$(l10n_get_locales)"
+}
+
+src_install() {
+ emake PREFIX="/usr" DESTDIR="${D}" LANGUAGES="$(l10n_get_locales)" install
+
+ dodoc AUTHORS ChangeLog README README.translators TODO VERSION
+ doman devilspie2.1
+}
+
+pkg_postinst() {
+ elog "Default directory for scripts is ~/.config/devilspie2/"
+}
diff --git a/x11-misc/devilspie2/metadata.xml b/x11-misc/devilspie2/metadata.xml
new file mode 100644
index 000000000000..2ba8e9e851e4
--- /dev/null
+++ b/x11-misc/devilspie2/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/x11-misc/dex/Manifest b/x11-misc/dex/Manifest
new file mode 100644
index 000000000000..cf9f265c8cae
--- /dev/null
+++ b/x11-misc/dex/Manifest
@@ -0,0 +1,7 @@
+DIST dex-0.7.tar.gz 7679 SHA256 2b0c98832c4b894486807a9ac0417ca127425013e0f07da352621065cb36adc6 SHA512 ee1f8c6ef0b374aadf6ad0ee6482bb23f740f67888994839c381b71b3655d0cbd7d3d5c99abe5f3bce856cb767a1b4bffdbcdf6c70969226b44a59ee76943bce WHIRLPOOL 18606fe1f7f82010101c4998126505530bf7eb0e4fccfc5f9ce7d4c3d48375424d824af484d8927f2f245ee455994c91fc0772a7b47dc2e165cc38eed1917031
+DIST dex-0.8.0.tar.gz 8665 SHA256 cca8ade3dcc949d00f358410a9a5c2685b5dbe6501af630826a7049167503d23 SHA512 d87a7306b931736aa302dc883cbd9c635397eda2c119133a3ae8028869a4302ce3713b43cc85fdb2f804d1a74ab2499ef32a2680d5d6be039831006e617aa70a WHIRLPOOL f87ec67489dfa5ff34bcde332c80642c7ccb3e42ce3c9f983fc11d409d5fb7dec116ee692c302a60464043acdde8f6e2f2cd235694cc1f0475f8636668419d3e
+EBUILD dex-0.7.ebuild 653 SHA256 b600904822ae5c44144eecf12197756c64c622cb9d54b1c0e737f8170ebd42f0 SHA512 851ae08423d79e1caf147644f054887fd7c4d2582618aa8bacd78f6e38fa66217a063ef5c232d5fdbe32df5691a7b07f72dc577c61e6596d9c8ec02c7a50c55e WHIRLPOOL 85ba215086a2af93c6a1729963dd0e21637fca4a9b904d37006bdce69017766a7e6f113bc7fbcbac942c8eeae7077f7321b364e133fdb8826418136d34c0e6e5
+EBUILD dex-0.8.0.ebuild 762 SHA256 e1ad63bf83466c09e7921fd798e8a694276c8bc44241fc3193687e69e75e728a SHA512 9f0e9c8fa2877e2722066056766677fa9d40c49f5373a64feea8b237bbe669bb2c8fe6736e236c707a4ec6e1cf2a1af942258efc4776046cad4dc713aa25c6ca WHIRLPOOL 892de3d725b52c05241b4dad7d63220d7a898fd89d586381758454398429239833de6c52a3c38cde4e73b997ee23a55105d14f5350f934bb3293e13069f92897
+MISC ChangeLog 2340 SHA256 65da5306589265b43c6fd789ea0373b2154d1feb42ebee6ca85e1074cb5f3d01 SHA512 58978f5c6ac47f7761bbc73b14a1c2eb7d64c257fb650b7729dc49458bafeaa0201f149549348613413ed2359318e43c0e70ae83e2d73c239909e04708af3a23 WHIRLPOOL b9bb8f15eedf7a7f9bbe86918ee9bc3d2cefec3eef9dfd2abcc8298acd65deeb99e65cfe0e96408a5bbc003920f9434627fc32f1b3915fe40b7b0e5aeffc8b32
+MISC ChangeLog-2015 1133 SHA256 4e5cfe49f1ad37c4346213a348928bd73ef83de1dcd43b7f01bb4fc1c051a27a SHA512 7581052609ce3ac1a9e0d7acd12fd4ce74db7776b4375faa1cf876f964351e7abdf7b38b328e442d865191fbb0ca64ba7a8b806f9541ef48b090afbd435d65e6 WHIRLPOOL fd453a61c9bbf25369e3fb4d4d388df40ec497eff34588c6a450f56fbc2f78c81a29bce36ffce45b2f4057b7ebb9cb1bef9a0f9aebe28809f3b2bf794b868d1e
+MISC metadata.xml 320 SHA256 92894911d66a3a853df28127d766d87f9c730eb0b7576d3ecccb88f9670ef03f SHA512 18ef7b2115ecf22f12afbeb064823e3cf2faba91730748d53fc182e557d5f1efa371fca86266fa58ce88d5c249785e2b6b6c9b29f7d504ac3867cebc55860fb6 WHIRLPOOL 7152da50e55c6ef4aa7128109df57825e68ecf4df01a369090ebd837b8df9dad4b67e242f7aaaa3927867f1201877b7cbc0bfa3877542f33589dfcb10a6a4327
diff --git a/x11-misc/dex/dex-0.7.ebuild b/x11-misc/dex/dex-0.7.ebuild
new file mode 100644
index 000000000000..ac989255eaaa
--- /dev/null
+++ b/x11-misc/dex/dex-0.7.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python3_{4,5,6} )
+
+inherit eutils python-r1
+
+DESCRIPTION="DesktopEntry eXecution - tool to manage and launch autostart entries"
+HOMEPAGE="http://e-jc.de/"
+SRC_URI="https://github.com/jceb/dex/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="${PYTHON_DEPS}"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ epatch_user
+}
+
+src_install() {
+ dobin dex
+ python_replicate_script "${ED}/usr/bin/dex"
+ dodoc README
+ doman dex.1
+}
diff --git a/x11-misc/dex/dex-0.8.0.ebuild b/x11-misc/dex/dex-0.8.0.ebuild
new file mode 100644
index 000000000000..78866ad5a1d6
--- /dev/null
+++ b/x11-misc/dex/dex-0.8.0.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python3_{4,5,6} )
+
+inherit python-r1
+
+DESCRIPTION="DesktopEntry eXecution - tool to manage and launch autostart entries"
+HOMEPAGE="http://e-jc.de/"
+SRC_URI="https://github.com/jceb/dex/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+
+IUSE="doc"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="${PYTHON_DEPS}"
+DEPEND="${RDEPEND}
+ doc? ( dev-python/sphinx )"
+
+src_compile() {
+ # Makefile is for creating man page only
+ use doc && emake
+}
+
+src_install() {
+ dobin dex
+ python_replicate_script "${ED}/usr/bin/dex"
+ dodoc CHANGELOG.md README.rst
+ use doc && doman dex.1
+}
diff --git a/x11-misc/dex/metadata.xml b/x11-misc/dex/metadata.xml
new file mode 100644
index 000000000000..1d840ae4e792
--- /dev/null
+++ b/x11-misc/dex/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>pinkbyte@gentoo.org</email>
+ <name>Sergey Popov</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">jceb/dex</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/dmenu/Manifest b/x11-misc/dmenu/Manifest
new file mode 100644
index 000000000000..0ce5c3579fa0
--- /dev/null
+++ b/x11-misc/dmenu/Manifest
@@ -0,0 +1,11 @@
+AUX dmenu-4.6-gentoo.patch 1134 SHA256 14b88fe2672bcc2c05d1cd76a60b3a4440ed3611a19cbcfb7e58153611e30e27 SHA512 50e236783df1d27f3968c182a32689ddc33c45cce5c9dad91e8a2d1e1515b2e03113d0f2b9c67b0d239625198f35918b46bebeb6454ae7c2649c58b5943d4481 WHIRLPOOL d94db0f81ccfaf7861870a58d49e9e0bd5ee2ca1973d2bed15fd18a0695783c994ae322a8ee4d39ebcba2113247746d1d75a0e44450aea5a15f000e419e0b8c6
+AUX dmenu-4.7-gentoo.patch 1153 SHA256 379495d82beaec50ba53dd9022ce5490500247dca1caf358d17799a781717e57 SHA512 14e286b582895985403babc6084b096075f759e0e4a8acf231508cbf4fd5a70e95638f9f99aa35bef72e656b85642bb088f5b4052d703a2b852a787902b23e27 WHIRLPOOL 22571add8c309166a87a8eff3e4cac2cd4afe4a915197a4170814f4df88100ffa6cc5b3ad0e9d5132e2edd1a6c75b472300be3984feed7daaa4e93f5cd4a31c1
+AUX dmenu-9999-gentoo.patch 1039 SHA256 0498d9bb4a27c7fdf18db10ed0f3d49eafa7cf6b4933769aa59e6006902f5be9 SHA512 a470b8314be5c084b33060fd851def2dcd0fbea939be91b43076a1179cb34c464f978724d65f3c3ab999e7a7af0afdb130171c3cb1d942436350b869eb98262b WHIRLPOOL b93d4e31c361af5b39093df3cc5d671bd2c4cd684b2b1a0404f1e951de43c0929a4f4694b34ba86a7272bf432edce250999d3a6ca30ae3f19dc853c846945529
+DIST dmenu-4.6.tar.gz 15057 SHA256 4a7a24008a621c3cd656155ad91ab8136db8f0d3b9ec56dafeec518cabda96b3 SHA512 e54fd10c0b1274eb90173aea442f0bfc496f4dda861a36d94f939e1fd835594f9aa12f3d0f90043d64e519d919b9a5273ab65012230ac022f727ee6bb64862e3 WHIRLPOOL b4354552356ab5ab93b20c44a313f0d8e626c22c589cf4376f82f876dc742b961a07bad45d12b5fe749b03354dfa76acf36e4089a701754e341ec0383232fa5d
+DIST dmenu-4.7.tar.gz 15597 SHA256 a75635f8dc2cbc280deecb906ad9b7594c5c31620e4a01ba30dc83984881f7b9 SHA512 67a184f3ddb018e7b372e049052662955403e3367639b9c2284939d6f105ae74c995fe38f126d8ff75886831c8add8b50e338a1bfb0d8620b7fb1457cf88a00c WHIRLPOOL 6acb632c06374c92bce2a2951bebbcd81c9f5529c6a44859e86d92d8aace52c847a542bb2a0c34d69cb0a8e4cdb525bbe9d82885c0ae8f79004c90094d21069b
+EBUILD dmenu-4.6.ebuild 1304 SHA256 c7603b5833570749eb095a0e7566b81309051bcfdf3e114a34cda2203304dac1 SHA512 7f18e03b71c1624a8e12d3afaac86471d45fbd1112474d13c3e09f32d05f08aa70104e694e467b98f22ea7174396c682e2febefa78d4104a16dc063c421a5e3f WHIRLPOOL 3b597ba5a8ff62e93213e9b88f58a518bd676504ab02eeb7187d8328c0994cdee3243300ed0e319bc5f9c828d7965bdc9eeb57baa7a3fcb7da9fe2087b93e0a8
+EBUILD dmenu-4.7.ebuild 1302 SHA256 91b9ffed6ceb0875f956714558ab94eca9d5454776dda92ae7312166f4f80d3a SHA512 283f8a77e9465a4653ae535a238e0810af0a3e352971adfab43d25e678bb47071a9fff7a052fbb91efacd8f65630a1ccb4932e31cb98826f81a6a36be7d9ac8e WHIRLPOOL 757dc3f23d7dc2298762e947900d3e0e45273bc8e26c86caa764cc8d236e94e52ce5c4eb0b7ce570f6877f4308b1b88b084af1f1ae48ecc39175988b6b001928
+EBUILD dmenu-9999.ebuild 1324 SHA256 a8d79398476e6bd7508c8bfd371ece25250e904be32a4b03b16a04afe6a782af SHA512 2e2140d652568a9fb9a09e1c51ca8170e29b508d0980ba42e94fb1549c952483c34ef24dea524035692c875529802d189cef49ada040648c3d6f6d18beb6fa3f WHIRLPOOL c8985fa2e00635629752ca5c530da71f97918c5463188a8eb4a779d0412e944078b633e65d5f8845c53c4666164be27acd30b1a80c541528b0a9415c20847c07
+MISC ChangeLog 4831 SHA256 468ac7522e00c7ea68f5b7d6a7c4819afff27ae891026a7a5dcd0e6a4b3c3a31 SHA512 f7281c270889bb598c9e94294ee7a16ef2ef0292a12fbceef9be76b60e70897056ca757272faa7d301fc345120cb488d052cd84e29d13d29103293b028a0d553 WHIRLPOOL 2126db4dd07b6f80624f24975802bb99adc203509ab9c24f0f2d48706241f813c0e5f699b66f8c10036e6f71a3489109ad931f521cb6104e50013dc31a8f8068
+MISC ChangeLog-2015 12846 SHA256 589a246ea7e73bbe10b5351404966d6a0eab4d8d252efc7102ef0b8549fe36d8 SHA512 837f61b7a2c39aaced2178ae733738305f50d0fd4a3a5f09b056d2a2d0e8f9af0fceaf9f7387cf3bd3adaee85f8942fdbc59b6b31039c65b6c0341761a6c8a61 WHIRLPOOL 4df426814e80259c1b25e53581479f0cb73ae2d48f8a1f7c3fc00aaec83613c3ebd3fb3142597b62d4db5b4d1613860792bb8223c753a4c70e896c6206ec860d
+MISC metadata.xml 361 SHA256 c1f52ae4430599b171ae573b75e63d240afd6140e79456197f24264398fee204 SHA512 0be9c5e4fa1f72b02220088179c79f53e07928ee2890f78a24659e47961470d12ed7b8fe56b78ac4b493a2f42ebd491a8ebff405b013e7b7943de74892eed476 WHIRLPOOL f9e3d50557c4d5830633c331f5a037b769adf581e55486a79a877f3d98483c9aed0e4a5b2bc9a7a0d8d3df57feeb6dbd0fd628e16241baa37cd729397fc834de
diff --git a/x11-misc/dmenu/dmenu-4.6.ebuild b/x11-misc/dmenu/dmenu-4.6.ebuild
new file mode 100644
index 000000000000..dbf358fff497
--- /dev/null
+++ b/x11-misc/dmenu/dmenu-4.6.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit eutils toolchain-funcs
+
+DESCRIPTION="a generic, highly customizable, and efficient menu for the X Window System"
+HOMEPAGE="https://tools.suckless.org/dmenu/"
+SRC_URI="https://dl.suckless.org/tools/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="amd64 ~arm hppa ppc ppc64 x86 ~x86-fbsd"
+IUSE="xinerama"
+
+RDEPEND="
+ media-libs/fontconfig
+ x11-libs/libX11
+ x11-libs/libXft
+ xinerama? ( x11-libs/libXinerama )
+"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ xinerama? ( x11-proto/xineramaproto )
+ x11-proto/xproto
+"
+
+src_prepare() {
+ sed -i \
+ -e 's|^ @| |g' \
+ -e 's|${CC} -o|$(CC) $(CFLAGS) -o|g' \
+ -e '/^ echo/d' \
+ Makefile || die
+
+ epatch "${FILESDIR}"/${PN}-4.6-gentoo.patch
+
+ epatch_user
+}
+
+src_compile() {
+ emake CC=$(tc-getCC) \
+ "FREETYPEINC=$( $(tc-getPKG_CONFIG) --cflags x11 fontconfig xft 2>/dev/null )" \
+ "FREETYPELIBS=$( $(tc-getPKG_CONFIG) --libs x11 fontconfig xft 2>/dev/null )" \
+ "XINERAMAFLAGS=$(
+ usex xinerama "-DXINERAMA $(
+ $(tc-getPKG_CONFIG) --cflags xinerama 2>/dev/null
+ )" ''
+ )" \
+ "XINERAMALIBS=$(
+ usex xinerama "$( $(tc-getPKG_CONFIG) --libs xinerama 2>/dev/null)" ''
+ )"
+}
+
+src_install() {
+ emake DESTDIR="${D}" PREFIX="/usr" install
+}
diff --git a/x11-misc/dmenu/dmenu-4.7.ebuild b/x11-misc/dmenu/dmenu-4.7.ebuild
new file mode 100644
index 000000000000..47042fad0e71
--- /dev/null
+++ b/x11-misc/dmenu/dmenu-4.7.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit toolchain-funcs
+
+DESCRIPTION="a generic, highly customizable, and efficient menu for the X Window System"
+HOMEPAGE="https://tools.suckless.org/dmenu/"
+SRC_URI="https://dl.suckless.org/tools/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~x86-fbsd"
+IUSE="xinerama"
+
+RDEPEND="
+ media-libs/fontconfig
+ x11-libs/libX11
+ x11-libs/libXft
+ xinerama? ( x11-libs/libXinerama )
+"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ xinerama? ( x11-proto/xineramaproto )
+ x11-proto/xproto
+"
+PATCHES=(
+ "${FILESDIR}"/${PN}-4.7-gentoo.patch
+)
+
+src_prepare() {
+ default
+
+ sed -i \
+ -e 's|^ @| |g' \
+ -e 's|${CC} -o|$(CC) $(CFLAGS) -o|g' \
+ -e '/^ echo/d' \
+ Makefile || die
+}
+
+src_compile() {
+ emake CC=$(tc-getCC) \
+ "FREETYPEINC=$( $(tc-getPKG_CONFIG) --cflags x11 fontconfig xft 2>/dev/null )" \
+ "FREETYPELIBS=$( $(tc-getPKG_CONFIG) --libs x11 fontconfig xft 2>/dev/null )" \
+ "XINERAMAFLAGS=$(
+ usex xinerama "-DXINERAMA $(
+ $(tc-getPKG_CONFIG) --cflags xinerama 2>/dev/null
+ )" ''
+ )" \
+ "XINERAMALIBS=$(
+ usex xinerama "$( $(tc-getPKG_CONFIG) --libs xinerama 2>/dev/null)" ''
+ )"
+}
+
+src_install() {
+ emake DESTDIR="${D}" PREFIX="/usr" install
+}
diff --git a/x11-misc/dmenu/dmenu-9999.ebuild b/x11-misc/dmenu/dmenu-9999.ebuild
new file mode 100644
index 000000000000..ebd674d62328
--- /dev/null
+++ b/x11-misc/dmenu/dmenu-9999.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit git-r3 savedconfig toolchain-funcs
+
+DESCRIPTION="a generic, highly customizable, and efficient menu for the X Window System"
+HOMEPAGE="https://tools.suckless.org/dmenu/"
+EGIT_REPO_URI="https://git.suckless.org/dmenu"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS=""
+IUSE="xinerama"
+
+RDEPEND="
+ media-libs/fontconfig
+ x11-libs/libX11
+ x11-libs/libXft
+ xinerama? ( x11-libs/libXinerama )
+"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ xinerama? ( x11-proto/xineramaproto )
+ x11-proto/xproto
+"
+PATCHES=(
+ "${FILESDIR}"/${P}-gentoo.patch
+)
+
+src_prepare() {
+ default
+
+ sed -i \
+ -e 's|^ @| |g' \
+ -e 's|${CC} -o|$(CC) $(CFLAGS) -o|g' \
+ -e '/^ echo/d' \
+ Makefile || die
+
+ restore_config config.def.h
+}
+
+src_compile() {
+ emake CC=$(tc-getCC) \
+ "FREETYPEINC=$( $(tc-getPKG_CONFIG) --cflags x11 fontconfig xft 2>/dev/null )" \
+ "FREETYPELIBS=$( $(tc-getPKG_CONFIG) --libs x11 fontconfig xft 2>/dev/null )" \
+ "XINERAMAFLAGS=$(
+ usex xinerama "-DXINERAMA $(
+ $(tc-getPKG_CONFIG) --cflags xinerama 2>/dev/null
+ )" ''
+ )" \
+ "XINERAMALIBS=$(
+ usex xinerama "$( $(tc-getPKG_CONFIG) --libs xinerama 2>/dev/null)" ''
+ )"
+}
+
+src_install() {
+ emake DESTDIR="${D}" PREFIX="/usr" install
+
+ save_config config.def.h
+}
diff --git a/x11-misc/dmenu/files/dmenu-4.6-gentoo.patch b/x11-misc/dmenu/files/dmenu-4.6-gentoo.patch
new file mode 100644
index 000000000000..0d826e0d5a92
--- /dev/null
+++ b/x11-misc/dmenu/files/dmenu-4.6-gentoo.patch
@@ -0,0 +1,38 @@
+--- a/config.mk
++++ b/config.mk
+@@ -5,8 +5,8 @@
+ PREFIX = /usr/local
+ MANPREFIX = ${PREFIX}/share/man
+
+-X11INC = /usr/X11R6/include
+-X11LIB = /usr/X11R6/lib
++X11INC = -I/usr/X11R6/include
++X11LIB = -L/usr/X11R6/lib
+
+ # Xinerama, comment if you don't want it
+ XINERAMALIBS = -lXinerama
+@@ -14,18 +14,18 @@
+
+ # freetype
+ FREETYPELIBS = -lfontconfig -lXft
+-FREETYPEINC = /usr/include/freetype2
++FREETYPEINC = -I/usr/include/freetype2
+ # OpenBSD (uncomment)
+ FREETYPEINC = ${X11INC}/freetype2
+
+ # includes and libs
+-INCS = -I${X11INC} -I${FREETYPEINC}
+-LIBS = -L${X11LIB} -lX11 ${XINERAMALIBS} ${FREETYPELIBS}
++INCS = ${X11INC} ${FREETYPEINC}
++LIBS = ${X11LIB} -lX11 ${XINERAMALIBS} ${FREETYPELIBS}
+
+ # flags
+-CPPFLAGS = -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -D_POSIX_C_SOURCE=200809L -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS}
+-CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
+-LDFLAGS = -s ${LIBS}
++CPPFLAGS += -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -D_POSIX_C_SOURCE=200809L -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS}
++CFLAGS += -ansi -pedantic -Wall $(INCS) $(CPPFLAGS)
++LDFLAGS += ${LIBS}
+
+ # compiler and linker
+ CC = cc
diff --git a/x11-misc/dmenu/files/dmenu-4.7-gentoo.patch b/x11-misc/dmenu/files/dmenu-4.7-gentoo.patch
new file mode 100644
index 000000000000..77f594155881
--- /dev/null
+++ b/x11-misc/dmenu/files/dmenu-4.7-gentoo.patch
@@ -0,0 +1,38 @@
+--- a/config.mk
++++ b/config.mk
+@@ -5,8 +5,8 @@
+ PREFIX = /usr/local
+ MANPREFIX = ${PREFIX}/share/man
+
+-X11INC = /usr/X11R6/include
+-X11LIB = /usr/X11R6/lib
++X11INC = -I/usr/X11R6/include
++X11LIB = -L/usr/X11R6/lib
+
+ # Xinerama, comment if you don't want it
+ XINERAMALIBS = -lXinerama
+@@ -14,18 +14,18 @@
+
+ # freetype
+ FREETYPELIBS = -lfontconfig -lXft
+-FREETYPEINC = /usr/include/freetype2
++FREETYPEINC = -I/usr/include/freetype2
+ # OpenBSD (uncomment)
+ #FREETYPEINC = ${X11INC}/freetype2
+
+ # includes and libs
+-INCS = -I${X11INC} -I${FREETYPEINC}
+-LIBS = -L${X11LIB} -lX11 ${XINERAMALIBS} ${FREETYPELIBS}
++INCS = ${X11INC} ${FREETYPEINC}
++LIBS = ${X11LIB} -lX11 ${XINERAMALIBS} ${FREETYPELIBS}
+
+ # flags
+-CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -D_POSIX_C_SOURCE=200809L -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS}
+-CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
+-LDFLAGS = -s ${LIBS}
++CPPFLAGS += -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -D_POSIX_C_SOURCE=200809L -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS}
++CFLAGS += -ansi -pedantic -Wall $(INCS) $(CPPFLAGS)
++LDFLAGS += ${LIBS}
+
+ # compiler and linker
+ CC = cc
diff --git a/x11-misc/dmenu/files/dmenu-9999-gentoo.patch b/x11-misc/dmenu/files/dmenu-9999-gentoo.patch
new file mode 100644
index 000000000000..faeed310c886
--- /dev/null
+++ b/x11-misc/dmenu/files/dmenu-9999-gentoo.patch
@@ -0,0 +1,37 @@
+--- a/config.mk
++++ b/config.mk
+@@ -5,8 +5,8 @@
+ PREFIX = /usr/local
+ MANPREFIX = ${PREFIX}/share/man
+
+-X11INC = /usr/X11R6/include
+-X11LIB = /usr/X11R6/lib
++X11INC = -I/usr/X11R6/include
++X11LIB = -L/usr/X11R6/lib
+
+ # Xinerama, comment if you don't want it
+ XINERAMALIBS = -lXinerama
+@@ -14,18 +14,18 @@
+
+ # freetype
+ FREETYPELIBS = -lfontconfig -lXft
+-FREETYPEINC = /usr/include/freetype2
++FREETYPEINC = -I/usr/include/freetype2
+ # OpenBSD (uncomment)
+ #FREETYPEINC = ${X11INC}/freetype2
+
+ # includes and libs
+-INCS = -I${X11INC} -I${FREETYPEINC}
+-LIBS = -L${X11LIB} -lX11 ${XINERAMALIBS} ${FREETYPELIBS}
++INCS = ${X11INC} ${FREETYPEINC}
++LIBS = ${X11LIB} -lX11 ${XINERAMALIBS} ${FREETYPELIBS}
+
+ # flags
+ CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -D_POSIX_C_SOURCE=200809L -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS}
+-CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
+-LDFLAGS = -s ${LIBS}
++CFLAGS = -std=c99 -pedantic -Wall ${INCS} ${CPPFLAGS}
++LDFLAGS = ${LIBS}
+
+ # compiler and linker
+ CC = cc
diff --git a/x11-misc/dmenu/metadata.xml b/x11-misc/dmenu/metadata.xml
new file mode 100644
index 000000000000..b4a38aa72629
--- /dev/null
+++ b/x11-misc/dmenu/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>jer@gentoo.org</email>
+ </maintainer>
+ <maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/x11-misc/dockmanager/Manifest b/x11-misc/dockmanager/Manifest
new file mode 100644
index 000000000000..5d8686547bc3
--- /dev/null
+++ b/x11-misc/dockmanager/Manifest
@@ -0,0 +1,5 @@
+DIST dockmanager-0.1.0.tar.gz 532346 SHA256 7afbf43f9e1a14b0b7d8f34ae8c017d5ab58bacdf26481082a489c10953e74f3 SHA512 4379e21b5bb42d8a0e58edf02991a4a3f9c8eefc08321cbeb91db45718fdbfe155894e57b46356b07c43e4ce70266357ef84bc4c79280175cc724c9ddb550f4f WHIRLPOOL 670ec892d9ed0759849a258a1017bc58276bb3ca1faec7717e7fc4b4c8d5d1205a0999913d37092540f8029ed9ede08f5b0dfc2514e1d7cf32de805d90aedffd
+EBUILD dockmanager-0.1.0-r1.ebuild 885 SHA256 43dbb39d54807cce664ad8ba22ed663483c58c313685174cc113737b6c025a4c SHA512 2de62c625149c983b7b6fbffaa347e76c703264e34058f8b731075365aff8dbc5ae7d882778ee97dfab018caf3bf020456380eb338b7ae65e86e4a614c169fcb WHIRLPOOL 9505a9dd65cea4e2f7a4bc91920961a68a3426aa9b4e5fa9a259da7fc258be9e57d86db3d7a871357e61e1faefa2f834e533b13c40fe39d153b6dd1db77dc82c
+MISC ChangeLog 2498 SHA256 34440325ce1b68cf6c1de87e0c2d17f05a3e0a1d50141656193427db42c5b29f SHA512 a21da5feee37292ac8f2c4aa04cfe823b4f1744e72131b86f11dbb8c0ee3925ec427f7e2e31567665971d946f283fbeb1a98e70674d88e38a5bc6ea898616301 WHIRLPOOL 1792d477af3853a0d94187c70174518c1c76e4d32c877745772acf0d5b5078fb1b8dc52fc3fac5fc4f30182a71f65aa53330e1cdf62962aa532571b92664d7e1
+MISC ChangeLog-2015 1402 SHA256 b1b1ec787610d901e12cd7c5620397fcbdd2f68502f76331dff62c48faa39f40 SHA512 11cebc1f7d44e07e0442619701670ea49d6484d14cd385e4e03f0633e60acb59f91d4728259a824c481beba878ef447019b0e460c397c6bc173a905878a930c8 WHIRLPOOL 5225e02a80275a649648cdfd5e8ee80693d4f3c36231d1bc1fd5c123f65782024b9063bee5e02dc699305ca78b6e4690a4f9841db5fc53a20e1a1ad603ed0a5a
+MISC metadata.xml 222 SHA256 e04ca7ad46448b42602366b3722d7a9d138bad0afa392c21aa2c46482665ba1e SHA512 4a386e582b7ec42c42ed453d3ade64bdf10f09c6d6d3132934233131340342fe626a3411e5b0c9564445f46d322e643f1e7d3f26c77f21bfe9af53d16878f9e3 WHIRLPOOL 0b626308852c0fd7acdeca71884f4ee4c12541f0afb987b0031e44715729e3bce9654176327f2c80667d34d575bdd6ab277a0d35c7fb5a4354f1594e6e12a00f
diff --git a/x11-misc/dockmanager/dockmanager-0.1.0-r1.ebuild b/x11-misc/dockmanager/dockmanager-0.1.0-r1.ebuild
new file mode 100644
index 000000000000..c8a900c7df03
--- /dev/null
+++ b/x11-misc/dockmanager/dockmanager-0.1.0-r1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+PYTHON_COMPAT=( python2_7 )
+GCONF_DEBUG="no"
+
+inherit gnome2 python-single-r1 vala
+
+DESCRIPTION="dock-independent helper scripts"
+HOMEPAGE="https://launchpad.net/dockmanager"
+SRC_URI="https://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="amd64 x86"
+
+IUSE="debug"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="${PYTHON_DEPS}
+ dev-libs/dbus-glib
+ dev-libs/glib:2
+ x11-libs/gtk+:2
+ x11-libs/libdesktop-agnostic
+"
+DEPEND="${RDEPEND}
+ $(vala_depend)
+ virtual/pkgconfig
+"
+
+src_prepare() {
+ rm -f {scripts,metadata}/pidgin_control.* || die
+ sed -i -e "/pidgin_control/d" {scripts,metadata}/Makefile.* || die
+ gnome2_src_prepare
+}
+
+src_configure() {
+ gnome2_src_configure \
+ $(use_enable debug) \
+ $(use_enable !debug release)
+}
diff --git a/x11-misc/dockmanager/metadata.xml b/x11-misc/dockmanager/metadata.xml
new file mode 100644
index 000000000000..4fab8457cfd1
--- /dev/null
+++ b/x11-misc/dockmanager/metadata.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <upstream>
+ <remote-id type="launchpad">dockmanager</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/driconf/Manifest b/x11-misc/driconf/Manifest
new file mode 100644
index 000000000000..6946d0b743c3
--- /dev/null
+++ b/x11-misc/driconf/Manifest
@@ -0,0 +1,10 @@
+AUX driconf-0.9.1-desktop-menu.patch 334 SHA256 92d1d3af2189feecea5c4b1c16e978a24c7be388cd9e092fad83aa0b659ba1ec SHA512 e5a752ea15a998b0a862a8db96008633d7fa23cbd51051b824bde4165c0258eabc9ab3ddde306596821dad7aba619219736e6f6c87e5b904eaea30dbddfa5bfc WHIRLPOOL 28216f7fd0c24766ad63884f4cd31714da93a0a4d8cdb2f57ca3585842359dd14ce30bdbd738cc1459ad06d0916107ecddbf0083094909b92447cc4886feb330
+AUX driconf-0.9.1-driconf_simpleui.py.patch 395 SHA256 454ea3eb9448de7a0aed9c96d234db18e7e5ff4509733b5333d52934f49f22a3 SHA512 e1301471e5b2173b0bc55ad93b0df753ca74f0074afff8bf44a6da74e7060bbcfb53b9d294991bfcd81658f5594d1242ac61f0fde0d844729c1505991a1054c8 WHIRLPOOL 6bff51f4893c7884aecce1ed9ade88f2009cf107860da94e8e60bbd7272dcf9c5007026c7c428cd957f83e543eca7f6afc991995180ca6864011dbf7a02d0b71
+AUX driconf-0.9.1-drop-old-tooltips.patch 2986 SHA256 c032845631b83e71b4b828d626e19b47be3f4764620636ebb11c56c14f1bc760 SHA512 c2ac22f7c3ffffb07f2c996f8f2c88d4f4807d28334ff0992b40e2f8f13e22e902805852f996045474d3488e359bac49a97f10f970e8d1e5952e882a604d0847 WHIRLPOOL 5719f7e603b552802e34fab96b33d5e220ff6aca988e2f7e20025c9f2d37e6f3883a522b75b4f392035670738d5032b8af2b496948e3312a6acfc6d5160f9844
+AUX driconf-0.9.1-glxinfo-unicode.patch 982 SHA256 fb4736a4e9067214dc9110737d6edf4c62020ca5827cfba13a3bd461190a5072 SHA512 b7e5711562cfe1bdc52f615dfab16e4861687c8861f1a3052f4279294cae5e14caea051b6db84142a2b182f5722d01d40592ea9b3e09240143f2d82866947560 WHIRLPOOL 31842c59151b20c4935b2129b955b8ea3188c82d44d2a3aed326d613b7e9b0ab212be8909979554495b0e99878ecd7755b6e8d8ba5a513122b73ca0b229a3bbf
+AUX driconf-0.9.1-update-toolbar-methods.patch 5337 SHA256 f7b8728d413fcd206a8608c0a923a3ebb00db85232656260793b1c5fba7b5382 SHA512 76edf7d171d11aba68ad0cc9114d90ea9637134288494729aefcfb09f7af4292aa7174df8551c3ed6d04e8cb8a04afca5ed2e0ebef117c24a540f2c7e7fa60c4 WHIRLPOOL 45ce6adbec96ebeed800e3deaf546ec33a289b0632ecd53c8b202359c29fa36618f82813d15119ab8546290904f6eef374eed08800a604745077608930039faa
+DIST driconf-0.9.1.tar.gz 112529 SHA256 4849a43f6324498e943c03777bce571229b5446985b1cec596b365505e76f73f SHA512 659c857fd490384cb807d6f909fcf6a0e64b9245597c43b14a793a65934f3df6ab30770b45a4180279ff9ef4b74bf7d5253a6560fcd8b15df35a76b795b6c369 WHIRLPOOL f3ca59cfad78a6e80c037f34fcfb75034f730e8973810af855762d50275de8d746e8197b1341100a9a59c872b4e1ae05a5bbb63f491746ef52fe0c58529c5abb
+EBUILD driconf-0.9.1-r2.ebuild 1165 SHA256 bb3c8b0e532397b6a1d5e930b34cc4e08f24c69471e414d82c53ca279d745b6e SHA512 b8c451a60137f8faaaef43b284c0bbf7ec0c06e14e533c88e5558a5f13bdbb9e3b40ec535d7daa48d2dd2e74ca3122ac2890e69dbb1b90dc56e7680019c66696 WHIRLPOOL f08ef8e06cd6b42c57afd82edc45386a3b6632e8bdf1006e13b8b792a7fef51712e00437a5bee1174add74e20b7cd1c69b3e3ccbb51983d38306e5623b129e79
+MISC ChangeLog 3372 SHA256 b1235fd4df9b4950249719ec1ec559c96d4b30dbdc9f93fb9f12ca58e7f42752 SHA512 994436b0105d0707d85f33d9729f7f40f332377d67aa0f63191003cb841152a2ef5459f69248f32bea8c43cdfaa9865dadcf4f376f7ae82b40d4cf9b9818252b WHIRLPOOL 34671ca59e47a4636a276b143990f31069981aa1b1136d8f425b94fbdc1905988c107344e5af3c2043a6bddd5d8a3dfecf7dc11643c56db4b001876ab41c4254
+MISC ChangeLog-2015 3945 SHA256 5303c3ac92fa7b3c44ab013e0944e47a2082b29eb91fe3675e42540917a9bf86 SHA512 440049d81e87f219023ba965133b4b1b53503a65241a7d99b9b0288d3f5040d8a21bc644e7dbbeec80c655acb178af3f0ef8aa5f2c93c097002f6772ee0c2303 WHIRLPOOL 70232aadfe8fbae3130d6ef3029cdc694dfcc528c744717bf244ca53b3e584c84f550e3ad5eb5181c95edb93982b29c73e8f6d93980851a1dd3443857031ee64
+MISC metadata.xml 234 SHA256 900f23c261ef4bbc25ef3d591263a70142c3c6f1cf833d1e66301936532399e7 SHA512 fabcd59aeede4ac93d66552746edacc44fd565551aafaca67185aff7f8e6a4c0fa21f3d54e4fccd7def948ec57b90489631bd779fb992cd9322132b0a3aa503b WHIRLPOOL 362d1afca87746963dbde2f7b3a6d4cfdf0948f9347fef9eca5510c04e2c6c9b9e6f5f9a934ba0939e261f472a1a74111d70a4cc87a8590f38ceff7692fdca79
diff --git a/x11-misc/driconf/driconf-0.9.1-r2.ebuild b/x11-misc/driconf/driconf-0.9.1-r2.ebuild
new file mode 100644
index 000000000000..dd0e15240e8f
--- /dev/null
+++ b/x11-misc/driconf/driconf-0.9.1-r2.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 )
+PYTHON_REQ_USE="xml"
+
+inherit distutils-r1 eutils
+
+DESCRIPTION="driconf is a GTK+2 GUI configurator for DRI"
+HOMEPAGE="https://dri.freedesktop.org/wiki/DriConf"
+SRC_URI="https://freedesktop.org/~fxkuehl/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc ppc64 ~sparc x86"
+IUSE=""
+
+RDEPEND="x11-libs/gtk+:2
+ dev-python/pygtk:2[${PYTHON_USEDEP}]
+ x11-apps/xdriinfo"
+DEPEND="${RDEPEND}"
+
+DOCS=( CHANGELOG COPYING PKG-INFO README TODO )
+PATCHES=(
+ "${FILESDIR}"/${P}-glxinfo-unicode.patch
+ "${FILESDIR}"/${P}-update-toolbar-methods.patch
+ "${FILESDIR}"/${P}-driconf_simpleui.py.patch
+ "${FILESDIR}"/${P}-desktop-menu.patch
+ "${FILESDIR}"/${P}-drop-old-tooltips.patch
+)
+
+python_prepare_all() {
+ distutils-r1_python_prepare_all
+
+ # Fix install locations which breaks location policy - Josh_B
+ sed -i \
+ -e 's:/usr/local:/usr:g' \
+ driconf \
+ driconf.desktop \
+ driconf.py \
+ setup.cfg \
+ setup.py \
+ || die "Sed failed!"
+}
+
+python_install_all() {
+ distutils-r1_python_install_all
+ domenu driconf.desktop
+}
diff --git a/x11-misc/driconf/files/driconf-0.9.1-desktop-menu.patch b/x11-misc/driconf/files/driconf-0.9.1-desktop-menu.patch
new file mode 100644
index 000000000000..a8ca98412740
--- /dev/null
+++ b/x11-misc/driconf/files/driconf-0.9.1-desktop-menu.patch
@@ -0,0 +1,9 @@
+--- a/driconf.desktop 2006-09-18 04:41:45.000000000 +0300
++++ b/driconf.desktop 2017-02-05 13:14:11.319444931 +0200
+@@ -5,5 +5,5 @@
+ Exec=driconf
+ Icon=/usr/local/share/driconf/driconf-icon.png
+ Type=Application
+-Categories=GNOME;Application;Settings;AdvancedSettings;
++Categories=GNOME;Settings;HardwareSettings;
+ StartupNotify=true
diff --git a/x11-misc/driconf/files/driconf-0.9.1-driconf_simpleui.py.patch b/x11-misc/driconf/files/driconf-0.9.1-driconf_simpleui.py.patch
new file mode 100644
index 000000000000..71403cd7162e
--- /dev/null
+++ b/x11-misc/driconf/files/driconf-0.9.1-driconf_simpleui.py.patch
@@ -0,0 +1,16 @@
+http://cvs.fedoraproject.org/viewvc/rpms/driconf/devel/
+
+--- a/driconf_simpleui.py
++++ b/driconf_simpleui.py
+@@ -266,8 +266,8 @@
+ j = i
+ break
+ i = i - 1
+- if i < chars/3:
+- i = chars
++ else:
++ i = j = chars
+ head, tail = head + tail[:i] + '\n', tail[j:]
+ return head
+
+
diff --git a/x11-misc/driconf/files/driconf-0.9.1-drop-old-tooltips.patch b/x11-misc/driconf/files/driconf-0.9.1-drop-old-tooltips.patch
new file mode 100644
index 000000000000..65291defb988
--- /dev/null
+++ b/x11-misc/driconf/files/driconf-0.9.1-drop-old-tooltips.patch
@@ -0,0 +1,61 @@
+diff -ur driconf-0.9.1-old/driconf_commonui.py driconf-0.9.1/driconf_commonui.py
+--- a/driconf_commonui.py 2006-09-18 04:03:43.000000000 +0200
++++ b/driconf_commonui.py 2011-01-09 21:09:43.000000000 +0100
+@@ -299,8 +299,7 @@
+ self.label.set_active (page.app.options.has_key (opt.name))
+ self.label.set_sensitive (page.app.device.config.writable)
+ self.label.connect ("clicked", self.checkOpt)
+- tooltipString = str(opt)
+- page.tooltips.set_tip (self.label, tooltipString)
++ self.label.set_tooltip_text (str(opt))
+ self.label.show()
+ page.table.attach (self.label, 0, 1, i, i+1,
+ gtk.EXPAND|gtk.FILL, 0, 5, 5)
+@@ -316,10 +315,10 @@
+ self.resetButton.set_relief (gtk.RELIEF_NONE)
+ self.resetButton.set_sensitive (sensitive)
+ if removable:
+- page.tooltips.set_tip(self.resetButton, _("Remove"))
++ self.resetButton.set_tooltip_text(_("Remove"))
+ self.resetButton.connect ("clicked", self.removeOpt)
+ else:
+- page.tooltips.set_tip(self.resetButton, _("Reset to default value"))
++ self.resetButton.set_tooltip_text(_("Reset to default value"))
+ self.resetButton.connect ("clicked", self.resetOpt)
+ self.resetButton.show()
+ page.table.attach (self.resetButton, 2, 3, i, i+1, 0, 0, 5, 5)
+@@ -510,7 +509,6 @@
+ self.optSection = optSection
+ self.app = app
+ self.simple = simple
+- self.tooltips = gtk.Tooltips()
+ self.table = gtk.Table (len(optSection.optList), 3)
+ self.optLines = []
+ for i in range (len(optSection.optList)):
+diff -ur driconf-0.9.1-old/driconf_complexui.py driconf-0.9.1/driconf_complexui.py
+--- a/driconf_complexui.py 2006-09-18 02:53:44.000000000 +0200
++++ b/driconf_complexui.py 2011-01-09 21:10:29.000000000 +0100
+@@ -41,11 +41,10 @@
+ self.set_label_widget (frameLabel)
+ self.driver = driver
+ self.app = app
+- tooltips = gtk.Tooltips()
+ table = gtk.Table(2, 2)
+ self.execCheck = WrappingCheckButton (_("Apply only to this executable"))
+ self.execCheck.set_sensitive (app.device.config.writable)
+- tooltips.set_tip (self.execCheck, _(
++ self.execCheck.set_tooltip_text (_(
+ "Leave this disabled to configure all applications.\n"
+ "Beware that some applications or games are just a shell script "
+ "that starts a real executable with a different name."))
+diff -ur driconf-0.9.1-old/driconf_simpleui.py driconf-0.9.1/driconf_simpleui.py
+--- a/driconf_simpleui.py 2006-09-18 02:49:54.000000000 +0200
++++ b/driconf_simpleui.py 2011-01-09 21:10:51.000000000 +0100
+@@ -342,7 +342,6 @@
+ self.set_policy (gtk.POLICY_NEVER, gtk.POLICY_AUTOMATIC)
+ self.driver = driver
+ self.app = app
+- self.tooltips = gtk.Tooltips()
+ self.table = None
+ self.refreshOptions()
+
diff --git a/x11-misc/driconf/files/driconf-0.9.1-glxinfo-unicode.patch b/x11-misc/driconf/files/driconf-0.9.1-glxinfo-unicode.patch
new file mode 100644
index 000000000000..2df25d5ecc23
--- /dev/null
+++ b/x11-misc/driconf/files/driconf-0.9.1-glxinfo-unicode.patch
@@ -0,0 +1,22 @@
+http://cvs.fedoraproject.org/viewvc/rpms/driconf/devel/
+
+--- a/driconf_simpleui.py
++++ b/driconf_simpleui.py
+@@ -450,11 +450,13 @@ class MainWindow (gtk.Window):
+ else:
+ screen = self.screens[0]
+ if screen.glxInfo:
+- text = "%s (%s)" % (
+- screen.glxInfo.renderer, screen.glxInfo.vendor)
++ text = u"%s (%s)" % (
++ unicode(screen.glxInfo.renderer, "utf-8", "replace"),
++ unicode(screen.glxInfo.vendor, "utf-8", "replace"))
+ else:
+- text = _("Screen") + " %d: %s" % (
+- screen.num, screen.driver.name.capitalize())
++ text = _(u"Screen") + u" %d: %s" % (screen.num,
++ unicode(screen.driver.name, "utf-8",
++ "replace").capitalize())
+ deviceHBox = gtk.HBox()
+ deviceLabel = gtk.Label()
+ deviceLabel.set_justify(gtk.JUSTIFY_LEFT)
diff --git a/x11-misc/driconf/files/driconf-0.9.1-update-toolbar-methods.patch b/x11-misc/driconf/files/driconf-0.9.1-update-toolbar-methods.patch
new file mode 100644
index 000000000000..294c262d465c
--- /dev/null
+++ b/x11-misc/driconf/files/driconf-0.9.1-update-toolbar-methods.patch
@@ -0,0 +1,108 @@
+http://cvs.fedoraproject.org/viewvc/rpms/driconf/devel/
+
+--- a/driconf_complexui.py
++++ b/driconf_complexui.py
+@@ -838,42 +838,73 @@ class MainWindow (gtk.Window):
+ self.paned.show()
+ self.toolbar = gtk.Toolbar ()
+ iconSize = self.toolbar.get_icon_size()
+- self.saveButton = self.toolbar.insert_stock (
+- "gtk-save", _("Save selected configuration file"),
+- "priv", self.configTree.saveConfig, None, -1)
+- self.reloadButton = self.toolbar.insert_stock (
+- "gtk-revert-to-saved", _("Reload selected configuration file"),
+- "priv", self.configTree.reloadConfig, None, -1)
+- self.toolbar.append_space()
+- self.newButton = self.toolbar.insert_stock (
+- "gtk-new", _("Create a new device or application"),
+- "priv", self.configTree.newItem, None, -1)
+- self.removeButton = self.toolbar.insert_stock (
+- "gtk-delete", _("Remove selected device or application"),
+- "priv", self.configTree.removeItem, None, -1)
+- self.upButton = self.toolbar.insert_stock (
+- "gtk-go-up", _("Move selected item up"),
+- "priv", self.configTree.moveUp, None, -1)
+- self.downButton = self.toolbar.insert_stock (
+- "gtk-go-down", _("Move selected item down"),
+- "priv", self.configTree.moveDown, None, -1)
+- self.propertiesButton = self.toolbar.insert_stock (
+- "gtk-properties", _("Properties of selected device or application"),
+- "priv", self.configTree.properties, None, -1)
+- self.toolbar.append_space()
++
++ self.saveButton = gtk.ToolButton("gtk-save")
++ self.saveButton.set_tooltip_text(_("Save selected configuration file"))
++ self.saveButton.connect("clicked", self.configTree.saveConfig)
++ self.saveButton.show()
++ self.toolbar.insert(self.saveButton, -1)
++ self.reloadButton = gtk.ToolButton("gtk-revert-to-saved")
++ self.reloadButton.set_tooltip_text(_("Reload selected configuration file"))
++ self.reloadButton.connect("clicked", self.configTree.reloadConfig)
++ self.reloadButton.show()
++ self.toolbar.insert(self.reloadButton, -1)
++
++ separator = gtk.SeparatorToolItem()
++ separator.show()
++ self.toolbar.insert(separator, -1)
++
++ self.newButton = gtk.ToolButton("gtk-new")
++ self.newButton.set_tooltip_text(_("Create a new device or application"))
++ self.newButton.connect("clicked", self.configTree.newItem)
++ self.newButton.show()
++ self.toolbar.insert(self.newButton, -1)
++ self.removeButton = gtk.ToolButton("gtk-delete")
++ self.removeButton.set_tooltip_text(_("Remove selected device or application"))
++ self.removeButton.connect("clicked", self.configTree.removeItem)
++ self.removeButton.show()
++ self.toolbar.insert(self.removeButton, -1)
++ self.upButton = gtk.ToolButton("gtk-go-up")
++ self.upButton.set_tooltip_text(_("Move selected item up"))
++ self.upButton.connect("clicked", self.configTree.moveUp)
++ self.upButton.show()
++ self.toolbar.insert(self.upButton, -1)
++ self.downButton = gtk.ToolButton("gtk-go-down")
++ self.downButton.set_tooltip_text(_("Move selected item down"))
++ self.downButton.connect("clicked", self.configTree.moveDown)
++ self.downButton.show()
++ self.toolbar.insert(self.downButton, -1)
++ self.propertiesButton = gtk.ToolButton("gtk-properties")
++ self.propertiesButton.set_tooltip_text(_("Properties of selected device or application"))
++ self.propertiesButton.connect("clicked", self.configTree.properties)
++ self.propertiesButton.show()
++ self.toolbar.insert(self.propertiesButton, -1)
++
++ separator = gtk.SeparatorToolItem()
++ separator.show()
++ self.toolbar.insert(separator, -1)
++
+ # The gtk-about stock item is available with gtk >= 2.6.
+ # It's definitely not available with gtk 2.2. Not sure about 2.4.
+ if gtk.gtk_version[0] == 2 and gtk.gtk_version[1] < 6:
+ aboutStock = "gtk-dialog-info"
+ else:
+ aboutStock = "gtk-about"
+- self.aboutButton = self.toolbar.insert_stock (
+- aboutStock, _("About DRIconf"), "priv",
+- self.aboutHandler, None, -1)
+- self.toolbar.append_space()
+- self.exitButton = self.toolbar.insert_stock (
+- "gtk-quit", _("Exit DRIconf"), "priv",
+- self.exitHandler, None, -1)
++ self.aboutButton = gtk.ToolButton(aboutStock)
++ self.aboutButton.set_tooltip_text(_("About DRIconf"))
++ self.aboutButton.connect("clicked", self.aboutHandler)
++ self.aboutButton.show()
++ self.toolbar.insert(self.aboutButton, -1)
++
++ separator = gtk.SeparatorToolItem()
++ separator.show()
++ self.toolbar.insert(separator, -1)
++
++ self.exitButton = gtk.ToolButton("gtk-quit")
++ self.exitButton.set_tooltip_text(_("Exit DRIconf"))
++ self.exitButton.connect("clicked", self.exitHandler)
++ self.exitButton.show()
++ self.toolbar.insert(self.exitButton, -1)
+ if len(configList) != 0:
+ self.activateConfigButtons (configList[0])
+ self.toolbar.show()
diff --git a/x11-misc/driconf/metadata.xml b/x11-misc/driconf/metadata.xml
new file mode 100644
index 000000000000..7a7bbf810544
--- /dev/null
+++ b/x11-misc/driconf/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>x11@gentoo.org</email>
+ <name>X11</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/x11-misc/dsx/Manifest b/x11-misc/dsx/Manifest
new file mode 100644
index 000000000000..092105f374fb
--- /dev/null
+++ b/x11-misc/dsx/Manifest
@@ -0,0 +1,5 @@
+AUX dsx-0.1 2218 SHA256 4d1835e19ed1f10edbe56e1d39e06ba51f6653f9ca9f3e680b61766f31ba05bb SHA512 918d05297dc39166fe1684b306441c519bdf41e56a94d4a5f090698f69fdebb1f4d077d07be4e6d5a22614f163eb4ff8645c8751397ba52e265daece840178a9 WHIRLPOOL b026fad6027ed19b725775855e0d9ef4575ddb9e329dc2a8988e03932e20c0e103817ebdbdfaaa1ac844c2b474151b60123cf33401cd767af84e5d3ba04cac1d
+EBUILD dsx-0.1-r1.ebuild 516 SHA256 783d89927639ee2627516b10b0bb195777261f9219907827207c3733ca0b92c3 SHA512 212fc9f5f553792a7dfb24b0d879178b74a20ca636f073e92b45117b559f23ec23b5e7d99cb5af0b0dd3ca810658f2f362b2c339d9d8378bee2a00d0e987e545 WHIRLPOOL c81ffef63207fb9da6e4844d14c84dddb0ce5ca7759a97190db86243d7ec6b7e8cd990bdbfd114486fdb20de001ca945df21ce0516c6a917191f90a137a95128
+MISC ChangeLog 2443 SHA256 9d384e250b23cb4f05f93cfe86147bbde64acb3a44932af26cf59b437823fc90 SHA512 ec907902d1f3499cb774e098f03000c94f2a37896a0bda362b34ae740fe7eff83b9c0e47067983bb1de30771095d27c820040a5fcf99707191aac6cf7cd59865 WHIRLPOOL c797f71b5d5748634e0a4bf9dcb4dfd4e935c9d9d70b7774f6daf8705d3b45657f66b4211a1c34de2b755f9e0dc5bd2a4a528e46f831a2f6325512b3d779ff8f
+MISC ChangeLog-2015 1049 SHA256 69be9327783bae36dce2ebe86be4d423e93a8650b3f7c136a573aa59bbdf195b SHA512 a0cf00f2ddc90ea56ec3c91e65d82f95b4739b169e7df3e16a36095b1f29351c310db370169fb2313f58048a9b0eb0c3df8434f9b3d06b9479dabbabffc2c552 WHIRLPOOL b7c9549da1abf7dc91b048aae860b4c3933233b719b1d542273174949cf5bdae5e1951466ae933b6a8b7f1c49ca1c6720a48ff09def0a33aea75869e08a62749
+MISC metadata.xml 272 SHA256 b389ad9ba70c18154af4fc164e31d5b1e2a4e99815d34319b4a4f46ccef2be52 SHA512 ebe67da08587903b5b82fc194aa3c8f1ab65371f60d2c134928362e089550d9e9fd9531bffe8b676a345b5bf0ab209ce7f50d37d98201a88176f002e17582493 WHIRLPOOL 3d6a9660a11c299dbb7fa3ec6821005f2540dc8fc9e499206d38d79d54023b3ddc66a019b2c88fbc92199b9f5335088b47fa3fdd781f92f2da3ad98b26bc2a50
diff --git a/x11-misc/dsx/dsx-0.1-r1.ebuild b/x11-misc/dsx/dsx-0.1-r1.ebuild
new file mode 100644
index 000000000000..fe4368e5c75d
--- /dev/null
+++ b/x11-misc/dsx/dsx-0.1-r1.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit python-single-r1
+
+DESCRIPTION="Command line selection of your X desktop environment"
+HOMEPAGE="https://www.gentoo.org/"
+SRC_URI=""
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ppc x86"
+IUSE=""
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DEPEND=""
+RDEPEND="
+ ${PYTHON_DEPS}
+ x11-apps/xinit"
+
+S="${WORKDIR}"
+
+src_install() {
+ python_newscript "${FILESDIR}/${P}" "${PN}"
+}
diff --git a/x11-misc/dsx/files/dsx-0.1 b/x11-misc/dsx/files/dsx-0.1
new file mode 100644
index 000000000000..d8f5e7192928
--- /dev/null
+++ b/x11-misc/dsx/files/dsx-0.1
@@ -0,0 +1,72 @@
+#!/usr/bin/env python
+# dsx is Mandrakesoft's Xtart modified to work with a Gentoo Linux system.
+# Gentoo doesn't use a wmsession.d directory, so we're going to accept the
+# /etc/X11/Sessions executables as our menu and our command parameters.
+# I also tried to increase the robustness of the entry checking and make the
+# error messages less condescending.
+# The 0 option for "no wm" was removed. I altered it to run option 1 instead.
+
+### Original copyright / license message from Xtart... ###
+# This is an official linux-mandrake extension of the X windowing system for
+# the benefit of Declan Moriarty Copyright 2001 by civileme@mandrakesoft all
+# rights reserved. Use is hereby granted under the GNU General Publoic
+# License version 2 or any future version of said license at the user's option
+#
+# No Warranty of course.
+# This program is designed for those who want to work in concole and
+# occasionally boot into window managers or who want to avoid theme
+# persistence from one WM to another.
+################
+import sys
+import os
+import popen2
+import string
+import math
+def complain():
+ print 'X initiation aborted on invalid selection.'
+ sys.exit(0)
+ return
+print
+print 'Welcome to the Desktop Selector for X'
+print
+fspc=os.path.expanduser('~')+'/'
+io=popen2.Popen3('ls /etc/X11/Sessions',1)
+L=io.fromchild.readlines()
+Sessions={}
+Sessionkeys=[]
+primekey=0
+for k in L:
+ primekey+=1
+ name=k[:-1]
+ command='/etc/X11/Sessions/'+k[:-1]
+ Sessions[primekey]=(name, command)
+Sessionkeys=Sessions.keys()
+Sessionkeys.sort()
+for j in Sessionkeys:
+ if os.system('[ -x '+Sessions[j][1]+' ]') == 0:
+ print j, Sessions[j][0]
+ pass
+print
+sys.stdin.flush()
+s=raw_input('Enter the number of your desired desktop environment [1]: ')
+if len(s)==0:
+ s='1'
+if s=='0':
+ s='1'
+for j in range(len(s)):
+ if string.find(string.digits,s[j]) == -1:
+ print "'" + s[j] + "' isn't a digit."
+ complain()
+if len(s)>int(math.log10(primekey))+1:
+ print "That number is too big."
+ complain()
+well=int(s)
+wellformed=Sessions.has_key(well)
+if wellformed:
+ os.execvp('xinit',Sessions[well])
+else:
+ print
+ print 'Your selection was invalid.'
+ print
+ complain()
+
diff --git a/x11-misc/dsx/metadata.xml b/x11-misc/dsx/metadata.xml
new file mode 100644
index 000000000000..49c86a887b6a
--- /dev/null
+++ b/x11-misc/dsx/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+</maintainer>
+</pkgmetadata>
diff --git a/x11-misc/dunst/Manifest b/x11-misc/dunst/Manifest
new file mode 100644
index 000000000000..5100c0f7da6b
--- /dev/null
+++ b/x11-misc/dunst/Manifest
@@ -0,0 +1,7 @@
+DIST dunst-1.1.0.tar.bz2 79032 SHA256 c72bf167eaab4e44a98ec87101b023efee0aa8916df56630b99a5bc53f8d7070 SHA512 ba01a6b18da5199b3356342f5c22592f93f447389267810bbfc35decf1a67f89650d445d3c1dd6f3cc76a4f86f7165adc777b669444627e42d3e671d4f04a04b WHIRLPOOL 6985c17549de4c7f6e2ba17ae1117db21693f4ed05df65e6238cfe6001aeb9c7a98834f3e794a0c80dbe913099082624256708c29ffa02cf35b0ab0032e94926
+DIST dunst-1.2.0.tar.gz 110628 SHA256 a3c05b5ef87e88704a6207236e42773dfbcf50cb23c7cf51e494a7236b75c5ad SHA512 223c8aae61574770a76bff84723643a3c03d3d9a8f4094bc4e92e16826703e7c0a7c3327945db8469b8dcc48fe5cfaba51e6724149e6571a7ffc1716656e30f3 WHIRLPOOL 1c9cac734d8d5378a7fe77381847a94db692b59d26bbaa6e06d9a65d168c371a2fd2ce4a649b9ded130c4228940bfe01004c38eb20889e8794e25a83e7ba46df
+EBUILD dunst-1.1.0.ebuild 1193 SHA256 fec2c852506a17a39c562445d20730fdc881c614134745cdf33ca82b6cef077c SHA512 3dae12bba3ee11392cb59428164543d36280a256f359041bfa575b26622615c5211370888d7fd12640bcbedddcac60179b630d7485e8783532926ba423d791c4 WHIRLPOOL 3156eab15d053bad161bd36f0f6f0666c5e2592d031fecb378825f478566d90a452110dcde5e7ad9b1c1ba721a903e49e76948702fa151560751068a8d2358c7
+EBUILD dunst-1.2.0.ebuild 1069 SHA256 950729727c67deb2bb276eef3dd1f9af594b205601610a0b4d1bacac7870b79e SHA512 ba6073ddec4a0f1fd397768bd4a170d16c576d082c8a1780eaa7bb7472e5e08be5b47c68fea3b0fc24a8db18e47e273c5ed770d7a28a9d0de8ca333590facc5a WHIRLPOOL 7a3fbb262be0292079776732f072155102d294a95a393775501a5fc7910f2efa68a331db38bc880a0da723eb567eb4275eee1a5672491bdf3a1608cad5fc8805
+MISC ChangeLog 3374 SHA256 cc42bd1f2158c41de86c3bd2f6442f6626dea8e95775416794dab2f44817b9cb SHA512 2e8d50d37ab2424ffefa367a1d15f4eb14381c7defbb9f60294f5b22ce1091c8ff905bcb87f01a744b9cf52491130a8e566c4e13e2ef56ba304ae2fa365ce512 WHIRLPOOL fe3d97528fbb2dcaf70c314661afbacab7ef00c016f107b109b792ffb88c52f6ae296f670dde4c731f76ad27582fbdd0113723dc72bff4ccf3c208d163b83f16
+MISC ChangeLog-2015 1333 SHA256 c7e2a9141d5b8ba91514f4a4f214be698a571f6560445f359722e63520bc3612 SHA512 ac3d3055a6942f2f4d28808433b3a34238c997cbbf23f0be3e436e1336ca2a2fcdbc276d98e745e7d7fb18346d40aa604fe96691647496c74fdd994d4ab7a957 WHIRLPOOL d9438eea770cf3297a58d1cebc762840e7fd5e7ebe2e9568318851389d4e918bd3b5f239a2c5eeaf5ee668112fed208047615820647a5e564cfc8934130e9583
+MISC metadata.xml 354 SHA256 43495899dc34999a304f1708a556d10e67f38b77021cce524a51b6d6413b988d SHA512 fe149f9d5b272ad4238cd4bdce6fb48d71d4145c2bb0630ec521e16f00fb07009dcd52c1a06f016da333a2aa5972a6f00c36944d676046217ee201e13a676a7a WHIRLPOOL f16d221f778d9c495a20026923dbf8500e9e6d1ce217707efd4b390cb20d9a77ed15ab4bf31842561e156af8ff718ef9f492fbded1a28f6b34614316416e7eac
diff --git a/x11-misc/dunst/dunst-1.1.0.ebuild b/x11-misc/dunst/dunst-1.1.0.ebuild
new file mode 100644
index 000000000000..1ce9d2c4edbd
--- /dev/null
+++ b/x11-misc/dunst/dunst-1.1.0.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit toolchain-funcs
+
+DESCRIPTION="customizable and lightweight notification-daemon"
+HOMEPAGE="http://www.knopwob.org/dunst/"
+SRC_URI="http://www.knopwob.org/public/dunst-release/${P}.tar.bz2"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="amd64 ~arm x86"
+IUSE="dunstify"
+
+CDEPEND="
+ dev-libs/glib:2
+ dev-libs/libxdg-basedir
+ sys-apps/dbus
+ x11-libs/cairo[X,glib]
+ x11-libs/gdk-pixbuf
+ x11-libs/libXScrnSaver
+ x11-libs/libXft
+ x11-libs/libXinerama
+ x11-libs/pango[X]
+ dunstify? ( x11-libs/libnotify )
+"
+DEPEND="
+ ${CDEPEND}
+ dev-lang/perl
+ virtual/pkgconfig
+"
+RDEPEND="${CDEPEND}"
+
+src_prepare() {
+ sed -i \
+ -e '/^CFLAGS/ { s:-g::; s:-O.:: }' \
+ -e '/^CPPFLAGS/ s:-D_BSD_SOURCE:-D_DEFAULT_SOURCE:' \
+ config.mk || die
+
+ sed -i \
+ -e 's:registration_id > 0:(&):' \
+ dbus.c || die
+
+ sed -i \
+ -e '/g_print.*iter->data/ s:iter->data:(char *)&:' \
+ dunstify.c || die
+
+ default
+}
+
+src_compile() {
+ tc-export CC
+ emake V=
+
+ use dunstify && emake V= dunstify
+}
+
+src_install() {
+ emake DESTDIR="${D}" PREFIX="/usr" install
+
+ if use dunstify; then
+ dobin dunstify
+ fi
+
+ dodoc CHANGELOG
+}
diff --git a/x11-misc/dunst/dunst-1.2.0.ebuild b/x11-misc/dunst/dunst-1.2.0.ebuild
new file mode 100644
index 000000000000..ceff714d927e
--- /dev/null
+++ b/x11-misc/dunst/dunst-1.2.0.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit toolchain-funcs
+
+DESCRIPTION="customizable and lightweight notification-daemon"
+HOMEPAGE="http://www.knopwob.org/dunst/ https://github.com/dunst-project/dunst"
+SRC_URI="https://github.com/${PN}-project/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="dunstify"
+
+CDEPEND="
+ dev-libs/glib:2
+ dev-libs/libxdg-basedir
+ sys-apps/dbus
+ x11-libs/cairo[X,glib]
+ x11-libs/gdk-pixbuf
+ x11-libs/gtk+:2=
+ x11-libs/libXScrnSaver
+ x11-libs/libXft
+ x11-libs/libXinerama
+ x11-libs/pango[X]
+ dunstify? ( x11-libs/libnotify )
+"
+DEPEND="
+ ${CDEPEND}
+ dev-lang/perl
+ virtual/pkgconfig
+"
+
+RDEPEND="${CDEPEND}"
+
+src_prepare() {
+ sed -i -e "/^CFLAGS/ { s:-g::;s:-O.:: }" config.mk || die
+
+ default
+}
+
+src_compile() {
+ tc-export CC
+ emake
+ use dunstify && emake dunstify
+}
+
+src_install() {
+ emake DESTDIR="${D}" PREFIX="/usr" install
+
+ use dunstify && dobin dunstify
+
+ dodoc AUTHORS CHANGELOG.md README.md RELEASE_NOTES
+}
diff --git a/x11-misc/dunst/metadata.xml b/x11-misc/dunst/metadata.xml
new file mode 100644
index 000000000000..f0fe7c4c53ca
--- /dev/null
+++ b/x11-misc/dunst/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type='project'>
+<email>desktop-misc@gentoo.org</email>
+<name>Gentoo Desktop Miscellaneous Project</name>
+</maintainer>
+<use>
+<flag name="dunstify">Experimental replacement for notify-send.</flag>
+</use>
+</pkgmetadata>
diff --git a/x11-misc/dxpc/Manifest b/x11-misc/dxpc/Manifest
new file mode 100644
index 000000000000..8babd4f3d417
--- /dev/null
+++ b/x11-misc/dxpc/Manifest
@@ -0,0 +1,5 @@
+DIST dxpc-3.9.2.tgz 199267 SHA256 414c499c6aa97f061dc589733142d5be671645436938cfc02b243914a0a27de5 SHA512 7dd31f024ca9eae763ec82c424483b4dd4ff667ae70666f3de298e5acb75a5028134914f9c58ab07c16a68de53e170ace455653d83ffe6db290b952ca82fad38 WHIRLPOOL 230b049d587f11d565a0e89b2326933d80bba0eb4f22dfab7fce0da4419c69e66fca97963927fe1f82ba0782cf3861382310800200a51c9b77e9f9605f7a6c5e
+EBUILD dxpc-3.9.2-r2.ebuild 523 SHA256 56623a9805e1f699eebaf9abfb707f5cad5825fdfe8cbb9f6133d7b772ec55fc SHA512 20acad908b6e8df7084f497da9b4513d797f19951e41b579b3c6d95b3a1281cad6388ce9b0ed5361b7839af3282d799f1323cc81746bda1938985a9e534a9285 WHIRLPOOL 07ca73839f90c2c4e7e3ada2c2c8eb377bd3138cc2cf82175cfc0b02640d753d9363c54ba8b05010f44b715a808c428714992e2486468cf5e2feb1d040ac9718
+MISC ChangeLog 2454 SHA256 21e0f9986b4557b0c3f0db57326207ce63acc2f8de047ccd5055f2b4dfca4484 SHA512 c6b69cdfe89c2d97996f6752e587048967e5feafa4f9b5655022f5f1f71e5a2ac22f9827983761228ac6b5321d284db453334d44d2351e6e7f75b2eb0d9d1a16 WHIRLPOOL 50580d61ccc9d366d6d6b4f73b64a726cc9ee0d6367bb29622f0ec3f5e4bc45a97b5d39807962cc070f6748f1002723c5e0006f13ff4b3fd4af637794634b4c1
+MISC ChangeLog-2015 2435 SHA256 de14d957c4e2b8d04486bec596d9bcbcea4f186d71743af4b5a07a67688efad7 SHA512 60956830cfcec6ab5098a21305f942352f3d848e437c2ceae1580ed2e2efbc31c770501b5cf799871c4fda23c3fc97e0fcc0a0c4b782508e1812dd2d4f8ccd08 WHIRLPOOL 1ed8e55726bb8e36bb398887f1ce39585fc37f4c97008ef7877fd2022fedc501a71a351353af70ddbcaaeeb2f16d85e77af7b04849b9597d5c401bacc07b3d41
+MISC metadata.xml 318 SHA256 218a00bda7df7396b1c9db4fea27cc69073dd039cb1db1e55d34cfd004209500 SHA512 7d56445a5c7fffdc1104633cdd30eafa17588079b8a1f4cb226984b1aad4e41fe84320608681143dc01c5f1ac5f104cf0717e8183164031644220f9c61086a3b WHIRLPOOL 15d65bcdc3289c77c194a26721b45e700d54a771e5a63d29a52d431b1ac8922ee7ddd7ca11b10dbbb72ba3fd70daa5fba7dba875de04362ab9c489e70d9fb895
diff --git a/x11-misc/dxpc/dxpc-3.9.2-r2.ebuild b/x11-misc/dxpc/dxpc-3.9.2-r2.ebuild
new file mode 100644
index 000000000000..b1761c0c8b91
--- /dev/null
+++ b/x11-misc/dxpc/dxpc-3.9.2-r2.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="Differential X Protocol Compressor"
+HOMEPAGE="http://www.vigor.nu/dxpc/"
+SRC_URI="http://www.vigor.nu/dxpc/${P}.tgz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ppc x86"
+IUSE=""
+
+RDEPEND="x11-libs/libXt
+ >=dev-libs/lzo-2"
+DEPEND="${RDEPEND}
+ x11-proto/xproto"
+
+DOCS=( CHANGES README TODO )
+
+src_install () {
+ emake prefix="${ED%/}"/usr man1dir="${ED%/}"/usr/share/man/man1 install
+ einstalldocs
+}
diff --git a/x11-misc/dxpc/metadata.xml b/x11-misc/dxpc/metadata.xml
new file mode 100644
index 000000000000..66187a0f4213
--- /dev/null
+++ b/x11-misc/dxpc/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/x11-misc/dzen/Manifest b/x11-misc/dzen/Manifest
new file mode 100644
index 000000000000..3661f75ba894
--- /dev/null
+++ b/x11-misc/dzen/Manifest
@@ -0,0 +1,7 @@
+AUX dzen-0.9.5-config-default.patch 2649 SHA256 bbd041b2dd1f113b82e93345a3a29fa70b314f77de1a813ca856efa2e3f835fe SHA512 4884455ff03197d718e5700106b4b5250343a69b11cdd6190580f89e70306d97a1dde8154baabc79a909ed571806a992fa643d7380830257331bec477e46c54d WHIRLPOOL de577c80db6fe7a7786a545fb6e994e3781fa21a4b3514c16069425bc8e0e05a0ed642e8fd58c2dddb439ade9ea3a29ff776bb38240f980130f828e572bf244e
+AUX dzen-0.9.5-off-by-one.patch 188 SHA256 7fafe9a50a11aded7249252ab013e7073facf2f4665569aea5a973306cd26006 SHA512 1a82875ee296af37d559b14da4cadef40f2cd6842d67cf6d761d0c65acd1bdb51b0d8096282f1172f109178ecd3f3c1debef809373a0e6ab04fb161d57e20f8d WHIRLPOOL 8e16cef1f188895ba03cce683cdee2db7b66738011a415a4ab3c85fb6fce9030511cccb065f4d6c6bcd85da71d375b92a3b3600af2badde5e1cdfa4212f433e1
+DIST dzen-0.9.5.tar.gz 38167 SHA256 0556c815de7257bccd50cfa62371e4bc1c358fa1c5a179a4f99890a63912dc19 SHA512 ed4eb5d657d8f3822d8fbf224da5c2d415852c340959840051ec9cfc63f90361e09b9d36cb8221cf046ae66af02b9fab67f4f16c834c5895e801d452e4f8a916 WHIRLPOOL d26831f48effe502e26f5a84c1a3ff18498d8c83053c716e75f4e695af3eec99f5f7fb19132e2d2ac13350d949bc2d9484607ea5a1cbed4b9682f15144ec9d3d
+EBUILD dzen-0.9.5-r1.ebuild 1614 SHA256 563c2ed1922e6c84197e454752c1d553227655cad6b1364f55fe4cd70d6f3050 SHA512 699247cd6b41c947de2157b937482baff926bd02339cb06b06195bc234d464857ab333ec911ca7d7ec0224ce378102e6d7a3cfc0e097c1dc17d8f931ea061884 WHIRLPOOL 3c0eae1d7dd95f699779d30abb258b923081aeb6a34dca185085d31e8bba7bc713a6e330c26197edad83f57d7e0dd9bc461719bc33d379561b2fb7427e6fb2d0
+MISC ChangeLog 2502 SHA256 9c78bc255369de088c8bf6a07be88348d6870bd486e080cb0ff4136936092102 SHA512 2304c8b8d6c896a304ff5af26d9a17afc7a561b3e33302d8af754e52fd035c1c9b19254d96f4e51ddf9d95abf18db848f00052f4148d69a981c69fc580a14056 WHIRLPOOL 6cb4d90f00038676a83dfa21c16468261792dc71af0fa576743ff12326effb35054fb4988485ef1bc569ce5e09fb0b9182a65122f531c7bdbef3474d06ade4b8
+MISC ChangeLog-2015 2483 SHA256 fee3a99d5d03f902e9170f0e1a00d8659dc350c8b7f67bfe8f3bceb01363b2ec SHA512 7c450a6cdc1095d33830e4336ecc0b6dbe76c9011afc086d47cc7b328e8d004381e01f4a9309a67c0256b6a2e4bda20abd796387a331c46611fd8ecea8a068de WHIRLPOOL d524df1095c1d714701da890527441a14796877e04262052bc839df40f9ca31665769d9412f18e09a3a9a1af90a04c23ed66f28f2b3fd758bbf11e3d0f86c603
+MISC metadata.xml 642 SHA256 a1449c99c31f7d04a7140d17f5a79568747c13106199ea5c93b4ea2cadd193e6 SHA512 3f7b850582bdc314f4bbf795a3171f27ac8e9c41eeb56221106cb70f039ce37e62b43b2a09c21862cb6efe50e22ddfa45b711c809ba8347c52010188c2207e81 WHIRLPOOL 14d3c4cfe37a4e84bd250f74178a900fd7f55acaa0abac5a73079881e9841a0abd3b1e79dc2b2c8f560f2dcd9b5e3a7cc7c393954fef9f7ac8379748eb0c0b08
diff --git a/x11-misc/dzen/dzen-0.9.5-r1.ebuild b/x11-misc/dzen/dzen-0.9.5-r1.ebuild
new file mode 100644
index 000000000000..12498cc73da3
--- /dev/null
+++ b/x11-misc/dzen/dzen-0.9.5-r1.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit eutils toolchain-funcs vcs-snapshot
+
+COMMITID="f7907da3a42a6d59e27ede88f5f01e4e41c4c9e0"
+
+DESCRIPTION="a general purpose messaging, notification and menuing program for X11"
+HOMEPAGE="https://github.com/robm/dzen"
+SRC_URI="https://github.com/robm/${PN}/tarball/${COMMITID} -> ${P}.tar.gz"
+
+LICENSE="MIT"
+KEYWORDS="amd64 x86"
+IUSE="minimal xft xinerama xpm"
+SLOT="2"
+
+RDEPEND="
+ x11-libs/libX11
+ xft? ( x11-libs/libXft )
+ xinerama? ( x11-libs/libXinerama )
+ xpm? ( x11-libs/libXpm )
+"
+DEPEND="
+ ${RDEPEND}
+ virtual/pkgconfig
+ x11-proto/xproto
+ xinerama? ( x11-proto/xineramaproto )
+"
+
+DOCS=( README )
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}"/${P}-config-default.patch \
+ "${FILESDIR}"/${P}-off-by-one.patch
+
+ sed -i \
+ -e '/strip/d' \
+ -e 's:^ @: :g' \
+ -e 's:{CC}:(CC):g' \
+ Makefile gadgets/Makefile || die
+
+ tc-export CC PKG_CONFIG
+}
+
+src_configure() {
+ if use xinerama ; then
+ sed -e '/^LIBS/s|$| -lXinerama|' \
+ -e '/^CFLAGS/s|$| -DDZEN_XINERAMA|' \
+ -i config.mk || die
+ fi
+ if use xpm ; then
+ sed -e '/^LIBS/s|$| -lXpm|' \
+ -e '/^CFLAGS/s|$| -DDZEN_XPM|' \
+ -i config.mk || die
+ fi
+ if use xft ; then
+ sed -e '/^LIBS/s|$| $(shell ${PKG_CONFIG} --libs xft)|' \
+ -e '/^CFLAGS/s|$| -DDZEN_XFT $(shell ${PKG_CONFIG} --cflags xft)|' \
+ -i config.mk || die
+ fi
+}
+
+src_compile() {
+ default
+ use minimal || emake -C gadgets
+}
+
+src_install() {
+ default
+
+ if ! use minimal ; then
+ emake -C gadgets DESTDIR="${D}" install
+ dobin gadgets/*.sh
+ dodoc gadgets/README*
+ fi
+}
diff --git a/x11-misc/dzen/files/dzen-0.9.5-config-default.patch b/x11-misc/dzen/files/dzen-0.9.5-config-default.patch
new file mode 100644
index 000000000000..2fcdddbf6a68
--- /dev/null
+++ b/x11-misc/dzen/files/dzen-0.9.5-config-default.patch
@@ -0,0 +1,95 @@
+--- a/config.mk
++++ b/config.mk
+@@ -4,7 +4,7 @@
+ # Customize below to fit your system
+
+ # paths
+-PREFIX = /usr/local
++PREFIX = /usr
+ MANPREFIX = ${PREFIX}/share/man
+
+ X11INC = /usr/X11R6/include
+@@ -19,55 +19,12 @@
+ # Comment : Add # to the beginning of the respective lines
+
+ ## Option 1: No Xinerama no XPM no XFT
+-#LIBS = -L/usr/lib -lc -L${X11LIB} -lX11
+-#CFLAGS = -Wall -Os ${INCS} -DVERSION=\"${VERSION}\"
+-
+-
+-## Option 2: No Xinerama with XPM
+-#LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 -lXpm
+-#CFLAGS = -Wall -Os ${INCS} -DVERSION=\"${VERSION}\" -DDZEN_XPM
+-
+-
+-# Option 3: With Xinerama no XPM
+-#LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 -lXinerama
+-#CFLAGS = -Wall -Os ${INCS} -DVERSION=\"${VERSION}\" -DDZEN_XINERAMA
+-
+-
+-## Option 4: With Xinerama and XPM
+-#LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 -lXinerama -lXpm
+-#CFLAGS = -Wall -Os ${INCS} -DVERSION=\"${VERSION}\" -DDZEN_XINERAMA -DDZEN_XPM
+-
+-
+-## Option 5: With XFT
+-LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 `pkg-config --libs xft`
+-CFLAGS = -Wall -Os ${INCS} -DVERSION=\"${VERSION}\" -DDZEN_XFT `pkg-config --cflags xft`
+-
+-
+-## Option 6: With XPM and XFT
+-#LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 -lXpm `pkg-config --libs xft`
+-#CFLAGS = -Wall -Os ${INCS} -DVERSION=\"${VERSION}\" -DDZEN_XPM -DDZEN_XFT `pkg-config --cflags xft`
+-
+-
+-## Option 7: With Xinerama and XPM and XFT
+-#LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 -lXinerama -lXpm `pkg-config --libs xft`
+-#CFLAGS = -Wall -Os ${INCS} -DVERSION=\"${VERSION}\" -DDZEN_XINERAMA -DDZEN_XPM -DDZEN_XFT `pkg-config --cflags xft`
+-
+-
++LIBS = -lX11
++CFLAGS += -Wall ${INCS} -DVERSION=\"${VERSION}\"
+
+ # END of feature configuration
+
+-
+-LDFLAGS = ${LIBS}
+-
+-# Solaris, uncomment for Solaris
+-#CFLAGS = -fast ${INCS} -DVERSION=\"${VERSION}\"
+-#LDFLAGS = ${LIBS}
+-#CFLAGS += -xtarget=ultra
+-
+-# Debugging
+-#CFLAGS = ${INCS} -DVERSION=\"${VERSION}\" -std=gnu89 -pedantic -Wall -W -Wundef -Wendif-labels -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wdisabled-optimization -O2 -pipe -DDZEN_XFT `pkg-config --cflags xft`
+-#LDFLAGS = ${LIBS}
++LDFLAGS += ${LIBS}
+
+ # compiler and linker
+-CC = gcc
+-LD = ${CC}
++LD = $(CC)
+--- a/gadgets/config.mk
++++ b/gadgets/config.mk
+@@ -1,7 +1,7 @@
+ # Customize below to fit your system
+
+ # paths
+-PREFIX = /usr/local
++PREFIX = /usr
+ MANPREFIX = ${PREFIX}/share/man
+
+ X11INC = /usr/X11R6/include
+@@ -10,9 +10,8 @@
+ X11LIB = /usr/X11R6/lib
+ LIBS = -L/usr/lib
+
+-CFLAGS = -Os ${INCS}
+-LDFLAGS = ${LIBS}
++CFLAGS += ${INCS}
++LDFLAGS += ${LIBS}
+
+ # compiler and linker
+-CC = gcc
+-LD = ${CC}
++LD = $(CC)
diff --git a/x11-misc/dzen/files/dzen-0.9.5-off-by-one.patch b/x11-misc/dzen/files/dzen-0.9.5-off-by-one.patch
new file mode 100644
index 000000000000..008fd6455014
--- /dev/null
+++ b/x11-misc/dzen/files/dzen-0.9.5-off-by-one.patch
@@ -0,0 +1,11 @@
+--- a/main.c
++++ b/main.c
+@@ -109,7 +109,7 @@
+ rem = NULL;
+ }
+ while(off < len) {
+- if(i > MAX_LINE_LEN) {
++ if(i == MAX_LINE_LEN - 1) {
+ outbuf[i] = '\0';
+ return ++off;
+ }
diff --git a/x11-misc/dzen/metadata.xml b/x11-misc/dzen/metadata.xml
new file mode 100644
index 000000000000..3319f73334bb
--- /dev/null
+++ b/x11-misc/dzen/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+ <longdescription>Dzen is a general purpose messaging, notification and menuing
+ program for X11. It was designed to be scriptable in any language and
+ integrate well with window managers like dwm, wmii and xmonad though it will
+ work with any window manager.</longdescription>
+ <upstream>
+ <remote-id type="github">robm/dzen</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/e16keyedit/Manifest b/x11-misc/e16keyedit/Manifest
new file mode 100644
index 000000000000..acd1d2fd4ca6
--- /dev/null
+++ b/x11-misc/e16keyedit/Manifest
@@ -0,0 +1,5 @@
+DIST e16keyedit-0.7.tar.gz 88323 SHA256 8f9aa35ca5355f7a5bee04f4cced0922ed0f690be2d10f5a8e39680e391c09a2 SHA512 6178977bd9e1dfd337717660be8102f5c3f0a6d29d4b0b1ae67a7fa9a812ab46c4fee67e52282ca38d429d16697935e25e7c046f22d7f3bb06b7b3933e6d557b WHIRLPOOL 33192e9ee9fa2826855b69e109f70ddd71c9b338d2d7095e2739ac2fda75640371370fb61183819e252080893dca1a2b3f14f1c56e4416dd28bc1e406297d6e3
+EBUILD e16keyedit-0.7.ebuild 558 SHA256 687ddfadc375af5764962c9ebd06cb9a5de78892144df35632fd2ea1377d0ae7 SHA512 fbed73fc07ed7ed65d8347b0210fca5e5f29fb671855ae45cc3bcbf0416aa173ce6175044a7e09e9a67f0914afad3f65bb88c68202ef7c3efc57cec543b55cc8 WHIRLPOOL c6c477afdd572fb4f0971525cf3ec23b8fd355f61e29e196aff1e264057d87f857a2603be89abf9906b5cd4d76acc2d139c467ccc78042cd243d77ed70d650d8
+MISC ChangeLog 3125 SHA256 017ef8449e11025a7506ddc31a1cb0edae2d86040b7d2e3de35191b241380189 SHA512 01ba899ae1a354aac7fcd6819864ed62df1b0f72f22fadb1b6e1089bdc62ec45756299f9958595a21b6a6b938072f60a70898960aca7bd3240a44c4946ec26f3 WHIRLPOOL a0054eb7d79be6ba4baf1d2d8e47b252cb3296d8a982056786bf2a1783136f67611fb1a432c0fb491d1fd7fe2bd9ca7335c01ce16e134f5532faaf9f14a133e6
+MISC ChangeLog-2015 2753 SHA256 db5fa5808f6352602ef99fbf783e901c2e931c52254920438b2cb4c73aae7cb9 SHA512 07e3160110c36ff908f27e63a6c76a3feb2b22736c9e83357ae18c9c61d336e05b7f683eac0c2614c7e36099255ca110faafade2343201bf0da0d12484b5e0bb WHIRLPOOL cfa83e24e869505458780c425bd8f871b56e4bc5466f4b2b229911746593a33d8835e0311b37739d7f47a88d86aedd26ff56e50b5a292c410ca82ea8dbe289b6
+MISC metadata.xml 447 SHA256 3c3b1ee20b5ef2f44ec48161df5be547a074bf43f6a9b2dfdf61f21168615431 SHA512 9dc5d7d361d5d8ebf92246ae0ab94d1f167b1107a78f7a35d003f592d311fd35da85b28d5e152a37c6e37ebd9383be740e56d580429a04b5367a5a25302e949a WHIRLPOOL 4a5da0e6ce7209bcf37ebebc133b68530dd657ab1453e88650e299cb46cde9bda43be2920ff4432fa5be3a9e301805cd567ead964658b48d5837239f197e1055
diff --git a/x11-misc/e16keyedit/e16keyedit-0.7.ebuild b/x11-misc/e16keyedit/e16keyedit-0.7.ebuild
new file mode 100644
index 000000000000..77ee2bbb1a43
--- /dev/null
+++ b/x11-misc/e16keyedit/e16keyedit-0.7.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+DESCRIPTION="Key binding editor for enlightenment 16"
+HOMEPAGE="https://www.enlightenment.org/"
+SRC_URI="mirror://sourceforge/enlightenment/${P}.tar.gz"
+
+LICENSE="MIT-with-advertising"
+SLOT="0"
+KEYWORDS="amd64 ppc sparc x86"
+IUSE=""
+
+RDEPEND="=x11-libs/gtk+-2*"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_compile() {
+ econf --enable-gtk2 || die
+ emake || die
+}
+
+src_install() {
+ emake install DESTDIR="${D}" || die
+ dodoc README ChangeLog AUTHORS
+}
diff --git a/x11-misc/e16keyedit/metadata.xml b/x11-misc/e16keyedit/metadata.xml
new file mode 100644
index 000000000000..a3ff89c8d0b1
--- /dev/null
+++ b/x11-misc/e16keyedit/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>enlightenment@gentoo.org</email>
+ <name>Project Enlightenment</name>
+</maintainer>
+<longdescription>
+This is a standalone keybindings editor for enlightenment version 0.16.
+</longdescription>
+<upstream>
+ <remote-id type="sourceforge">enlightenment</remote-id>
+</upstream>
+</pkgmetadata>
diff --git a/x11-misc/e16menuedit2/Manifest b/x11-misc/e16menuedit2/Manifest
new file mode 100644
index 000000000000..4ad28b66cb56
--- /dev/null
+++ b/x11-misc/e16menuedit2/Manifest
@@ -0,0 +1,6 @@
+AUX e16menuedit2-0.0.3-no-docs.patch 430 SHA256 2eb405d3655b266887a1bec54b2c9af862f18fe70e2b2d4148175857fc6eb64f SHA512 b356134b36a72ad60a856c7101a035ad456bee5d121b69cd8e8b8ceed50c234fd232066c374e08aa5b4afb2ec15f5543124389c74dea1ec1517f6fe2ab22e401 WHIRLPOOL fc2e6f2c84547077db54394c86c935964fbbc702327c20f42babe07d26e2ae9e02aafc7a5f6643c31b998b997420675a59246aa41e8baf8e9680a98968bee7df
+DIST e16menuedit2-0.0.3.tar.gz 370740 SHA256 9a290f13f25b3fbce6d446cbc136933d981926b1da59c84cfac7f3690606b5a5 SHA512 41942028e7d20b5aa46fce8f54f60af46bd08e292a1812d4845d68cbc670699c8fc70a8d71c2749df623a4a083b92bc9539b9241fd7daabbee0deb855ff1be99 WHIRLPOOL 79efe3272f17db1d0fb540cb42682859926c6579d9b8469e3a2a06c7a3228183906e0c1f8f2a7e23130d833e46000bb1a36f1e0554603b94630a2d97116b1cf0
+EBUILD e16menuedit2-0.0.3.ebuild 671 SHA256 b04d8c63d25a176e756f5accbe8322670c1510feddaa08008fb3d91aeb36eb3f SHA512 78795378c1775bdb0f063621f808dc3662e91162fb96cab45d1cff55b3ea5b1ca964dff15435d07dcd146e00da2b8d5a38dcff159ce6c5fb8156baca33982eff WHIRLPOOL 46659f5e44f1aab945f7eb8954f116a983fa9515cd19d85e468443393a104aa0cd10728cffc6a9a3e281c7936e49dc5dd14cf3a62f2a44318682a68324949c78
+MISC ChangeLog 3182 SHA256 a9b5f3c2afc902d155517575f63c2796649043c4867019f0bc7d0b44760b4c0a SHA512 e5773d60d5acaed92aa7b90e185f147d8a3c70071f1ce2eddc57edc0267f17b4c62287b4c7a8169e70c86ad3a24a58251967a314b35520e5156fb8ceb23f7e66 WHIRLPOOL a1a76390596bcc08812f3087074a20e77da2d23216328edb82f515f0a3e2e92d7cc1a231f9946fb5c9841d7085d534006031edb87a7b5f4c448a0fb34a1f5791
+MISC ChangeLog-2015 1440 SHA256 2cad6e2000512b8354b47685565a6df4eb865ebdf85c60846e903a36cc96a15d SHA512 83cffe6bdc860c2a6ef8f10e4b8a6cbb43af9fe9546da1b527e05cae2783ebfaa03ffc3a5a39af3f0190aabf6e9b4970f657adc8ef73358a4266f3adb63d8983 WHIRLPOOL be15d02e89fef82c5158b23cfaf5f293e1c51ff647be39a4f8f45d5812d7bdeef7a52c3920e987fc6da62d699494cb479cfcea53666f971f1f1571e7e2e8c2d1
+MISC metadata.xml 338 SHA256 d9548d5bc0d937edfc082942dee48fdd3fedb5a11b3580b9b843626a6a40dedf SHA512 40686fc69dd7968b80435f1b2785ce45c9dc3c200d15cd83ac5ad0d3e279433cd1f0354568bc2490cd92f16089d8512f666f3b84db89d557032c1a4787596dbb WHIRLPOOL e728e760ba76f4106bf0ea84d8b74060ba6375c2ee9724094afcd66e2398c3aa7b59410d0c553d0a1687d6140ab375c18f9373b9fe867dc97069d6e4dd2b03aa
diff --git a/x11-misc/e16menuedit2/e16menuedit2-0.0.3.ebuild b/x11-misc/e16menuedit2/e16menuedit2-0.0.3.ebuild
new file mode 100644
index 000000000000..5fc26891b700
--- /dev/null
+++ b/x11-misc/e16menuedit2/e16menuedit2-0.0.3.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+GCONF_DEBUG="yes"
+
+inherit gnome2 eutils
+
+DESCRIPTION="Menu editor for enlightenment DR16 written in GTK2"
+HOMEPAGE="https://www.enlightenment.org/"
+SRC_URI="mirror://sourceforge/enlightenment/${P}.tar.gz"
+
+LICENSE="MIT-with-advertising"
+SLOT="0"
+KEYWORDS="amd64 arm ~ppc sh sparc x86"
+IUSE=""
+
+RDEPEND="
+ >=x11-wm/enlightenment-0.16
+ >=gnome-base/libglade-2.4
+ x11-libs/gtk+:2
+"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-no-docs.patch
+ sed -i '1i#include <glib/gstdio.h>' src/e16menuedit2.c
+ gnome2_src_prepare
+}
diff --git a/x11-misc/e16menuedit2/files/e16menuedit2-0.0.3-no-docs.patch b/x11-misc/e16menuedit2/files/e16menuedit2-0.0.3-no-docs.patch
new file mode 100644
index 000000000000..764ac8660336
--- /dev/null
+++ b/x11-misc/e16menuedit2/files/e16menuedit2-0.0.3-no-docs.patch
@@ -0,0 +1,19 @@
+--- Makefile.in
++++ Makefile.in
+@@ -220,14 +220,7 @@
+ yelphelpdir = @yelphelpdir@
+ SUBDIRS = src po pixmaps help
+-e16menuedit2docdir = ${prefix}/${packagedocdir}
++e16menuedit2docdir = ${prefix}
+-e16menuedit2doc_DATA = \
+- README\
+- COPYING\
+- AUTHORS\
+- ChangeLog\
+- INSTALL\
+- NEWS\
+- TODO
++e16menuedit2doc_DATA =
+
+ GLADE_FILES = e16menuedit2.glade
+ e16menuedit2datadir = ${prefix}/${packagedatadir}/glade
diff --git a/x11-misc/e16menuedit2/metadata.xml b/x11-misc/e16menuedit2/metadata.xml
new file mode 100644
index 000000000000..7dd8d5e7a692
--- /dev/null
+++ b/x11-misc/e16menuedit2/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>enlightenment@gentoo.org</email>
+ <name>Project Enlightenment</name>
+</maintainer>
+<upstream>
+ <remote-id type="sourceforge">enlightenment</remote-id>
+</upstream>
+</pkgmetadata>
diff --git a/x11-misc/easystroke/Manifest b/x11-misc/easystroke/Manifest
new file mode 100644
index 000000000000..e76a1d11d1f8
--- /dev/null
+++ b/x11-misc/easystroke/Manifest
@@ -0,0 +1,12 @@
+AUX easystroke-0.6.0-buttons-scroll-send.patch 1431 SHA256 c47c3d600740a73c3601dc27fc59496a1d2f127791008bd17481a34c8af3b510 SHA512 f8a862c450c665db4409d9abb07687fac5fac182a8f36038c795eb25a0cf732e0ccc3e589ae6c6eb65bde9a4f4cbd680f267734d2a65b301d1c8e7fa078dfcff WHIRLPOOL f3fd29a5d8624a4167e21c324b208380989b15a857350350ab11692b87c8aff815a6e9cfd792e10cfcfc7d399d959d2432b2ef6d3d3c01bebca5f5c83f3d9f06
+AUX easystroke-0.6.0-cellrendertextish.patch 718 SHA256 3cbc030f918afdde366b401e38f8693851fc070addfa7df6fc1f5c571edcd504 SHA512 2feacef4d9b1707dd1e20a2e84b78313744bc9ce9b2a7d0070cab47b691ec2cfd1e1616aaf1c30a722ae5ecb16c230b6a647965da4194f2700262977eedb8b9f WHIRLPOOL 05d034af4dbec0a8340c160bcc4a51f5cb1e28d801d20891f8f7e12884357b7ac5d3448629acb2cdf781d934b73c99b72a90767a9520aa69791e803f870f9610
+AUX easystroke-0.6.0-cxx11.patch 748 SHA256 850c109f738a0693751b909f5649ba08a4f76cd5efaa080544ada91fe2728ae1 SHA512 e16229a595dbad028665b967b8ee7a3c27860fa33e3fc3a40e2e7657e5d69338bde571f8526431ec1044ad59f1aaf65f66e294f38d735d932a7386a19d8f55a5 WHIRLPOOL 628d86f0ed4ea4f6150d943c2625d552d4f8cd2bfd2d3c33d1379d6e47caa6ef48c4b22e33f1f1fcb5df25cd024080f86d4ad6a515c429b7ee19a5df85cae66d
+AUX easystroke-0.6.0-desktop.patch 294 SHA256 09019df4e9e5c7c94851d83f12fcde0dd5953970e7d06b7d7e2f02b86ee4c922 SHA512 082b353b21fdb7754a3b94519a426f69c67caca32977657bdc09ca158d783612a454b2fc08949cb9cb2ee2d1c3ce07d6f7915e782f50c3829f456e31f6330471 WHIRLPOOL 6498ae7407aa58fa3b8c6d073cb22fa70ccf15297287b19897c29ebd4503fcdf645b29f674b4f8017f3603ac602cbda2ff67186982bb7595a3c3c3d5c8bf80cc
+AUX easystroke-0.6.0-gentoo.patch 1672 SHA256 3bcf989e34442a6295a2c19ee4a092034012fc3462da331c40cde00bc543190e SHA512 e44b7d01506242985ec2b53d4f267425d7877649d4ca734ade93a68b9d52b03af1cf7fc9eab81617d2459cbe27eb88f4f82754416a910fc01e1b0de9b34486a8 WHIRLPOOL 24bb3584dab7c3ae3041fed08283f824bd7fdccedb7668b8eb6784fd8c81a4c1142fbfa080f59b6770f742adac944467d79eed2731a5a577d8603692ecd52691
+AUX easystroke-0.6.0-reinstate-signal-handlers.patch 1070 SHA256 440bd92ff98c5068741a4f4846b232ca3601bb5dbdc2540750d807ce0c13aa5a SHA512 9cfe216ecfc2148e22d2a91f25b294bde2f7933e912f2ede86002679763e0a6eb14bb3f1182fd07156d103baa4bef4434e45b27ae3753c31758524c680665572 WHIRLPOOL 26db42fe7209a5d48dec79cb7379eb24f6fb49a5f334baeec8c9bc4a44d615d25b8fcd92fbe7948bd4a37f2b07b02929e123e7f1424f5d35bbbda19855bcb8d6
+DIST easystroke-0.6.0.tar.gz 121358 SHA256 f4c37adbc4dd405a24badb9e6be20d3223b4087ff9caed2c15ff71674051d0fd SHA512 a74cbdfd2b56e6b20d895297e80fb63f3d8ac938235ecf7067f984d087004af22a5ea0116ae20b948e238b02a06b14044a7025d65840f0c8d00542332387c921 WHIRLPOOL d1305449563d599c5159ebddb2fdc6c17f2e79d8a1ea5186cff9f6785545cb2941413fb498347da8801ac665e20f1aa252270bcc88e93d97111ae253924d7b18
+EBUILD easystroke-0.6.0-r1.ebuild 1283 SHA256 a9e88d00bf6e8aadc3a4137f70ade60ebc4548acd33db16f5e81d1b4696dc24c SHA512 83f13dc4f3609583502d9fd9abc91ad90ff525e9c811e5fa638eb5f51ba5edc0cf65c1c88d5f41f25beea5d2e416a4ddb1e1f12698afbbda3f60973561e9f6c8 WHIRLPOOL 3c77294350c408894a4c309e3d8a778104bc870441e8c76d98a564c0180633e7037e7c84ca9ba62b52cd18782eafaeabbf80f3f450a8f32c05d5566da376fb6d
+EBUILD easystroke-0.6.0-r2.ebuild 1363 SHA256 a1775162d2e2477ada9a03607ccdd7b00183382b3ac98b56ae08096623eb6e94 SHA512 f8bb6743ca4730c6793d6b1f0cb3468690dbb63411af6b2b7f1551cdaa2e490903476e2eaaf806bb4ec512b3062e53dc9bfe02770b4a3b6050dc60d62ce811df WHIRLPOOL 422c7dd94c450c3bb8a084b01168d435e93e8b089895859cf9c20c5cfe5af8e448f268d9de9d76fea232e697ecee4f8af3b2df47cc237802b352969b6fb53696
+MISC ChangeLog 3176 SHA256 cde4a9f8410c3dc08d3981848b3f87b263bd2b2669cf4a138e2dc8b2e9ed78ce SHA512 4c13c162d84c58a36069d28b5df11cad0f237900646861e29c077a86f962923dfe9fe66b0f594939f24d81d90c7fcd2a2e83e43a31e7b2b94820c2664660861e WHIRLPOOL c1ba0efdd1baeed7600f49027c397c720e8a344f2855fc7339b223cc4ed4b1475d2f6d916647066281929bee62b36f9337e1132f220786ff4ae831edf10e9153
+MISC ChangeLog-2015 1100 SHA256 8766b8eabead90b2b984ccf98eac5deca958cd00859cc6ca96384aa334c59094 SHA512 f3c7627559307efd31669e0e1c11e2b336dbf8dcafa38b2d730fcac231511482736774ead5c54979b321311231498334f016cad1eb8e186cb547dbd93258d978 WHIRLPOOL 63ecd4187cb9bedc1c4b089df338f43bd3463e2d7903fc210ad618efaa2ff9a181d7bdaa279c3dace3ddcfd8b24649cc69fabd4b25e312e7884f4cfb7e4d17ee
+MISC metadata.xml 356 SHA256 a93d0c5e792893cb94bcd654beb9864e1c351e45b23aa576a03efa4b252497a4 SHA512 c5efb2bf236919918bdd4ec562db67ac68c243c4ce208460a95faad9ba94325036ae101d01b06cd95b5cda300695b8fd27b3d6b39d9af41685b7c30652e89ffc WHIRLPOOL 6f6a482a5173642718a8bd1de0dcc77818fe6b3361f69248da9c275601688e7fa6d7c150daffb0e8d9bd002ed7ce4172036f17ea4fc1238b9b6e72d170cb5279
diff --git a/x11-misc/easystroke/easystroke-0.6.0-r1.ebuild b/x11-misc/easystroke/easystroke-0.6.0-r1.ebuild
new file mode 100644
index 000000000000..f7399bbec905
--- /dev/null
+++ b/x11-misc/easystroke/easystroke-0.6.0-r1.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit eutils toolchain-funcs
+
+DESCRIPTION="a gesture-recognition application for X11"
+HOMEPAGE="https://sourceforge.net/apps/trac/easystroke/"
+SRC_URI="mirror://sourceforge/project/${PN}/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="ISC"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+ dev-cpp/gtkmm:3.0
+ dev-libs/boost:=
+ dev-libs/dbus-glib
+ dev-libs/glib:2
+ x11-base/xorg-server
+ x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXfixes
+ x11-libs/libXi
+ x11-libs/libXtst
+"
+DEPEND="
+ ${RDEPEND}
+ dev-util/intltool
+ sys-devel/gettext
+"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-cellrendertextish.patch
+ epatch "${FILESDIR}"/${P}-desktop.patch
+ epatch "${FILESDIR}"/${P}-gentoo.patch
+ epatch "${FILESDIR}"/${P}-reinstate-signal-handlers.patch
+ epatch "${FILESDIR}"/${P}-buttons-scroll-send.patch
+
+ tc-export CC CXX PKG_CONFIG
+
+ if ! [[ -z ${LINGUAS} ]]; then
+ strip-linguas -i po/
+
+ local es_lingua lang
+ for es_lingua in $( printf "%s\n" po/*.po ); do
+ lang=${es_lingua/po\/}
+ has ${lang/.po/} ${LINGUAS} || rm ${es_lingua}
+ done
+ fi
+}
+
+src_compile() {
+ emake \
+ AOFLAGS='' \
+ LDFLAGS="${LDFLAGS}" \
+ PREFIX=/usr
+}
+
+src_install() {
+ emake DESTDIR="${D}" PREFIX=/usr install
+}
diff --git a/x11-misc/easystroke/easystroke-0.6.0-r2.ebuild b/x11-misc/easystroke/easystroke-0.6.0-r2.ebuild
new file mode 100644
index 000000000000..c441c8c4a8cd
--- /dev/null
+++ b/x11-misc/easystroke/easystroke-0.6.0-r2.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit eutils flag-o-matic toolchain-funcs
+
+DESCRIPTION="a gesture-recognition application for X11"
+HOMEPAGE="https://sourceforge.net/apps/trac/easystroke/"
+SRC_URI="mirror://sourceforge/project/${PN}/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="ISC"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+ dev-cpp/gtkmm:3.0
+ dev-libs/boost:=
+ dev-libs/dbus-glib
+ dev-libs/glib:2
+ x11-base/xorg-server
+ x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXfixes
+ x11-libs/libXi
+ x11-libs/libXtst
+"
+DEPEND="
+ ${RDEPEND}
+ dev-util/intltool
+ sys-devel/gettext
+"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-cellrendertextish.patch
+ epatch "${FILESDIR}"/${P}-desktop.patch
+ epatch "${FILESDIR}"/${P}-gentoo.patch
+ epatch "${FILESDIR}"/${P}-reinstate-signal-handlers.patch
+ epatch "${FILESDIR}"/${P}-buttons-scroll-send.patch
+ epatch "${FILESDIR}"/${P}-cxx11.patch
+
+ tc-export CC CXX PKG_CONFIG
+
+ if ! [[ -z ${LINGUAS} ]]; then
+ strip-linguas -i po/
+
+ local es_lingua lang
+ for es_lingua in $( printf "%s\n" po/*.po ); do
+ lang=${es_lingua/po\/}
+ has ${lang/.po/} ${LINGUAS} || rm ${es_lingua}
+ done
+ fi
+}
+
+src_compile() {
+ append-cxxflags -std=c++11
+ emake \
+ AOFLAGS='' \
+ LDFLAGS="${LDFLAGS}" \
+ PREFIX=/usr
+}
+
+src_install() {
+ emake DESTDIR="${D}" PREFIX=/usr install
+}
diff --git a/x11-misc/easystroke/files/easystroke-0.6.0-buttons-scroll-send.patch b/x11-misc/easystroke/files/easystroke-0.6.0-buttons-scroll-send.patch
new file mode 100644
index 000000000000..27bfa4cfee66
--- /dev/null
+++ b/x11-misc/easystroke/files/easystroke-0.6.0-buttons-scroll-send.patch
@@ -0,0 +1,43 @@
+From 5388934e722308cd314d65e362ddfaf6e5ab6c94 Mon Sep 17 00:00:00 2001
+From: Thomas Jaeger <ThJaeger@gmail.com>
+Date: Sat, 13 Apr 2013 14:10:35 -0400
+Subject: Make buttons and scroll work properly with 'send'
+
+---
+ handler.cc | 6 ++++--
+ 1 file changed, 4 insertions(+), 2 deletions(-)
+
+diff --git a/handler.cc b/handler.cc
+index f47aae3..c1bd279 100644
+--- a/handler.cc
++++ b/handler.cc
+@@ -545,7 +545,7 @@ class AbstractScrollHandler : public Handler {
+
+ protected:
+ AbstractScrollHandler() : last_t(0), offset_x(0.0), offset_y(0.0) {
+- if (!prefs.move_back.get() || xstate->current_dev->absolute)
++ if (!prefs.move_back.get() || (xstate->current_dev && xstate->current_dev->absolute))
+ return;
+ Window dummy1, dummy2;
+ int dummy3, dummy4;
+@@ -563,7 +563,7 @@ protected:
+ }
+ protected:
+ void move_back() {
+- if (!prefs.move_back.get() || xstate->current_dev->absolute)
++ if (!prefs.move_back.get() || (xstate->current_dev && xstate->current_dev->absolute))
+ return;
+ XTestFakeMotionEvent(dpy, DefaultScreen(dpy), orig_x, orig_y, 0);
+ }
+@@ -1115,6 +1115,8 @@ XState::XState() : current_dev(NULL), in_proximity(false), accepted(true) {
+
+ void XState::run_action(RAction act) {
+ RModifiers mods = act->prepare();
++ IF_BUTTON(act, b)
++ return handler->replace_child(new ButtonHandler(mods, b));
+ if (IS_IGNORE(act))
+ return handler->replace_child(new IgnoreHandler(mods));
+ if (IS_SCROLL(act))
+--
+1.8.4
+
diff --git a/x11-misc/easystroke/files/easystroke-0.6.0-cellrendertextish.patch b/x11-misc/easystroke/files/easystroke-0.6.0-cellrendertextish.patch
new file mode 100644
index 000000000000..8664ed736bae
--- /dev/null
+++ b/x11-misc/easystroke/files/easystroke-0.6.0-cellrendertextish.patch
@@ -0,0 +1,20 @@
+--- a/cellrenderertextish.c
++++ b/cellrenderertextish.c
+@@ -599,7 +599,7 @@
+ _g_free0 (self->priv->path);
+ self->priv->path = _tmp3_;
+ g_signal_connect_object ((GtkCellEditable*) self, "editing-done", (GCallback) _cell_editable_accel_on_editing_done_gtk_cell_editable_editing_done, self, 0);
+- _tmp4_ = _ ("Key combination...");
++ _tmp4_ = ("Key combination...");
+ _tmp5_ = (GtkLabel*) gtk_label_new (_tmp4_);
+ g_object_ref_sink (_tmp5_);
+ label = _tmp5_;
+@@ -907,7 +907,7 @@
+ const gchar* _tmp10_;
+ const gchar* _tmp11_ = NULL;
+ _tmp10_ = item;
+- _tmp11_ = _ (_tmp10_);
++ _tmp11_ = (_tmp10_);
+ gtk_combo_box_text_append_text ((GtkComboBoxText*) self, _tmp11_);
+ _g_free0 (item);
+ }
diff --git a/x11-misc/easystroke/files/easystroke-0.6.0-cxx11.patch b/x11-misc/easystroke/files/easystroke-0.6.0-cxx11.patch
new file mode 100644
index 000000000000..b628d1b14d34
--- /dev/null
+++ b/x11-misc/easystroke/files/easystroke-0.6.0-cxx11.patch
@@ -0,0 +1,18 @@
+diff -uprb easystroke-0.6.0.orig/actions.cc easystroke-0.6.0/actions.cc
+--- easystroke-0.6.0.orig/actions.cc 2013-03-27 17:52:38.000000000 +0200
++++ easystroke-0.6.0/actions.cc 2015-12-07 22:07:17.720041171 +0200
+@@ -51,10 +51,11 @@ void TreeViewMulti::on_drag_begin(const
+ context->set_icon(pb, pb->get_width(), pb->get_height());
+ }
+
+-bool negate(bool b) { return !b; }
+-
+ TreeViewMulti::TreeViewMulti() : Gtk::TreeView(), pending(false) {
+- get_selection()->set_select_function(sigc::group(&negate, sigc::ref(pending)));
++ get_selection()->set_select_function(
++ [this](Glib::RefPtr<Gtk::TreeModel> const&, Gtk::TreeModel::Path const&, bool) {
++ return !pending;
++ });
+ }
+
+ enum Type { COMMAND, KEY, TEXT, SCROLL, IGNORE, BUTTON, MISC };
diff --git a/x11-misc/easystroke/files/easystroke-0.6.0-desktop.patch b/x11-misc/easystroke/files/easystroke-0.6.0-desktop.patch
new file mode 100644
index 000000000000..c9a75a2c4b78
--- /dev/null
+++ b/x11-misc/easystroke/files/easystroke-0.6.0-desktop.patch
@@ -0,0 +1,11 @@
+--- a/easystroke.desktop.in
++++ b/easystroke.desktop.in
+@@ -6,7 +6,7 @@
+ Exec=easystroke
+ Icon=easystroke
+ Categories=GTK;Utility;Accessibility;
+-Actions=About;Enable;Disable;Quit
++Actions=About;Enable;Disable;Quit;
+ _Comment=Control your desktop using mouse gestures
+
+ [Desktop Action About]
diff --git a/x11-misc/easystroke/files/easystroke-0.6.0-gentoo.patch b/x11-misc/easystroke/files/easystroke-0.6.0-gentoo.patch
new file mode 100644
index 000000000000..ee95b21486c1
--- /dev/null
+++ b/x11-misc/easystroke/files/easystroke-0.6.0-gentoo.patch
@@ -0,0 +1,41 @@
+--- a/Makefile
++++ b/Makefile
+@@ -19,14 +19,14 @@
+ MENUDIR = $(PREFIX)/share/applications
+ LOCALEDIR= $(PREFIX)/share/locale
+ DFLAGS =
+-OFLAGS = -O2
+-AOFLAGS = -O3
++#OFLAGS = -O2
++#AOFLAGS = -O3
+ STROKEFLAGS = -Wall -std=c99 $(DFLAGS)
+-CXXFLAGS = -Wall $(DFLAGS) -DLOCALEDIR=\"$(LOCALEDIR)\" `pkg-config gtkmm-3.0 dbus-glib-1 --cflags`
+-CFLAGS = -Wall $(DFLAGS) -DLOCALEDIR=\"$(LOCALEDIR)\" `pkg-config gtk+-3.0 --cflags` -DGETTEXT_PACKAGE='"easystroke"'
+-LDFLAGS = $(DFLAGS)
++CXXFLAGS += -Wall $(DFLAGS) -DLOCALEDIR=\"$(LOCALEDIR)\" $(shell $(PKG_CONFIG) gtkmm-3.0 dbus-glib-1 --cflags)
++CFLAGS += -Wall $(DFLAGS) -DLOCALEDIR=\"$(LOCALEDIR)\" $(shell $(PKG_CONFIG) gtk+-3.0 --cflags) -DGETTEXT_PACKAGE='"easystroke"'
++#LDFLAGS = $(DFLAGS)
+
+-LIBS = $(DFLAGS) -lboost_serialization -lX11 -lXext -lXi -lXfixes -lXtst `pkg-config gtkmm-3.0 dbus-glib-1 --libs`
++LIBS = $(DFLAGS) -lboost_serialization -lX11 -lXext -lXi -lXfixes -lXtst $(shell $(PKG_CONFIG) gtkmm-3.0 dbus-glib-1 --libs)
+
+ BINARY = easystroke
+ ICON = easystroke.svg
+@@ -60,7 +60,7 @@
+ include $(DEPFILES)
+
+ $(BINARY): $(OFILES)
+- $(CXX) $(LDFLAGS) -o $@ $(OFILES) $(LIBS)
++ $(CXX) $(CFLAGS) $(LDFLAGS) -o $@ $(OFILES) $(LIBS)
+
+ stroke.o: stroke.c
+ $(CC) $(STROKEFLAGS) $(AOFLAGS) -MT $@ -MMD -MP -MF $*.Po -o $@ -c $<
+@@ -119,7 +119,7 @@
+ help2man -N -n "X11 gesture recognition application" ./$(BINARY) > $@
+
+ install: all
+- install -Ds $(BINARY) $(DESTDIR)$(BINDIR)/$(BINARY)
++ install -D $(BINARY) $(DESTDIR)$(BINDIR)/$(BINARY)
+ install -D -m 644 $(ICON) $(DESTDIR)$(ICONDIR)/$(ICON)
+ install -D -m 644 $(MENU) $(DESTDIR)$(MENUDIR)/$(MENU)
+ for f in $(MOFILES); do \
diff --git a/x11-misc/easystroke/files/easystroke-0.6.0-reinstate-signal-handlers.patch b/x11-misc/easystroke/files/easystroke-0.6.0-reinstate-signal-handlers.patch
new file mode 100644
index 000000000000..2e96346459a8
--- /dev/null
+++ b/x11-misc/easystroke/files/easystroke-0.6.0-reinstate-signal-handlers.patch
@@ -0,0 +1,42 @@
+From 7bda4bd9c705413598ee9b534884bc7f23704932 Mon Sep 17 00:00:00 2001
+From: Thomas Jaeger <ThJaeger@gmail.com>
+Date: Thu, 20 Jun 2013 01:45:20 -0400
+Subject: Reinstate signal handlers that got lost in the gtk3 transition
+
+Also, fix a segfault when handling SIGINT.
+---
+ main.cc | 11 ++++++++++-
+ 1 file changed, 10 insertions(+), 1 deletion(-)
+
+diff --git a/main.cc b/main.cc
+index 55d0b3c..8cd9c56 100644
+--- a/main.cc
++++ b/main.cc
+@@ -161,7 +161,12 @@ void quit() {
+ xstate->bail_out();
+ dead = true;
+ win->hide();
+- xstate->queue(sigc::ptr_fun(&Gtk::Main::quit));
++ Glib::RefPtr<Gio::Application> app = Gio::Application::get_default();
++ xstate->queue(sigc::mem_fun(*app.operator->(), &Gio::Application::quit));
++}
++
++void sig_int(int) {
++ quit();
+ }
+
+ class App : public Gtk::Application, Base {
+@@ -371,6 +376,10 @@ void App::on_activate() {
+
+ create_config_dir();
+ unsetenv("DESKTOP_AUTOSTART_ID");
++
++ signal(SIGINT, &sig_int);
++ signal(SIGCHLD, SIG_IGN);
++
+ dpy = XOpenDisplay(NULL);
+ if (!dpy) {
+ printf(_("Couldn't open display.\n"));
+--
+1.8.4
+
diff --git a/x11-misc/easystroke/metadata.xml b/x11-misc/easystroke/metadata.xml
new file mode 100644
index 000000000000..a03902e2222a
--- /dev/null
+++ b/x11-misc/easystroke/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">easystroke</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/efax-gtk/Manifest b/x11-misc/efax-gtk/Manifest
new file mode 100644
index 000000000000..e0f1908d7c88
--- /dev/null
+++ b/x11-misc/efax-gtk/Manifest
@@ -0,0 +1,7 @@
+DIST efax-gtk-3.2.13.src.tgz 1245015 SHA256 4d09de4a0c530fe24cf8d8061aae92d5c2e6b8c52120b97be0ad8e4c3b68ac37 SHA512 dde0f79df444bdaf5250eae1dc0a94184c0b32e319b04943e81178d2a744bb6e387b5aa0f2379bd23dd4c18d28c30c60083c0cda5819e5c853c1b7bdc4f5b64f WHIRLPOOL 0336f7e6cb566cc3debc76cd9e2c0e67ca4d6b796693d4c8cd56e28166380f814290df55a9feefea111bbcf3ea0f27d6ed27ffd9b10784081fd0395314218e94
+DIST efax-gtk-3.2.9.src.tgz 1176921 SHA256 92f4047dcbbafcebaad11f86115abed2e1ac4c34ab0dddba0bb3ad6875bee79b SHA512 a2a4a648b95f9143f8ad3b42c3f8f86323a2b312fed87616eddeaebe06742a5a4ae841d79f3078bf9e819288252ad4d79ec429a66116c1d2b8df8a8a13cac806 WHIRLPOOL 9e21ff1ae8787306c0c23661d6a0d998037f982f9ef37f150a90d64710f6ad1aea8adb28729eb549be981386f1f8605e908b5a1126b058c06ccc09951d38885b
+EBUILD efax-gtk-3.2.13.ebuild 1194 SHA256 04576445eeb6b3ff14bceef984cc67ba7b29177f832c29ec7003c6c810faf6f0 SHA512 abd4f161dca129c2ce5a23b84eb0cd4b6db310e31e5925f3d3f3e4606cc5f8a937e7f5ca903ac67b3688e6f9289d10294989e8195806a5917a39473c5d18299b WHIRLPOOL 0bbaa2026a072faa82d910616e1f2e777a52cfadaa306b6f28a5dd89d9947b9fa325b0a93b0d8e8f9b2373907bbd90620cf9740d9c748f0784c35bcd53e4de9f
+EBUILD efax-gtk-3.2.9.ebuild 1209 SHA256 a88284f614f756826eda1607830ae2d3c93916a4917f369367d5b75b86692e5a SHA512 c2e20282c1dc1a7b59dfb7088da0ab6dda7f10027e63e90655207456136bf108f45d28ad8e20480e9ef17e22df3aa461bb4016a3c77719c42f6205b938baccc6 WHIRLPOOL b3dc14f96df759477806ba870fbdd5f2113443da9be0e1fa040b618d02b89695902ef98b791fbddcd66fc38dc0dbe1494844f6188ab318feffb6e3c39f557cac
+MISC ChangeLog 3083 SHA256 744e66444415261232a368e96c05d6e716f83d7dad74d016c353e120cba99c26 SHA512 fe81ec9fc0dbb95061abc107a14fe7a929f3862f35d9708ae0f639f4aeb050f5b071dd794d56daebaf1d7ffdddf0908d559fba54fc5238597bae6a2a228af1b6 WHIRLPOOL 5553fb64f3a089d89496a74f5668d84d53b560fd4051ebcc05887fe5fac89ea07f6de7db9268068e24a5f61cf222a7e8fb74304ce4371c0144fe71d72229ab6b
+MISC ChangeLog-2015 5807 SHA256 18e21edfd73681ad46b305dfa7d71ed569b3c52f21d2c8d9339977d76c651bd9 SHA512 3c1976520823905734ebac29d8a505934db262ac3a0498a38399138a53d88508482b8450d1235411eb2f67638e357b4da5250d7c04969296e7dfc8c4c3bd7b5a WHIRLPOOL fc74e049408ce56167855a8aa48db93e9441343f693c944ddc3ee33b4bce8286e74b5c769dfa41f35943cf2d2ccf4eab4b237f111791de60f0479cfeec5c9637
+MISC metadata.xml 354 SHA256 9ea80062e6bcfd435e46b6b29651c500d8899271c50db3a18caa5642890142ce SHA512 6b32fac40a7eeabdbc54a4416d05fbe7d516b95056d00b4ecf5f707a667b53994fe519f653dbc2c00b48354698602c5b961684f9cfa67e1e6bc75faaabf3941f WHIRLPOOL 3177634c4d829a32bae0ebef2f2088b3b2a24ef7f088af1872fbd8062b87a762d5804e66ce85c35f23e284038a3ded1b39834e0c5179193cd9728666eb7f6584
diff --git a/x11-misc/efax-gtk/efax-gtk-3.2.13.ebuild b/x11-misc/efax-gtk/efax-gtk-3.2.13.ebuild
new file mode 100644
index 000000000000..55711ad507fb
--- /dev/null
+++ b/x11-misc/efax-gtk/efax-gtk-3.2.13.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+DESCRIPTION="A graphical frontend for the 'efax' application"
+HOMEPAGE="http://efax-gtk.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.src.tgz"
+
+LICENSE="GPL-2 LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE="nls"
+
+RDEPEND=">=dev-libs/glib-2.10
+ media-libs/tiff:0=
+ x11-libs/libX11
+ x11-libs/c++-gtk-utils:0[gtk]
+ x11-libs/gtk+:3"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ nls? ( sys-devel/gettext )"
+
+DOCS="AUTHORS BUGS ChangeLog README"
+
+src_prepare() {
+ # Prevent sandbox violation with chown/chgrp and existing spooldir
+ sed -i -e '/ch.*lp.*spooldir/d' efax-gtk-faxfilter/Makefile.in || die
+
+ sed -i \
+ -e '/^Encoding/d' \
+ -e '/^Categories/s:Office;::' \
+ ${PN}.desktop || die
+}
+
+src_configure() {
+ econf \
+ $(use_enable nls) \
+ --with-gtk-version=gtk3
+}
+
+src_install() {
+ default
+ # File collision with net-misc/efax wrt #401221
+ mv "${ED}"usr/share/man/man1/efax{,-0.9a}.1 || die
+ mv "${ED}"usr/share/man/man1/efix{,-0.9a}.1 || die
+}
+
+pkg_postinst() {
+ local spooldir="${EROOT}"/var/spool/fax
+ [[ -d ${spooldir} ]] && chown lp:lp "${spooldir}"
+}
diff --git a/x11-misc/efax-gtk/efax-gtk-3.2.9.ebuild b/x11-misc/efax-gtk/efax-gtk-3.2.9.ebuild
new file mode 100644
index 000000000000..42e3dab12b44
--- /dev/null
+++ b/x11-misc/efax-gtk/efax-gtk-3.2.9.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+
+DESCRIPTION="A graphical frontend for the 'efax' application"
+HOMEPAGE="http://efax-gtk.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.src.tgz"
+
+LICENSE="GPL-2 LGPL-2.1"
+SLOT="0"
+KEYWORDS="amd64 ~ppc ~ppc64 x86"
+IUSE="nls"
+
+RDEPEND=">=dev-libs/glib-2.10
+ media-libs/tiff:0
+ x11-libs/libX11
+ x11-libs/c++-gtk-utils:3
+ x11-libs/gtk+:3"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ nls? ( sys-devel/gettext )"
+
+DOCS="AUTHORS BUGS ChangeLog README"
+
+src_prepare() {
+ # Prevent sandbox violation with chown/chgrp and existing spooldir
+ sed -i -e '/ch.*lp.*spooldir/d' efax-gtk-faxfilter/Makefile.in || die
+
+ sed -i \
+ -e '/^Encoding/d' \
+ -e '/^Icon/s:.png::' \
+ -e '/^Categories/s:Application;::' \
+ ${PN}.desktop || die
+}
+
+src_configure() {
+ econf \
+ $(use_enable nls) \
+ --with-gtk-version=gtk3
+}
+
+src_install() {
+ default
+ # https://bugs.gentoo.org/401221
+ mv -vf "${ED}"usr/share/man/man1/efax{,-0.9a}.1 || die
+ mv -vf "${ED}"usr/share/man/man1/efix{,-0.9a}.1 || die
+}
+
+pkg_postinst() {
+ local spooldir="${EROOT}"/var/spool/fax
+ [[ -d ${spooldir} ]] && chown lp:lp "${spooldir}"
+}
diff --git a/x11-misc/efax-gtk/metadata.xml b/x11-misc/efax-gtk/metadata.xml
new file mode 100644
index 000000000000..e052016ab934
--- /dev/null
+++ b/x11-misc/efax-gtk/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">efax-gtk</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/evolvotron/Manifest b/x11-misc/evolvotron/Manifest
new file mode 100644
index 000000000000..8400f80d5699
--- /dev/null
+++ b/x11-misc/evolvotron/Manifest
@@ -0,0 +1,6 @@
+AUX evolvotron-0.6.3-gcc6.patch 474 SHA256 d8283c4969111bb1d0ea56ccebe8f722e885ae8c84010f783f03429081ce7091 SHA512 eb6c1a97ba77d74df4b4e96cf98dc97eb6e3de8d255d249084fdd74d1d27abe89704d2d41eda0a3faffc8ae45ec64a18e50338bc33aa44f03ed8100fca62f213 WHIRLPOOL b8ac97af464ca577ba3cdeb35f167f5ec60a4ce3a790e5fb15598116d462410f4f89ee6e221244a5eda1cb4d080a724fd65bb6c46b8202e2c1544aa982f5be42
+DIST evolvotron-0.6.3.tar.gz 182357 SHA256 d1735fe84d90be004888017068f49fa00c97378fd7cca11a90a4a889ef681393 SHA512 4cb5e3bda340c3444c5d59aa0569010c1845104a67996a596840aec768964a96798dc61bab7c6a77de3a4586010d8d066941795145400ad9a3fd336269e681a9 WHIRLPOOL 34bb1e2aac934cb3c8079803eca3844750641d4b4dbcd4a01f18405f0ae861b77814087bb9b6d57fdad5998ac62b05e846483251df34d17c29f1df815a322909
+EBUILD evolvotron-0.6.3-r1.ebuild 902 SHA256 f8e1e0fc05e8d69815e4ad95317d493425e68f19dea332b857706b1eb42bcf45 SHA512 b5c575894cb61a6f825422e98dc75fcb205ebd8731ef30af844ea66612fe4d86ac5a52145d2ee39fdbc42fc1032733b9cad6cbb9e17d211b737b7883dc97684c WHIRLPOOL ac2aa995d8f99b59bf36f1ac6b16e7a45c0ddaf7d0c347f57c77c3b81a92c3124cf998a791680c0c31b7c6adb77dff878656978e972af1a6437adf2c0e17c1d3
+MISC ChangeLog 2819 SHA256 2849ae08d8960f1114337b99ac39c28910fdacb7890d565af539fb3e8e9ebc31 SHA512 52090d7d6a38761023832b92a650bfda224a922bb8135626d8532218a8af027e80bf3ead78e9241c93ee3b28a583126c15619345c32238673332ac7eb007056f WHIRLPOOL 11cb45a99bdd1ecd376ab165a64436c6933c84ae371746b7ffcfe74be258edd9b159c61b0784e929e68287ddfd95d5f6a8df40eb57cc383bb7b4566ee4d5f6c4
+MISC ChangeLog-2015 3901 SHA256 f98be66d73c4e0b3209eba205994b61c73ea895fb482dd2fa4d9b8a458afec4c SHA512 e85eedbc655840dc0614f71fd2955898512f1fc1d71eb7f52d9e7da10b4e84454690384691a9300c5e079694c0384d91049c1b0a2c485d8f886a4a62c5e47a6c WHIRLPOOL f8249cc6ac29a0a9dfe536440b458c5c881e46d4cb31a93a839e050e442a65954185748521d7951d3aec42ccf360686bdf8970dc935259de53584b2086695a6c
+MISC metadata.xml 356 SHA256 0dec5c06aaef3855fd21ae9888d7b348c605b1b2b563515aa2c9765e93d08c3b SHA512 7cea09fe7cfe3d43572ab13f83921cd252cb4a12bfc9fb4e2629cbd96c90a07fef8613090514ad562ee112960f88bdcbbe18daa185470780bd714e95aa6bfb47 WHIRLPOOL dc0b9c31c97d5a047fd28db8551297930e3acd2ef736701f4c606872160731e4fdb111948c29ab9ff29216f0254e83bb2a193659ce5f8247120a60e38d463268
diff --git a/x11-misc/evolvotron/evolvotron-0.6.3-r1.ebuild b/x11-misc/evolvotron/evolvotron-0.6.3-r1.ebuild
new file mode 100644
index 000000000000..9cf5f328931b
--- /dev/null
+++ b/x11-misc/evolvotron/evolvotron-0.6.3-r1.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit qmake-utils
+
+DESCRIPTION="Generative art image evolver"
+HOMEPAGE="https://sourceforge.net/projects/evolvotron/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~ppc x86 ~x86-fbsd"
+IUSE=""
+
+RDEPEND="
+ dev-libs/boost:=
+ dev-qt/qtcore:4
+ dev-qt/qtgui:4
+"
+DEPEND="${RDEPEND}"
+
+S=${WORKDIR}/${PN}
+
+PATCHES=( "${FILESDIR}"/${P}-gcc6.patch )
+
+DOCS=( BUGS NEWS README TODO USAGE )
+HTML_DOCS=( evolvotron.html )
+
+src_configure() {
+ eqmake4 main.pro
+}
+
+src_compile() {
+ local etsubdir
+ for etsubdir in \
+ libfunction libevolvotron evolvotron evolvotron_render evolvotron_mutate
+ do
+ emake sub-${etsubdir}
+ done
+}
+
+src_install() {
+ local bin
+ for bin in ${PN}{,_mutate,_render}; do
+ dobin ${bin}/${bin}
+ done
+ doman man/man1/*
+ einstalldocs
+}
diff --git a/x11-misc/evolvotron/files/evolvotron-0.6.3-gcc6.patch b/x11-misc/evolvotron/files/evolvotron-0.6.3-gcc6.patch
new file mode 100644
index 000000000000..709d61b29a6a
--- /dev/null
+++ b/x11-misc/evolvotron/files/evolvotron-0.6.3-gcc6.patch
@@ -0,0 +1,15 @@
+Description: Fix compilation with GCC6 by making implict conversion to bool explicit
+Author: Axel Beckert <abe@debian.org>
+Bug-Debian: https://bugs.debian.org/811660
+
+--- a/libevolvotron/mutatable_image_computer.h
++++ b/libevolvotron/mutatable_image_computer.h
+@@ -193,7 +193,7 @@
+ //! Indicate whether computation us taking place (only intended for counting outstanding threads).
+ bool active() const
+ {
+- return _task;
++ return (bool)_task;
+ }
+ };
+
diff --git a/x11-misc/evolvotron/metadata.xml b/x11-misc/evolvotron/metadata.xml
new file mode 100644
index 000000000000..d46b00e11a9a
--- /dev/null
+++ b/x11-misc/evolvotron/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">evolvotron</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/fbdesk/Manifest b/x11-misc/fbdesk/Manifest
new file mode 100644
index 000000000000..4bfabf953184
--- /dev/null
+++ b/x11-misc/fbdesk/Manifest
@@ -0,0 +1,9 @@
+AUX fbdesk-1.4.1-fix-c++14.patch 624 SHA256 61a60febfde94877e2804f3bb878db07483801abc65c68ce7dc0c68e4f426f83 SHA512 1152e5ed67f7ca27443b33769feaa494ad0522a16fa9223e98fde254ff1004d7d2e268a1d07bfc99694645bc2bea819b8cd6135849e06b3f8903f7fad5976ea8 WHIRLPOOL 1e286a6f421f8e267a298ab1fe502acadb3adee564c1c960257c03b267c4f62c3dc064cda572cfcce82baf406fe58324479262560a92f2c656d4ce25d653354b
+AUX fbdesk-1.4.1-gcc-4.3.patch 2703 SHA256 ba7462dba990e9d79291f098c839d906ed53fbbabd4a2cfc961a0a0227601f8d SHA512 31fb499b77fb844fb5466c7fea671c277b5947208c03315a20ba3c87c6e42fa6ce05e1a628bb9eaa143bebb310613b3ffb6d062f671af521f7e7146545e799b4 WHIRLPOOL 83bc713f74d6dbc59eb99a3dbc0e0469bf1bb6d1ff3d5be732312861c58df2ad98b60975164f6ec7f2e66854e9ab0ac776982a07b6ebac2f7c1cbfd977375468
+AUX fbdesk-1.4.1-libpng14.patch 264 SHA256 420b6924e47c58e58d08f1be71bc3d7b2f0741a21dbde1b153b0d9cb6b5db8d9 SHA512 64ec6f394b63461955489ae44dd63a10a76050261ecda7e121bc62c65aa938c0db18911969520c2836d347b6bc765c3f1004085b42cea1c61900db49a0501cf2 WHIRLPOOL d0b89e5951a70c589cd2dc18452da89fb5b83b2ff19e58dd053aeb1a4cea61539aff898a6df727fd603cd73b208f7c31dea472519faf9c9ab9595686e9b17001
+AUX fbdesk-1.4.1-libpng15.patch 5827 SHA256 db1fe48d76e60b87fdadfb3b8d9e817753c9be855b3f646f1b76ca9e6de7f169 SHA512 4d46b5acb6998069e9a2eac30c1765b315e2c8f03a7b52b1b99e3ebdb9fa35040ed0937347d92b7df2b7aec101e0bf7bfa38cb77ee28dcaa2f755fc6347bf25b WHIRLPOOL cc77931adaad4f84da9e5cca5830025b2fea3dfd8c366c76dbcfc03838c136945fbf251aa9f3fd17b81cab085395de06623cc5dba1d32fed172c8f7a72ee220f
+DIST fbdesk-1.4.1.tar.gz 426550 SHA256 ca5620468ca8743c6bf536099ac6ddc2a0546e5d658bb88f27db8e429ff51c4c SHA512 0a99ae062442f85a9d4018db0f2815c0e537488999e71aef18eb3df09526e2b9c931e5caf30bb0cf484ddce28c3fc3672773fbf576e3f932f30ee48c89b346a0 WHIRLPOOL f3b5ece5d9b59f961843cbe91ca4c2dbd65b0ddb7bf5091c25778579ed668d30b2b8a932f4ee1e42fef2aa4c0e3aa9c10e79dd865eec6b2bfdfa2a4a73a3465d
+EBUILD fbdesk-1.4.1.ebuild 792 SHA256 fc1a5a43d591bf2a3eee84aa952fdc40da70626dee1e82f886163c03a21f2abd SHA512 454f92172ee244f0a77e93780f365958dc73b7e1fbd9cbf2d09b4d7a89c6a64aa32053fcb5d4893bc2fb9eeed6267480c4830a3bb346d715bf488f5b1e6ea8f1 WHIRLPOOL 8048e3c067dbcfdb89f4689ccc5612f90181397da4e16ddddf6257f86833a832815b22fbe4b74a977abca51de69d3f12c775525726c38097116924663842b38c
+MISC ChangeLog 3454 SHA256 d59990af355844f055a040c8dabb51d114784f1900ae1406d4d068fae8e69687 SHA512 ffe5901585f30b65fb42f874194b1e35cea18721afd46a2fb65eceb571eb6aad765ead06002fa9613bc906d5c31d4f3ab1ab8af3e9e2aa7ca75fe6b7f40d1482 WHIRLPOOL 04c01874cc0e2458f84e7f21319f32a0c9ef356992a31c40ff29a83249069b96f912ae7c3d731955223f9e96cad8b4a899f9c509fd91d2a697fedfc906f0711d
+MISC ChangeLog-2015 5124 SHA256 f9ce6dafff22b253b09c30771699fa0dbe2bd05b4791ee8e1e41a672a7a6e8fe SHA512 c28acbc409de0b7447265e5ea012e71f40a880343b16a232c9a505d7eaea1eef4472e8196d2b0beb06615e802fd0a062ae27d48ec5fc81927b82790237f5c7df WHIRLPOOL fe50446133e37724a1a14226f19d2692111bcbc5486794ade68eb2af19a49a223df6ceb5e3ff640a4d6acc4299c5f223964c655c99dbfe059de50d8ca1db85f1
+MISC metadata.xml 244 SHA256 95b765bd6adc570af2c92d5c2fe9043dae570fdee04b48c2932ba50f66c40e4d SHA512 f73008962558d828dfc4cb3bb24c36e1c28cfa47a679117b292cf378eb73f8750bb7f345928e9d149a648ba708f721ebc6ff2369405e842bb27194aa7a775e9c WHIRLPOOL 36459e593eb01bec87c0a2881a65effb4961ab63443dc128c23467b9bc34ec5eaffe71cbb1a5477340104fb17e812a930cc0e93a0691bd11edd40fbe3989106f
diff --git a/x11-misc/fbdesk/fbdesk-1.4.1.ebuild b/x11-misc/fbdesk/fbdesk-1.4.1.ebuild
new file mode 100644
index 000000000000..2fac809fbe2f
--- /dev/null
+++ b/x11-misc/fbdesk/fbdesk-1.4.1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="fluxbox-util application that creates and manage icons on your Fluxbox desktop"
+HOMEPAGE="http://fluxbox.sourceforge.net/fbdesk/"
+SRC_URI="mirror://gentoo/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="amd64 ia64 ppc sparc x86"
+IUSE="debug png"
+
+RDEPEND="x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXpm
+ x11-libs/libXrender
+ x11-libs/libXft
+ media-libs/imlib2[X]
+ png? ( media-libs/libpng:0= )"
+DEPEND="${RDEPEND}
+ x11-proto/xproto"
+
+PATCHES=(
+ "${FILESDIR}/${P}-gcc-4.3.patch"
+ "${FILESDIR}/${P}-libpng14.patch"
+ "${FILESDIR}/${P}-libpng15.patch"
+ "${FILESDIR}/${P}-fix-c++14.patch"
+)
+
+src_configure() {
+ econf \
+ $(use_enable debug) \
+ $(use_enable png)
+}
diff --git a/x11-misc/fbdesk/files/fbdesk-1.4.1-fix-c++14.patch b/x11-misc/fbdesk/files/fbdesk-1.4.1-fix-c++14.patch
new file mode 100644
index 000000000000..85ee0f94567e
--- /dev/null
+++ b/x11-misc/fbdesk/files/fbdesk-1.4.1-fix-c++14.patch
@@ -0,0 +1,22 @@
+Fix building with C++14, which errors out due to bool -> T* conversions
+See also: https://bugs.gentoo.org/show_bug.cgi?id=594052
+
+--- a/src/FbTk/Image.cc
++++ b/src/FbTk/Image.cc
+@@ -85,14 +85,14 @@
+
+
+ if (filename == "")
+- return false;
++ return NULL;
+
+ // determine file ending
+ std::string extension(StringUtil::toUpper(StringUtil::findExtension(filename)));
+
+ // valid handle?
+ if (s_image_map.find(extension) == s_image_map.end())
+- return false;
++ return NULL;
+
+ // load file
+ PixmapWithMask *pm = s_image_map[extension]->load(filename, screen_num);
diff --git a/x11-misc/fbdesk/files/fbdesk-1.4.1-gcc-4.3.patch b/x11-misc/fbdesk/files/fbdesk-1.4.1-gcc-4.3.patch
new file mode 100644
index 000000000000..97c0b31678af
--- /dev/null
+++ b/x11-misc/fbdesk/files/fbdesk-1.4.1-gcc-4.3.patch
@@ -0,0 +1,156 @@
+--- a/src/FbDesk.cc
++++ b/src/FbDesk.cc
+@@ -37,10 +37,11 @@
+ #include <iostream>
+ #include <fstream>
+ #include <algorithm>
+ #include <unistd.h>
+ #include <cstdio>
++#include <cstring>
+
+ using namespace std;
+ using namespace FbTk;
+
+
+--- a/src/FbTk/FbPixmap.cc
++++ b/src/FbTk/FbPixmap.cc
+@@ -28,10 +28,11 @@
+
+ #include <X11/Xutil.h>
+ #include <X11/Xatom.h>
+ #include <iostream>
+ #include <string>
++#include <cstring>
+
+ using namespace std;
+
+ namespace FbTk {
+
+--- a/src/FbTk/KeyUtil.cc
++++ b/src/FbTk/KeyUtil.cc
+@@ -23,10 +23,11 @@
+
+ #include "KeyUtil.hh"
+ #include "App.hh"
+
+ #include <string>
++#include <cstring>
+
+ namespace {
+
+ struct t_modlist{
+ char *str;
+--- a/src/FbTk/StringUtil.cc
++++ b/src/FbTk/StringUtil.cc
+@@ -47,10 +47,11 @@
+
+
+ #include <memory>
+ #include <algorithm>
+ #include <string>
++#include <cstring>
+
+ using std::string;
+ using std::transform;
+
+ namespace FbTk {
+--- a/src/FbTk/TextBox.cc
++++ b/src/FbTk/TextBox.cc
+@@ -34,10 +34,11 @@
+ #endif
+ #include <X11/keysym.h>
+ #include <X11/Xutil.h>
+
+ #include <iostream>
++#include <cstdlib>
+
+ namespace FbTk {
+
+ TextBox::TextBox(int screen_num,
+ const Font &font, const std::string &text):
+--- a/src/FbTk/TextureRender.cc
++++ b/src/FbTk/TextureRender.cc
+@@ -31,10 +31,11 @@
+ #include "FbPixmap.hh"
+ #include "GContext.hh"
+
+ #include <iostream>
+ #include <string>
++#include <cstring>
+ #ifdef HAVE_CSTDIO
+ #include <cstdio>
+ #else
+ #include <stdio.h>
+ #endif
+--- a/src/FbTk/Theme.cc
++++ b/src/FbTk/Theme.cc
+@@ -34,10 +34,11 @@
+ #else
+ #include <stdio.h>
+ #endif
+ #include <memory>
+ #include <iostream>
++#include <algorithm>
+
+ using namespace std;
+
+ namespace FbTk {
+
+--- a/src/FbTk/ThemeItems.cc
++++ b/src/FbTk/ThemeItems.cc
+@@ -46,10 +46,12 @@
+ #include <stdio.h>
+ #endif
+
+ #include <iostream>
+ #include <memory>
++#include <cstdlib>
++#include <cstring>
+
+ namespace FbTk {
+
+ using std::string;
+ using std::cerr;
+--- a/src/FbTk/XFontImp.cc
++++ b/src/FbTk/XFontImp.cc
+@@ -26,10 +26,11 @@
+ #include "GContext.hh"
+ #include "FbPixmap.hh"
+
+ #include <X11/Xutil.h>
+
++#include <cstdlib>
+ #include <iostream>
+ #include <new>
+ #ifdef HAVE_CSTDIO
+ #include <cstdio>
+ #else
+--- a/src/main.cc
++++ b/src/main.cc
+@@ -21,14 +21,16 @@
+
+ #include "App.hh"
+ #include "FbDesk.hh"
+ #include "version.h"
+
++#include <cstdlib>
+ #include <iostream>
+ #include <stdexcept>
+ #include <signal.h>
+ #include <sys/wait.h>
++#include <cstring>
+
+ using namespace std;
+
+ /// handles system signals
+ void signalhandler(int sig) {
+--- a/src/FbTk/ImagePNG.cc
++++ b/src/FbTk/ImagePNG.cc
+@@ -30,6 +30,7 @@
+ #include <png.h>
+ #include <cstdio>
+ #include <iostream>
++#include <cstring>
+ using namespace std;
+
+ namespace {
diff --git a/x11-misc/fbdesk/files/fbdesk-1.4.1-libpng14.patch b/x11-misc/fbdesk/files/fbdesk-1.4.1-libpng14.patch
new file mode 100644
index 000000000000..78e451986d67
--- /dev/null
+++ b/x11-misc/fbdesk/files/fbdesk-1.4.1-libpng14.patch
@@ -0,0 +1,11 @@
+--- a/src/FbTk/ImagePNG.cc
++++ b/src/FbTk/ImagePNG.cc
+@@ -88,7 +88,7 @@
+ // check header
+ unsigned char tag[4];
+ fread(tag, 1, 4, fp);
+- if (!png_check_sig(tag, 4)) {
++ if (png_sig_cmp(tag, 0, 4)) {
+ fclose(fp);
+ return 0;
+ }
diff --git a/x11-misc/fbdesk/files/fbdesk-1.4.1-libpng15.patch b/x11-misc/fbdesk/files/fbdesk-1.4.1-libpng15.patch
new file mode 100644
index 000000000000..8b62653cc0f4
--- /dev/null
+++ b/x11-misc/fbdesk/files/fbdesk-1.4.1-libpng15.patch
@@ -0,0 +1,145 @@
+This patch is from netbsd pkgsrc
+
+ftp://ftp.netbsd.org/pub/pkgsrc/current/pkgsrc/x11/fbdesk/patches
+
+--- a/src/FbTk/ImagePNG.cc
++++ b/src/FbTk/ImagePNG.cc
+@@ -76,6 +76,8 @@ ImagePNG::~ImagePNG() {
+ }
+
+ PixmapWithMask *ImagePNG::load(const std::string &filename, int screen_num) const {
++ int pixel_depth;
++ int rowbytes;
+ if (filename.empty())
+ return 0;
+ #ifdef DEBUG
+@@ -102,7 +104,7 @@ PixmapWithMask *ImagePNG::load(const std
+ return 0;
+ }
+
+- if (setjmp(png.png()->jmpbuf)) {
++ if (setjmp(png_jmpbuf(png.png()))) {
+ fclose(fp);
+ return 0;
+ }
+@@ -115,12 +117,14 @@ PixmapWithMask *ImagePNG::load(const std
+ png_get_IHDR(png.png(), png.info(), &w, &h,
+ &bit_depth, &color_type,
+ &interlace_type, 0, 0);
++ pixel_depth = bit_depth * png_get_channels(png.png(), png.info());
++ rowbytes = png_get_rowbytes(png.png(), png.info());
+ #ifdef DEBUG
+- cerr<<png.info()->width<<", "<<png.info()->height<<endl;
+- cerr<<"bit_depth = "<<(int)png.info()->bit_depth<<endl;
+- cerr<<"bytes per pixel = "<<((int)png.info()->bit_depth>>3)<<endl;
+- cerr<<"pixel depth = "<<(int)png.info()->pixel_depth<<endl;
+- cerr<<"rowbytes = "<<png.info()->rowbytes<<endl;
++ cerr<<png_get_image_width(png.png(), png.info())<<", "<<png_get_image_height(png.png(), png.info())<<endl;
++ cerr<<"bit_depth = "<<(int)png_get_bit_depth(png.png(),png.info())<<endl;
++ cerr<<"bytes per pixel = "<<((int)png_get_bit_depth(png.png(), png.info())>>3)<<endl;
++ cerr<<"pixel depth = "<<pixel_depth<<endl;
++ cerr<<"rowbytes = "<<rowbytes<<endl;
+ cerr<<"Color type = ";
+ switch (color_type) {
+ case PNG_COLOR_TYPE_GRAY:
+@@ -146,7 +150,7 @@ PixmapWithMask *ImagePNG::load(const std
+ // convert to rgb
+ if (color_type == PNG_COLOR_TYPE_PALETTE && bit_depth <= 8) {
+ png_set_expand(png.png());
+- png.info()->pixel_depth = 8;
++ pixel_depth = 8;
+ }
+ // convert to rgb
+ if (color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8) {
+@@ -158,7 +162,7 @@ PixmapWithMask *ImagePNG::load(const std
+ if (color_type == PNG_COLOR_TYPE_GRAY ||
+ color_type == PNG_COLOR_TYPE_GRAY_ALPHA) {
+ png_set_gray_to_rgb(png.png());
+- png.info()->pixel_depth = 8;
++ pixel_depth = 8;
+ color_type = PNG_COLOR_TYPE_RGB;
+ }
+
+@@ -170,23 +174,23 @@ PixmapWithMask *ImagePNG::load(const std
+ // expand to 4 bytes
+ if (bit_depth == 8 && color_type == PNG_COLOR_TYPE_RGB) {
+ png_set_filler(png.png(), 0, PNG_FILLER_AFTER);
+- png.info()->rowbytes = png.info()->width * 4;
+- png.info()->pixel_depth = 32;
++ rowbytes = png_get_image_width(png.png(), png.info()) * 4;
++ pixel_depth = 32;
+ }
+
+- if (png.info()->pixel_depth == 4 ||
+- png.info()->pixel_depth == 8)
++ if (pixel_depth == 4 ||
++ pixel_depth == 8)
+ return 0;
+
+ // create memory to hold rows
+- png_bytep *row_pointers = new (nothrow) png_bytep[png.info()->height];
++ png_bytep *row_pointers = new (nothrow) png_bytep[png_get_image_height(png.png(), png.info())];
+ if (row_pointers == 0) {
+ fclose(fp);
+ return 0;
+ }
+
+- for (unsigned int row = 0; row < png.info()->height; ++row) {
+- row_pointers[row] = new png_byte[png.info()->rowbytes];
++ for (unsigned int row = 0; row < png_get_image_height(png.png(), png.info()); ++row) {
++ row_pointers[row] = new png_byte[rowbytes];
+ }
+
+ // get transparent pixel
+@@ -214,31 +218,31 @@ PixmapWithMask *ImagePNG::load(const std
+ fclose(fp);
+
+ // clear linear memory
+- char *data = new char[png.info()->rowbytes * png.info()->height];
+- for (int offset=0, y = 0; y < png.info()->height; y++) {
+- for (int x = 0; x < png.info()->rowbytes; x++, offset++) {
++ char *data = new char[rowbytes * png_get_image_height(png.png(), png.info())];
++ for (int offset=0, y = 0; y < png_get_image_height(png.png(), png.info()); y++) {
++ for (int x = 0; x < rowbytes; x++, offset++) {
+ data[offset] = row_pointers[y][x];
+ }
+ }
+
+- FbTk::Surface *srf = new (nothrow) FbTk::Surface(png.info()->width, png.info()->height,
+- png.info()->pixel_depth);
++ FbTk::Surface *srf = new (nothrow) FbTk::Surface(png_get_image_width(png.png(), png.info()), png_get_image_height(png.png(), png.info()),
++ pixel_depth);
+
+ if (srf == 0)
+ return 0;
+
+
+ // finaly copy data to surface
+- switch (png.info()->pixel_depth) {
++ switch (pixel_depth) {
+ case 16:
+ convert16to32(data, *srf);
+ break;
+ case 24:
+ case 32:
+- memcpy(srf->data(), data, png.info()->height * png.info()->rowbytes);
++ memcpy(srf->data(), data, png_get_image_height(png.png(), png.info()) * rowbytes);
+ break;
+ default:
+- cerr<<"ImagePNG: Can't convert from "<<(int)png.info()->pixel_depth<<" to 32bpp."<<endl;
++ cerr<<"ImagePNG: Can't convert from "<<pixel_depth<<" to 32bpp."<<endl;
+ break;
+ }
+
+@@ -264,9 +268,9 @@ PixmapWithMask *ImagePNG::load(const std
+ long i = 0x44332211;
+ unsigned char* a = (unsigned char*) &i;
+ bool big_endian = (*a != 0x11);
+- int alphacolor = ((png.info()->channels != 4) ? 0xFF000000 : 0);
++ int alphacolor = ((png_get_channels(png.png(), png.info()) != 4) ? 0xFF000000 : 0);
+ if (big_endian) {
+- int shift = ((png.info()->channels == 4) ? 0 : 8);
++ int shift = ((png_get_channels(png.png(), png.info()) == 4) ? 0 : 8);
+ alphacolor = (0xFF >> shift);
+ }
+ screen_surf.setColorKey(alphacolor, true);
diff --git a/x11-misc/fbdesk/metadata.xml b/x11-misc/fbdesk/metadata.xml
new file mode 100644
index 000000000000..e440ee530e1f
--- /dev/null
+++ b/x11-misc/fbdesk/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <upstream>
+ <remote-id type="sourceforge">fluxbox</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/fbpager/Manifest b/x11-misc/fbpager/Manifest
new file mode 100644
index 000000000000..8e5d9003d514
--- /dev/null
+++ b/x11-misc/fbpager/Manifest
@@ -0,0 +1,5 @@
+DIST fbpager-20090221.tar.bz2 267876 SHA256 3120bee671b482cd0985e6bfe1ed63d4518f2b648dc0730861776db5c738d921 SHA512 fca9a43a3f71b1eb7b27befb3de4b0010f4974cb8898050325bec6def19f1b99a8e549eec04c14ef7777da8d23c25f8e799798160384e08d5a213c9c202bfd7a WHIRLPOOL b4cfe551b2c1b6e233c5243b8d1128ca1ed445bc670105688cf9141c60131d858bcd6d508160a258a102f0b466ddeea4e7ebf323e0c57da0afd1b529ba71f668
+EBUILD fbpager-20090221-r1.ebuild 538 SHA256 8f447141f0e6b8226bda2836bca47fd67f700925dd186546ad1f918f523eb9da SHA512 99305d1b08518a798dd3283195d9097b6da123b7ebc085e57b4fa1115afae88dc0ca9229d51d762df277fb325f7dd73a28e8d543955143af0bd86c9c04bd6cf9 WHIRLPOOL d907fa54c1742515129d6a1c47acb28a9edb6ba31325aa26ba6ef4551d37c53633934952bb43f01322110201fc3971e31d338c84c038ee031a69e73fe6d681b5
+MISC ChangeLog 2991 SHA256 4ba061a008fbcb6d7bdc99bffc2504dc277342eb16ce0ae0a33eb0633e62d104 SHA512 771b697cc2c606b7b94f66899cf910bb6be957e6c9693ddca9ca87b43c224e80e038b5802030d6cb98f344ea8095e1cd2a23bc85dc8d7ba71286b104b8b19e13 WHIRLPOOL b73bf38dcae4bdad346ee6cafba0823ed0ab4d961d4bd36e822f9c8385ec895e87be90f2f74e4f805456b2d74e69b7e13e701da55fc1a639ce6d9be49ea7d742
+MISC ChangeLog-2015 2349 SHA256 0a0128033e44c4fd5605b4ff5cf0b4ca4320b539875acb8b1986b24a2f1f8c27 SHA512 b821fed07db4d85e86c5e8548519986b458073e94d56b8f07786aad7704e87119b22c162a058d158b6c44ac189831a7d739cc36ce71853ef63efae59c11b9c2f WHIRLPOOL d3579daacf6575979f92643e6ac34280bf6194cb67d061f3b2f7c350b9784bf1ac9f5acdec33739e321cc7f609d7d24f14465b947764cc0f2c42a72674a69259
+MISC metadata.xml 276 SHA256 90b5f8553fcfcca537046ea3d356a4b7452b5b2a18c76232f8611d6212b31107 SHA512 d76e1098807ba35b104af6ab87ec9e5616840fb7901b3d29b8d588338d837902d5d429864aa7804abb97220d4dcc8d086162891389a8b2df134b803577add9a9 WHIRLPOOL a5241803eee721e73c832f2742bf94527ccae626da6491f411451586efcb7e0783057a8e764ebc89a67d90f60b440bb55e45ada17a4c609b61bfd59e96c47eaf
diff --git a/x11-misc/fbpager/fbpager-20090221-r1.ebuild b/x11-misc/fbpager/fbpager-20090221-r1.ebuild
new file mode 100644
index 000000000000..844b63b2d8a8
--- /dev/null
+++ b/x11-misc/fbpager/fbpager-20090221-r1.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="A Pager for fluxbox"
+HOMEPAGE="http://git.fluxbox.org/fbpager.git/"
+SRC_URI="mirror://gentoo/${P}.tar.bz2"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="amd64 ~mips ppc ~sparc x86 ~x86-fbsd"
+IUSE="+xrender"
+
+DEPEND="x11-libs/libX11
+ xrender? ( x11-libs/libXrender )"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+ econf $(use_enable xrender)
+}
+
+pkg_postinst() {
+ einfo "To run fbpager inside the FluxBox slit, use fbpager -w"
+}
diff --git a/x11-misc/fbpager/metadata.xml b/x11-misc/fbpager/metadata.xml
new file mode 100644
index 000000000000..5aaddd4e60a9
--- /dev/null
+++ b/x11-misc/fbpager/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<!-- maintainer-needed -->
+<use>
+ <flag name="xrender">Enable transparency support via
+ <pkg>x11-libs/libXrender</pkg></flag>
+ </use>
+</pkgmetadata>
diff --git a/x11-misc/fbpanel/Manifest b/x11-misc/fbpanel/Manifest
new file mode 100644
index 000000000000..58130197a43d
--- /dev/null
+++ b/x11-misc/fbpanel/Manifest
@@ -0,0 +1,9 @@
+AUX fbpanel-6.1-underlinking.patch 789 SHA256 9f2681ef55a323313ed3a96083429762255ef88c23c00c339f8942c6ede4c5b5 SHA512 9c19199bc4f24ffe967b14dbee5165f78dccd120bc73f22e4846f083b4be3b92b60855f5ad08bdcb6d3b55b33a070a54e904cfdcc36786211d7d252dc7faac04 WHIRLPOOL f190ddb3e4efa7cac4732ea24dbca24d8877c49b146d9190926231a2ae5344937b4b107496a4f9aeb1c81f8faebd8045cf4aee351c75ac096f0b7795de9d652e
+AUX fbpanel-6.1-xlogout.patch 369 SHA256 c1d1be75d6173e3fa684098eb39e17b0335392fdb138f6ce912b8d29d75af952 SHA512 cfd6b0b05f2c1e243888e7619a4a3f7f2e80f4cc48f13418854f23b0fd0f8a152d9757f6babd4fa873c0bdd297beaab246de55a1c08fae105d9906464048d702 WHIRLPOOL b1df6fe4e971a09689d086b0c95fd94e08c0f41d15b4f8440cafca9f48f175970ad7d391dd632d3ff48437f98d29897823ebe535171d9845500b5498b3acf0f4
+AUX fbpanel-7.0-clang.patch 2596 SHA256 9da628126ef805b5d1009acf1abe01311ceef84e1e55c8d2708769405262be41 SHA512 78dfea33f3a29b857768b64bc6ea61404dee3cb75587500e98e17aeecf92a310abf1796577d433e13aab4a5524ce2400906d0e6ce2ab468a488dbae03857902f WHIRLPOOL 5b77e3e5a9daf8389b6820bd6ded9be970a8363ef225e2146f7bf2df3a5fb707784303a4354ff6ec6289688ca5b2660d4c9631ed512e4bf4e9404cb505ebd8b5
+AUX fbpanel-7.0-shebangs.patch 2348 SHA256 fd26d8ccef2c9123fd22a9fdddac0d9fa3097ecdce5907d142519abf005ac9da SHA512 547367bc298548b0936e4b83e8ddccc9c9e689f5aac8a7aac1ef5e09050ce33936dba4c39d971c4f3ff5065daa55bc28989588cb08e8277ca9e201ca6994eec7 WHIRLPOOL d0dff44d397404b3069196b9d20caa8b963efd68e42ae50fb58928802e0b98e42902d0988df511dc7a93c54cf6d6310146bf3f70e7c1ed4a06222223ac4d42ff
+DIST fbpanel-7.0.tar.gz 3746477 SHA256 711570954f8f99235d6afb7ec3226dede20b832eb712a5bd00e4f793b75ac5bb SHA512 9706a96569c41241de4dbd250c9d6a473b53a5e26e880f4c782041b2b91c7570046e1bee3070059fd2d333fb7159490732ef397b86701c72d4c65c0784948874 WHIRLPOOL 37fc5f86b80474026b660491b83ee26c4e9e260cadafff9673d161feb79efe2b2d6c89f1c83c76ebfe41eeee61e83cf3dc271667d4a2aeefe37c5e93c30f8e31
+EBUILD fbpanel-7.0.ebuild 1335 SHA256 4ff8f5b6821b245eb631de193b8d32f7af34c9aed2d91c869f4a75e1dce97f94 SHA512 32bcca23691bc8478b35c4bf93e05980fe64c2551decec1cb9cf4f08dd80d5eaceadacd403fe1a8db006dc0c7d27bf9ae72d8a4ebcdbe343f059825e44fb679e WHIRLPOOL 980cab21c8af2cbccabe48d64c9abbc965e707d3832ce44df19db6582ff0cb631f42b5d21c4e74d7f5f0245395d673cb71e584c4487c8465efbfc6657dc9d2e6
+MISC ChangeLog 2629 SHA256 2f48537bae7796d3c66f5eb41681dc392f9d95eb6f987dbd7581314b9961037d SHA512 97448b0876648d00d0d2324287a732e9482f22a27776b0521b37bf5e1943dbb2a4175d6e6d8f73a27183146d7a0c8dac587960acaae0ce710d651ec89e7faff5 WHIRLPOOL e0136f00a87b9d3e84b13425f728136021d8bce47e81260989dd03058d2eb95b97a30a55f41588d2511784affdf0dbf66c933c6d4a3dd695a26618b2574af37a
+MISC ChangeLog-2015 8343 SHA256 3bec43d5dc89c2a860faf49df3a510b423855460a23d11e4dd83918eaaa68ed0 SHA512 1ae8f1de9c2b5414093cf5e65074c62e80df399ae8eb9e54b1479bd18a407a7a61e626a9393dbe32d5ffc6bb9d076027082f56890a57a174b3d167e80ecf09c1 WHIRLPOOL 243d284c9c9579f959d683aa4c0a5a6cd5c973abb5e407ac39606efd0e9aa9749f68c0bb85f277971d37feb529e4a857e3d3dc1d1c54935788161001f28083e2
+MISC metadata.xml 421 SHA256 52bd187e55f19daae6913d787633929a5945d75fe58ce41c7b09f24c5c151637 SHA512 6e50dcf1443603726214701d8187864db64227db01b5c19f630d703864faec0d4692a5967a6286bd5fcd0b4762997a2bcb8ad6d4742ae5b2dc33bfe38d808fbe WHIRLPOOL 172b526e7efa72a44c96178bea9d2f69a24c15b5e382f9e854305bd580560bf395b25db07321ff6d271af0fbdb17c66d4c95f1aba26d5ac6a63949cf07d4947c
diff --git a/x11-misc/fbpanel/fbpanel-7.0.ebuild b/x11-misc/fbpanel/fbpanel-7.0.ebuild
new file mode 100644
index 000000000000..8a3a05f7abd3
--- /dev/null
+++ b/x11-misc/fbpanel/fbpanel-7.0.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python2_7 )
+
+inherit python-any-r1 toolchain-funcs
+
+DESCRIPTION="light-weight X11 desktop panel"
+HOMEPAGE="https://aanatoly.github.io/fbpanel/"
+SRC_URI="https://github.com/aanatoly/fbpanel/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha amd64 ~arm ~mips ppc ppc64 x86"
+IUSE="alsa"
+
+RDEPEND="
+ dev-libs/glib:2
+ alsa? ( media-libs/alsa-lib )
+ x11-libs/gdk-pixbuf:2[X]
+ x11-libs/gtk+:2
+ x11-libs/libX11
+"
+DEPEND="
+ ${RDEPEND}
+ ${PYTHON_DEPS}
+ virtual/pkgconfig
+ x11-proto/xproto
+"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-6.1-underlinking.patch
+ "${FILESDIR}"/${P}-shebangs.patch
+ "${FILESDIR}"/${P}-clang.patch
+)
+
+src_configure() {
+ tc-export CC
+ # not autotools based
+ local myconfigure=(
+ ./configure V=1
+ --mandir="${EPREFIX}"/usr/share/man/man1
+ --datadir="${EPREFIX}"/usr/share/${PN}
+ --prefix="${EPREFIX}"/usr
+ --libdir="${EPREFIX}"/usr/$(get_libdir)/${PN}
+ $(usex alsa --sound --no-sound)
+ )
+ echo ${myconfigure[@]} || die
+ ${myconfigure[@]} || die
+}
+
+pkg_postinst() {
+ elog "For the volume plugin to work, you need to configure your kernel"
+ elog "with CONFIG_SND_MIXER_OSS or CONFIG_SOUND_PRIME or some other means"
+ elog "that provide the /dev/mixer device node."
+}
diff --git a/x11-misc/fbpanel/files/fbpanel-6.1-underlinking.patch b/x11-misc/fbpanel/files/fbpanel-6.1-underlinking.patch
new file mode 100644
index 000000000000..74c04d55f76d
--- /dev/null
+++ b/x11-misc/fbpanel/files/fbpanel-6.1-underlinking.patch
@@ -0,0 +1,15 @@
+--- a/scripts/custom.sh
++++ b/scripts/custom.sh
+@@ -18,10 +18,10 @@
+ add_feature dependency "disable dependency tracking" disabled
+
+ add_var glib_cflags "glib cflags" '`RFS=$rfs scripts/rfs-pkg-config --cflags glib-2.0`'
+-add_var gtk_cflags "gtk cflags" '`RFS=$rfs scripts/rfs-pkg-config --cflags gtk+-2.0`'
++add_var gtk_cflags "gtk cflags" '`RFS=$rfs scripts/rfs-pkg-config --cflags gtk+-2.0 x11`'
+
+ add_var glib_libs "glib libs" '`RFS=$rfs scripts/rfs-pkg-config --libs glib-2.0`'
+-add_var gtk_libs "gtk libs" '`RFS=$rfs scripts/rfs-pkg-config --libs gtk+-2.0`'
++add_var gtk_libs "gtk libs" '`RFS=$rfs scripts/rfs-pkg-config --libs gtk+-2.0 x11` -lm'
+
+ add_var cflagsx "C flags" '-I$topdir/panel $glib_cflags $gtk_cflags -fPIC'
+ add_var ldflagsx "linker flags" '$glib_libs $gtk_libs'
diff --git a/x11-misc/fbpanel/files/fbpanel-6.1-xlogout.patch b/x11-misc/fbpanel/files/fbpanel-6.1-xlogout.patch
new file mode 100644
index 000000000000..8adf4bf4cf72
--- /dev/null
+++ b/x11-misc/fbpanel/files/fbpanel-6.1-xlogout.patch
@@ -0,0 +1,13 @@
+Gentoo: https://bugs.gentoo.org/show_bug.cgi?id=501804
+Upstream: https://sourceforge.net/p/fbpanel/code/474/
+
+Signed-off-by: Markos Chandras <hwoarang@gentoo.org>
+
+--- a/exec/xlogout
++++ b/exec/xlogout
+@@ -45,5 +45,5 @@
+ [ -z "$SPID" ] && exit 1
+ echo "Session start up script"
+ ps -o uid,pid,ppid,sess,cmd --pid $SPID
+-kill -SIGTERM -$SPID
++kill -SIGTERM -$SPID $SPID
diff --git a/x11-misc/fbpanel/files/fbpanel-7.0-clang.patch b/x11-misc/fbpanel/files/fbpanel-7.0-clang.patch
new file mode 100644
index 000000000000..69347c0f3aa9
--- /dev/null
+++ b/x11-misc/fbpanel/files/fbpanel-7.0-clang.patch
@@ -0,0 +1,57 @@
+diff -u -r fbpanel-7.0/plugins/battery/power_supply.c fbpanel-7.0-3/plugins/battery/power_supply.c
+--- fbpanel-7.0/plugins/battery/power_supply.c 2015-12-05 08:34:19.000000000 +0200
++++ fbpanel-7.0-3/plugins/battery/power_supply.c 2017-02-25 14:52:55.431202738 +0200
+@@ -154,7 +154,7 @@
+ tmp->path = path;
+ tmp->name = NULL;
+ tmp->status = NULL;
+- tmp->capacity = -1.0d;
++ tmp->capacity = -1.0f;
+ return tmp;
+ }
+
+@@ -206,12 +206,12 @@
+ bat->capacity = g_ascii_strtod(tmp_value, NULL);
+ } else { // for older kernels
+ tmp_value = (gchar*) g_hash_table_lookup(hash, SYS_ACPI_UEVENT_BAT_ENERGY_NOW_KEY);
+- gdouble tmp = -1.0d;
++ gdouble tmp = -1.0f;
+ if (tmp_value != NULL) { // ac off
+ tmp = g_ascii_strtod(tmp_value, NULL);
+ tmp_value = (gchar*) g_hash_table_lookup(hash, SYS_ACPI_UEVENT_BAT_ENERGY_FULL_KEY);
+- if (tmp_value != NULL && tmp > 0.0d) {
+- tmp = tmp / g_ascii_strtod(tmp_value, NULL) * 100.0d;
++ if (tmp_value != NULL && tmp > 0.0f) {
++ tmp = tmp / g_ascii_strtod(tmp_value, NULL) * 100.0f;
+ bat->capacity = tmp;
+ }
+ } else {
+@@ -219,8 +219,8 @@
+ if (tmp_value != NULL) { // ac on
+ tmp = g_ascii_strtod(tmp_value, NULL);
+ tmp_value = (gchar*) g_hash_table_lookup(hash, SYS_ACPI_UEVENT_BAT_CHARGE_FULL_KEY);
+- if (tmp_value != NULL && tmp > 0.0d) {
+- tmp = tmp / g_ascii_strtod(tmp_value, NULL) * 100.0d;
++ if (tmp_value != NULL && tmp > 0.0f) {
++ tmp = tmp / g_ascii_strtod(tmp_value, NULL) * 100.0f;
+ bat->capacity = tmp;
+ }
+ }
+@@ -327,7 +327,7 @@
+ extern gdouble
+ power_supply_get_bat_capacity(power_supply* ps)
+ {
+- gdouble total_bat_capacity = 0.0d;
++ gdouble total_bat_capacity = 0.0f;
+ guint bat_count = 0;
+ GSequenceIter* it;
+ bat* battery;
+@@ -335,7 +335,7 @@
+ it = g_sequence_get_begin_iter(ps->bat_list);
+ while (!g_sequence_iter_is_end(it)) {
+ battery = (bat*) g_sequence_get(it);
+- if (battery->capacity > 0.0d) {
++ if (battery->capacity > 0.0f) {
+ total_bat_capacity = total_bat_capacity + battery->capacity;
+ }
+ bat_count++;
diff --git a/x11-misc/fbpanel/files/fbpanel-7.0-shebangs.patch b/x11-misc/fbpanel/files/fbpanel-7.0-shebangs.patch
new file mode 100644
index 000000000000..cdbe998e0660
--- /dev/null
+++ b/x11-misc/fbpanel/files/fbpanel-7.0-shebangs.patch
@@ -0,0 +1,120 @@
+--- a/.config/help
++++ b/.config/help
+@@ -1,4 +1,4 @@
+-#!/usr/bin/python
++#!/usr/bin/env python2
+
+ import re, os, sys, textwrap
+ # Formats help message
+--- a/.config/repl.py
++++ b/.config/repl.py
+@@ -1,4 +1,4 @@
+-#!/usr/bin/python
++#!/usr/bin/env python2
+
+ import re, sys
+
+--- a/.config/tar.py
++++ b/.config/tar.py
+@@ -1,4 +1,4 @@
+-#!/usr/bin/python
++#!/usr/bin/env python2
+
+ import subprocess as sp
+ import re, tempfile
+--- a/configure
++++ b/configure
+@@ -1,4 +1,4 @@
+-#!/usr/bin/python
++#!/usr/bin/env python2
+
+ import sys
+ if sys.version_info < (2, 7):
+--- a/exec/make_profile.in
++++ b/exec/make_profile.in
+@@ -1,4 +1,4 @@
+-#!/bin/bash
++#!/usr/bin/env bash
+
+ umask 0077
+ # new profile directory
+--- a/exec/xlogout
++++ b/exec/xlogout
+@@ -1,4 +1,4 @@
+-#!/bin/bash
++#!/usr/bin/env bash
+
+ # xlogout - logs user out of its X session
+ # Linux specific since uses /proc
+--- a/scripts/endianess.sh
++++ b/scripts/endianess.sh
+@@ -1,4 +1,4 @@
+-#!/bin/bash
++#!/usr/bin/env bash
+
+ # When cross compiling, you may put cross compiler directory
+ # in PATH before native gcc (aka spoofing), or you may set CC
+--- a/scripts/install_locale.sh
++++ b/scripts/install_locale.sh
+@@ -1,4 +1,4 @@
+-#!/bin/bash
++#!/usr/bin/env bash
+
+ dir=/tmp/lo-$$
+ mkdir $dir
+--- a/scripts/install_locale.sh.in
++++ b/scripts/install_locale.sh.in
+@@ -1,4 +1,4 @@
+-#!/bin/bash
++#!/usr/bin/env bash
+
+ dir=/tmp/lo-$$
+ mkdir $dir
+--- a/scripts/install.sh
++++ b/scripts/install.sh
+@@ -1,4 +1,4 @@
+-#!/bin/bash
++#!/usr/bin/env bash
+
+ usage ()
+ {
+--- a/scripts/mk_tar
++++ b/scripts/mk_tar
+@@ -1,4 +1,4 @@
+-#!/bin/bash
++#!/usr/bin/env bash
+
+
+ function info()
+--- a/scripts/rfs-pkg-config
++++ b/scripts/rfs-pkg-config
+@@ -1,4 +1,4 @@
+-#!/bin/bash
++#!/usr/bin/env bash
+
+ # Tt runs pkg-config in a way that everything is searched under RFS
+ # but reported including full path. Suitable for cross-compiling
+--- a/scripts/update-proj.sh
++++ b/scripts/update-proj.sh
+@@ -1,4 +1,4 @@
+-#!/bin/bash
++#!/usr/bin/env bash
+
+ function usage ()
+ {
+--- a/www/plugins/mk_gallery
++++ b/www/plugins/mk_gallery
+@@ -1,4 +1,4 @@
+-#!/bin/sh
++#!/usr/bin/env sh
+
+ echo > "$1"
+ #echo '<table cellpadding="0" cellspacing="0" border="0" align="left" bgcolor="#ffffff">' >> "$1"
+--- a/www/shots/mk_gallery
++++ b/www/shots/mk_gallery
+@@ -1,4 +1,4 @@
+-#!/bin/sh
++#!/usr/bin/env sh
+
+ function help ()
+ {
diff --git a/x11-misc/fbpanel/metadata.xml b/x11-misc/fbpanel/metadata.xml
new file mode 100644
index 000000000000..725beec5cb42
--- /dev/null
+++ b/x11-misc/fbpanel/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">fbpanel</remote-id>
+ <remote-id type="github">aanatoly/fbpanel</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/fireflies/Manifest b/x11-misc/fireflies/Manifest
new file mode 100644
index 000000000000..02b57c377624
--- /dev/null
+++ b/x11-misc/fireflies/Manifest
@@ -0,0 +1,5 @@
+DIST fireflies-2.08.tar.gz 134204 SHA256 1372a3948a1ab93319dfcd9b3ae1cc7393ef4798f6390fc0d6be72e07e0b22b0 SHA512 bbcafc74de04265462a863e8f9a34707fe89cc773eac86ffea47939d1411da9ba17dc8a9f217aee414af5b95b7177ada119206376abf339e7629813095fb6aa7 WHIRLPOOL 9cb00cca14d8daf706543c75154022c52ff2e3e1c4fff0904dd706c64572eeda926d19fed2154b99bf9b5f376c5f75bfb9787e0dec68e00be8e39e172b05940f
+EBUILD fireflies-2.08-r1.ebuild 828 SHA256 519f3d65101e84cf6823b4a3feee4ed184ff44d7522f7e216d5481852f7d1e92 SHA512 3d3e294ae7484559974720dafa4b791427106afc7c205c1243613941e6d953761449e784bf98de5d9101a9c107fb524a7a785a9f4806f400837ea0f629933a9d WHIRLPOOL 5e587152d806e0e32b1c086c483756d2a54d355532f810eee5c36526d9e17379cf189dac7e17376af144bf157f4e4c422897f5e845753f146b874bf91803a1d4
+MISC ChangeLog 4177 SHA256 7307579bcd06afa743392fb2118c02a8e29d3ff714b40935e5395ff814a22ee0 SHA512 df2450e8f83a1885d005235c84d9d4512a7217310788a8b4fccef501982165ffe0837c52764bc60d4a139b7c9c401e1e000d7443dc67b05f2229d737f44e9f8d WHIRLPOOL 1061f3129954c87a33f6e7cae4ad09c5965f51f592426915c7b57d4b80d12a59da0fbdd1ba596042ea719a0035beb68df29647cecdb61776d49d5c5a1866d2a7
+MISC ChangeLog-2015 4613 SHA256 7652254a65251145d82b8d1579abc56402bb6a0f83424f17b1b6972960f0cadc SHA512 2111f13eade4240a59c2c138c79a60dcc596fbcd4f2ca1231d6f4a94cada1294ca2ca5e6cc1326168c98433f1f98059c5388b57e9efc2bfb3ff275f010dce1df WHIRLPOOL 120b1979afb0e3f5e284fe06b7e37acc8b7ceba2b82a6282f8d7a840679e40b0ed48591ede66282750e1248fb1a3b70fe0c2bae071b3e55f2e636b45de577c00
+MISC metadata.xml 391 SHA256 febb9846aa9e01860d5c3aa6882a9f06209e9abb2c5e368b5b778b181acdabfe SHA512 600b4fbf0aa7f67304b5588a5422c276ae347d7ea948aeaf633b3a300a368f8a844ce688a3a888ad2a89c2ba1fe25f9e4e76f7945ba34345aeb9dce9be66f6d6 WHIRLPOOL 98e80abb22f07fa9e32a53b97959fd74025329296d5827c3ea662e7911fdcae2b76239c19d456e56fb389b500c4158379b77e2a6824108d40266e5212ea03263
diff --git a/x11-misc/fireflies/fireflies-2.08-r1.ebuild b/x11-misc/fireflies/fireflies-2.08-r1.ebuild
new file mode 100644
index 000000000000..e317d91ac42e
--- /dev/null
+++ b/x11-misc/fireflies/fireflies-2.08-r1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit autotools multilib
+
+DESCRIPTION="Fireflies screensaver: Wicked cool eye candy"
+HOMEPAGE="https://github.com/mpcomplete/fireflies"
+SRC_URI="https://github.com/mpcomplete/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2 icu"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE=""
+
+RDEPEND="media-libs/libsdl[X,opengl,video]
+ virtual/glu
+ virtual/opengl
+ x11-libs/libX11"
+DEPEND="${RDEPEND}
+ sys-devel/autoconf-archive" # for AX_CXX_BOOL macro
+
+DOCS=( ChangeLog README.md TODO )
+
+src_prepare() {
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ --with-confdir=/usr/share/xscreensaver/config \
+ --with-bindir="/usr/$(get_libdir)/misc/xscreensaver"
+}
+
+src_install() {
+ newbin {,${PN}-}add-xscreensaver
+
+ default
+}
diff --git a/x11-misc/fireflies/metadata.xml b/x11-misc/fireflies/metadata.xml
new file mode 100644
index 000000000000..f52f7efd2581
--- /dev/null
+++ b/x11-misc/fireflies/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">mpcomplete/fireflies</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/flow-pomodoro/Manifest b/x11-misc/flow-pomodoro/Manifest
new file mode 100644
index 000000000000..84dfb33f0cee
--- /dev/null
+++ b/x11-misc/flow-pomodoro/Manifest
@@ -0,0 +1,5 @@
+DIST flow-pomodoro-1.2.0.tar.gz 661888 SHA256 7b3389aec5400b027403c86984f432436b8c25f492c9077ba8a09521632daaf7 SHA512 1f347a679fe85e4751166c6aa8af3fda06c57844c0be7116266b2203d061abd1631cb994c0942f3fea9209064d9a49a230248ac101156132aa66a519438acccc WHIRLPOOL e532ab2f614819a46949199e3aa00ed8f6d952620f0f6046a874287d26cde904d2879c7b5f1f5e1823ef5e6292f90f9dcf5b3ec72ab5f509083f212f9612fdb2
+EBUILD flow-pomodoro-1.2.0.ebuild 605 SHA256 be8ab03af9a1113b8f63504da346156183b5af5b8a2e706b8bc0764656cebd80 SHA512 89f98dc8e52be494f8122687fc82c8a11b63db79f8cd6f85b77e6f19bfe7282bb72f89d9d42198b7e85ee4a8103c5b8901c2343ffaec5342ddeefb6f1f8b78a1 WHIRLPOOL 9549d491244f885a5e95be726d7a64364c05dbfee3a3cd338be162ae6785313d4d9d0768b4d5c42dc444604fa16313e7ecedea6b61b551933219c2125a65fc42
+MISC ChangeLog 2560 SHA256 a52cb390c04cc9777fe9792fd20ba32b1786af8d8402ab7d74ecd72676687ec5 SHA512 f4ebde2fd4bee9628593112488570fd28cb015ccb497dd51c7cf42a7e47ade7efc403480e0e33425880a86e67ac14ce3da4ff81843ad6f52992e128575a2ae8f WHIRLPOOL 0dc6a832e88341fd87947cbf32157a55bc6bf67a3286de17e1f616b4d77c77db1c1dd2f170a19d8d8565b8db064ee5af45b5da81a3f8ee31b8c83d60986cd119
+MISC ChangeLog-2015 365 SHA256 058696e4a413a0fd6df4cb6139a61c1903c1997125f3c2c6971c54d9002d878b SHA512 b270998e80a4ef3f0bf5a649cdea764798e681659220865b6b5d360cd383bfc0fc4f441a565544a14dbface618d2d1f199f61dbf6bbd7cbf6739eea45e88b21c WHIRLPOOL c08a307206bc106f7056fd9169de7072592e15839f84a81193437cc41dfc99c075c3c907426fc61c1a1713e3791b044a01c9a329484711e8260c8ca4dfa90bc9
+MISC metadata.xml 255 SHA256 d48e75040bdbcda023b66894a1426b8b82bd6300057e0043a35af1138802f02d SHA512 e132f603e6f94db054583ec2884465f2bc459af138fb1263e49f454166ea4bb750c2c4591e0ed8c385382dbfc5f246316c3b2995aebe094131103cac53046b3b WHIRLPOOL 4960305d6a08708b496433535ded44587a8ca84a82fe764cfe51f4695072029269526a3b36e0f4dbd10a192e164315194056052f675ef83112d6668954e95a44
diff --git a/x11-misc/flow-pomodoro/flow-pomodoro-1.2.0.ebuild b/x11-misc/flow-pomodoro/flow-pomodoro-1.2.0.ebuild
new file mode 100644
index 000000000000..daa67bf4bb7f
--- /dev/null
+++ b/x11-misc/flow-pomodoro/flow-pomodoro-1.2.0.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils
+
+DESCRIPTION="A pomodoro app that blocks distractions while you work"
+HOMEPAGE="https://github.com/iamsergio/flow-pomodoro"
+SRC_URI="https://github.com/iamsergio/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND=">=dev-qt/qtcore-5.6:5
+ >=dev-qt/qtdbus-5.6:5
+ >=dev-qt/qtdeclarative-5.6:5
+ >=dev-qt/qtgui-5.6:5
+ >=dev-qt/qtquickcontrols-5.6:5
+ >=dev-qt/qtnetwork-5.6:5
+ >=dev-qt/qtwidgets-5.6:5"
+RDEPEND="${DEPEND}"
diff --git a/x11-misc/flow-pomodoro/metadata.xml b/x11-misc/flow-pomodoro/metadata.xml
new file mode 100644
index 000000000000..b60f3a4d6b09
--- /dev/null
+++ b/x11-misc/flow-pomodoro/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <upstream>
+ <remote-id type="github">iamsergio/flow-pomodoro</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/fluxter/Manifest b/x11-misc/fluxter/Manifest
new file mode 100644
index 000000000000..808ca19237e5
--- /dev/null
+++ b/x11-misc/fluxter/Manifest
@@ -0,0 +1,6 @@
+AUX fluxter-0.1.0-asneeded.patch 1119 SHA256 64d6eb4cfe784099f9f969b499251397fe0d4455e2f755594aa18420fe6f9488 SHA512 7eb65ef30e86cc03fa16e7384a42ebafdf31d541710e9ff50e4ad4911bedd14f0cd7bc9974e24e4c3005f2e1df34e2fe5c7babc0993ccd08614c937ca4e90628 WHIRLPOOL 8a8326996bc1829c4f50cc00b77b48e4494fd9d8c05c601fc7bea722d6b0d8277aee92e07174828ad6177198b89c3bc210c358c549b4442bac0056ea6f0aa766
+DIST fluxter-0.1.0.tar.gz 99522 SHA256 e2dc2c18e0a5299feac44facfc4748e92453e916b7b991fe79d00ae9c460e137 SHA512 92dbb74072b33a59fd356ca055e3b183276f314753f42591da0ecb845de271869a7717bd206e041e6d7a077cc8f931df3cfa1ec671a1ecf36ef565ed21382786 WHIRLPOOL a31ac230c5b84fb21766163c35c1d21a6356f41af6f67599cd87cc5774f50c215aff10105dbf76758190978f0af72d8b5d58c7f42644975759df71ad3ee4f3e0
+EBUILD fluxter-0.1.0.ebuild 725 SHA256 7093296b26cb32bb6001b5bb01060f7559f474c864a4f90f7e2c00ff39371b46 SHA512 787884dc050d0599932dd174ef16f8d75c0ad13f8311717e7b6758af082ade603536f64d0041850838b3021acc1cc90e6fdded45bf87bf89167475448f64b05b WHIRLPOOL f473d4dd2e85f47b4ae396211dd5ad38328c86fba810dba52042cfa44a6c4eb278c374ad8749251da36f8b67e900516db13f25917ad81469767b532c6ad4731e
+MISC ChangeLog 2213 SHA256 45509ff3753169146a43f95e3fadee1fbabec8e9104afc49f83fd004466876db SHA512 c4737dda1b31ced7df5b1de59f4b54e740d30ef73b4e0e0d3ec9489abb5a1bcb128aef856252319bc429934b8c54e17b5a99f44e241cf6d9d441a03b3676ade2 WHIRLPOOL 4bc44a261c09630411c74aedd28ea7bb8e34da4d56d5858bcfb018bb08ef23fea80dadc5d04abd8fb865f9f1b730e39e5eae028c8fbda87f10d426cbc94f7b22
+MISC ChangeLog-2015 1922 SHA256 3a5118b7dd51487f42a93b16a268885dc86259622e322446bfdb46e5b3bd7935 SHA512 69e7749f994f0b773ce766acffff37b72c3083d3ae2e3a7d712e59295cbb98c9adf2b6182972f8aec5242d0318ad7a6a278a95dd75a6252991fe438d909b83ad WHIRLPOOL 4729e3dc3f7228266adc5c8a20dfbed5d959ea27968e5040f36834964b63d939bca31242a1d936734ae71a45c0b1e6e47e0f6cf738f86df1b93954019ef099ea
+MISC metadata.xml 254 SHA256 f8719deb54b32a36bb15f430effb486e4abefe0b68545c8ddefad85a09954215 SHA512 5236e41833050fd343ba131801e27e1bf914a8185eab263405c4197d79c0e483b762ba86afda818bc5ab3d58dc5fe95c970f1eaf0060da7610e819efce4dd9af WHIRLPOOL a7f15ca7e915bc72b8aa6d90cc6b543cb5901c71e4a08739bab8c3fcdc19740609bfaa1ceabad74605d3ff63fa80c5c953c7a55c91d3460354ab6a1d6d6d4db6
diff --git a/x11-misc/fluxter/files/fluxter-0.1.0-asneeded.patch b/x11-misc/fluxter/files/fluxter-0.1.0-asneeded.patch
new file mode 100644
index 000000000000..8b68260741e7
--- /dev/null
+++ b/x11-misc/fluxter/files/fluxter-0.1.0-asneeded.patch
@@ -0,0 +1,43 @@
+--- Makefile.am
++++ Makefile.am
+@@ -17,4 +17,4 @@
+ NETInterface.cc NETInterface.hh \
+ blackboxstyle.hh
+ EXTRA_DIST = BUGS TODO
+-fluxter_LDADD = @X_LIBS@
++fluxter_LDADD = @LIBS@
+--- configure.in
++++ configure.in
+@@ -18,14 +18,12 @@
+ [
+ test "$CFLAGS" = "" && CFLAGS="-g -Wall -DDEBUG"
+ test "$CXXFLAGS" = "" && CXXFLAGS="-g -Wall -DDEBUG"
+- test "$LDFLAGS" = "" && LDFLAGS=""
+ ])
+
+ AC_DEFUN(AC_SET_NODEBUG,
+ [
+- test "$CFLAGS" = "" && CFLAGS="-O2 -Wall"
+- test "$CXXFLAGS" = "" && CXXFLAGS="-O2 -Wall"
+- test "$LDFLAGS" = "" && LDFLAGS="-s"
++ test "$CFLAGS" = "" && CFLAGS="-Wall"
++ test "$CXXFLAGS" = "" && CXXFLAGS="-Wall"
+ ])
+
+
+@@ -71,12 +69,12 @@
+
+ CFLAGS="$CFLAGS $X_CFLAGS"
+ CXXFLAGS="$CXXFLAGS $X_CFLAGS"
+-LDFLAGS="$LDFLAGS $X_LIBS $X_PRE_LIBS"
++LIBS="$LIBS $X_LIBS $X_PRE_LIBS"
+ dnl Checks for X libraries.
+-AC_CHECK_LIB(X11, XOpenDisplay, LDFLAGS="$LDFLAGS -lX11",
++AC_CHECK_LIB(X11, XOpenDisplay, LIBS="$LIBS -lX11",
+ AC_MSG_ERROR(XOpenDisplay not found in -lX11))
+
+-LDFLAGS="$LDFLAGS $X_EXTRA_LIBS"
++LIBS="$LIBS $X_EXTRA_LIBS"
+
+ dnl Checks for header files.
+ AC_HEADER_STDC
diff --git a/x11-misc/fluxter/fluxter-0.1.0.ebuild b/x11-misc/fluxter/fluxter-0.1.0.ebuild
new file mode 100644
index 000000000000..0bcbe35e507e
--- /dev/null
+++ b/x11-misc/fluxter/fluxter-0.1.0.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=2
+inherit autotools eutils
+
+DESCRIPTION="workspace pager dockapp, particularly useful with the Fluxbox window manager"
+HOMEPAGE="http://www.isomedia.com/homes/stevencooper"
+SRC_URI="http://www.isomedia.com/homes/stevencooper/files/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 hppa ppc x86 ~x86-fbsd"
+IUSE=""
+
+DEPEND="x11-libs/libX11
+ x11-libs/libSM
+ x11-libs/libICE"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-asneeded.patch
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ --datadir=/usr/share/commonbox
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+ dodoc AUTHORS BUGS ChangeLog README TODO
+}
diff --git a/x11-misc/fluxter/metadata.xml b/x11-misc/fluxter/metadata.xml
new file mode 100644
index 000000000000..e7f39bccfaf0
--- /dev/null
+++ b/x11-misc/fluxter/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person">
+ <email>pchrist@gentoo.org</email>
+ <name>Panagiotis Christopoulos</name>
+</maintainer>
+</pkgmetadata>
diff --git a/x11-misc/fpm2/Manifest b/x11-misc/fpm2/Manifest
new file mode 100644
index 000000000000..a7096444d684
--- /dev/null
+++ b/x11-misc/fpm2/Manifest
@@ -0,0 +1,5 @@
+DIST fpm2-0.79.tar.bz2 230189 SHA256 d55e9ce6be38a44fc1053d82db2d117cf3991a51898bd86d7913bae769f04da7 SHA512 2310f69df323c172954932f9a3454fab95d1389854110c1d18bfbb0dff59f0da937cbc2641abe98c7be85b7c5a65234a925acd9f82b5643079864ce529dc92b2 WHIRLPOOL 02b7923ba8c946f23accf93faeafdfb27d1a5305551d770aad65ea3ec6a0cc97390a2b9df49ce31e1228b86229805a10a40fb10c47c6f197c8561b5c00cc4969
+EBUILD fpm2-0.79-r1.ebuild 640 SHA256 e09c6790f0689753ced91491c885f211b57c3f42bc67cb15284f5e298ac6eae6 SHA512 9444a0b070b72547acf245393d6241dec70d756b5d114aa2469441feede6c51304a238002003031bbcf01f359aff3bfb4cb3fd5baa9c7f813dabd90651fa1b5e WHIRLPOOL 9f3fb25a7e10dc32ed69381a70eab1dba6e7ce441fafb91efcab2f4fed4ad2ae767b83356ac406721ccc3479e4f215891bdcaf73e57b2cd8a76d2b81c8d25fd7
+MISC ChangeLog 2558 SHA256 cf840afeff7b07cac5e04a3455595c96965d5d5eef94848a46251272ad541ad9 SHA512 5728ac0c05dd4695b84fa26a3b4b42b880101f2a2a5aae93c0dc5df881c0811149feb9ea4359af2f8300230bc495d638c1ef7dc03c2916b21ff21844c0afe1fc WHIRLPOOL 2f4fbfd97cbdfb4e8529c0036ff9562aaea891a3ce3d2b9f2f2acc99101f30f509e74f1e5d8aef523235cf5a0e53c9a84007ca0f8c662e55753a70297915fefa
+MISC ChangeLog-2015 965 SHA256 6d2d813fece356768a49467f550d88d369b04a1cf513e1274958b73398f2e083 SHA512 f569d240c3111db633cc203cc182eb4af43cc18835a6766c340a4ca095ff1618d35f2fa18abdb3f2e85079327c7c138b6208ecb7b8fb235725db33d926209a65 WHIRLPOOL 916aa5bd4c9fce3721578379da0d38c10d220870a6abaeb313fd71e5e51e24d488b9e2869adfc4a66622f7e454540a1f35d2d03cdff0618c0fbb88def411617b
+MISC metadata.xml 244 SHA256 218c89997b706a1af5ae06826d5c44f6cd3b1271deadac69bbbe897de31b22e2 SHA512 c0661c87a34d45258dc8236baf4e1fd4fcb3f418f4a6bb13670ae91141c7474ea8d423cb7df3c8f45cc4441e22783e6ceb807a84ccb8a75c574ea079f8a02117 WHIRLPOOL b1b2977b3b499a8169afe610ee2da26a72fa3d58f72e055fb9263c24ac0bec835e2c62685698fb6f712b7b7bbf48567adeacdf4e6eb244770a70632f64cec009
diff --git a/x11-misc/fpm2/fpm2-0.79-r1.ebuild b/x11-misc/fpm2/fpm2-0.79-r1.ebuild
new file mode 100644
index 000000000000..daa796383b19
--- /dev/null
+++ b/x11-misc/fpm2/fpm2-0.79-r1.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="A GUI password manager utility with password generator"
+HOMEPAGE="http://als.regnet.cz/fpm2/"
+SRC_URI="http://als.regnet.cz/${PN}/download/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="2"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+RDEPEND=">=x11-libs/gtk+-2.10.14:2
+ dev-libs/libxml2
+ >=dev-libs/glib-2.16
+ x11-libs/libX11"
+
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ dev-util/intltool"
+
+src_prepare() {
+ default
+ # fix tests
+ local x
+ for x in ${PN}.glade data/${PN}.desktop.in; do
+ echo "${x}" >> "${S}"/po/POTFILES.in || die
+ done
+}
diff --git a/x11-misc/fpm2/metadata.xml b/x11-misc/fpm2/metadata.xml
new file mode 100644
index 000000000000..2028cee3c389
--- /dev/null
+++ b/x11-misc/fpm2/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person">
+<email>hwoarang@gentoo.org</email>
+<name>Markos Chandras</name>
+</maintainer>
+</pkgmetadata>
diff --git a/x11-misc/fracplanet/Manifest b/x11-misc/fracplanet/Manifest
new file mode 100644
index 000000000000..378af508b506
--- /dev/null
+++ b/x11-misc/fracplanet/Manifest
@@ -0,0 +1,7 @@
+AUX fracplanet-0.4.0-gcc6.patch 1312 SHA256 93340c5df67ed58eba60b7ba3aa4636791c9f6b433278a031629fa4ab26b0400 SHA512 ebd684225f620cc5a02e7f407282a2f8e019cca3a473caf727babfc13478feafbd04af936064f8226ae6acf3c6e35ea72b222b825fbafb95420613a69131e733 WHIRLPOOL e8e029ab47ad53266cfd479310f5565f069bb566574d803a09d2f3bd361c3ffb8a0e25f201dc592f6ce68224964e788826ef14437f82359da6cacd60366505ac
+AUX fracplanet-0.4.0-gold.patch 464 SHA256 d2790f2dbd2e5046d93409cb8036b78077afbe6862b37a047990db32f6f15ec8 SHA512 76983ed711ac72e8e9b5fd6aa913549cca6086375968e55ba9711532e018cf98f6e2791c6943062354486c09806ed57f0d8ee835d0ba01890c5fb5c8c325de20 WHIRLPOOL 16ec223e000cd63ad285fa8e264aaabcedaa433857fd3c22616afbf696345a1fff715410df312a5324b03ec7825416be8445efbf0776f3dbebc3d21d07f516df
+DIST fracplanet-0.4.0.tar.gz 101700 SHA256 38d56aba3c5cf19d4f2c218bece471d3860b161d2210a24ba94550356723482a SHA512 09eed764df60929e5aa22b3f5c34defa11a91c4f6b588259fe0c3c7736fa03a9d138e05fd6ec4800e7943f36e73949804d8a7ed3e29bda6ffdc883ecadf9abf6 WHIRLPOOL f5779e46463c07527a8b3063493893701831e8b8773b30904aa8180c314be4cb7339030d90be575dcbefe7cdf6a7d9270b7bcfbfe15408fa58e235c9edf18023
+EBUILD fracplanet-0.4.0-r1.ebuild 924 SHA256 88702fbb10154a23c00817552fcbe6377d2e081649a411b18d3ca184763cbdf5 SHA512 52374c41729008cc0fa3db5ebd05e1d0981dee8ef3dd45a843d556691f6eddd37d6d02fd13cf54d11ac92c8d5ed6e9643d328fc331da24274cb843bdf6f24142 WHIRLPOOL c836d46ef98f9c6d82beca7976a72218efa1d1308d4d66cc99a73b1c261aec7d455bf86dbf890544c9de28ab6b5f2aaf6d441cad30161be48ce355f3013170d5
+MISC ChangeLog 2587 SHA256 a338c81b6ec9384a2847ddd5ae8a5240ec1232200eb7ec57371dff0e61172077 SHA512 573456fad5cf1a214cd1872962493f45623bd64dd317aa2d367ae03faee3ddf4914ce37bec5d67c8372dd4cc2d6ca178187deb5d944dc50445ae56729ee07f60 WHIRLPOOL 9f0edf4379de6cbff4218ffcc5e48378f7965eca7e19027c4f4126057832f40e9bb6f55e1f7f358827b4eb7e32fa70dfa494a24b9cc9e4a2eef82b8dbfd2ce2d
+MISC ChangeLog-2015 1297 SHA256 a957f6889d87eea0259be012e8fdbf5fc8a927e84b625682ba5ecbbb827dd630 SHA512 dcb20031b3840dbe8c2dbeccccf995f6349cdabf64278b1abdfb96315ca7baf3993b3f6049fcbc7cf42199271be106568ca4df11d9b9324c027bc76bda0838ec WHIRLPOOL e4394760924fbcc978a74b57f8a3437a4a71e51ec14bc7d2a68af799d05027da088d7be563369577d89686bc2f7e4f53fd3ed9d6d695171f90e259d14b3fc8ef
+MISC metadata.xml 356 SHA256 8220b942b771aecf2da339842968f71d0a5702219584c96c515f14009b66d202 SHA512 71282985fe89e25eaf0c84d2e3b0469317e2e2b1c3de5db8efc9557f8da2970e021e9aa18b625ef8a718feede1232a7c9687bc89615c12b4efd76325d4ad1561 WHIRLPOOL 4dcebbecf845f854a17c9c7a332c37e928b6599fe76c93d9430818301d76e364f51c00c7201290c719bc3daaf64e96bba8e81c9058be2cafd927e013b63bc918
diff --git a/x11-misc/fracplanet/files/fracplanet-0.4.0-gcc6.patch b/x11-misc/fracplanet/files/fracplanet-0.4.0-gcc6.patch
new file mode 100644
index 000000000000..4d760d672f8d
--- /dev/null
+++ b/x11-misc/fracplanet/files/fracplanet-0.4.0-gcc6.patch
@@ -0,0 +1,44 @@
+Description: Fix compilation with gcc-6
+Author: Gert Wollny <gw.fossdev@gmail.com>
+Last-Updated: 2016-07-09
+Forwarded: No
+Bug-Debian: https://bugs.debian.org/811642
+
+--- fracplanet-0.4.0.orig/image.cpp
++++ fracplanet-0.4.0/image.cpp
+@@ -85,7 +85,7 @@ template <> bool Raster<uchar>::write_pg
+ out.write(reinterpret_cast<const char*>(&(*(row->begin()))),row->size());
+ }
+ out.close();
+- return out;
++ return out.good();
+ }
+
+ template <> bool Raster<ushort>::write_pgmfile(const std::string& filename,Progress* target) const
+@@ -101,7 +101,7 @@ template <> bool Raster<ushort>::write_p
+ progress.step();
+ for (const ushort* it=row->begin();it!=row->end();++it)
+ {
+- const uchar p[2]={((*it)>>8),(*it)};
++ const uchar p[2]={static_cast<uchar>((*it)>>8),static_cast<uchar>((*it) & 0x00FF)};
+ if (m>=256)
+ {
+ // PGM spec is most significant byte first
+@@ -115,7 +115,7 @@ template <> bool Raster<ushort>::write_p
+ }
+ }
+ out.close();
+- return out;
++ return out.good();
+ }
+
+ template <> bool Raster<ByteRGBA>::write_ppmfile(const std::string& filename,Progress* target) const
+@@ -132,7 +132,7 @@ template <> bool Raster<ByteRGBA>::write
+ out.write(reinterpret_cast<const char*>(&((*it).r)),3);
+ }
+ out.close();
+- return out;
++ return out.good();
+ }
+
+
diff --git a/x11-misc/fracplanet/files/fracplanet-0.4.0-gold.patch b/x11-misc/fracplanet/files/fracplanet-0.4.0-gold.patch
new file mode 100644
index 000000000000..4a52d1c44a62
--- /dev/null
+++ b/x11-misc/fracplanet/files/fracplanet-0.4.0-gold.patch
@@ -0,0 +1,22 @@
+--- a/triangle_mesh_viewer.h
++++ b/triangle_mesh_viewer.h
+@@ -24,6 +24,7 @@
+ #ifndef _triangle_mesh_viewer_h_
+ #define _triangle_mesh_viewer_h_
+
++#include <GL/glu.h>
+ #include "parameters_render.h"
+ #include "random.h"
+ #include "triangle_mesh.h"
+
+--- a/fracplanet.pro
++++ b/fracplanet.pro
+@@ -8,7 +8,7 @@
+
+ HEADERS += $$system(ls *.h)
+ SOURCES += $$system(ls *.cpp)
+-LIBS += -lboost_program_options
++LIBS += -lboost_program_options -lGLU
+
+ DEFINES += QT_DLL
+
diff --git a/x11-misc/fracplanet/fracplanet-0.4.0-r1.ebuild b/x11-misc/fracplanet/fracplanet-0.4.0-r1.ebuild
new file mode 100644
index 000000000000..798e453cef7c
--- /dev/null
+++ b/x11-misc/fracplanet/fracplanet-0.4.0-r1.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit qmake-utils
+
+DESCRIPTION="Fractal planet and terrain generator"
+HOMEPAGE="https://sourceforge.net/projects/fracplanet/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+ dev-libs/boost:=
+ dev-qt/qtcore:4
+ dev-qt/qtgui:4
+ dev-qt/qtopengl:4
+ virtual/glu
+ virtual/opengl
+"
+DEPEND="${RDEPEND}
+ dev-libs/libxslt"
+
+S=${WORKDIR}/${PN}
+
+PATCHES=(
+ "${FILESDIR}/${P}-gold.patch"
+ "${FILESDIR}/${P}-gcc6.patch"
+)
+
+HTML_DOCS=( fracplanet.{htm,css} )
+
+src_configure() {
+ eqmake4 fracplanet.pro
+}
+
+src_compile() {
+ xsltproc -stringparam version ${PV} -html htm_to_qml.xsl fracplanet.htm \
+ | sed 's/"/\\"/g' | sed 's/^/"/g' | sed 's/$/\\n"/g'> usage_text.h || die
+ default
+}
+
+src_install() {
+ dobin ${PN}
+ doman man/man1/${PN}.1
+ einstalldocs
+}
diff --git a/x11-misc/fracplanet/metadata.xml b/x11-misc/fracplanet/metadata.xml
new file mode 100644
index 000000000000..3d9147f83aa8
--- /dev/null
+++ b/x11-misc/fracplanet/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">fracplanet</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/fraqtive/Manifest b/x11-misc/fraqtive/Manifest
new file mode 100644
index 000000000000..e8ffbd33d838
--- /dev/null
+++ b/x11-misc/fraqtive/Manifest
@@ -0,0 +1,6 @@
+AUX fraqtive-0.4.8-qt-includes.patch 438 SHA256 85a5e6e5617edb867a2bc6af51a963de7b4270b0c59f9ae9a3ef0bb32489bd80 SHA512 0e5ea8dce236a5cdb8086ab0671360aeb15a4d0ac9703969be28373315288d59ccd31b013f932c77bfb5a64faf917f311c30c7cd25c006f08be5a5f40f5735c4 WHIRLPOOL 538ad07ee418b2436f12bf32b0dd7b08b6f39c217a644423410403416a4106305544632c15d083271a3430f99120ee1df893d2ca6a3e90c84068ea61daf38ec0
+DIST fraqtive-0.4.8.tar.bz2 260484 SHA256 dbb21b5e6305cbf02c27aaedb12c5125ac873600bce10d12e88b2305a2083cd7 SHA512 8b4be81dd14fe086dbcffda123395ccb30a197e7762e590bc3ab7dc1d0aafb44dc45e1445e2f83198a0c1f4b9ea0d54a7de1989c3b85c0f2e5f474a67255d942 WHIRLPOOL 29bfc8574d63ac6e77c36531e1dd9aa63810af12e6669f8248c364f6dd42088ac1418cdce6c1b760dc922bbded65b148e0079f8c56df69e27f42b093212ee7c3
+EBUILD fraqtive-0.4.8.ebuild 1301 SHA256 7d98b616423abaca3e82edbe42d11487707b0ca4877a9d39cc49c7347f00e64a SHA512 5ac3861ad1784d24a8695896a2dff1cbb6d1180aef27e4d0a2de1a87d0b1f2f789b9ff75d880f478326b7337e7e413f17220e9110bbd989fedb74677c628b3f0 WHIRLPOOL c520f76b07e099bbe921d2447074f8dc34b46e5fda3b3e092c6889d5c5912d323e2eb24ed95ab942a9492cb64b10e0de38776ea83f88f584ab26469e36858f5b
+MISC ChangeLog 2484 SHA256 f0c8360f73c086127cc39258f77236a17cb6cdc554bb9e7aea98b8452c36e910 SHA512 508bb483e09c5dc14b588534cae00fe586db410992819fa1210d0f3d2de7d4e85e2a889ffe94de3d5a0def11d6f8869bef3dc8ba1c531b725d72be700fe2eeb7 WHIRLPOOL 04c7834752fbbf0c696160210eef57fd7ebec7980d511998903ff335b51432252936eabc120990be29ea73f5778fcf857d43465a50bd166dee7cb444e311fb31
+MISC ChangeLog-2015 2744 SHA256 511829def18d1da90f9f525e7a408019f5a7b6d89151225730bedcddc188f99a SHA512 6427191396627d315d93c0d87008bd4db9236fd9bce8697387cff38f99ed1ce42e0f3854a76e9b8b37fb37db38b4214f6ab57166e2ece532cbee953e66e32d81 WHIRLPOOL 1a475069923c7d21a00334f823b5b3b101b57a67723445abfad571c32fc85f93bc20589ba84f6651a360fc3d29248dac4f50c3ab1c495f2a4629ae8ca3b84a1e
+MISC metadata.xml 364 SHA256 d101c47652c2b64ab73afe9ac7ce60807cbc33dea4e455aa1243a797362969c2 SHA512 b3343bcc5cf584c4bbacb0d54e353bca91c3112d9d906dc920ead427fc964e7a71bc632e810f6047a293d00325dfafe532067b6d0d5fb9abcb797ae83c587604 WHIRLPOOL 12c77ef311a443b106e02e8020f73a233394951ba5e6f9e1747f001c7b0a948488a9d3cdf2dabf353ed049c14e045af76624c12773205a348efb9a12e52af8ad
diff --git a/x11-misc/fraqtive/files/fraqtive-0.4.8-qt-includes.patch b/x11-misc/fraqtive/files/fraqtive-0.4.8-qt-includes.patch
new file mode 100644
index 000000000000..de31d9c37ec2
--- /dev/null
+++ b/x11-misc/fraqtive/files/fraqtive-0.4.8-qt-includes.patch
@@ -0,0 +1,24 @@
+Add missing Qt includes.
+
+Bug: https://bugs.gentoo.org/563574
+
+--- a/src/configurationdata.cpp
++++ b/src/configurationdata.cpp
+@@ -25,6 +25,7 @@
+ #include <shlobj.h>
+ #endif
+
++#include <QDataStream>
+ #include <QDir>
+ #include <cstdlib>
+
+--- a/src/fractalgenerator.h
++++ b/src/fractalgenerator.h
+@@ -21,6 +21,7 @@
+
+ #include <QEvent>
+ #include <QMutex>
++#include <QObject>
+ #include <QWaitCondition>
+
+ #include "abstractjobprovider.h"
diff --git a/x11-misc/fraqtive/fraqtive-0.4.8.ebuild b/x11-misc/fraqtive/fraqtive-0.4.8.ebuild
new file mode 100644
index 000000000000..5c0a787ab56a
--- /dev/null
+++ b/x11-misc/fraqtive/fraqtive-0.4.8.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit eutils gnome2-utils qmake-utils toolchain-funcs
+
+DESCRIPTION="an open source, multi-platform generator of the Mandelbrot family fractals"
+HOMEPAGE="http://fraqtive.mimec.org/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="qt5 cpu_flags_x86_sse2"
+
+RDEPEND="
+ !qt5? (
+ dev-qt/qtcore:4
+ dev-qt/qtgui:4
+ dev-qt/qtopengl:4
+ )
+ qt5? (
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtopengl:5
+ )
+ virtual/glu
+"
+DEPEND="
+ ${RDEPEND}
+ virtual/pkgconfig
+"
+
+src_configure() {
+ epatch "${FILESDIR}/${P}-qt-includes.patch"
+
+ tc-export PKG_CONFIG
+ sed -i -e "s|-lGLU|$( ${PKG_CONFIG} --libs glu )|g" src/src.pro || die
+ local conf="release"
+
+ if use cpu_flags_x86_sse2; then
+ conf="$conf sse2"
+ else
+ conf="$conf no-sse2"
+ fi
+
+ echo "CONFIG += $conf" > "${S}"/config.pri
+ echo "PREFIX = ${EPREFIX}/usr" >> "${S}"/config.pri
+ # Don't strip wrt #252096
+ echo "QMAKE_STRIP =" >> "${S}"/config.pri
+
+ if use qt5; then
+ eqmake5
+ else
+ eqmake4
+ fi
+}
+
+src_install() {
+ emake INSTALL_ROOT="${D}" install
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}
diff --git a/x11-misc/fraqtive/metadata.xml b/x11-misc/fraqtive/metadata.xml
new file mode 100644
index 000000000000..bc3bafc915e7
--- /dev/null
+++ b/x11-misc/fraqtive/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">fraqtive</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/ftmenu/Manifest b/x11-misc/ftmenu/Manifest
new file mode 100644
index 000000000000..13c405a86f6d
--- /dev/null
+++ b/x11-misc/ftmenu/Manifest
@@ -0,0 +1,5 @@
+DIST ftmenu-0.4.0.tar.gz 315415 SHA256 25f18f1e0cad81bb6a0c65ae11d11f684bd7e2343a519f76ca0dda0173ad765b SHA512 7b83d2b7bb186d2a78f3425f364fc34263332ce881ebbed4805767834610d3fba474b296343de9f2d01aefb10e6638ed356c617ad460746f1a60f0f85d3e6e10 WHIRLPOOL c91753224a8d6a35e13c4fc25003cdaa6881e62e1c7ced7213a8c1b7498169ca8253358ab7704502f59bad5ab526256f0373cbc2a00dce48c57cd1bd5acc1639
+EBUILD ftmenu-0.4.0-r1.ebuild 860 SHA256 d419583dc04442c5d4f88f212120a00c9dc3bd363a373ee16bbf24d22d2d4466 SHA512 29adf34a6a5e5ac2035bc1396c5910cfac76452e8803f49882b8c54954e6a488a4f6a75d6260148625446b9de4270431c0d24df63fad20f1d70f5633475971ee WHIRLPOOL 48f2225ca81ebf271e43a8b2091bd1f56ccc657cfc52cf82d47d8007486f021932fb333633f03ef8b588a95feae2e087ba073cf14399ea8277b152b21aef64c6
+MISC ChangeLog 2519 SHA256 54b184b62bdb832bc1479a03487f0cbc90becfaa490c89383d1ace060bb48e17 SHA512 b96734181cf09bc7e885a479ecc80931b647c3fec49c347e7204d2cbff2e33cf0c8485ded73cba1133cea0682f62380cd955e9458e3b180322c56d279f159d4d WHIRLPOOL 79c3002522125b46178ff031f37c451142394cbf1a3e685a3bb12cc1e57ba41213a0b909e2d951e3abc28a74ffec91afd3467c5cd8954384be4fe72488fe2fc6
+MISC ChangeLog-2015 1187 SHA256 b63d69870388560587e2654d44f76727f550f1ac5c64c5e07196062532201c4b SHA512 d7d28170a706efc072eb831991f8bd71073a33d020548eddcbc48b8186bb396dec50113a6025f23523c9f9dca0fcea98b734e4f0c303d1fa6fbe2e14f80b6464 WHIRLPOOL d18ea47570045c073bae690dcfba779d38e2fa40f6d1fd2d3cb8e6ec5cb72315d329fbc12364ddd25bcd761c79ea041e923c8d39b7cd476dc21ba561149ce16e
+MISC metadata.xml 243 SHA256 f7f03d5daedd40d38717eacd5b0f1186b430db380993fe33278fb5d6251d68a0 SHA512 811f488cef5d5e67ff76d17cacfa083b668465de769c11d971fa96aa8d95473b8094965e72710d6ea960802eafb534e9befbb17b8ddbf987c540d0b7cc45edb9 WHIRLPOOL 47a05e674b0bb3947cab7ce954760b7e807914237b66b6b24a7b2f87fdf2b41f724226ac762bf4e047d1434393fcdcf086ffc1310671f9fb17d9f9549ded51ee
diff --git a/x11-misc/ftmenu/ftmenu-0.4.0-r1.ebuild b/x11-misc/ftmenu/ftmenu-0.4.0-r1.ebuild
new file mode 100644
index 000000000000..be90c2a835b5
--- /dev/null
+++ b/x11-misc/ftmenu/ftmenu-0.4.0-r1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="A tray menu for the Fluxbox toolbar"
+HOMEPAGE="http://ftmenu.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+COMMON_DEPEND=">=x11-libs/gtk+-2.6:2
+ >=dev-libs/glib-2.6:2"
+DEPEND="${COMMON_DEPEND}
+ virtual/pkgconfig"
+RDEPEND="${COMMON_DEPEND}
+ x11-wm/fluxbox"
+
+pkg_postinst() {
+ einfo
+ einfo "To use ftmenu, edit your ~/.fluxbox/menu file and modify the [begin]"
+ einfo "line to contain the path to an icon of your choice."
+ einfo
+ einfo "For example, to use the default ftmenu xpm icon:"
+ einfo " [begin] (Fluxbox-0.9.12) </usr/share/ftmenu/fb.xpm>"
+ einfo
+ einfo "Next, add 'ftmenu &' to your X startup file (~/.xinitrc or ~/.xsession)."
+ einfo
+}
diff --git a/x11-misc/ftmenu/metadata.xml b/x11-misc/ftmenu/metadata.xml
new file mode 100644
index 000000000000..3b38ef54089f
--- /dev/null
+++ b/x11-misc/ftmenu/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <upstream>
+ <remote-id type="sourceforge">ftmenu</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/gbase/Manifest b/x11-misc/gbase/Manifest
new file mode 100644
index 000000000000..a5fd6cf74fdd
--- /dev/null
+++ b/x11-misc/gbase/Manifest
@@ -0,0 +1,6 @@
+AUX gbase-0.5-gtk.patch 645 SHA256 f0052d0521274a2ba172c39859112f294df7ff068b867da9e19d1b67addf4fbe SHA512 9fc205cbd7f572568fe46f6c236e17f5bdd5b24497a3b8aac82a8969fe1e10c9f19750ca2d292855e59016215de8bc4bbe061ad461e1e9bac10c981d75e22623 WHIRLPOOL 3d42d65238a6957b668e3461a0b978d32be4eb2435c0b4afef210d9d1be965399dc18b2fea9b2a5008db6dc0ab786fd5cc6182cb3228d49af501c9177927ca91
+DIST gbase-0.5.tar.gz 6427 SHA256 6e5bab77aec548d7694ff9dde9e444b146bc370ac8d89e98d7cca533ea455f3e SHA512 2c873317f192c0886d131ac32ef38d6371880a50ca5296ee290232dcb1ad985f90dce9678178e23e4be0d4f962f9f1a3ab2ab870810b645186f309be912abb3c WHIRLPOOL 685c58d443bed707850f7642808379ec5fee39b1a70ceb6c9d2ed5594f7f9fa3d51972dae29f972d26050e9d4d85e345928eb235eb9929bc8f97935587c8ccb5
+EBUILD gbase-0.5-r1.ebuild 587 SHA256 10d4e4927865247cfcfbceaaa2e94e41c5dd5c3df42cc95aafe8b1b237a3517d SHA512 8796cf73551f675b9b5651d49eca685f367aec575c60f0918f858b430f485ad0f2bfdcbd5595dfa23347dfc7a351c2271d41efe657e433a68526db94ef3d108e WHIRLPOOL c3138c450ed2d7d1c1ba3b2667c6c03366bcd1f28a5fb7d00b260cf044660a9af64cf2e4180549a6f7f0a6aa41c1cda1b82ab78493ce78aad70dd487c8d2b5a1
+MISC ChangeLog 2445 SHA256 5a31da9489d7f9c0fc370e1a7ec7fb61f0c234fe0b0fe38784904e3d062a3ba8 SHA512 167957210ee43eabf6e63e8729914ca84ae1c09e536fbed15066886386c0006db3e41b67d45da5df8f5c6c0f71feef4d359454976bbac96e7eccc4aa2dd35aa4 WHIRLPOOL 1959378303b6e23194ac591559b955ff1997c2ec35b3170375cff338331d3f0df4507b3309a10c4ea1fa0acc9a3d3493725511b5b6bd8a86d671a0dfb1be401f
+MISC ChangeLog-2015 1304 SHA256 1e4894dcb0958e22b54af820e0cfd476a90c86e2a52dcb65f8fd8f1ef4253bb5 SHA512 530a1256e1676e7049edc193511494baada841116f746862569fb73a7881aceaa26040f6e4fed200fc5522275dfb1fad0cb738602950b4a6d06bff8151ca1ede WHIRLPOOL 3fa228693d75940d9411a63e6125a75f41449cde366664cf86ccbfe5105dd9cb932914a31a8fff3d4153dd71c7b183f8a087cdd33595bb85f0db8af448ab0136
+MISC metadata.xml 276 SHA256 437f3dba7deca9da3b3f8ecda9bb5e97253de0412cbb3095d876f39140f3ea98 SHA512 3497963f4fb51bb32521472b54a995091cb457d2cda65c786bd4b46e5af325caf8f6d5c969cefa0c09fe717df09fb015ec59b52f5571c3b2b9d4ea33e6c843ab WHIRLPOOL 8550fd604cf609511bf7c34245ebd6682dd6d058d8cbfa099a77c94d1afcf592909eb679a28a0806957ac0949c6cff350675e0182303ec5890a5e2c2c26d29c5
diff --git a/x11-misc/gbase/files/gbase-0.5-gtk.patch b/x11-misc/gbase/files/gbase-0.5-gtk.patch
new file mode 100644
index 000000000000..38936e79738c
--- /dev/null
+++ b/x11-misc/gbase/files/gbase-0.5-gtk.patch
@@ -0,0 +1,26 @@
+diff -ur gbase-0.5.orig/Makefile gbase-0.5/Makefile
+--- gbase-0.5.orig/Makefile 1999-10-28 00:23:51.000000000 +0300
++++ gbase-0.5/Makefile 2008-01-16 14:24:55.000000000 +0200
+@@ -1,15 +1,15 @@
+-CC = gcc
+-CCFLAGS = `gtk-config --cflags`
+-LDFLAGS = `gtk-config --libs`
++CC ?= gcc
++CFLAGS += `pkg-config --cflags gtk+-2.0`
++LIBS = `pkg-config --libs gtk+-2.0`
+
+ gbase: gbase.o
+- $(CC) gbase.o $(LDFLAGS) -o gbase
++ $(CC) $(LDFLAGS) gbase.o $(LIBS) -o gbase
+
+ clean:
+ rm -f gbase gbase.o gbase.c~
+
+ # Make object files:
+ %.o:
+- $(CC) $(CCFLAGS) -c $*.c
++ $(CC) $(CFLAGS) -c $*.c
+
+-gbase.o: gbase.c
+\ No newline at end of file
++gbase.o: gbase.c
diff --git a/x11-misc/gbase/gbase-0.5-r1.ebuild b/x11-misc/gbase/gbase-0.5-r1.ebuild
new file mode 100644
index 000000000000..2a57e0d299c5
--- /dev/null
+++ b/x11-misc/gbase/gbase-0.5-r1.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit toolchain-funcs
+
+DESCRIPTION="a convert program for decimal, hexadecimal, octal and binary values"
+HOMEPAGE="http://www.fluxcode.net"
+SRC_URI="http://www.fluxcode.net/files/${P}.tar.gz"
+
+LICENSE="Artistic"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+RESTRICT="test" #424671
+
+RDEPEND="x11-libs/gtk+:2"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+PATCHES=( "${FILESDIR}"/${P}-gtk.patch )
+
+src_compile() {
+ tc-export CC
+ default
+}
+
+src_install() {
+ dobin ${PN}
+ einstalldocs
+}
diff --git a/x11-misc/gbase/metadata.xml b/x11-misc/gbase/metadata.xml
new file mode 100644
index 000000000000..2ba8e9e851e4
--- /dev/null
+++ b/x11-misc/gbase/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/x11-misc/gbdfed/Manifest b/x11-misc/gbdfed/Manifest
new file mode 100644
index 000000000000..8519556643ce
--- /dev/null
+++ b/x11-misc/gbdfed/Manifest
@@ -0,0 +1,5 @@
+DIST gbdfed-1.6.tar.bz2 236166 SHA256 5db25d4ce688dcb188dee056e58614a94a5e4fce4b6066fbb310951ab999093c SHA512 45cdccd86d01d104c14db5c320066f167a25b7967a13f4bc962a2936c94f549efbae792b7828cf21c43e2989858c3482c5daba74cb267db24ca5daada0ad44ef WHIRLPOOL 6379d15bd6caefa4f97251a1d9c5aa3dc49d6e5085f825dccae0e297f62ce917938dc522a92352145932d794951471bc8844aa6b43e587907f2b7265a087fa2b
+EBUILD gbdfed-1.6.ebuild 620 SHA256 3c848426cf0ecc10b0d40a6e8ac7df1de41397993207826fbfcd92cb9c8f71b2 SHA512 3eaaeed222bc67ab2267274f7eafe2b60ca22bd34d45280961da6aa54be79584aa96fa6d02a0735209a9cb12fa1c999aaa212e2da4bc5a6ad062c3880881261d WHIRLPOOL 6bf1d9317357eacc3d72c9c8df76f5d41e4c04d2b9c68a5701c05c5cf8949aaa1613454a7e4040cd3ba29363affe0f06ab77b276057aa5b1cea32b49a6e3607f
+MISC ChangeLog 2849 SHA256 11181e574e2e634f5e5963be26302412ddaf2ecce17e93f517a1dcbfd81108be SHA512 e7c318b81f326447a77f26f44fd1e4bd3365dfb01468394d095045b621a7b9b0d7769cce0b8b6dd66538a0a549b795b92204e06357df23c40fafda32f2bc3ae3 WHIRLPOOL d3f7a0f059faade061be3ff9496ca63628edc8796d06fbe31168cd4495a5859b819daaba6f7ab136b06392d95bb150c6ce1df41f8c11b8ceefe22b9936d9d55b
+MISC ChangeLog-2015 1239 SHA256 67c79f6d78d6eccdfd56776aa87e3a6816c64e84d906322c6df5523f1c36795a SHA512 560b57b6ef30cc2ed3f2286ca0817fe8e12cf891408b49f9bd2d3f652fbb2d02b674e0a74d8d6de1d43304ff23daf9160e4e1549f3f96ec6b15a4e8efaf42030 WHIRLPOOL 6c9aba4b8e2bfdfdba970829d14862dd3a652eb91d69b4f6b1ef76ed033477d1002cc3ae2e6d8004f1ff5c9cc61bf4b57e033d4735964d40f5959fe08f42a9aa
+MISC metadata.xml 238 SHA256 cf46d2323e696a19598784249ea645ab43f8ceb10f74695b01f22b28a5426142 SHA512 5ecba42349e9c39d750f007ac73f6100b85cf54174805a6673b0373434ea83c0f2b64c8a5b167e1fdd5a6c55d366f50cb9ba5a367b9d6dd8d53d797b8839fd5e WHIRLPOOL 22b60503d853ec644c97f4dd9c0627d0297224b22d9ee0ad5ba4597118210c3918510e3cf763e4ebd9b1f4fcd6c339de2d8c0e164cdc614b4c04fee6b7475f24
diff --git a/x11-misc/gbdfed/gbdfed-1.6.ebuild b/x11-misc/gbdfed/gbdfed-1.6.ebuild
new file mode 100644
index 000000000000..2166c768e873
--- /dev/null
+++ b/x11-misc/gbdfed/gbdfed-1.6.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit eutils
+
+DESCRIPTION="gbdfed Bitmap Font Editor"
+HOMEPAGE="http://sofia.nmsu.edu/~mleisher/Software/gbdfed/"
+SRC_URI="http://sofia.nmsu.edu/~mleisher/Software/gbdfed/${P}.tar.bz2"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=">=x11-libs/gtk+-2.6:2
+ >=media-libs/freetype-2
+ x11-libs/libX11
+ x11-libs/pango"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ sed "s:-D.*_DISABLE_DEPRECATED::" -i Makefile.in || die #248562
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ dodoc README NEWS
+}
diff --git a/x11-misc/gbdfed/metadata.xml b/x11-misc/gbdfed/metadata.xml
new file mode 100644
index 000000000000..cc081897d48c
--- /dev/null
+++ b/x11-misc/gbdfed/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>fonts@gentoo.org</email>
+ <name>Fonts</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/x11-misc/gccmakedep/Manifest b/x11-misc/gccmakedep/Manifest
new file mode 100644
index 000000000000..bd3381c8d239
--- /dev/null
+++ b/x11-misc/gccmakedep/Manifest
@@ -0,0 +1,5 @@
+DIST gccmakedep-1.0.3.tar.bz2 104766 SHA256 b275dcf1f7323ed89e8b36f8fbd5da665d8700005f1779fa5b90a1688bbf2ee4 SHA512 563b2897770a4df2792ea3eae8183a1f9e78192b7efc9c8296ee68d1cba6e72fa962a88e3251bb780df776e2aa7e80d74d5096675c61526c232aefa4f9e6a5fc WHIRLPOOL 63d2b6c33c432545c793bf5d56c1a6d8b5a1222c5de5f99b22115deab82ba120a4199ddcb780e070e4167158f764a50bb70754138b161b529b77cb06465ef28b
+EBUILD gccmakedep-1.0.3.ebuild 443 SHA256 487daa10a2dd8fcfa64fbaa54e18c9690ac425afc94d1ebf063d522c71210999 SHA512 65dcb22feafe14c659ac5ddf25159839f2ecfc14427019940b74f1e2e9173404faba88911948e465849def07267db400900d24cba47ed722c5ef0ec877f6d24e WHIRLPOOL 95976c7455f47cda2c356100d47ed9655fdc563427da7d00e53816ede9e67a69f19dd58629d2186af038ac21a49ecf1787616d9d07a61606a55e43998c7c25af
+MISC ChangeLog 2500 SHA256 72bbe012d1d64ba6de254d46d9dc92cdde8c549d2cd1287d6dc228e4e718c8e3 SHA512 6a9fdef44982eb461fa6cec86de74151a29bff4782c01d8211e1f370329898d8aa3ff62cc3138394114c33866b8c5eaf5ae3ae9e1cd13b25a95d63a34e452c3d WHIRLPOOL 9b466f3fd2ddaf5cb4a6a89c94a2e8036ed05a4883c8f9dac4f9b6b62cb15b1d10243e95049c319029a17cdc7145fd4550156e882b064e067b05dc3a3bc580d4
+MISC ChangeLog-2015 5338 SHA256 d7a5f209d4bbac65a6f4ea906293e00814062f9154fcaa7a7dc0e3138eabf594 SHA512 73c6dddc2a6898ca3500f6cfa2b7163709b202f7b17f94699e45ee6ff6345b3bc530876cda4cb7d2daf104c42740a55722a2ee519d3317ff1a2cb386a2509851 WHIRLPOOL 861b81aeceed95e6cd8ee98bf752035b1a296713525dcf5cd82c75a7094de1a18c8398561f53ac8ce5ea1d26cb379bbe6d45c433af9e1c246ff66bc9a44e090c
+MISC metadata.xml 230 SHA256 677e4595d00a3098fde05ae33118b9ac05867dc5729c9cd579dc8badd1a28f68 SHA512 d7a2643abd1904cc5ff4d91cbb6f1baeb7f75fd1db542c5e14f19412f4f0bd4b903f8e703a7662ba7482c79dac5529057760b6427599d35e0842755fd946e057 WHIRLPOOL 4866c82c6428eae526c0a514c988e4119221f77b0e8bfb04fec713dd3ba516c69afc776a0c6f53c29abfd8507aa23801614db1ba544dd0a0dd4d6a9462c27306
diff --git a/x11-misc/gccmakedep/gccmakedep-1.0.3.ebuild b/x11-misc/gccmakedep/gccmakedep-1.0.3.ebuild
new file mode 100644
index 000000000000..b2ee97f05ca5
--- /dev/null
+++ b/x11-misc/gccmakedep/gccmakedep-1.0.3.ebuild
@@ -0,0 +1,12 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+XORG_STATIC=no
+inherit xorg-2
+
+DESCRIPTION="create dependencies in makefiles using 'gcc -M'"
+KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
+IUSE=""
+
+DEPEND="x11-proto/xproto"
diff --git a/x11-misc/gccmakedep/metadata.xml b/x11-misc/gccmakedep/metadata.xml
new file mode 100644
index 000000000000..e943b72b8a48
--- /dev/null
+++ b/x11-misc/gccmakedep/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>x11@gentoo.org</email>
+ <name>X11</name>
+</maintainer>
+</pkgmetadata>
diff --git a/x11-misc/gcolor2/Manifest b/x11-misc/gcolor2/Manifest
new file mode 100644
index 000000000000..546565518dee
--- /dev/null
+++ b/x11-misc/gcolor2/Manifest
@@ -0,0 +1,9 @@
+AUX gcolor2-0.4-amd64.patch 1484 SHA256 93b3218de6d522017cb2d14cb94cfe523100234a45fe9b46cee2274612887195 SHA512 1b114e31a0a0fd4d500ea992616e72c8b0f1cd3442130f1955acd2d17c7a0239f6036986e9e3297182245ee7846fb9e72394acae72c88ccb2cfcf8049d105077 WHIRLPOOL c42f0184a7e765a03f591633818b3abe4e2e473154dd190be595d89eb5bc66c92d862f96e3bcf22b5d600d2d2ab75fbc56b3a2aa9c4c0fa44570929b90dfd6e7
+AUX gcolor2-0.4-pkg-config-macro.patch 240 SHA256 1b5aaf3ddec8c827738500160765d7602dd974cc8335befa3f6eaf76673edc8d SHA512 e86fc73aee59d73e19d5c841169b4e4941aba78e206be67c86b45bddcdf51f86e7ad0dbfbbeafe98c6bf056a314940e27f02087224f271b085154636fbc2983a WHIRLPOOL f8af2b94a15359d7f72594ffa87c41913c5f755528622d81c57d95c6a983082f81c3d888ffb868245cbd438142a366ff23c5b5892e0c57cbc6a72768ec500751
+AUX modular-rgb.patch 800 SHA256 931a56b8f37071d48307f781dd3f164573a913686af3e43bfec1e3530bb5089e SHA512 bf2ffe9bb489869e67b8b595fba649d3a8e0fe6dd168156c61f2a1165d865ac15199e03896c9b8e6a65d6cf84e8445f303f9b8eb190c60478e1334b60716572f WHIRLPOOL 6fb41ad7b2dbcfad1dc3831c4c3692e50ce49637e51ba8629a1f0621a20ec12202a53f999bfbc5a2440d53043e26422213c8f7a5ab0c682f0b2e7191c0b75ab9
+DIST gcolor2-0.4.tar.gz 375217 SHA256 89bd6c6d27ba5a679ec60057de8497855072f520515b490e5986fc3509774f23 SHA512 9b9677b4be8797c9b03deef9bf1b96e6497d2adf85f74d01f1b478f04d92cb912790c4d5fb74f403295219cac6c0d3fcabaa7de340975bbcdb68b0347f6042a3 WHIRLPOOL a0ae359ec66c50cd0386bbf4448ad32947e976012089d16f8f0ada71e27a375da6185ba4096c29c57f1cc980992aa050647e75bf6eec6839bc32a56e4cae1876
+DIST gcolor2.svg 12742 SHA256 df70b5fc937db1940fc1dacf51ec72006352e7597ec52e8815ac6a860a96ff07 SHA512 377dbd494e5a3f881df65415ee66310cd96b4e4ac668101aa068bfe6f575b694c930817cec942e885f93465d05ccc604950f2154e26be95618d6f272d81ffe1b WHIRLPOOL 64d3034595ef5fdafe8f3960d6b16f3aea3c02e56b3b475f9745b7862523c248c65e9ecb36cbe479d2b34032d1178d19630a4806fb1ac7ebf3e101fbd1e6c886
+EBUILD gcolor2-0.4-r4.ebuild 1040 SHA256 c5e8f7637c24aa6ba5c9469e86cfe8067e4c0142111470d57344003999a0890e SHA512 7e7ec9685c487cff341a90174376af9eb9f7cf9fcfd1fd7ad75f285134fe24d318edd560427f4d8a0b60892ed8a4427b1b6bd0724420cd85ec320c0fb46eb783 WHIRLPOOL 31f7a016128de600919ce8f6364b8beb19f838a610796f64a659703629ca95cc7d284cb1066b4d83858bef0dc425e1bffff5a4521f5f2b702d1c5b89b784fc50
+MISC ChangeLog 2670 SHA256 a7045f9ee3819c1938329315ccebcfabd93a24c22c980e32513cb47f8e52f88d SHA512 64f87b2fe743a0e71662b8d9065b0c639e18b79bea997b827d11d3ed2a9189e39365a921833e9407da12f13df29598ceedf41dd24bc01030b35090f5a979dc2f WHIRLPOOL 69f43f163fdf94b1df885659cfcc8e23a18cf97656354e0bebe7ffbf6a3ec17fdd3d964b27b290cc6ab3706c4cd61f52129cc0dd78d94c7723703f662c72a9ae
+MISC ChangeLog-2015 4916 SHA256 91dbc586af0b305fb5a813f0819c68aa175d2f25730dfedb2f85f16614e8bebd SHA512 b20e860662668c0b5523d9f2fdb6858d6a2bbaa21be35c88336ff33dc77c8a4a536e840ffd6d5796ec38c6e5f8f73c8047e76a32af0cef49f749dd28c8b003ca WHIRLPOOL 87658dd0dc6d913a33daeeffdf148b64566c110ee7d0ebba41efad975f41977f0cd47e2a83ecbb22d2096508a8f29d65210002bf5e711e386c02c39f8f46b95f
+MISC metadata.xml 330 SHA256 655940fef2756295a4cefdd33cff57f78f7dd310a74f3f806fb07de14f4f2517 SHA512 93ca94884b92665bd0e26010bdc1120a3014a0c22ab2de2b06bfff14ac716ca28017e04ec6607a0ec4b90818692ecd6d701147b8e5068e933b3fe0641a7f735f WHIRLPOOL a52246a6e0f030e8bf2d6b8f36b7f536d29519361a5aec935913c13f4b33a22c8e2c56a6a5cfe698abf81a7c07d6211348edbb5b1835c78029df3bd8770f2914
diff --git a/x11-misc/gcolor2/files/gcolor2-0.4-amd64.patch b/x11-misc/gcolor2/files/gcolor2-0.4-amd64.patch
new file mode 100644
index 000000000000..cd06a8315f98
--- /dev/null
+++ b/x11-misc/gcolor2/files/gcolor2-0.4-amd64.patch
@@ -0,0 +1,46 @@
+diff --exclude-from=/home/dang/bin/scripts/diffrc -up -ruN gcolor2-0.4.orig/src/callbacks.c gcolor2-0.4/src/callbacks.c
+--- gcolor2-0.4.orig/src/callbacks.c 2005-07-12 14:06:12.000000000 -0400
++++ gcolor2-0.4/src/callbacks.c 2007-02-17 19:19:38.000000000 -0500
+@@ -4,6 +4,9 @@
+
+ #include <gtk/gtk.h>
+ #include <stdio.h>
++#include <string.h>
++#include <glib.h>
++#include <glib/gprintf.h>
+
+ #include "callbacks.h"
+ #include "interface.h"
+@@ -172,6 +175,9 @@ void on_copy_color_to_clipboard_activate
+ gtk_clipboard_set_text (cb, hex, strlen (hex));
+ }
+
++void add_rgb_file (gchar *filename, gchar *type);
++gchar* get_system_file (void);
++
+ void on_show_system_colors_activate (GtkMenuItem *menuitem, gpointer user_data)
+ {
+ if (gtk_check_menu_item_get_active (GTK_CHECK_MENU_ITEM (menuitem)))
+@@ -266,6 +272,8 @@ void on_save_button_clicked (GtkButton *
+ gtk_widget_destroy (savedialog);
+ }
+
++void add_list_color (gchar *spec, gchar *name, gchar *type, gboolean is_new_color);
++
+ void add_color_to_treeview ()
+ {
+ GtkTreeView *treeview;
+diff --exclude-from=/home/dang/bin/scripts/diffrc -up -ruN gcolor2-0.4.orig/src/main.c gcolor2-0.4/src/main.c
+--- gcolor2-0.4.orig/src/main.c 2005-07-11 10:55:49.000000000 -0400
++++ gcolor2-0.4/src/main.c 2007-02-17 19:18:23.000000000 -0500
+@@ -4,6 +4,10 @@
+
+ #include <gtk/gtk.h>
+ #include <stdio.h>
++#include <stdlib.h>
++#include <string.h>
++#include <glib.h>
++#include <glib/gprintf.h>
+
+ #include "interface.h"
+ #include "support.h"
diff --git a/x11-misc/gcolor2/files/gcolor2-0.4-pkg-config-macro.patch b/x11-misc/gcolor2/files/gcolor2-0.4-pkg-config-macro.patch
new file mode 100644
index 000000000000..ee904746f147
--- /dev/null
+++ b/x11-misc/gcolor2/files/gcolor2-0.4-pkg-config-macro.patch
@@ -0,0 +1,10 @@
+--- configure.ac.old 2008-01-08 09:36:24.000000000 +0100
++++ configure.ac 2008-01-08 09:37:06.000000000 +0100
+@@ -26,6 +26,7 @@
+ AC_DISABLE_STATIC
+ AC_PROG_LIBTOOL
+ AC_PROG_INTLTOOL([0.27])
++PKG_PROG_PKG_CONFIG
+
+
+ GETTEXT_PACKAGE=gcolor2
diff --git a/x11-misc/gcolor2/files/modular-rgb.patch b/x11-misc/gcolor2/files/modular-rgb.patch
new file mode 100644
index 000000000000..eec5668c2bc7
--- /dev/null
+++ b/x11-misc/gcolor2/files/modular-rgb.patch
@@ -0,0 +1,21 @@
+--- src/callbacks.h.orig 2006-01-10 21:26:19.000000000 -0500
++++ src/callbacks.h 2006-01-10 21:26:44.000000000 -0500
+@@ -12,6 +12,7 @@
+ #define SYSTEM_FILE_2 "/usr/lib/X11/rgb.txt"
+ #define SYSTEM_FILE_3 "/etc/X11/rgb.txt"
+ #define SYSTEM_FILE_4 "/usr/openwin/lib/X11/rgb.txt"
++#define SYSTEM_FILE_5 "/usr/share/X11/rgb.txt"
+
+ /* about dialog text */
+ #define ABOUT_CREDITS_TEXT "Developer:\n" \
+--- src/main.c.orig 2006-01-10 21:43:20.000000000 -0500
++++ src/main.c 2006-01-10 21:42:14.000000000 -0500
+@@ -36,6 +36,8 @@
+ sys_filename = SYSTEM_FILE_3;
+ else if (g_file_test (SYSTEM_FILE_4, G_FILE_TEST_EXISTS))
+ sys_filename = SYSTEM_FILE_4;
++ else if (g_file_test (SYSTEM_FILE_5, G_FILE_TEST_EXISTS))
++ sys_filename = SYSTEM_FILE_5;
+ else
+ return FALSE;
+ return TRUE;
diff --git a/x11-misc/gcolor2/gcolor2-0.4-r4.ebuild b/x11-misc/gcolor2/gcolor2-0.4-r4.ebuild
new file mode 100644
index 000000000000..56f2c4a0bdca
--- /dev/null
+++ b/x11-misc/gcolor2/gcolor2-0.4-r4.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+GCONF_DEBUG="no"
+
+inherit autotools eutils gnome2
+
+DESCRIPTION="A GTK+ color selector"
+HOMEPAGE="http://gcolor2.sourceforge.net"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz
+ https://dev.gentoo.org/~pacho/gnome/${PN}.svg"
+
+LICENSE="GPL-2 public-domain"
+SLOT="0"
+KEYWORDS="amd64 ~ppc ~ppc64 x86 ~x86-fbsd"
+IUSE=""
+
+RDEPEND=">=x11-libs/gtk+-2.4:2"
+DEPEND="${RDEPEND}
+ >=dev-util/intltool-0.27
+ virtual/pkgconfig
+"
+
+src_prepare() {
+ epatch "${FILESDIR}"/modular-rgb.patch
+ epatch "${FILESDIR}"/${P}-amd64.patch
+ epatch "${FILESDIR}"/${P}-pkg-config-macro.patch
+
+ # To check at each bump.
+ sed "s/^#.*/[encoding: UTF-8]/" -i po/POTFILES.in || die "sed failed"
+ echo "gcolor2.glade" >> po/POTFILES.in
+
+ eautoreconf
+ gnome2_src_prepare
+}
+
+src_install() {
+ gnome2_src_install
+
+ # Icon from https://sourceforge.net/p/gcolor2/patches/5/
+ doicon -s scalable "${DISTDIR}/${PN}.svg"
+ make_desktop_entry ${PN} Gcolor2 ${PN} Graphics
+}
diff --git a/x11-misc/gcolor2/metadata.xml b/x11-misc/gcolor2/metadata.xml
new file mode 100644
index 000000000000..ed5571e57d2e
--- /dev/null
+++ b/x11-misc/gcolor2/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>gnome@gentoo.org</email>
+ <name>Gentoo GNOME Desktop</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">gcolor2</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/genmenu/Manifest b/x11-misc/genmenu/Manifest
new file mode 100644
index 000000000000..f2a67c759115
--- /dev/null
+++ b/x11-misc/genmenu/Manifest
@@ -0,0 +1,7 @@
+AUX genmenu-1.0.2.patch 490 SHA256 712ec90db4dbd30faf08753f16a2911811a2619b8804eeb94f3515a457ccbb22 SHA512 f31a67c696bea0dbd2f2ab8e57a636af9ebe64f286421bfd70c4fa81b537e2726f3d0e41810e4f6a11f36e91a7f5382c428eec8b5481416f3d64af24500ee90e WHIRLPOOL 68672ffc24c90cc4d0d068fc0a850578ec2f35095f4c20f8951cdf98fb963d7a5ed424fc33d990a4aee38dd4c0122c8fd1770292d35beb26ad36888a29236762
+AUX genmenu-1.1.0-remove-openbox-support.patch 1110 SHA256 bf245bccc28e6ee193806eba196b76460762fbda1e539e0bd42c94187b76bfd7 SHA512 6e2e81d643c4b11db886ce855b277f113bbf4f157b565c656c23147a74c623575685a074e14cc1b772dd02a17fdfaab2f1317973946e5abc03dc790e7199f71d WHIRLPOOL 067f0bfa07d86a5410789f2c7dde565d93cbedd00b70c9297663f7730b707a5a6b210fed88b66ec15139c6c30159ba06cf3d3b75b65f0ae8c05db1590b7bf472
+DIST genmenu-1.1.0.tar.bz2 10728 SHA256 c9795290e23b9c938bdae865a74801a4aaee0234be718af99667757a7e0d0844 SHA512 eb87db30f6787570ffe844c7b9b25542652e485296ec061ab1da8f2b1bae40942630c9ca141cf8c7b55ce4d99d1b173511850247a5e07243256eb71588515e54 WHIRLPOOL 72569c339d947fe7168597ecdfe00ce621167d35eddd7feb999c1f7b513e059ecbbb2a5fd6d41b77462bab92f6915f4119b78b24381950aa0983cc52bc834f29
+EBUILD genmenu-1.1.0-r1.ebuild 518 SHA256 7890b5924434ff74e1e578b898c3e957fb36bff23dd2b323a8bf12e26e4a89ba SHA512 165df57fb4bf9e8003a7dbc2ccc3b4f202d5c2f3385491d7269ca776e6a795c96821a092986147a767428d22ffc0e22c8c5e424d8ed88329efa4fa4b8c375714 WHIRLPOOL 74b6b5cc945c2cb088c05f451380e26823a8911e07e16c62b38bd237a82979aec808410a954685741e855b053536fce401c4bc0fc37b3c9fc36abe3d95b8de31
+MISC ChangeLog 2550 SHA256 0c0c70bd66ab4a9c93345c29e5e1ba8acb7390167ae97b75b8b8e68e9acdcf8d SHA512 f59b48175d59978da98639e8d4cbc0e260b1ae77d1b5ba34ad184ef1d8b589817f63d9e941d2a97a5f78160238b9caaf98bc04986fcf625c43c159a64d7e9a0c WHIRLPOOL c7b6c43297f3a4c9b6ac85e876718c71006929e79ff5b513d7587c56e0ea759a96753e100dc890ae2237ce8ab8e8b16c2b190d56aa45cafc78baab5e8770b3f5
+MISC ChangeLog-2015 4278 SHA256 4547c78861caafa98cbc20bca0c3faacefeaf229ec7b45977ef9c347182c15ee SHA512 4c320f6618f714d32b75779354b4428b5027d693b6ac8a15aa859ac5c2dbe4bd19352590084ec56ca75782879da453ef6e0542fc265770475854d4ad9e9299a0 WHIRLPOOL b588208fae1f95565574414c00f575f4f961727066a5adc5c16a9bfb597bc6b06c233eb68ac024149d0d84cee55a850c20f2d025aba31cb9e6e56b4ba90ed4ff
+MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968
diff --git a/x11-misc/genmenu/files/genmenu-1.0.2.patch b/x11-misc/genmenu/files/genmenu-1.0.2.patch
new file mode 100644
index 000000000000..1ad0002441d3
--- /dev/null
+++ b/x11-misc/genmenu/files/genmenu-1.0.2.patch
@@ -0,0 +1,27 @@
+--- a/genmenu-orig 2003-05-29 02:26:17.000000000 -0700
++++ b/genmenu 2003-05-29 02:35:21.000000000 -0700
+@@ -815,6 +815,7 @@
+ fi
+
+ echo -e "\nWriting $(ucfirst $1) menu\n"
++ mv $bb_menu $bb_menu.orig
+ bb_writemenu >$bb_menu
+ echo
+
+@@ -842,6 +843,7 @@
+ fi
+
+ echo -e "\nWriting Window Maker menu\n"
++ mv $menu $menu.orig
+ wm_writemenu >$menu
+ echo
+ }
+@@ -872,6 +874,8 @@
+
+ programs
+
++ mv $menu $menu.orig
++
+ ( echo "\"User Menus\""
+
+ if [ -f "$ECONFDIR/genmenu.menu" ]; then
diff --git a/x11-misc/genmenu/files/genmenu-1.1.0-remove-openbox-support.patch b/x11-misc/genmenu/files/genmenu-1.1.0-remove-openbox-support.patch
new file mode 100644
index 000000000000..72ae66927e17
--- /dev/null
+++ b/x11-misc/genmenu/files/genmenu-1.1.0-remove-openbox-support.patch
@@ -0,0 +1,28 @@
+Openbox config files have changed. Genmenu doesn't work anymore with openbox
+--- a/genmenu 2012-03-01 20:34:08.000000000 +0200
++++ b/genmenu 2017-02-19 11:38:53.687593570 +0200
+@@ -111,7 +111,7 @@
+
+ # Window managers to check for
+
+-WINDOWMANAGERS="blackbox fluxbox openbox waimea wmaker enlightenment sawfish metacity afterstep icewm xfce 9wm aewm amaterus amiwm ctwm flwm fvwm fvwm2 fvwm95 gwm ion kwin kwm larswm lwm mwm olvwm olwm oroborus phluid pwm qvwn ratpoision sapphire scwm twm ude vtwm wm2 golem"
++WINDOWMANAGERS="blackbox fluxbox waimea wmaker enlightenment sawfish metacity afterstep icewm xfce 9wm aewm amaterus amiwm ctwm flwm fvwm fvwm2 fvwm95 gwm ion kwin kwm larswm lwm mwm olvwm olwm oroborus phluid pwm qvwn ratpoision sapphire scwm twm ude vtwm wm2 golem"
+
+ # Fonts to check for
+
+@@ -935,15 +935,6 @@
+ }
+ }
+
+- findprog openbox && {
+- yesno "Generate Openbox menu?" && {
+- WM="openbox"
+- MENUITEMS="$tmp_menuitems $BLACKBOX_APPS"
+- realmenu
+- bb_interactive openbox .openbox/rc
+- }
+- }
+-
+ findprog wmaker && {
+ yesno "Generate Window Maker menu?" && {
+ WM="wmaker"
diff --git a/x11-misc/genmenu/genmenu-1.1.0-r1.ebuild b/x11-misc/genmenu/genmenu-1.1.0-r1.ebuild
new file mode 100644
index 000000000000..e35bdf67eddd
--- /dev/null
+++ b/x11-misc/genmenu/genmenu-1.1.0-r1.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="menu generator for *box, WindowMaker, and Enlightenment"
+HOMEPAGE="http://f00l.de/genmenu/"
+SRC_URI="http://f00l.de/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~x86-fbsd"
+IUSE=""
+
+RDEPEND="app-shells/bash"
+
+PATCHES=(
+ "${FILESDIR}"/"${PN}"-1.0.2.patch
+ "${FILESDIR}"/"${P}"-remove-openbox-support.patch
+)
+
+src_install() {
+ dobin genmenu
+ einstalldocs
+}
diff --git a/x11-misc/genmenu/metadata.xml b/x11-misc/genmenu/metadata.xml
new file mode 100644
index 000000000000..6f49eba8f496
--- /dev/null
+++ b/x11-misc/genmenu/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<!-- maintainer-needed -->
+</pkgmetadata>
diff --git a/x11-misc/gigolo/Manifest b/x11-misc/gigolo/Manifest
new file mode 100644
index 000000000000..372027508db2
--- /dev/null
+++ b/x11-misc/gigolo/Manifest
@@ -0,0 +1,5 @@
+DIST gigolo-0.4.2.tar.bz2 243877 SHA256 553fc78fe4e7bd2f01f3851baea7e63f6414fe652dfb4b08c60b5c4b2b909164 SHA512 d6d8c65674097fb3eae586e4c71b0f36ba64df00b2ac84c32bd83cfb0fd690ae998c22cea02194acd1f018cdfd01b42f840867425ed183fb0ad98c8d97859532 WHIRLPOOL 94140dc124b8bb15225248976b2779bdf0b4aeee478a6a6de30032689c33041eae28067b7cb434584628d8f722df0262aa761c641853f64a3a422ff1228d859f
+EBUILD gigolo-0.4.2.ebuild 824 SHA256 2e0a289998d6879ce19aabda54b591386c954d76c1a7bf0de0ec3da93cd62639 SHA512 62954a4e6aeba2d68b10ff5b0ce52aafac9cd4c3a368181e84c4c8c29e663bb475e38f1876ff0752e543a9f34f26fa7e6d2102cbeda32a3cb264a73fdebd18fe WHIRLPOOL dad609ef74d54069dad81d4c77d98643f0d5e1640a6785f7a8da99c3704afd1d7995746b517efc7b489a0a1f9b532eeb6a49a67f137ecfc88ff34c11deb4ba04
+MISC ChangeLog 2173 SHA256 14659297247aa8d84f1bfb51590a75a09ace6132ca031bc520bc79e4e64533ed SHA512 33753d12c2073f78acc11e042436e0041e83270a21e600d424fe28630998ea3c370859064de86afcafd6e2632f210a27ee15927d1c28d962bd671cc9b9c2fdab WHIRLPOOL 2cc980d819fbb887299fb79fd88d755b70ee5eb6102c9fa77098611ebcb917843b34bf058c6ac2593f171aacf48a90ec308637ee8d3b6a2d11a8114b3cedc899
+MISC ChangeLog-2015 2713 SHA256 f353cb51280a534d067af6a145c3b2ffd56619d1b0c6aba53d851fd346fd0a31 SHA512 be8ea64082ebaf14fc1772eb7a65f9e47465f1a30f5258fd25f701ef5a3cc14d2577cda73770b31454a06b9b40b26c24f0ddc8c7388a9e4cf59a66cba12be357 WHIRLPOOL 07c2b05515247c334dda1b96c0f63690a135821f958c7dc37fa9132f567b0014511a94b2c5479e4ef025eee5e7bbbf33d104c5529617480352503a89d8edd897
+MISC metadata.xml 247 SHA256 5e270543b0f1e81148a19b29d77d40191169f37a8b3e34c7c08bdca376150864 SHA512 25494c0053fb7b2ed0f78ecc2de8a8ae08a971db8e15f89e906a1d43177fef53eb9ec5dd075a5c67ddee2be112c0943f6c87e4870d405436bddfea3a4fa19203 WHIRLPOOL 15305f8aec1b5f5e255d6378d5b44652a3958e808017fd8ba00350b667528753ff0466bcf5b9b28b683fd3341d25bf8884396730003f071515ad28146d33893b
diff --git a/x11-misc/gigolo/gigolo-0.4.2.ebuild b/x11-misc/gigolo/gigolo-0.4.2.ebuild
new file mode 100644
index 000000000000..eb9baf3de5aa
--- /dev/null
+++ b/x11-misc/gigolo/gigolo-0.4.2.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+#EAUTORECONF=yes (Why was this in 0.4.1 w/o any calls to autotools.eclass again?
+# some reference to intltoolize in ChangeLog but that's it?)
+inherit xfconf
+
+DESCRIPTION="a frontend to easily manage connections to remote filesystems using GIO/GVfs"
+HOMEPAGE="http://www.uvena.de/gigolo/ https://goodies.xfce.org/projects/applications/gigolo"
+SRC_URI="mirror://xfce/src/apps/${PN}/${PV%.*}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+RDEPEND=">=dev-libs/glib-2.16
+ >=x11-libs/gtk+-2.12:2"
+DEPEND="${RDEPEND}
+ dev-util/intltool
+ virtual/pkgconfig"
+
+pkg_setup() {
+ DOCS=( AUTHORS ChangeLog NEWS README TODO )
+}
+
+src_install() {
+ xfconf_src_install
+ rm -rf "${ED}"/usr/share/doc/${PN}
+}
diff --git a/x11-misc/gigolo/metadata.xml b/x11-misc/gigolo/metadata.xml
new file mode 100644
index 000000000000..359901b31db4
--- /dev/null
+++ b/x11-misc/gigolo/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>xfce@gentoo.org</email>
+ <name>XFCE Team</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/x11-misc/gmrun/Manifest b/x11-misc/gmrun/Manifest
new file mode 100644
index 000000000000..2d2aa3361a14
--- /dev/null
+++ b/x11-misc/gmrun/Manifest
@@ -0,0 +1,9 @@
+AUX gmrun-0.9.2-gcc43.patch 744 SHA256 89b50fe01ab40386208de1f5ba32295fb6a33abb3e6fa809c402f26810124aba SHA512 376d0a5425f264044cb0d1635e0c5aaede0ad962fa21fc552cf2ae4145a33520f8035193fd4e9c3108ef5cfdc671aa2fc4922479836d392a0d3d287e810593c5 WHIRLPOOL 9955260f2ecc41f8295e47f2165ba73684019f0aeb98494598776806d187f8961f5a301beac06cea19efec4bf847af3005e4705508887d358ae999e8d77d2ef2
+AUX gmrun-0.9.2-glibc210.patch 324 SHA256 3e3428398cc578e0dd3cea42ba8a4b9d98267e2305c6c307af5acaee82924ccf SHA512 6488186908e33fe27e4e4f6d81fe9dd5fc1bb74e15b2153ebd660788be75432e68dfebb6ee21b17a0711b99d5d1e54eaf0a4384111bfe56134cce817b4bed49d WHIRLPOOL 80c472b0c0722aeafb41f68e8c9abcd9c448c903e93c7d1f243952b0c94ebf514f0723553d147f8fba96374dfdc633f477e7100c625aa912f0c6e5000f27ced7
+AUX gmrun-0.9.2-stlport.patch 697 SHA256 eb586b0265bad3a74f124c1a3f1a79383fc587f5e62790aaaee7668c9639f01b SHA512 84ea68891309b6c3a29188e188e4572b7228abf3d874f138750cf51f33f8fc42aee33f8f4538fc80e324c16e64c68b739cc321cb94e49dd4ace5ec1b3bc4605d WHIRLPOOL 2f669306a8388e1bad33568d6b2354e4368e92c68023b5d4fca9dcccb9ab646f362543c6782b9df6b24abaf9856a93eadd9e80efafe5410c7314a3f7fcd74163
+AUX gmrun-0.9.2-sysconfdir.patch 863 SHA256 ea96b39f0b653864c3b9bd2851fa50790eac307a504c1fe99e9e5e3418737f37 SHA512 0c201cc73f35bf1d56ccc072e2adcc8c6acf5d42d325919fc2e4c4d4440db076812e5a4dc67cde3f857b78332b7f37adc1fb250bababee6ff4aecc16ecc0cbee WHIRLPOOL a5ac4db0b25f08d6eafeca9bdedb58fdeb5da1351c4770faf33284876ac48ca407e10ccb7f4f4e4e56c955a264691530ae4437e64e3ae1a9ea483f5bccc96839
+DIST gmrun-0.9.2.tar.gz 66097 SHA256 17297bce53249ccc7145931db22251b47f77ac355f78cf8abf1e87ae16341fa0 SHA512 3ce881463c23b6c2c39b4d41ff98f3d4a2b77f45a46d4ac43d8bbf726fcb3769b643436932714f9f5c22b855188928453810468d165af2c2433059a0149d6422 WHIRLPOOL d8ea7ddcc4625e64e35f281bb561af4cd94d65b1c6548c3f44f23f3334e31cb1ea96afcb1052c45e4fe01ba73f9863a738c571711ccf3c6dfe5c4f17b085e7d4
+EBUILD gmrun-0.9.2-r1.ebuild 837 SHA256 0a2be74d12edb91f05d9fa6f9f3b5c814346ddc78f33ca3fedc851e58c0a825d SHA512 20d45866530f4c4b817a44eecb37a756f7381c1679bea84413d4bd2064c6f9df5993f465d33545fd3425327edb9266c5318c8f13b11a50e22318c73bdc032885 WHIRLPOOL 1dd791a1deda7de9b2b0177c209a56fde387e0e017f1ba9e52bb43adff807d6b4a6d8aa14fe201727b9506e418a41eda37bb6165cd438befc6c7c2ca1484865f
+MISC ChangeLog 2682 SHA256 0d3df04e47ca7f436385ef8d1b5ee544d55a00677adde97b0cb8b3e6f27f5242 SHA512 4433f83f11e9dea9bb4fb8821c7bd0f34caacc377527b6d5bd6b3f7bce323d246a47b8df8e8ea7b7d4bd46e7938fe3fd00a9c09a08ce3babf08f19a35f5810ab WHIRLPOOL ed3ec4eebda44bb4f1c9771cc2394a8e3d7da2e7e4fe50767efe69c882e7260c98f93183e50015d0e031c09abf4b47fe726744a76653876cb17ae842789641fb
+MISC ChangeLog-2015 3776 SHA256 269e3ddca5a5696ead4ff378e5a9954b2cc969b756c24d69adb4bd733edeb3e2 SHA512 4b3e84bf44ce8f0189bd563c56ddfb35c51839965a5bd0e70a76fa03dc4c82e72056e7671d9862101322861b46f52d98e8eac0301ec9bf0671575f32665e0be3 WHIRLPOOL 167b5d04275d899839142468a7c4877480ca5318d2469228a6b742e9025b14878116483cedcad68db6067ef96ab5d33d8bda77fbcef41169c595d06fef8d6dba
+MISC metadata.xml 523 SHA256 4e0a158ab2626327f5cac7cc505c9617f6cf40e84df4aa0982209a8d0cf10d87 SHA512 8cd78652f2a6be93952b1edb9570261fba71afff13eeba915e47c4178adfbb26450ed1159812ad211c941a0ffbd96b3e5b864c2c7300b882d2245285a1d3f730 WHIRLPOOL 81abecfa6e536f353b94cbad68cf8998eddaed00d478d0ec68da61638d5b4c2a6b5d99e8f54f270bb95a1036757918a52751dc0705db166b801c3e7e6599b80b
diff --git a/x11-misc/gmrun/files/gmrun-0.9.2-gcc43.patch b/x11-misc/gmrun/files/gmrun-0.9.2-gcc43.patch
new file mode 100644
index 000000000000..e1d4d6d211ac
--- /dev/null
+++ b/x11-misc/gmrun/files/gmrun-0.9.2-gcc43.patch
@@ -0,0 +1,40 @@
+--- a/src/gtkcompletionline.cc
++++ b/src/gtkcompletionline.cc
+@@ -29,6 +29,7 @@
+ #include <set>
+ #include <sstream>
+ #include <string>
++#include <cstring>
+ #include <vector>
+ using namespace std;
+
+--- a/src/ci_string.h
++++ b/src/ci_string.h
+@@ -7,6 +7,7 @@
+ #define __CI_STRING_H__
+
+ #include <string>
++#include <cstring>
+ #include <ctype.h>
+
+ struct ci_char_traits : public std::char_traits<char>
+--- a/src/prefs.cc
++++ b/src/prefs.cc
+@@ -13,6 +13,7 @@
+ #include <fstream>
+ #include <iostream>
+ #include <stdio.h>
++#include <stdlib.h>
+
+ #include <list>
+
+--- a/src/main.cc
++++ b/src/main.cc
+@@ -14,6 +14,7 @@
+ #include <gdk/gdkkeysyms.h>
+
+ #include <string>
++#include <cstring>
+ #include <iostream>
+ #include <sstream>
+ #include <vector>
diff --git a/x11-misc/gmrun/files/gmrun-0.9.2-glibc210.patch b/x11-misc/gmrun/files/gmrun-0.9.2-glibc210.patch
new file mode 100644
index 000000000000..6e12a56f431d
--- /dev/null
+++ b/x11-misc/gmrun/files/gmrun-0.9.2-glibc210.patch
@@ -0,0 +1,11 @@
+--- a/src/gtkcompletionline.cc
++++ b/src/gtkcompletionline.cc
+@@ -376,7 +377,7 @@
+ return 0;
+ }
+
+-int my_alphasort(const void* va, const void* vb) {
++int my_alphasort(const dirent** va, const dirent** vb) {
+ const struct dirent** a = (const struct dirent**)va;
+ const struct dirent** b = (const struct dirent**)vb;
+
diff --git a/x11-misc/gmrun/files/gmrun-0.9.2-stlport.patch b/x11-misc/gmrun/files/gmrun-0.9.2-stlport.patch
new file mode 100644
index 000000000000..426f652a0c2b
--- /dev/null
+++ b/x11-misc/gmrun/files/gmrun-0.9.2-stlport.patch
@@ -0,0 +1,35 @@
+https://bugs.gentoo.org/show_bug.cgi?id=164339
+
+--- a/src/Makefile.am
++++ b/src/Makefile.am
+@@ -1,7 +1,7 @@
+ ## Process this file with automake to produce Makefile.in
+
+ INCLUDES = \
+- @GTK_CFLAGS@ @STLPORT_CXXFLAGS@
++ @GTK_CFLAGS@
+
+ bin_PROGRAMS = gmrun
+
+@@ -13,7 +13,7 @@
+
+ # gmrun_LDFLAGS = -s
+
+-gmrun_LDADD = @GTK_LIBS@ @STLPORT_LDFLAGS@
++gmrun_LDADD = @GTK_LIBS@
+
+ AM_CPPFLAGS = \
+ -DPACKAGE_DATA_DIR='"$(datadir)/$(PACKAGE)"' -DPACKAGE_SYSCONF_DIR='"$(sysconfdir)"'
+--- a/configure.in
++++ b/configure.in
+@@ -37,8 +37,8 @@
+ AC_HEADER_DIRENT
+ AC_HEADER_STDC
+ AC_PROG_CXX
+-AC_PATH_STLPORT_LIB
+-AC_PATH_STLPORT_INC
++dnl REMOVED _LIB
++dnl REMOVED _INC
+
+
+ AC_CHECK_FUNC( poptGetContext,
diff --git a/x11-misc/gmrun/files/gmrun-0.9.2-sysconfdir.patch b/x11-misc/gmrun/files/gmrun-0.9.2-sysconfdir.patch
new file mode 100644
index 000000000000..92db743a8df5
--- /dev/null
+++ b/x11-misc/gmrun/files/gmrun-0.9.2-sysconfdir.patch
@@ -0,0 +1,41 @@
+http://bugs.gentoo.org/292856
+
+--- a/config/Makefile.am
++++ b/config/Makefile.am
+@@ -1,6 +1,6 @@
+ # $Id$
+
+-myrcdir = @PACKAGE_DATA_DIR@
++myrcdir = $(sysconfdir)
+ myrc_DATA = gmrunrc
+
+ EXTRA_DIST = gmrunrc
+--- a/config.h.in
++++ b/config.h.in
+@@ -10,7 +10,6 @@
+ #undef HAVE_STPCPY
+ #undef HAVE_LIBSM
+ #undef PACKAGE_LOCALE_DIR
+-#undef PACKAGE_DATA_DIR
+ #undef PACKAGE_SOURCE_DIR
+
+ /* Define if you have the <dirent.h> header file. */
+--- a/src/Makefile.am
++++ b/src/Makefile.am
+@@ -15,3 +15,5 @@
+
+ gmrun_LDADD = @GTK_LIBS@ @STLPORT_LDFLAGS@
+
++AM_CPPFLAGS = \
++ -DPACKAGE_DATA_DIR='"$(datadir)/$(PACKAGE)"' -DPACKAGE_SYSCONF_DIR='"$(sysconfdir)"'
+--- a/src/prefs.cc
++++ b/src/prefs.cc
+@@ -30,7 +30,7 @@
+
+ Prefs::Prefs()
+ {
+- string file_name = PACKAGE_DATA_DIR"/";
++ string file_name = PACKAGE_SYSCONF_DIR"/";
+ file_name += GMRUNRC;
+ init(file_name);
+
diff --git a/x11-misc/gmrun/gmrun-0.9.2-r1.ebuild b/x11-misc/gmrun/gmrun-0.9.2-r1.ebuild
new file mode 100644
index 000000000000..237b61d4f568
--- /dev/null
+++ b/x11-misc/gmrun/gmrun-0.9.2-r1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit autotools eutils
+
+DESCRIPTION="A GTK-2 based launcher box with bash style auto completion!"
+HOMEPAGE="https://sourceforge.net/projects/gmrun/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-1"
+SLOT="0"
+KEYWORDS="amd64 ~mips ppc x86"
+
+RDEPEND="
+ dev-libs/glib:2
+ dev-libs/popt
+ x11-libs/gtk+:2
+"
+DEPEND="
+ ${RDEPEND}
+ elibc_glibc? ( >=sys-libs/glibc-2.10 )
+ sys-apps/sed
+ virtual/pkgconfig
+"
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}"/${P}-gcc43.patch \
+ "${FILESDIR}"/${P}-sysconfdir.patch \
+ "${FILESDIR}"/${P}-glibc210.patch \
+ "${FILESDIR}"/${P}-stlport.patch
+
+ eautoreconf
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc AUTHORS ChangeLog README NEWS
+}
diff --git a/x11-misc/gmrun/metadata.xml b/x11-misc/gmrun/metadata.xml
new file mode 100644
index 000000000000..16bf22d5a663
--- /dev/null
+++ b/x11-misc/gmrun/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+ <longdescription>
+ A run utility intended to replace grun or gnome-run. Most prominent
+ features include slim design and bash style auto-completion.
+ </longdescription>
+ <upstream>
+ <remote-id type="sourceforge">gmrun</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/googsystray/Manifest b/x11-misc/googsystray/Manifest
new file mode 100644
index 000000000000..8ba2f83e8d29
--- /dev/null
+++ b/x11-misc/googsystray/Manifest
@@ -0,0 +1,5 @@
+DIST googsystray-1.3.1.tar.gz 1000034 SHA256 ac6f4505f1aed260a8beeb9742e1789d1492ad0b62b56f25f73d7d552b539ebe SHA512 607bfe5f062ef35356429ad69b44020947fa31cf95bb9e4ef985176b83bdc75a40da470f146c0a5ed1835bbd08241d242966372032ce64d322a48a5413fa8568 WHIRLPOOL a7aac831a2fe2a2fa9d9a787e5f2f82c1f86253402414806c919793b9e46b9d4c4de3a365f3c37ec94c02b9fa00ac4eeb1528a22bdaeaee79120f86924cde70c
+EBUILD googsystray-1.3.1-r1.ebuild 482 SHA256 4f419acaa2f3b9cff9043d52c7bdc1a565cf085e2be24b21db2ab7ef658dda21 SHA512 b73cf355611fa4b723d3f8c7772bb7b01f33e74867de32f30eb772ef48b66006a528a4b65a4673d2615a5f638f2729e6ae498140e4041d10ba3ddd04adad1de8 WHIRLPOOL 671303212d60cc2fa4d2741fd0b009a68b9c2595570330c6ecf2eee11d365f8595300cb885bd45cacc7c374e1f7ac43a8a46031a8054c0dbf26d0e752666a476
+MISC ChangeLog 2587 SHA256 e57c255f8f4513ca74069e798e8defda3d4359f1e5f9aa87773f1a63ebc92e58 SHA512 74d9ded4ee5918d069e0e17990ad66c00af3c6b0796bb7e41c035cb2d4abfb7deb78afcff360fd2a469abab4167076c8c533c9e7fa9ceb157296a9426fa74142 WHIRLPOOL 34eea116ee964eaabf7f6879630d858c10e24e72ddc2c20a71cc70638bf55cc570afd2ab2f93c0f711bd864d027d5dd8ad3da74286c38b37652668060cde1a63
+MISC ChangeLog-2015 662 SHA256 b8227542037de4f1dc2c625ed682e0ad34f800748a1ee09c234fd0f01301a503 SHA512 a366e362d59884301265b2de6c97ad778167603000b44c8902b111208b4134374e6ed82aef8ddca76048ebfee230726b358c43d57e4de7a3d9347d138755d0e1 WHIRLPOOL 92b919eb6954aafd08a69378c22d7d995ad1d8b071b4a945e8c676ff207e8f744ab3175c840fac7bec8fe4edbe1d0058403adff33bad2aa1500bc11f4913743c
+MISC metadata.xml 331 SHA256 234bd48670d976752a7cf91a45dbbecb7f5c5a3c6a540901f50f7cce696ad133 SHA512 29a747660370f7b31fdba7b08898a12c8e85ca2dd039a158c442a4452dc84bf7e9815d166b4d0b5e43ae00fe3abd5cd76788a98dbddf40951d85a5106b366b85 WHIRLPOOL cceaf35dbeec12184b599fe5e34258f93a7b434f9d31d12a112be9ad1ef0afd9321b2fd464ed34ab21ccff545aa7398f04824b59bed68c6c5a2b59924e614571
diff --git a/x11-misc/googsystray/googsystray-1.3.1-r1.ebuild b/x11-misc/googsystray/googsystray-1.3.1-r1.ebuild
new file mode 100644
index 000000000000..9886a643050e
--- /dev/null
+++ b/x11-misc/googsystray/googsystray-1.3.1-r1.ebuild
@@ -0,0 +1,20 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit distutils-r1
+
+DESCRIPTION="System tray application for Google Voice, GMail, Calendar, Reader, and Wave"
+HOMEPAGE="http://googsystray.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=">=dev-python/pygtk-2.14[${PYTHON_USEDEP}]"
+RDEPEND="${DEPEND}"
diff --git a/x11-misc/googsystray/metadata.xml b/x11-misc/googsystray/metadata.xml
new file mode 100644
index 000000000000..c233f5704bb2
--- /dev/null
+++ b/x11-misc/googsystray/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>hwoarang@gentoo.org</email>
+ <name>Markos Chandras</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">googsystray</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/gpaste/Manifest b/x11-misc/gpaste/Manifest
new file mode 100644
index 000000000000..479342fe165a
--- /dev/null
+++ b/x11-misc/gpaste/Manifest
@@ -0,0 +1,4 @@
+DIST gpaste-3.20.3.tar.gz 157869 SHA256 03458b8630db3c023e3b91eeb24ded71af0fa2091a3a0337fb7be23a2661c596 SHA512 08b7c52d16e630ac57e4d583ae985763b536728ef9997ce5ecc8a8ffb9be8745e1e5aed9003a4ab522ba76a276855c6a095fef7a73b4f4d80b54c7a9c3e6e9d1 WHIRLPOOL e4be88cd2a2abb281f5cd6a39295ab9c6fa3a3f97ea3167877f44b866feda9b30208f3a25d78084e3e465d843c5a89459b38cc57fb24ebfce6a424410c10d7ab
+EBUILD gpaste-3.20.3.ebuild 1457 SHA256 aa9c904a83b51ab6d86dcd49fa37b9ae01b9d2ca7a1056d75d76ac0b095301fb SHA512 ab74884673a6e746e8745d3ab2b1ae4055c84542b54b9ec5fb5fb9050bc2c26f286d14b6b731716e78263cfd63893eb1fa5d302dbb350c7b20954f1f3c857436 WHIRLPOOL 57154c94a91935969223b11170fec6704b107efd0895988ff181c61d981e4b994bbc14b878dce3a03ea32e42609ae1cfc48c5f8e99d01739c5aba3eb34dc40c7
+MISC ChangeLog 2668 SHA256 6c2e6cc04517c3d14936a3fcc296e02bb1671b56a3e86924e2f7107fd85e9a21 SHA512 d25c7626e5933e4173c3ff0a68c0bef4a23936a0ad972d501ad0746dc3473508a4fe13e57ae7fab342b8e0f342e387e37d2359e0204b954180a1d21edb3a0374 WHIRLPOOL 758ec1915a03822933cd25f99848aa255e4b1ca73d8dd7412c8983334010250ce1687e2dd9d9c68a379c91314c48a61907355cf891fc6932f23073b40bb9b34b
+MISC metadata.xml 595 SHA256 ed2d6f75fcea5632a65f4c3c63e2350135e68f8bf858b5878101c3aca33621b6 SHA512 8fca7baa9d40775abe8ce7db98c5fc8e882d96e6200db5d84b6b1964369d6c499e344b30826c405368a18ca0f2caeab94d8dc44f648fe10f317075d82f60ca3d WHIRLPOOL be57efc5435f6bc421421bf20d624c25c5877ff47bea53bff10c13ffd25cd39d90d6390af290933afde3ad869465de68922b045686c2a01eb9f1474547427be0
diff --git a/x11-misc/gpaste/gpaste-3.20.3.ebuild b/x11-misc/gpaste/gpaste-3.20.3.ebuild
new file mode 100644
index 000000000000..29d4912c9f64
--- /dev/null
+++ b/x11-misc/gpaste/gpaste-3.20.3.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+VALA_MIN_API_VERSION="0.30"
+VALA_USE_DEPEND="vapigen"
+
+inherit eutils autotools gnome2-utils vala vcs-snapshot
+
+DESCRIPTION="Clipboard management system"
+HOMEPAGE="https://github.com/Keruspe/GPaste"
+SRC_URI="https://github.com/Keruspe/GPaste/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+applet gnome vala"
+
+CDEPEND="
+ dev-libs/appstream-glib
+ >=dev-libs/glib-2.48:2
+ >=dev-libs/gobject-introspection-1.48.0
+ sys-apps/dbus
+ >=x11-libs/gdk-pixbuf-2.34:2
+ >=x11-libs/gtk+-3.20:3
+ x11-libs/libX11
+ x11-libs/libXi
+ gnome? (
+ gnome-base/gnome-control-center:2
+ media-libs/clutter
+ x11-libs/pango
+ )
+"
+RDEPEND="${CDEPEND}
+ gnome? (
+ gnome-base/gnome-shell
+ )
+"
+DEPEND="${CDEPEND}
+ dev-util/intltool
+ virtual/pkgconfig
+ vala? ( $(vala_depend) )
+"
+
+src_prepare() {
+ eautoreconf
+ intltoolize --force --automake || die "intltoolize error"
+ vala_src_prepare
+
+ if ! use gnome ; then
+ echo "" > data/control-center.mk || die
+ fi
+}
+
+src_configure() {
+ econf \
+ $(use_enable vala) \
+ $(use_enable applet) \
+ --disable-unity \
+ $(use_enable gnome gnome-shell-extension) \
+ --disable-static \
+ --disable-schemas-compile
+}
+
+src_install() {
+ default
+ prune_libtool_files
+}
+
+pkg_preinst() {
+ gnome2_schemas_savelist
+}
+
+pkg_postinst() {
+ gnome2_schemas_update
+}
+
+pkg_postrm() {
+ gnome2_schemas_update
+}
diff --git a/x11-misc/gpaste/metadata.xml b/x11-misc/gpaste/metadata.xml
new file mode 100644
index 000000000000..306c2a798778
--- /dev/null
+++ b/x11-misc/gpaste/metadata.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>leho@kraav.com</email>
+ <name>Leho Kraav </name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <use>
+ <flag name="applet">Enable gpaste-applet</flag>
+ <flag name="gnome">Enable proper gnome support and
+ enable gnome shell extension.</flag>
+ </use>
+ <upstream>
+ <remote-id type="github">Keruspe/GPaste</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/grabc/Manifest b/x11-misc/grabc/Manifest
new file mode 100644
index 000000000000..b46bcb04b4d4
--- /dev/null
+++ b/x11-misc/grabc/Manifest
@@ -0,0 +1,6 @@
+AUX grabc-1.1-makefile.patch 893 SHA256 81f4a7c9771c46e16c1639f8bcce96e2f6364f76e1cb788f506a3354d72b2100 SHA512 dabd881ff69c44550337ba75b1ea42490777cb6f5d7759da095e5445d68c3abab1b02601e64064d4b558c1136f7e777d7966e17ca37d9ec2f8257199416c559e WHIRLPOOL 48935d2afca6930598a65155166a1042d4404f49af5fe50b6771e2e61722e7bc0e198f6b1d60d8ee423304e143a0a201e8ee58ff58a44e4d39d6fe48f259f9a5
+DIST grabc1.1.tar.gz 2983 SHA256 f0492a8ea33b46a16bdb94644420f54724e31c4436e4cd77937a30b2de3bb00e SHA512 9a2416fd0cda7bd6fb65092572e6ba932eeac33a8534efe53be8f4bac3576884003dd50075363acd2d8466a406ba8799a0cef51086700269728894913a748aeb WHIRLPOOL fd4f9630e98556ff9c5dfced5cc2cf72b794d7d5a00f2ff16757725f153f92c4bac12cba1265af1616e6fc40a3f93300eff2c73bd36f6a7d395860ba19ba0f45
+EBUILD grabc-1.1-r2.ebuild 662 SHA256 946fc955798272f6650b84319cf0de0785755b5fc25f0bdb2a8c874ba3005ebf SHA512 1116c337c9fd81c5ed4dbbe534d1b9ed1253d3e97c21b2c4c4f1aa73f4aa15c1f66141e0ddfe07a88e137fdaf530d477485eb0a71c0d0976053287bab3c515d1 WHIRLPOOL 0a9440aea2fcc264417475b07312b4cdda30c5bfd1801f352a6fb01acd5984160327d0fca0bd198cbb08152c8819795f8055ae3a0d887b7a0155bef6df1edcfc
+MISC ChangeLog 2456 SHA256 401bc9fadaae740e70bbd752511ade5f18eee20a96ec6e43698263429d48b798 SHA512 c5741e6963d2c638efa87f2a7943d7fac0081256e218295f0e2b2e7b45207a01851bb04ee25e2df77dec2d4b88824a387e703a33e382e70a26d557719468e980 WHIRLPOOL b78c10e46c7a2e3a14f9e5cad81afec7b5c0424d7fe3581ad65e7fe4acf65dc8e57d99b795417a49e4b1d384a52e9a1be11887c0a66bcdb3cd74f3b0fd2d4b84
+MISC ChangeLog-2015 1898 SHA256 9be66bcb4b8a79a73e59ef5e15b2d8b397a00613397841c115bba22d42b52d3b SHA512 6e2daa4ca1ade59d599007cece0a7f88c6b24ef3db3da3df3232951364eb43195d1410f28a87af17534a20702d6c2b5057a2a6af5d665d329e8a9d0fad5e305c WHIRLPOOL e6dd91fc0cd44991751f84fb0fa389306d2ee444b7b4daf462d8ad1e172a416ab6f9749d76098f7576299c06d4d7ba9175b61bc40045a2a16f8c4b72a62bac8b
+MISC metadata.xml 276 SHA256 437f3dba7deca9da3b3f8ecda9bb5e97253de0412cbb3095d876f39140f3ea98 SHA512 3497963f4fb51bb32521472b54a995091cb457d2cda65c786bd4b46e5af325caf8f6d5c969cefa0c09fe717df09fb015ec59b52f5571c3b2b9d4ea33e6c843ab WHIRLPOOL 8550fd604cf609511bf7c34245ebd6682dd6d058d8cbfa099a77c94d1afcf592909eb679a28a0806957ac0949c6cff350675e0182303ec5890a5e2c2c26d29c5
diff --git a/x11-misc/grabc/files/grabc-1.1-makefile.patch b/x11-misc/grabc/files/grabc-1.1-makefile.patch
new file mode 100644
index 000000000000..4815ae5675c5
--- /dev/null
+++ b/x11-misc/grabc/files/grabc-1.1-makefile.patch
@@ -0,0 +1,37 @@
+--- grabc1.1/Makefile.org 1997-03-17 06:51:39.000000000 +0100
++++ grabc1.1/Makefile 2010-02-08 12:18:34.000000000 +0100
+@@ -2,17 +2,15 @@
+ # Makefile automatically generated by genmake 1.0, Mar-16-97
+ # genmake 1.0 by ma_muquit@fccc.edu, RCS
+ ##
+-CC= cc
+ DEFS=
+ PROGNAME= grabc
+-LIBS= -L/usr/X11R6/lib -lX11
++LIBS= $(shell pkg-config --libs x11)
+
+ INCLUDES= -I.
+
+-# replace -O with -g in order to debug
++# replace -O2 -pipe -Wall -march=athlon-xp with -g in order to debug
+
+ DEFINES= $(INCLUDES) $(DEFS) -D__USE_FIXED_PROTOTYPES__ -DSYS_UNIX=1
+-CFLAGS= -O $(DEFINES)
+
+ SRCS = grabc.c
+
+@@ -20,12 +18,12 @@
+
+ .c.o:
+ rm -f $@
+- $(CC) $(CFLAGS) -c $*.c
++ $(CC) $(CFLAGS) $(DEFINES) -c $*.c
+
+ all: $(PROGNAME)
+
+ $(PROGNAME) : $(OBJS)
+- $(CC) $(CFLAGS) -o $(PROGNAME) $(OBJS) $(LIBS)
++ $(CC) $(CFLAGS) $(LDFLAGS) -o $(PROGNAME) $(OBJS) $(LIBS)
+
+ clean:
+ rm -f $(OBJS) $(PROGNAME) core
diff --git a/x11-misc/grabc/grabc-1.1-r2.ebuild b/x11-misc/grabc/grabc-1.1-r2.ebuild
new file mode 100644
index 000000000000..fc963dc09905
--- /dev/null
+++ b/x11-misc/grabc/grabc-1.1-r2.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit toolchain-funcs
+
+DESCRIPTION="Identify color of a pixel on the screen by clicking on a pixel on the screen"
+HOMEPAGE="https://www.muquit.com/muquit/software/grabc/grabc.html"
+SRC_URI="https://www.muquit.com/muquit/software/${PN}/${PN}${PV}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc ppc64 x86"
+IUSE=""
+
+RDEPEND="x11-libs/libX11"
+DEPEND="${RDEPEND}
+ x11-proto/xproto"
+
+S="${WORKDIR}/${PN}${PV}"
+PATCHES=( "${FILESDIR}"/${P}-makefile.patch )
+
+src_compile() {
+ tc-export CC
+ default
+}
+
+src_install() {
+ dobin grabc
+ einstalldocs
+}
diff --git a/x11-misc/grabc/metadata.xml b/x11-misc/grabc/metadata.xml
new file mode 100644
index 000000000000..2ba8e9e851e4
--- /dev/null
+++ b/x11-misc/grabc/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/x11-misc/gromit/Manifest b/x11-misc/gromit/Manifest
new file mode 100644
index 000000000000..5eecb7e7697a
--- /dev/null
+++ b/x11-misc/gromit/Manifest
@@ -0,0 +1,6 @@
+AUX gromit-20041213-build.patch 870 SHA256 005488c762b7a78a8dfd73246e781a7da7249c006c945f4b418640cfde1c0297 SHA512 fc1119d8e9e0dc565a1dbb96aeaedc95b49a7b1904e63103c36bc562c99c3b059deba1a50cd16ab0ee11c7521fe59e834a7e43525b59005719d24b7781138427 WHIRLPOOL a51787ee72fa8abb98e03c225a9d11db1dcd87ba3d8b7c07e78f3b2a275d21cce0c2b4ff656d287e355cdcd65973433c417227c6e3ee7b8e14e974be89e257eb
+DIST gromit-20041213.tar.gz 21970 SHA256 00ba978570ab7b987c909a61f467ef78f78d8f4c7e572d4902d0567eeb669618 SHA512 8d10953bf0500e9b411ce6d7b6c43b295ab64113e8a873438409de8a1aad19b685483045341b0af889e7c833816f035c95dda90d3c201caf7c69ea7cbad57e42 WHIRLPOOL acc302981ba116ef848bfc07df96e033859342ede2ba6da339f5fffe454a54909a121836f4902dd7beb9d433ed29dc89bc52f2486e40765aff7b413fe96f8c3e
+EBUILD gromit-20041213-r1.ebuild 617 SHA256 0c36e2e3e8ef15bef17c01992b55e12f2e7f87bd54bc91db63060ccda494bc23 SHA512 5aa89fa8be20241fdbda51a68d4bddb788679bf3f8ead23f76a439831c8796e3330ce77bc845d2a74ed6274f01d8ead9cfe9ec64fa191fba7607e26a151a76f3 WHIRLPOOL 71d5a6d7e4387d6e95abdac9c747481c049032cfde061652f93098782ba91a7a8f4e4baa1eeeb33fbf0ff32993beca579ed3db0c225d7894f7e8f6e381a2fe6b
+MISC ChangeLog 2767 SHA256 2415d2c292a7c2610e14006f422676f1e3c530477d1d583c08be01c0a2144703 SHA512 758b9be41b38c498be461edbc25110493eda3ab5844e09d165bb4901a06dd124228121bf61f6d2ecc6002c045427ce722155cbd5acfc19ffeb80bc3dd3fdf0a7 WHIRLPOOL a30ebf84935fab577cac7ce285b3e9603fe670992de2c3089cc232ffe3ff5ebd28c6ff7747f96280a9598d9d0b043ecd771c6a336197e285239821ed37b89b4c
+MISC ChangeLog-2015 2491 SHA256 56d1840420d80a26a2bd9fe7bb3043abf2743baea3ed689a306c96ec78d1662f SHA512 55b561b78739d978003c2fbd51dec20ed7fdf8a294a6cdbf253ef97f8f4549df3eeb25faef73c0720afda2ad25e6df6df051e84ad7d888145303dd4a154d915a WHIRLPOOL 4aba1d7028d332a08e4019780a824d90343a3e7c4c023aec2a225daa41954e4af7cefcff1202c23222b6570fcef500e1d361eede32d786f5ff3cfdf74bd44022
+MISC metadata.xml 255 SHA256 3e7137870fc49956d79719e3dfe029775cbaaa097e85748c139713c46fcd1798 SHA512 b7bc93530a1726c2d4dfbc71ae29cfbb57712fd9fdd2e76fd52f35ab4368cba0497b50145d1527a3b79e465d459a380821bb1371a01c2e915dc9adc6c7fafd5f WHIRLPOOL 392188d7e069f1720be9329edfb31b11b176bf0c411023b2ceeaeabef1cacf842d70657a2a14ac2ddabbdad70a304275f3b587e9bcdfe77be63a0092e370252c
diff --git a/x11-misc/gromit/files/gromit-20041213-build.patch b/x11-misc/gromit/files/gromit-20041213-build.patch
new file mode 100644
index 000000000000..f61a13bcccd6
--- /dev/null
+++ b/x11-misc/gromit/files/gromit-20041213-build.patch
@@ -0,0 +1,19 @@
+Respect CC, CFLAGS, & LDFLAGS.
+Drop DEPRECATED flags for bug #387833.
+Fix underlinking for bug #369453.
+--- a/Makefile
++++ b/Makefile
+@@ -1,10 +1,10 @@
+ all: gromit
+
+ proptest: proptest.c
+- gcc -o proptest proptest.c `gtk-config --libs --cflags`
++ $(CC) -o proptest proptest.c `gtk-config --libs --cflags`
+
+ propertywatch: propertywatch.c
+- gcc -o propertywatch propertywatch.c `gtk-config --libs --cflags`
++ $(CC) -o propertywatch propertywatch.c `gtk-config --libs --cflags`
+
+ gromit: gromit.c Makefile
+- gcc -DG_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DPANGO_DISABLE_DEPRECATED -DGDK_MULTIHEAD_SAFE -DGTK_MULTIHEAD_SAFE -o gromit gromit.c -Wall `pkg-config --libs --cflags gtk+-2.0`
++ $(CC) -DGDK_MULTIHEAD_SAFE -DGTK_MULTIHEAD_SAFE -o gromit gromit.c -Wall $(CFLAGS) $(LDFLAGS) `pkg-config --libs --cflags gtk+-2.0` -lX11 -lm
diff --git a/x11-misc/gromit/gromit-20041213-r1.ebuild b/x11-misc/gromit/gromit-20041213-r1.ebuild
new file mode 100644
index 000000000000..e14be1452ea6
--- /dev/null
+++ b/x11-misc/gromit/gromit-20041213-r1.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit toolchain-funcs
+
+DESCRIPTION="GRaphics Over MIscellaneous Things, a presentation helper"
+HOMEPAGE="http://www.home.unix-ag.org/simon/gromit"
+SRC_URI="http://www.home.unix-ag.org/simon/gromit/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ppc x86"
+IUSE=""
+
+RDEPEND="x11-libs/gtk+:2"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+"
+
+PATCHES=( "${FILESDIR}"/${P}-build.patch )
+
+src_compile() {
+ emake CC=$(tc-getCC)
+}
+
+src_install() {
+ dobin ${PN}
+ newdoc ${PN}rc ${PN}rc.example
+ einstalldocs
+}
diff --git a/x11-misc/gromit/metadata.xml b/x11-misc/gromit/metadata.xml
new file mode 100644
index 000000000000..19bf1be2581e
--- /dev/null
+++ b/x11-misc/gromit/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>graphics@gentoo.org</email>
+ <name>Gentoo Graphics Project</name>
+</maintainer>
+</pkgmetadata>
diff --git a/x11-misc/grsync/Manifest b/x11-misc/grsync/Manifest
new file mode 100644
index 000000000000..0d49bc9b86bf
--- /dev/null
+++ b/x11-misc/grsync/Manifest
@@ -0,0 +1,5 @@
+DIST grsync-1.2.6.tar.gz 333540 SHA256 66d5acea5e6767d6ed2082e1c6e250fe809cb1e797cbbee5c8e8a2d28a895619 SHA512 a7aac0cf264c968d50896156730dc0b925045def6e513adf1f2783e19fd1cdd423aa69480963479b95927fb4e863f110f3fc0439661ef7cfcacc7376fe95ff1d WHIRLPOOL 7e4a9095e35358388464767cd418d7b4f268e65955260cf2caf7e3110a434fd386ac733527bf56821492468dc88c71f8891f51c5490d2cc331ec10fded126963
+EBUILD grsync-1.2.6.ebuild 494 SHA256 e3e02373e9331e048f69f5d66e83abf756ebe9d920cf893a5a3c981db4d87c5c SHA512 9b6d264f5a7093e6549e2023f7aca53754b79033b23e113841d3322c9712c17350540ff71c95a3a5a9ff89ccb237b2872316ae856a3483a6290e0d4f0c926eb3 WHIRLPOOL 9c44d919fc11d7b6bbfc2e51ea413de33959240ee5cfba38019901d0f61c81ba797564e136822077b536e281682be96fdafb2142086a4a06988141bd85474806
+MISC ChangeLog 2573 SHA256 4658a79847cbdb44e9b39776c372a0888d05b34afcb0046d408b950e25c88327 SHA512 b27c09ace1c30da7b479f261fa8a8a536942ad40f6aa40fb294a74791fd3bca4da3c1f67e7a5c321ea5db014debe3202508ef98241ef0e7fdfe1ba0a4c981c12 WHIRLPOOL 419576e3dcecc6f1012d8646fd946a7e72eb17f57c641ec8d77a78d4e6b95feb054ae2ecca041e47f62460ff2578a426034059ca349993231dacfc0fd0c8c98b
+MISC ChangeLog-2015 5397 SHA256 6056332d925559bb9d9e450e2f48967ef329a2333baeaa15ec0901b6a19ac86d SHA512 e4e8fa5ec20efa915ff3f95b2c14eb3367dca7e0204d5041ddd4ba4923f5a8eddbd1c02d4a1de98d212d2fc87f2dae7de839ee30d617bad9abf834aae8e9e827 WHIRLPOOL 1c727ec95dc827f7c4ebb145d82f13b22fbe7779d69c8886a464b46e65a3cd6247b16e8d934855e52871d08d432d91324ea51233d89f74458a652792788e0fd3
+MISC metadata.xml 258 SHA256 2af1c5756e4c211a29b38d3914cdba5bf523de569a3b5c9ade0f6b4edaf5d265 SHA512 9909d39f5a2a4d3c92d1c105ea5250603f505e9fbb0ff433c25290ac5c2b53f00d96fe8dc0a98bec2240298b3b7060503f59caf04cb47484a63e4057bcce82c6 WHIRLPOOL 9d46ede18e6a8dab3005d5d4c26f61f98ccd48799fd61cbce38678feca505374d2c5dca36c61fd619a995a620ac1d3a56e7537ef2ddb9abbcb49766c3b4fa894
diff --git a/x11-misc/grsync/grsync-1.2.6.ebuild b/x11-misc/grsync/grsync-1.2.6.ebuild
new file mode 100644
index 000000000000..86540cbfa78e
--- /dev/null
+++ b/x11-misc/grsync/grsync-1.2.6.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="A gtk frontend to rsync"
+HOMEPAGE="http://www.opbyte.it/grsync/"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~ppc x86 ~x86-fbsd"
+IUSE=""
+SRC_URI="http://www.opbyte.it/release/${P}.tar.gz"
+
+RDEPEND=">=x11-libs/gtk+-2.16:2
+ net-misc/rsync"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ dev-util/intltool"
+
+DOCS="AUTHORS NEWS README"
+
+src_configure() {
+ econf --disable-unity
+}
diff --git a/x11-misc/grsync/metadata.xml b/x11-misc/grsync/metadata.xml
new file mode 100644
index 000000000000..dc71e24a084b
--- /dev/null
+++ b/x11-misc/grsync/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>voyageur@gentoo.org</email>
+ <name>Bernard Cafarelli</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/x11-misc/grub2-theme-preview/Manifest b/x11-misc/grub2-theme-preview/Manifest
new file mode 100644
index 000000000000..058c2fffc5cd
--- /dev/null
+++ b/x11-misc/grub2-theme-preview/Manifest
@@ -0,0 +1,5 @@
+DIST grub2-theme-preview-1.3.1.tar.gz 5064 SHA256 a207fe994af719d930964306f67f477efb3f254fa059dbd12456efeaadf7eab8 SHA512 69aed10a2612ea442a94748d3491c2300c83aafd4650dd54e520572c809c7ca3890ff3be42eeff7684ecbbfff425b3f44a651e01b5c682a1d0dc792b33b713fb WHIRLPOOL e51d4954e6872d4ad0425a2eca945af5cb97f5b48d94abd4be8ac604c78730660b6e1d1d2272c0423e89bc9ea6605ed6837e61ae628b1fdfd2d1682f7d03a640
+EBUILD grub2-theme-preview-1.3.1.ebuild 521 SHA256 8b069f2908933bc829df27f914cd91b484f233cf2312b45cd6cfa695d05b6792 SHA512 5f3b48e65568400f886938085ee8b55fbb274c13148f327b10ead372584f697c7047b5748661b9d0be46be2c2abdc4c161e34c58c16c8b6de8bdbe1fd8b58878 WHIRLPOOL 3b61a9c3ebe875e254a37a1b9c6473701e229636c18d5bd0e93dbea4248a61293e2d1520c11794302cb824ad3ece11ea586d09287012ee63453bc819f25ebf13
+MISC ChangeLog 2512 SHA256 6c06806373116df404775b935229780513a4731b6167757a6a4997e0bebf5675 SHA512 b20efe485e3d076ed2d7379d9b2059590f9ed2a6ae062fec08df790ffd40119d7dc86dfcad4a9ebe5f1655361d2474052d736fe189f6578bd12e4aaab85c4179 WHIRLPOOL 3b83550cd43117989893a8a80680ab9afbc00983f522352dc738fb0f9aef8aa8c87dd4a72d9eb71639336631eeabf0624990138eda9c930125cb2fd80d062deb
+MISC ChangeLog-2015 1522 SHA256 2d467919a371bcae5a68b754df34061184a75e60cdd13c4c355b6b4fe24cd547 SHA512 e8611ff89a6de141ec6b1a09ca1063c082ee838e8d1f64014b29e06972e9b51296a7caae5690bc60d56870938a7dea913e72b9301ae059e083f9e9f9359989f9 WHIRLPOOL a877a9d8c9bdc15f59af0b5365771a1922c1be477f6c1991298efb79400c0444493065c6414fc56d77ec1a2c400603e65316bd79a8882536d7661b97da6086bc
+MISC metadata.xml 342 SHA256 d1355a001ebb926f0b8c5c318a5178f95fbe9d93e7c392331b8d253ae2a8d970 SHA512 3577ddbd08dfb9a7c5f35a5e6b102620985a932cef550f48c32298f44864c385e7fcedda171107285452d242dd3e03f60a3e6bce8c814e933cf35388e942f35f WHIRLPOOL 82c4be5d46bf55b4c27cdee9dfe828f6291ad6a7e779aab55b4b0bef296045e50629da1138775ed3a2e29ce9b7eb82d46d4dd92b099b5381e035d26074b0bb0d
diff --git a/x11-misc/grub2-theme-preview/grub2-theme-preview-1.3.1.ebuild b/x11-misc/grub2-theme-preview/grub2-theme-preview-1.3.1.ebuild
new file mode 100644
index 000000000000..3c86f369f284
--- /dev/null
+++ b/x11-misc/grub2-theme-preview/grub2-theme-preview-1.3.1.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+PYTHON_COMPAT=( python2_7 )
+inherit distutils-r1
+
+DESCRIPTION="Preview a GRUB 2.x theme using KVM/QEMU"
+HOMEPAGE="https://github.com/hartwork/grub2-theme-preview"
+SRC_URI="https://github.com/hartwork/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="app-emulation/qemu
+ dev-libs/libisoburn
+ sys-fs/mtools
+ sys-boot/grub:2[grub_platforms_pc]"
diff --git a/x11-misc/grub2-theme-preview/metadata.xml b/x11-misc/grub2-theme-preview/metadata.xml
new file mode 100644
index 000000000000..6c8025189792
--- /dev/null
+++ b/x11-misc/grub2-theme-preview/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>sping@gentoo.org</email>
+ <name>Sebastian Pipping</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">hartwork/grub2-theme-preview</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/grun/Manifest b/x11-misc/grun/Manifest
new file mode 100644
index 000000000000..2525784d9762
--- /dev/null
+++ b/x11-misc/grun/Manifest
@@ -0,0 +1,6 @@
+AUX grun-0.9.3-no_nls.patch 220 SHA256 1a6ff0ec868e41db89b8bc22b714480ff61c2c138bbcf66366465f02bfa8202c SHA512 decb938f75f520c214d905bda0670094360bd3fb98381e81fd2855e6ff7e96ab5cb44f920a2d20f79bb3f39ffd2086a150f2d47e83a731c8f79d4d947b1d40b9 WHIRLPOOL f6817d843696c1bbaf4d07d0e3c294f25fc8ba81a23592bcba9de1c824b21df7ccfe0954189f5d0a66edd2257940d554cec5eb6a04bb6914fe10041637b62106
+DIST grun-0.9.3.tar.gz 368318 SHA256 c484d80e4636a69c6ad6491a4769f555be20595e67cb4bfd34c3c91e501b95dd SHA512 cac78955f59d9981b2b39dce701fa508d00b1d39c8c05ac417cf8ed81419092949765e572f2f3d01bc1d916c28d0a428f84282111264adda9078261fa286e7d0 WHIRLPOOL 12e7278201eab7750dbe4258116c980d376c28cd2f037ef18ab23c5b98aa94332757c7d4dad762e2c3c18187dfca2a909d9ac608e43e10db9b74fe0af940930f
+EBUILD grun-0.9.3-r1.ebuild 845 SHA256 93972153a3ebe9f37eff0b4f757b9f0585868f910169bb3173ca721bdc1ddced SHA512 e28080d21b2250b017391c2910d63b78667fe2e44b02be1216a497e45e54f3ab174cabbcb443f91307e76403e1f642ca5f296ec74507d3c104744e002eb8b782 WHIRLPOOL 28d0bcf95646f75f45a4c239263e8bf18510048c0e1390667b1fdf078cc98d5a980bad7350c0f877eb4c5bfd27e32bf452df093bf11256e036a1447a4bcd7576
+MISC ChangeLog 3211 SHA256 4e24199be74f3445b7169973b627be2aa946f6e42a334361a9b7fc3ec0ae2dec SHA512 f3a91fcc07ced60eb82ae84f19938907b34d7af7c98adf03df6c58fac5b83c80768fa8b2e0d1fe28a4b607aaa21c47b7bd722c08be488702be0cea1ea75f1892 WHIRLPOOL d3fe4ed5239599244ae81ff8dd47a963a677e6b2cef8216fb168a2490168b5f33d57eb4e55d03d33f29beec260edaa77381a54b94c18b6aa58750450541ce378
+MISC ChangeLog-2015 4810 SHA256 6503d199e2d5a837fc60347682b58399f2f14c9ff50fb8d82c2094ce515a58ae SHA512 2480b37dab394be20c1de76c2e6b342b782a90bb6d0832b3a8eb0f5faed65d95fff5122b735250aa30ae6cad83113476a700444df6623ce497391060835c0105 WHIRLPOOL 6f6e5e0c6ed8e644c19ced5b1fd2afab451b5203449cc34066cfa6b5749d01e26b07149540e984a8d606881a375489dc10a2a070425020e1b60deea60dea795a
+MISC metadata.xml 399 SHA256 d8b4446118ef983bcb9d67553c717be9ccf19d826889240cea609d8ffcb98614 SHA512 5794614fb0c7e1af15fdd73c8ef8fef474382cfccb776442adfe62cd71b3abe044ef4271ef0f07a262430682d31ffcb1f5cf1921e4d3d5ed912df86003b9459b WHIRLPOOL 3b1179dada5b0937c03d94d30b9c84364742933be6152513855a6fd0802deddbb6901e4204f13afc36be5a2c87d5776d0c52a5223bc36c1b4646de9772bebc87
diff --git a/x11-misc/grun/files/grun-0.9.3-no_nls.patch b/x11-misc/grun/files/grun-0.9.3-no_nls.patch
new file mode 100644
index 000000000000..61b3f33c9ca8
--- /dev/null
+++ b/x11-misc/grun/files/grun-0.9.3-no_nls.patch
@@ -0,0 +1,13 @@
+http://bugs.gentoo.org/237046
+
+--- a/grun.c
++++ b/grun.c
+@@ -30,8 +30,6 @@
+
+ #if defined (HAVE_GETTEXT) || defined (HAVE_CATGETS)
+ #include <libintl.h>
+-#else
+-#include "intl/libintl.h"
+ #endif
+
+ #define PATH_CHAR ":"
diff --git a/x11-misc/grun/grun-0.9.3-r1.ebuild b/x11-misc/grun/grun-0.9.3-r1.ebuild
new file mode 100644
index 000000000000..ff8bab19f5b6
--- /dev/null
+++ b/x11-misc/grun/grun-0.9.3-r1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit eutils
+
+DESCRIPTION="A GTK based Run dialog resembling the Windows Run dialog, just like xexec"
+HOMEPAGE="https://github.com/lrgc/grun"
+SRC_URI="https://grun.googlecode.com/files/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc x86 ~x86-fbsd"
+IUSE="nls"
+
+RDEPEND="
+ dev-libs/glib:2
+ x11-libs/gdk-pixbuf
+ x11-libs/gtk+:2
+"
+DEPEND="
+ ${RDEPEND}
+ virtual/pkgconfig
+ nls? ( sys-devel/gettext )
+"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-no_nls.patch
+}
+
+src_configure() {
+ [[ -z ${TERM} ]] && TERM=xterm
+
+ econf \
+ $(use_enable nls) \
+ --disable-gtktest \
+ --enable-associations \
+ --enable-testfile \
+ --with-default-xterm=${TERM}
+}
+
+src_install() {
+ default
+ dodoc AUTHORS BUGS ChangeLog NEWS README TODO
+}
diff --git a/x11-misc/grun/metadata.xml b/x11-misc/grun/metadata.xml
new file mode 100644
index 000000000000..72895b864a21
--- /dev/null
+++ b/x11-misc/grun/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="google-code">grun</remote-id>
+ <remote-id type="github">lrgc/grun</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/gtk2fontsel/Manifest b/x11-misc/gtk2fontsel/Manifest
new file mode 100644
index 000000000000..2a903abf5617
--- /dev/null
+++ b/x11-misc/gtk2fontsel/Manifest
@@ -0,0 +1,5 @@
+DIST gtk2fontsel-0.1.tar.gz 60706 SHA256 5cd6396fc3c6e7f9bc358cc5ad30592ba446cdb0138a811216497b6453905a68 SHA512 5854777853bd41da7465321bf0f73062b98979bbecc727c3a611aa193e4d436d388fea9492b8bb11f26fa97cd4a7716c34b6a621c0a6448708ca207493998294 WHIRLPOOL ac24e9f181eb2162d568782b4caff9df015553e8bf32a2c5150efad102f4cc3bd7af5fc946b938293d7a343fd9f2b31a2ed0d380cf3a76c4b0a9ba2e9fa10910
+EBUILD gtk2fontsel-0.1-r1.ebuild 391 SHA256 ff10d5ed7dba05dae9b579fe9b11c911e58d81c71c85d459783269aa7ce564db SHA512 b5aa610b9c23e9c97d4d67725b93fea48b10662a57b37f9976ab9d8dc2c4544ada992d507b7f7372e5470965abc8245ef232b64894408d5ef5067c3ae7fc0d74 WHIRLPOOL 00200dc4aac1648717685e5aaebcd806acdfd719eb796224eddcfce8a7607013feaf23e71496af8153dae2c4b14fb0ba7af96d6e0c25b582a6ba4382ba56c5e5
+MISC ChangeLog 2435 SHA256 24c20a90adac89d0a6727f58b9dbfa9279af1e64416b90c9a3a5272cd2e5fbc7 SHA512 83079836e9505e4d3abf0d22c8c3838abf9e85ef4791c4877fe8842337f79cb348cd9ff8c10a95a23a39767b5e0bb02548e709e8c70031fc5d9ec6f6787297fb WHIRLPOOL ac242016db9688ab1b3b01365dfddcbc97240520116616d5d16c2151e3151fe3ea266b45e98a42039d13ec92f5997d3d57d455dac7e9ea05d0fab315fcbac696
+MISC ChangeLog-2015 461 SHA256 3b59e83a699edc3b8fb9a03c8d8fc78a7540b87f729e2d294f1884e4fe176862 SHA512 1c7b2e54c43e36b21c153b280413fd15c1cabc8ae2dd3473fd41c3a73f04c54ffb96d039692625aa2000b3b7af93dfb29689cd241530ca1852574779e353c2e0 WHIRLPOOL f5430075b9df9ded3b8a9e631d600e61e3781cd4a1f6c8aa4ece7f4efda09a2efa0041c98a830e800a08f2fcf57e6e726ec8cf430989cedcc110c2a53ba727ae
+MISC metadata.xml 357 SHA256 b15e84a939a615bb8a6e9a24b27cbda8d3277a007484bdc79999660e8d79a611 SHA512 7e9f0533b62300e34fdcdfa2f21913dc84df330d88ce2fa6a83b0cd454a1e4b69f7c07c09c393c35af4e3361eb02121d32809856f8159566949544f268f2473d WHIRLPOOL 8b479510110fe1377a4201c2ed4c8e2cac2fcf4c23a2314af93bf3e7c20c65dd3381b5b21322b6c5886c8fa87e0b8205ca1bb5a27c57b7d7b4643e7f8298a1c9
diff --git a/x11-misc/gtk2fontsel/gtk2fontsel-0.1-r1.ebuild b/x11-misc/gtk2fontsel/gtk2fontsel-0.1-r1.ebuild
new file mode 100644
index 000000000000..56c2a137042b
--- /dev/null
+++ b/x11-misc/gtk2fontsel/gtk2fontsel-0.1-r1.ebuild
@@ -0,0 +1,17 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="A font selection tool similar to xfontsel"
+HOMEPAGE="http://gtk2fontsel.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="x11-libs/gtk+:2"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
diff --git a/x11-misc/gtk2fontsel/metadata.xml b/x11-misc/gtk2fontsel/metadata.xml
new file mode 100644
index 000000000000..1f35961e1ad6
--- /dev/null
+++ b/x11-misc/gtk2fontsel/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">gtk2fontsel</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/gtkdialog/Manifest b/x11-misc/gtkdialog/Manifest
new file mode 100644
index 000000000000..af9a69f0508c
--- /dev/null
+++ b/x11-misc/gtkdialog/Manifest
@@ -0,0 +1,6 @@
+AUX gtkdialog-0.8.3-optdeps.patch 1573 SHA256 933b35593c5b8a8063f91f0ef75c168027d63034771475316583d33f1fae8111 SHA512 a26d46716b46a909c4346c3fc3d9999991c98649ce4fc97cb6f0010dd768c81c62fec6561210dad89ef3911d2fe751c1cf321df60d5e6321647b818f8ed91475 WHIRLPOOL 84c331c854669bf793019631e410ff6151fa9658d360630e2a05cf39ab7eb32ea17d7b75e3f82effd9aae608f9b24422b5bba5633b30809608ecdc5f205bbf88
+DIST gtkdialog-0.8.3.tar.gz 571974 SHA256 ff89d2d7f1e6488e5df5f895716ac1d4198c2467a2a5dc1f51ab408a2faec38e SHA512 fd8a93d576917efd650e38e31f261065c0a0c3f9213338ed4bd457d310993d8efbe8deabb2c1451f491d14c8d38cbcd5d4cb0c9f289c6fd462f7a06754b89da7 WHIRLPOOL 51ca225b8c47de8f5fdaf1937d44450670d77cb913c677fa48dafce9e1365fb8a45f353b9ab9f86a3da96155a3d27f1dd011e98ae74eac506069bd72ae484867
+EBUILD gtkdialog-0.8.3-r2.ebuild 856 SHA256 2b4568e62c73c81f06c704ad427869b5fea23514167e28fe2a474f168bead046 SHA512 b8e4bb6409b96a671b35f22f298340e28e1cdca2489b4e9e0f6eceadb965cbfea5b82fcb19142937fa2398c0b540d289c690f19ae34af48c4d2ba1b6fc2b9f04 WHIRLPOOL 99d3ecea4e12a867b83cb37432ba06315033a91954f42fb4dbd3af59f8198a62f6a4464ea4ca26f63c070275d10628ccdbaf92fb40eb7f83bda6f0a685e3695a
+MISC ChangeLog 3898 SHA256 6a08f9d80e3c6362091ca2ad4f8eeb60f9c17eb5a2f94bb041108aa80b216000 SHA512 40d6493e0211a73d47944c0c860f5819dd03d4c81c5be43fa8b637a25204c5106d346df8f2231ac6a567d93c40a54a2c4b82da08ab4e46a2a8bcafcf343b9c3c WHIRLPOOL 629a411f5aa10a6edbad04a10b6acf4bb43bf135fbe16f5faa30e2e8b30d7dc36a589013d872d77d2c237ed75eb969deb17abef7643c8666a99fc85dd9e17355
+MISC ChangeLog-2015 3767 SHA256 0c57953bc84d8a9fdd0efa7b765444608f855203e9a211d1a12a2624d91497a0 SHA512 a00d45123204b43066cea417134082581af5390cd3f17fad061fd1e37ee9bd5b9090f174527318293f9d22b38f2db5e7c026cc1ab503c2a2094ade611c51db2c WHIRLPOOL cefd6b1f03e059f0a7d4f867daa7be369ad2c28809e6e12c3a07b810c150d03b5627afa3376c352aa5364186ea365715c454c28a36a1da8f17b7ee9c28147ec4
+MISC metadata.xml 1002 SHA256 91a5aaa477f355bc7e67e4a0d6e582c902bf2791bbd435b2906e6f91e7ced531 SHA512 5d23a5e1409705ea1114dc7d072284d1ff367b2afd3d452d27729bb4b44e0f7546b4bf44d2d79e601747d5a457cc06ba3f8175c5e62051711ea7a2ef81ae16b3 WHIRLPOOL 95b3921ac5655fd6666c17349af5f6fea9eee4517dce1cf4e79d07a359ac5a8f2c22a8a2054855ce33fc333ad548cd4453b763b0a4cfa74192f499f95c5a74a2
diff --git a/x11-misc/gtkdialog/files/gtkdialog-0.8.3-optdeps.patch b/x11-misc/gtkdialog/files/gtkdialog-0.8.3-optdeps.patch
new file mode 100644
index 000000000000..e032c1290215
--- /dev/null
+++ b/x11-misc/gtkdialog/files/gtkdialog-0.8.3-optdeps.patch
@@ -0,0 +1,62 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -25,32 +25,40 @@
+ AC_PROG_YACC
+ AC_SUBST(YACC)
+
++PKG_PROG_PKG_CONFIG([0.24])
++
+ # Checks for libraries.
+-pkg_modules="gtk+-2.0 >= 2.0.0"
+-PKG_CHECK_MODULES(GTK, [$pkg_modules])
++PKG_CHECK_MODULES(GTK, [gtk+-2.0 >= 2.0.0])
+ AC_SUBST(GTK_CFLAGS)
+ AC_SUBST(GTK_LIBS)
+
+-pkg_modules="gthread-2.0"
+-PKG_CHECK_MODULES(GTHREAD, [$pkg_modules])
++PKG_CHECK_MODULES(GTHREAD, [gthread-2.0])
+ AC_SUBST(GTHREAD_CFLAGS)
+ AC_SUBST(GTHREAD_LIBS)
+
+-glade_lib="libglade-2.0"
+-PKG_CHECK_MODULES([GLADE_LIB], \
+- [$glade_lib], \
+- AC_SUBST(HAVE_GLADE_LIB, 1),\
+- AC_SUBST(HAVE_GLADE_LIB, 0))
+-AC_SUBST(GLADE_LIB_CFLAGS)
+-AC_SUBST(GLADE_LIB_LIBS)
+-
+-vte_lib="vte >= 0.23.5"
+-PKG_CHECK_MODULES([VTE], \
+- [$vte_lib], \
+- AC_SUBST(HAVE_VTE, 1),\
+- AC_SUBST(HAVE_VTE, 0))
+-AC_SUBST(VTE_CFLAGS)
+-AC_SUBST(VTE_LIBS)
++AC_ARG_WITH([glade],
++ AS_HELP_STRING([--with-glade], [enable support for libglade])
++)
++
++AC_ARG_WITH([vte],
++ AS_HELP_STRING([--with-vte], [enable support for vte])
++)
++
++AS_IF(
++ [test "x$with_glade" = "xyes"],
++ [PKG_CHECK_MODULES([GLADE_LIB], [libglade-2.0], [have_glade_lib=1], AC_MSG_ERROR([glade requested but not found]))],
++ [test "x$with_glade" = "xno"],
++ [have_glade_lib=0]
++)
++AC_SUBST([HAVE_GLADE_LIB], [$have_glade_lib])
++
++AS_IF(
++ [test "x$with_vte" = "xyes"],
++ [PKG_CHECK_MODULES([VTE], [vte >= 0.23.5], [have_vte=1], AC_MSG_ERROR([vte requested but not found]))],
++ [test "x$with_vte" = "xno"],
++ [have_vte=0]
++)
++AC_SUBST([HAVE_VTE], [$have_vte])
+
+ # Checks for header files.
+ AC_CHECK_HEADERS([locale.h])
diff --git a/x11-misc/gtkdialog/gtkdialog-0.8.3-r2.ebuild b/x11-misc/gtkdialog/gtkdialog-0.8.3-r2.ebuild
new file mode 100644
index 000000000000..bf0610c4fd83
--- /dev/null
+++ b/x11-misc/gtkdialog/gtkdialog-0.8.3-r2.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit autotools
+
+DESCRIPTION="A small utility for fast and easy GUI building"
+HOMEPAGE="https://code.google.com/p/gtkdialog/"
+SRC_URI="https://${PN}.googlecode.com/files/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE="glade vte"
+
+RDEPEND="
+ x11-libs/gtk+:2
+ glade? ( gnome-base/libglade )
+ vte? ( x11-libs/vte:0= )
+"
+DEPEND="
+ ${RDEPEND}
+ virtual/pkgconfig
+ sys-devel/flex
+ virtual/yacc
+"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.8.3-optdeps.patch
+)
+
+src_prepare() {
+ mv configure.{in,ac} || die
+ default
+ eautoreconf
+}
+
+src_configure() {
+ econf $(use_with glade) $(use_with vte)
+}
+
+src_install() {
+ # Stop make install from running gtk-update-icon-cache
+ emake DESTDIR="${D}" UPDATE_ICON_CACHE=true install
+ einstalldocs
+}
diff --git a/x11-misc/gtkdialog/metadata.xml b/x11-misc/gtkdialog/metadata.xml
new file mode 100644
index 000000000000..635a9b6bda84
--- /dev/null
+++ b/x11-misc/gtkdialog/metadata.xml
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+<email>desktop-misc@gentoo.org</email>
+<name>Gentoo Desktop Miscellaneous Project</name>
+</maintainer>
+<longdescription>
+gtkdialog is a GUI-creation utility that can be used with an arbitrary
+interpreter. It enables the programmer to describe a graphical user interface
+in a simple XML-like language, and use it with any interpreter that supports
+either files, standard I/O, or environment variables. It can be called as an
+external program from the interpreter, but can be used as a stand-alone
+framework for the application as well. Stand-alone, bash, and awk examples are
+provided.
+</longdescription>
+<upstream>
+<remote-id type="google-code">gtkdialog</remote-id>
+</upstream>
+<use>
+<flag name="glade">Enable support for <pkg>gnome-base/libglade</pkg></flag>
+<flag name="vte">Enable support for <pkg>x11-libs/vte</pkg></flag>
+</use>
+</pkgmetadata>
diff --git a/x11-misc/gxmessage/Manifest b/x11-misc/gxmessage/Manifest
new file mode 100644
index 000000000000..610a0be2b0d0
--- /dev/null
+++ b/x11-misc/gxmessage/Manifest
@@ -0,0 +1,7 @@
+DIST gxmessage-2.20.3.tar.gz 274110 SHA256 8ae76a779094334db436032e830831b4d194943a5e712fd49bdf1968f1d2ec37 SHA512 8f677d0ee899c88a40c912ba68b59ba9a21a0ae21db467c64756daea41fbf2a7fb566e26c74e72f89e6009b1e8029af9bd5748f92099f681346399fe7e9d8e27 WHIRLPOOL f58c9f705a7a69d0cba89b08ef72bdc30aa2e4c0a2885f0d664167a2a2f112410ef1a40ac25354a4b26258e2ec51b5e846e2cb4d507645b1454103a04c4784a8
+DIST gxmessage-3.4.3.tar.gz 275354 SHA256 db4e1655fc58f31e5770a17dfca4e6c89028ad8b2c8e043febc87a0beedeef05 SHA512 4e3c455595db723e2d78060c4913f1a87b8f0c5cb6017427d48cd02652655592bf8aa1001adfbfecd5598cc0c613c78a74d71a59a7f1f0787acc29774328e93a WHIRLPOOL 76d363960d2d23cb3199227c1288515fa6c0c125408bd65a80cbb0a433e827566eb23bc9481bf85ce4affdd2ae8ce7257b753ae09ee86ec746a5db3c45b7dba7
+EBUILD gxmessage-2.20.3.ebuild 851 SHA256 9264ee6fc8fbd735644edf2f72d6bb48fbb7fffea196c16fbab2516699daf558 SHA512 2d51cc5dda9e95f29214e928197d5a15e7a7594eb4aad230671743731f5fc9df965c04da6d406c7d5f7e64c10224263e36b2addac54794d2ae7e07c6a3b9b903 WHIRLPOOL e69dbf8f8c5051589d27960692ccf4be8abe85e61c577f10f54c3946c69326f9463aeca661f2afaf52b4e2304f78c69c0c39c8c671983afaba26349944e24b27
+EBUILD gxmessage-3.4.3.ebuild 884 SHA256 679992cd8c2015f17f3f8298383fd0b893f5f8c8ca23fe63d2d96b161482fff8 SHA512 a2fec46ee18b88277ace47f9d7ab1b5f2f597c8b4e0fbaf0b7c5c5554b2a4455191238288f6d1f0658ce40eb4561188cfd6253e8718f86e2b74a3766589fe899 WHIRLPOOL 657ba3097acd4cb8b5b31c7c52cd29d753d37de6689657e722cb25bfd6523027df441c122557f45086b7f11905a30976df2405af2c0ba372a97c26acc0ab6f5d
+MISC ChangeLog 2791 SHA256 abe663b1ccd0d408fd681a65b0d67b662aaef707669e9c17165960ebab54b20c SHA512 d6bb756794486e30a828d1afe2d47856f76e4c9efe716e431242865498d3d56fdb3e7ad8797edf838693cbe5cc35893d2d3cd9b5a18dc3e57738796b4fbcc090 WHIRLPOOL 5f0b568b60a2736745f410d4e983d7e89a16aef07cf32194c43da3348bede1c7a54cf26a5018ab8bde831a9e3bada3e51feb0b2ecc0cd703a4bde48557802130
+MISC ChangeLog-2015 5825 SHA256 b4b1711369e02ecf6226d96dcb4d91a2b436b2ab7910cda25a0a781b630e6cd6 SHA512 0cd5d0539fd74920c5bdee0ada7142925cba32c510d591305943faaba2dac6cad99ca1791be63680cf37f7afb50a50114e4e386b8a8b6557940776598cc56b0f WHIRLPOOL c65d9b4192686d39371ee0255bb23a9242495e9bb038affe9df137957929a3a18db0ed8d8d6e23932fadc306fd76a25d0138bcb5b4e5bb9def551400c79f5aff
+MISC metadata.xml 276 SHA256 437f3dba7deca9da3b3f8ecda9bb5e97253de0412cbb3095d876f39140f3ea98 SHA512 3497963f4fb51bb32521472b54a995091cb457d2cda65c786bd4b46e5af325caf8f6d5c969cefa0c09fe717df09fb015ec59b52f5571c3b2b9d4ea33e6c843ab WHIRLPOOL 8550fd604cf609511bf7c34245ebd6682dd6d058d8cbfa099a77c94d1afcf592909eb679a28a0806957ac0949c6cff350675e0182303ec5890a5e2c2c26d29c5
diff --git a/x11-misc/gxmessage/gxmessage-2.20.3.ebuild b/x11-misc/gxmessage/gxmessage-2.20.3.ebuild
new file mode 100644
index 000000000000..b8496ea3c9cb
--- /dev/null
+++ b/x11-misc/gxmessage/gxmessage-2.20.3.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit gnome2-utils
+
+DESCRIPTION="A GTK+ based xmessage clone"
+HOMEPAGE="https://savannah.gnu.org/projects/gxmessage/ http://homepages.ihug.co.nz/~trmusson/programs.html#gxmessage"
+SRC_URI="mirror://gnu/${PN}/${P}.tar.gz
+ http://homepages.ihug.co.nz/~trmusson/stuff/${P}.tar.gz"
+
+LICENSE="GPL-3 public-domain"
+SLOT="0"
+KEYWORDS="amd64 ppc sparc x86 ~x86-fbsd"
+IUSE=""
+
+RDEPEND=">=x11-libs/gtk+-2.20:2"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ >=dev-util/intltool-0.40.1
+ sys-devel/gettext"
+
+DOCS=( AUTHORS ChangeLog HACKING NEWS README TODO )
+
+src_install() {
+ default
+
+ docinto examples
+ dodoc examples/*
+}
+
+pkg_preinst() { gnome2_icon_savelist; }
+pkg_postinst() { gnome2_icon_cache_update; }
+pkg_postrm() { gnome2_icon_cache_update; }
diff --git a/x11-misc/gxmessage/gxmessage-3.4.3.ebuild b/x11-misc/gxmessage/gxmessage-3.4.3.ebuild
new file mode 100644
index 000000000000..89a45eeb2b16
--- /dev/null
+++ b/x11-misc/gxmessage/gxmessage-3.4.3.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit gnome2-utils
+
+DESCRIPTION="A GTK+ based xmessage clone"
+HOMEPAGE="https://savannah.gnu.org/projects/gxmessage/ http://homepages.ihug.co.nz/~trmusson/programs.html#gxmessage"
+SRC_URI="mirror://gnu/${PN}/${P}.tar.gz
+ http://homepages.ihug.co.nz/~trmusson/stuff/${P}.tar.gz"
+
+LICENSE="GPL-3 public-domain"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~x86-fbsd"
+IUSE=""
+
+RDEPEND="
+ dev-libs/glib:2
+ x11-libs/gtk+:3
+ x11-libs/pango
+"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ >=dev-util/intltool-0.40.1
+ sys-devel/gettext"
+
+DOCS=( AUTHORS ChangeLog HACKING NEWS README TODO )
+
+src_install() {
+ default
+
+ docinto examples
+ dodoc examples/*
+}
+
+pkg_preinst() { gnome2_icon_savelist; }
+pkg_postinst() { gnome2_icon_cache_update; }
+pkg_postrm() { gnome2_icon_cache_update; }
diff --git a/x11-misc/gxmessage/metadata.xml b/x11-misc/gxmessage/metadata.xml
new file mode 100644
index 000000000000..2ba8e9e851e4
--- /dev/null
+++ b/x11-misc/gxmessage/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/x11-misc/habak/Manifest b/x11-misc/habak/Manifest
new file mode 100644
index 000000000000..f4417d9884de
--- /dev/null
+++ b/x11-misc/habak/Manifest
@@ -0,0 +1,6 @@
+AUX README.en 6729 SHA256 af228337ec965b76b4287cb35d36df28427a8ba947eb000a6f00bcf874a6bf05 SHA512 2857284f10734223fc03c57150f796bad07ecdcf9fd687893155f16b3633903df322d397be7f5e51f2c5ac87ae27d246549dd098b36e061ffa2d2dd3ae610e58 WHIRLPOOL 2adee521eb1bf382a346c6a76160f83af8260095bb5e1e840a02c5229e4ffbf8cc31e55adea47b76bc503d703cb34d8a062f4b5145b7995355de16630f0753fe
+DIST habak-0.2.5.tar.bz2 22657 SHA256 a4cdd16c34a147c8cba8dd3fdcfe9c55b762a77476ff69fcc5b79f2859660005 SHA512 256ac24a3b322397b6cdbd2ca8add5938c77d166092a783234baa6186c3b4e01aeffd0b890749c7ac14aa39961e5fc6326f614ceb04eadfc5e4af282d04b7188 WHIRLPOOL 3e124d3037f5bc528686c332be618f77ae23b26e79c6a2f367667eadb2a5c7160dacf7d5a79c82e61534334da4389ecd7e09a78374bcf0251e191297cb1bd0c6
+EBUILD habak-0.2.5-r2.ebuild 962 SHA256 5845fa1487a82a4d5b55146119b8a033a4027b315e443149f4635ec1007f5d5d SHA512 04097126743449ba3129359018aac672cf80a7c1a059dc294af9d8ad92dcb5429468e0566773f2a7ebb1586f972c421a8116fdb74e42abf00c56f44afcfe27ea WHIRLPOOL fd027a10c984aff17d4c0f5d6ab203d785b043696fce12367dfad18e3de24455c4e7fb74296c4a10a83c9d031f788801059168efb12e4b0d6d657e978bdf1884
+MISC ChangeLog 2445 SHA256 471d27fe68ec78651ff4eada16d46074fa7f1af801abdbcd7274d13d86612197 SHA512 c9ac2a4332b73a6a2f3ce74c19ef9fe3ede0bb559fe78a57e580f959ce8008650a6059d97427f7340c15baef318379d81563c95ba740ddc5af8c8735359794d9 WHIRLPOOL 1212f04200e9e1524f232dd328b17f49d7f923d534a6794622bb0fbe0ec27fd46e11fd4397e4618ad08ab3c2214aecc0f65574c940930f6c6482935e538923df
+MISC ChangeLog-2015 5678 SHA256 281fad08b4bec00aaef7babfd4ff980cb90e415ebd08a4b1d3da77c706d0731d SHA512 8e7a5c6340c32741f67fd7c2ea41300534f75e146091f65bc70e43bd806048b68e8ab9c00b763e95f5f464bcb7a93532255d959853ca98ec30e98f4dd4293a9f WHIRLPOOL 17809e0a834955ca00cae86c243766a93ac9ee6a10ee671bc84b76935601d93b897c51a8b781fd020007a09ec92b9333ff66b01ca807153c4eb4aa7ea2c04d1e
+MISC metadata.xml 272 SHA256 b389ad9ba70c18154af4fc164e31d5b1e2a4e99815d34319b4a4f46ccef2be52 SHA512 ebe67da08587903b5b82fc194aa3c8f1ab65371f60d2c134928362e089550d9e9fd9531bffe8b676a345b5bf0ab209ce7f50d37d98201a88176f002e17582493 WHIRLPOOL 3d6a9660a11c299dbb7fa3ec6821005f2540dc8fc9e499206d38d79d54023b3ddc66a019b2c88fbc92199b9f5335088b47fa3fdd781f92f2da3ad98b26bc2a50
diff --git a/x11-misc/habak/files/README.en b/x11-misc/habak/files/README.en
new file mode 100644
index 000000000000..0bdbc259119f
--- /dev/null
+++ b/x11-misc/habak/files/README.en
@@ -0,0 +1,165 @@
+Habak - "Ha" Background
+=========
+
+Compilation:
+ We need a compiler, X server and Imlib2. Just run make, that's all.
+
+Installation:
+ Well, place a ready binary where you want.
+
+A short review:
+
+
+Habak is using layers. The lowest layer is just a black screen.
+On this you can place other objects, called habaks. There are
+three kinds of habaks: graphic files (images), fonts and "internal objects"
+(internals). Wallaper is created by putting on a black screen
+one or more habaks. An order of habaks in command line is an order
+of putting them on desktop, so the last habak will be drawed above
+previous habaks.
+
+Kinds of habaks:
+
+
+Files (images) are included by -i option, ie:
+
+./habak -i ~/graphics/wallpaper.jpg
+
+will include to desktop wallpaper.jpg file. If you typed after -i not a file,
+but a directory, habak would create a list of files contained within, randomly
+select any one of them, and then try to load it. In other words,
+if you have a lot of pictures in ~/gfx/nice_wallpapers/ then habak
+can choose random image. You only need to run './habak -i ~/gfx/nice_wallpapers/'
+
+Aside from files, you can use fonts (TrueType). Option -f will be useful in this
+case. By means of -f option you have to point a file with TrueType font, ie.
+
+./habak -f ~/.fonts/nice_font.ttf
+
+You can set a size of font, by typing it following slash after font name, ie
+'./habak -f ~/.fonts/nice_font.ttf/50'
+
+Third (and last) type of habaks are internal habaks. You can enable them
+by the -I option. They are not adopting any external data, but
+themself generate some patterns. At this moment only two patterns
+are available, "int" and "INT", which do an interlacing. For example:
+
+./habak -I int
+
+Internal habak "int" do an interlacing, by turning out even lines
+of image. Very nice effect, especially if wallpaper is gaudy.
+"INT" habak works identical as "int", but turns out odd lines
+(by putting together "int" and "INT" you can turn out all lines of screen).
+
+By default lines aren't turned out in fact, but darked (in my opinion
+it generates a better effect), but you can control it by
+-c color modifier (i will tell about it later).
+
+
+USAGE PHILOSOPHY
+You can (and you should to) put habaks together, ie.
+
+./habak -i ~/gfx/cool.jpg -I int -i ~/gfx/small_logo.png -f ~/.fonts/deltafont.ttf -f ~/.fonts/deltafont.ttf/10
+
+that syntax means, that habak will firstly draw coll.jpg file,
+then put on internal habak "interlace", and then will draw small_logo.png
+image, then deltafont.ttf font, and eventually one more time deltafont.ttf
+file, but this time with size of 10 pixels. Simple.
+
+MODIFIERS
+Obviously, alone habaks wouldn't be so elastic, so there are available a lot
+of modifiers that affect on them look. Some modifiers are even
+necessary. Modifiers are options, that are given following
+a definition of any habak - they affect only just followed habak.
+
+Modifier -C
+-C is a centering modifier. Habak that is followed by this modifier will be
+centered on the screen.
+
+Modifier -S
+-S is a scaling modifier. Habak treated by this modifier will be scaled
+to fill whole screen (but with proportions saved). Using it have a sense
+only for file habaks (images).
+
+Modifier -p
+-p is a position modifier. It precisely determines position of habak
+on desktop. This modifier requires also additional parameter, in the
+form of 'x,y', ie.
+
+./habak -i ~/gfx/meggy.jpg -p 10,50
+
+will render meggy.jpg file with upper-left corner in point 10,50 on desktop.
+Coortinates can be negative, so position will be calculated from the
+opposite side of screen, ie.
+
+./habak -i ~/gfx/meggy.jpg -p -10,50
+
+will calculate "the beggining" position of habak to a ten pixels from
+right and 50 pixels from upper side of screen. To place habak for example
+in upper-right corner, you should use '-p -0,0'
+
+Modifier -c
+-c is a color modifier. Some habaks supports choosing a color
+(at this time only font habaks and internal habaks). -C option
+require parameter, that describe color in form of R,G,B,A, ie.
+
+./habak -I int -c 50,60,70,190
+
+means using "int" habak with color:
+- red component set to 50
+- green component set to 60
+- blue component set to 70
+- alpha channel set to 190
+
+All numbers accepts numbers from 0 (minimal saturation) to 255
+(maximal saturation).
+
+For example '-c 0,0,0,255' means black, fully not transparent color,
+'-c 255,255,255,0' means white, fully transparent color (so just
+not visible), and '-c 200,0,0,128' is a strong red and transparent
+in 50% color.
+
+Modifier -t
+This modifier is a text modifier, works only with font habak.
+As parameter accepts only one line of text, that is rendered
+by the font habak. Any text is accepted, you can write kernel
+version, date, your name, name of favourite distribution or
+image of cat that have a lie-in on your printer. Select something,
+i like a date, text will be nicely antialiased, if you want to use
+not ASCII characters, you have to use utf-8 encoding.
+
+For example.
+
+./habak -f ~/.fonts/deltafont.ttf/15 -t "User $USER on day `date +%Y-%m-%d`" -p 0,-0 -c 240,240,240,200
+
+will render on a black screen for example text "User gregory on day
+2003-12-21", using deltafont.ttf font in size of 15 pixels. Text
+will be placed in lower-left corner of screen, gray color and will
+be transparent a little.
+
+Obviously it is a so simple example, you can complicate it:
+
+./habak -i /usr/local/share/backgrounds/lens -C -f ~/.fonts/deltafont.ttf/15 -t "User $USER on day `date +%Y-%m-%d`" -p 0,-0 -c 240,240,240,200
+
+Now on the background firstly will be placed centered image
+from /usr/local/share/backgrounds/lens directory, and that
+text will be rendered on it. You can complicate it yet:
+
+./habak -i /usr/local/share/backgrounds/lens -C -f ~/.fonts/deltafont.ttf/15 -t "User $USER on day `date +%Y-%m-%d`" -p 5,-0 -c 240,240,240,100 -f ~/.fonts/deltafont.ttf/15 -t "User $USER on day `date +%Y-%m-%d`" -p 0,-5 -c 240,240,240,255
+
+This situation is simpilar, but i complicated text a little -
+i generats *two* font habaks with the same content, but
+one of it is displacemented a little, and have smaller
+transparency. It gives so nice effect of shadow under text. By
+putting together *several* such shadows differenced in size of font
+and intensivity of transparency you can achieve fantastic effects.
+
+Finally, fire up:
+
+./habak -i /usr/local/share/backgrounds/lens -C -I int -f ~/.fonts/deltafont.ttf/15 -t "User $USER on day `date +%Y-%m-%d`" -p 5,-0 -c 240,240,240,100 -f ~/.fonts/deltafont.ttf/15 -t "User $USER on day `date +%Y-%m-%d`" -p 0,-5 -c 240,240,240,255
+
+Here i added an internal habak "interlace", between picture
+from /usr/local/share/backgrounds/lens and font habaks, so
+image is faced by small grid of interlacing, but text is not
+(because it is placed above interlacing).
+
diff --git a/x11-misc/habak/habak-0.2.5-r2.ebuild b/x11-misc/habak/habak-0.2.5-r2.ebuild
new file mode 100644
index 000000000000..31cb75d3256d
--- /dev/null
+++ b/x11-misc/habak/habak-0.2.5-r2.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit toolchain-funcs
+
+DESCRIPTION="A simple but powerful tool to set desktop wallpaper"
+HOMEPAGE="http://home.gna.org/fvwm-crystal/"
+SRC_URI="http://download.gna.org/fvwm-crystal/${PN}/${PV}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 ppc ppc64 sparc x86 ~x86-fbsd"
+IUSE=""
+
+RDEPEND="media-libs/imlib2[X]
+ x11-libs/libX11"
+DEPEND="${RDEPEND}
+ x11-proto/xproto"
+
+# Skip into the src directory so we avoid a recursive make call that
+# is going to break parallel make.
+S="${WORKDIR}/${P}/src"
+
+DOCS=( ChangeLog README TODO "${FILESDIR}"/README.en )
+
+src_prepare() {
+ default
+ sed -i \
+ -e '/(LDFLAGS)/s:$: -lImlib2 -lm -lX11:' \
+ -e 's:gcc:$(CC):' \
+ "${S}"/Makefile || die "Makefile fixing failed"
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)" ${PN}
+}
+
+src_install() {
+ dobin ${PN}
+ cd "${WORKDIR}/${P}" || die
+ einstalldocs
+}
diff --git a/x11-misc/habak/metadata.xml b/x11-misc/habak/metadata.xml
new file mode 100644
index 000000000000..49c86a887b6a
--- /dev/null
+++ b/x11-misc/habak/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+</maintainer>
+</pkgmetadata>
diff --git a/x11-misc/hsetroot/Manifest b/x11-misc/hsetroot/Manifest
new file mode 100644
index 000000000000..4801f0356e05
--- /dev/null
+++ b/x11-misc/hsetroot/Manifest
@@ -0,0 +1,9 @@
+AUX hsetroot-1.0.2-underlinking.patch 500 SHA256 677c1a2e834130a5cff110952a738fc6e6d2cf611dfc870346b6697e362728c2 SHA512 b36eca913e9477b8282351ce739a76c088a64707d0028518a3b2cb3c3050c8d7f722243437cdb55109fd8dcdd56e74c13bf67039aaf4a2cc75372f14e1ce09d6 WHIRLPOOL 276565eecb325a498e05b112dd01495d3ee7be5f5a6d7d37831d063a26e01206aa2862ac734fdae6584835c6f251790d7b4aa15a27c414b4201a5189b78d8fdc
+DIST hsetroot-1.0.2.tar.gz 125535 SHA256 d6712d330b31122c077bfc712ec4e213abe1fe71ab24b9150ae2774ca3154fd7 SHA512 51788a6b579b82368ef5e11255ff56e2db978a02f7ad752ba64ec33c56ae5f27c1f0ef3452725d1c7bdb9d97b8a3a5b64422031c9c75a7279c407b8772d5edc3 WHIRLPOOL bcf543cf7fb6b6f14ff10de66d554ae9a2e1074a7adbe11068c501a495b98b6518c6cd26504ec8a5aff644c789b86d52c74c026af266c881bd9b13dab9ca5bb8
+DIST hsetroot_1.0.2-5.debian.tar.xz 4384 SHA256 79ab1b7a805ce6c2953cd090b853833eead250679a372dcf414c33d3fb7dc8ff SHA512 5f1dbb00daebf6b8c9db77a51dbc463ea92b4564e0d7a2dac1ea9c316dd2e2126fb8c6454f4d1eddfd19533297e29651444987a7eacb7c0080e26c14383c827d WHIRLPOOL 22765754b43dc985642a20deac81fd2e9953065eca0e25d6e5dd79aa9fcc71c3ad3b61a36ca8c10cbaa91bfb13b23c64c4a48aa1a8a72378f9769d645ce35472
+DIST hsetroot_1.0.2.orig.tar.gz 125621 SHA256 597fe1175e590d54d0927095ce361c86ddef15ebc70a96c4bf509f6cb9165723 SHA512 cac98cc602fd8825dbfce27d289dc4ba47805c99c78de804e95c539e83ffae6984601a535cdb90658536a007a5f17c71e27e4c31af562ade6610f11f0d0d2ca5 WHIRLPOOL c40b3be003a129504cc833de22ed0e54448a1910ef4f2d40c8efa5d9c434225b1d64f842d5b605b9fc0536a99bdaa78c76dc5f16eec5fedaac22021823897459
+EBUILD hsetroot-1.0.2.ebuild 738 SHA256 551626f194ec3f671d9c603ef17e46c52c7192be3d63b068cdec0e3e9b9a37eb SHA512 712623b880a2bcb0aa253d5b6aec8daf5b6ec6af3c6258dd04e5d50b59ff18aca02acfe4ee5c821344344bfeb53c5ae11d04315954a4faa3ba2e2c5781145f16 WHIRLPOOL a9dff8c71089b00cb4b909706e82e66236789e14d7fadd93881fe981312eea153ca37e8cc8a0fb7294b5421375ada6ee125ea36d32f1126a092cf4708b7ddda7
+EBUILD hsetroot-1.0.2_p5.ebuild 972 SHA256 645ec1f7cf58a7a323458652cf8286202b2a36bd4230270b76292b154df4651f SHA512 39357441726d43072d1fb426d95b42a70c63f9cbac7d1ed28c4986a938eab731be2f144cf61938cbcc24e4b5dc1ac0799c015a0c99eb7e123891fce23d029a1c WHIRLPOOL 0fb74ebd8a11b97083a54852855b749e029ec18f09fc032f07b8c41162851e877f4a7cfb967f7fb9832adee4e0cd48b952725342325956bb0ab29ec2a3528e76
+MISC ChangeLog 2474 SHA256 bcf2da9530432411a31bf505098327a98eb1537b9233499383525a7de25252ae SHA512 53ca94c203122f90cd9f992fd6300d56aa758f65508e52c15720d439b130b58ab191e1732487923bba181242a658e28876e08464bbc30961ca3e96286eea8d0f WHIRLPOOL f07e9f7694b298286b73e0e1e87c1e6c06c1a94b4ad389b465d59b93cdeb837931c1e84c9b453098038c55b66cc829c6206e8a60359d83b70d34f2e7e3d9e3e6
+MISC ChangeLog-2015 1849 SHA256 79394aa396a24eb66109e14fb5bc88b818641fb9b6d247b67880f27a4440a1f6 SHA512 ef6951c730e3ff75df41a04d61c8ce8cff72a8b487dd44d425638c6abe49d46e9deacc343a7a89be8411e1e1776e35402c702e985a1f1746bc7c4ad951a92bc8 WHIRLPOOL ce00fbf08c8a53feded0430202cba70367ee6eee8c694edf907d817b5ba0f344c61c3f895ca9836d78536d1b5dc5496f702c18f788733b9745b6a56134bd4d85
+MISC metadata.xml 1187 SHA256 5c5e0e6014f8166e135ce537f24d9939b2b12eb2845e43b7c4f78a34c370000e SHA512 30bd381778a254be23fc5b4554b42cd846229ba6c67914fa173c8d429f2ffd3f7a9de5497d5205cf0e1a455d2d0bdfe1a368352d0e25bcb2a173f7b7b76bc3c8 WHIRLPOOL 37f15f254e14027b7d86eebdafe7419cb94ffb4fd1a5e9f481d56cd8c69b410b1cfa000b1527ecca2a33c6eb89d89e3cf89e19e7cfac901911045927d2963c43
diff --git a/x11-misc/hsetroot/files/hsetroot-1.0.2-underlinking.patch b/x11-misc/hsetroot/files/hsetroot-1.0.2-underlinking.patch
new file mode 100644
index 000000000000..cb18ac472306
--- /dev/null
+++ b/x11-misc/hsetroot/files/hsetroot-1.0.2-underlinking.patch
@@ -0,0 +1,22 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -38,6 +38,8 @@
+ # Checks for typedefs, structures, and compiler characteristics.
+ AC_C_CONST
+
++PKG_CHECK_MODULES(X11, [x11])
++
+ # Check for imlib2
+ AC_CHECK_PROGS(imlib2config_cmd, imlib2-config)
+ if test x$imlib2config_cmd = "x"; then
+--- a/src/Makefile.am
++++ b/src/Makefile.am
+@@ -1,7 +1,7 @@
+ bin_PROGRAMS = hsetroot
+
+ AM_CFLAGS = @CFLAGS@ @IMLIB2_CFLAGS@ -Wall
+-LIBS = @IMLIB2_LIBS@
++LIBS = @IMLIB2_LIBS@ $(X11_LIBS)
+
+ hsetroot_SOURCES = hsetroot.c
+
diff --git a/x11-misc/hsetroot/hsetroot-1.0.2.ebuild b/x11-misc/hsetroot/hsetroot-1.0.2.ebuild
new file mode 100644
index 000000000000..d6a05f1442fa
--- /dev/null
+++ b/x11-misc/hsetroot/hsetroot-1.0.2.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit autotools eutils
+
+DESCRIPTION="Tool which allows you to compose wallpapers ('root pixmaps') for X"
+HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage"
+SRC_URI="http://cdn.thegraveyard.org/releases/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha amd64 ppc x86 ~amd64-linux ~x86-linux ~x86-solaris"
+IUSE=""
+
+RDEPEND="x11-libs/libX11
+ >=media-libs/imlib2-1.0.6.2003[X]"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ x11-proto/xproto"
+
+DOCS="AUTHORS ChangeLog NEWS README"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-underlinking.patch
+ # The pre-generated configure script contains unneeded deps
+ eautoreconf
+}
diff --git a/x11-misc/hsetroot/hsetroot-1.0.2_p5.ebuild b/x11-misc/hsetroot/hsetroot-1.0.2_p5.ebuild
new file mode 100644
index 000000000000..0879e20f060b
--- /dev/null
+++ b/x11-misc/hsetroot/hsetroot-1.0.2_p5.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit autotools eutils
+
+DESCRIPTION="Tool which allows you to compose wallpapers ('root pixmaps') for X"
+HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage"
+SRC_URI="
+ mirror://debian/pool/main/h/${PN}/${PN}_${PV/_p*/}.orig.tar.gz
+ mirror://debian/pool/main/h/${PN}/${PN}_${PV/_p*/}-${PV/*_p/}.debian.tar.xz
+"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~x86-solaris"
+
+RDEPEND="
+ >=media-libs/imlib2-1.0.6.2003[X]
+ x11-libs/libX11
+"
+DEPEND="
+ ${RDEPEND}
+ virtual/pkgconfig
+ x11-proto/xproto
+"
+
+DOCS="AUTHORS ChangeLog NEWS README"
+PATCHES=(
+ "${FILESDIR}"/${P/_p*/}-underlinking.patch
+ "${WORKDIR}"/debian/patches/01_fix-no-display-crash.patch
+ "${WORKDIR}"/debian/patches/02_extend-mode.patch
+ "${WORKDIR}"/debian/patches/03_cover-mode.patch
+)
+S=${WORKDIR}/${P/_p*/}.orig
+
+src_prepare() {
+ default
+
+ eautoreconf
+}
diff --git a/x11-misc/hsetroot/metadata.xml b/x11-misc/hsetroot/metadata.xml
new file mode 100644
index 000000000000..fdbc1f83706c
--- /dev/null
+++ b/x11-misc/hsetroot/metadata.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+</maintainer>
+<longdescription>
+hsetroot is a tool which allows you to compose wallpapers ("root pixmaps") for
+X. It has a lot of options like rendering gradients, solids, images but it also
+allows you to perform manipulations on those things, or chain them together.
+You could use one standard background image for isntance, and using tint to
+make it fit your current theme. And yes, of course it is compatible with
+semi-translucent applications like aterm and xchat :)
+
+At this time, hsetroot can render: gradients (multi-color with variable
+distance), solids (rectangles) and images (centered, tiled, fullscreen, or
+maximum aspect). It supports the following manipulations: tinting (overlaying a
+color mask), blurring, sharpening, flipping (horizontally, diagonally,
+vertically) it also allows you to adjust brightness, contrast and gamma-level.
+hsetroot also supports alpha-channels when rendering things.
+</longdescription>
+</pkgmetadata>
diff --git a/x11-misc/i3blocks/Manifest b/x11-misc/i3blocks/Manifest
new file mode 100644
index 000000000000..e0c5bcd19ffb
--- /dev/null
+++ b/x11-misc/i3blocks/Manifest
@@ -0,0 +1,4 @@
+AUX i3blocks-default-sysconfdir.patch 373 SHA256 b65cfcde99f394773587152218603eee35e9247d08bd8daa23cd907e1cb4e7a2 SHA512 db974877a1eadb1b37279dd4e4159b47947958f688aed94dd3e3c49457a94a0e5d803f221dc7a160ed2cfdc915399892d010a1083a49a7ba7a53d49572c16554 WHIRLPOOL 0f5fe5f970b12b86997cdd3269d6fd3204b95d0b20e31c5130dceb82a00b688b20c35a3aeebbd564b9e4b1725c14562a4fa1d120e4fc10a84ad2187feea95482
+DIST i3blocks-1.4.tar.gz 35943 SHA256 c9bd2854b7902aa6821fdf8c83b5123c10b90a52f9bcc67225ff57f25d28b4b0 SHA512 f04fd68d59097b21bc88f3097dff137de656dd3fa696d9c04b987ba25136e5e5d9cacb63998e8635fe55fcf94f47900aec8c79d98e1d1d8847856a89ad9a6578 WHIRLPOOL d6367d0b2335a79f6a49f069b31af6b5c24a33bab3e48be8b615305009aad196c5bdd7e1d71860b7db123f21bcb91a0614f705c073d78ff94c81612d4e840328
+EBUILD i3blocks-1.4-r1.ebuild 758 SHA256 f2737a2d567c5437bafe58dd402f9dc882e8afae05d60953b87c875a2339f7c6 SHA512 f35fa64761e45e83e1e7b6da378a272fa3733c2dd4ff72eae4b1fefea977798723df44d95c6b1b518a153c1bbdd39ef48ca6e8c30cb501bbc7d65b113b7414fc WHIRLPOOL c1ad2459ee73e76d961d56519fcfd228fb1355ee165484c454daf1f947a88f204057fed786a32afec560a199accb1e8fc9bb6f0e880f6b18b6e412c0ea194c50
+MISC metadata.xml 331 SHA256 008cbf46e9a9e2aecd50da04aa3f1f4de2b14f12e4bb7cc10bbb541d3ac59f16 SHA512 2191950260e909fd05a03d80a1f9ccde802e4e3ab890a2e05305f2e3e1c48e4c56200fddc9019b630a9efeaeac92509910e1f9b22f1a2ce85a8d005930cd05af WHIRLPOOL beab3df97eb266d2e6ab3079018a4b37fe8c27c1532822abc5a43397104fa0a14e5339eb324eb1508c1d325e196e95809c1b8e8c013a86246e43dd150a8f58b4
diff --git a/x11-misc/i3blocks/files/i3blocks-default-sysconfdir.patch b/x11-misc/i3blocks/files/i3blocks-default-sysconfdir.patch
new file mode 100644
index 000000000000..04d625dcb47f
--- /dev/null
+++ b/x11-misc/i3blocks/files/i3blocks-default-sysconfdir.patch
@@ -0,0 +1,15 @@
+--- i3blocks-1.4/~Makefile 2017-02-20 18:56:06.340061271 +0100
++++ i3blocks-1.4/Makefile 2017-02-20 18:56:27.518915055 +0100
+@@ -4,11 +4,7 @@ ifndef PREFIX
+ PREFIX=/usr/local
+ endif
+ ifndef SYSCONFDIR
+- ifeq ($(PREFIX),/usr)
+- SYSCONFDIR=/etc
+- else
+- SYSCONFDIR=$(PREFIX)/etc
+- endif
++ SYSCONFDIR=/etc
+ endif
+ ifndef LIBEXECDIR
+ LIBEXECDIR=$(PREFIX)/libexec
diff --git a/x11-misc/i3blocks/i3blocks-1.4-r1.ebuild b/x11-misc/i3blocks/i3blocks-1.4-r1.ebuild
new file mode 100644
index 000000000000..a081fd8909a9
--- /dev/null
+++ b/x11-misc/i3blocks/i3blocks-1.4-r1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+if [[ ${PV} = 9999 ]]; then
+ inherit git-r3
+fi
+
+DESCRIPTION="highly flexible status line for the i3 window manager"
+HOMEPAGE="https://github.com/vivien/i3blocks"
+if [[ ${PV} = 9999 ]]; then
+ EGIT_REPO_URI="https://github.com/vivien/${PN}"
+ KEYWORDS=""
+else
+ SRC_URI="https://github.com/vivien/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+SLOT="0"
+LICENSE="GPL-3"
+
+RDEPEND="app-admin/sysstat
+ media-sound/playerctl
+ sys-apps/lm_sensors
+ sys-power/acpi
+ x11-wm/i3"
+
+DEPEND="app-text/ronn"
+
+PATCHES=( "${FILESDIR}/${PN}-default-sysconfdir.patch" ) #610090
+
+src_install() {
+ emake DESTDIR="${D}" PREFIX="/usr" install
+}
diff --git a/x11-misc/i3blocks/metadata.xml b/x11-misc/i3blocks/metadata.xml
new file mode 100644
index 000000000000..c6de48eeb14f
--- /dev/null
+++ b/x11-misc/i3blocks/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>mudler@gentoo.org</email>
+ <name>Ettore Di Giacinto</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">vivien/i3blocks</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/i3lock/Manifest b/x11-misc/i3lock/Manifest
new file mode 100644
index 000000000000..1a9772786e44
--- /dev/null
+++ b/x11-misc/i3lock/Manifest
@@ -0,0 +1,7 @@
+DIST i3lock-2.8.tar.bz2 19884 SHA256 028fc0f74df10826514d5a4ed38f6895935d1f5d47ca9fcffc64b076aaf6e2f4 SHA512 b0f2f2837e275ffb2874aec75cd5d7c69864f8861de5e3e6090a2bf9254a14f8bc141256b0faac3e30111f9612e97cc087efde0da939854fac975a87deb06e3f WHIRLPOOL 2335d74701765495e82b9665673180fa03c288ffb3ef728cec756d7910c5d39efab0dc8a88b06493e085cefde7924ae0f3af454a2a68a02ce9c6213e27312e01
+DIST i3lock-2.9.1.tar.bz2 20959 SHA256 106a1616d4e8dda8f7bdd95b142c25a5d42f69894279006598d22dad8982c790 SHA512 9b1bfac67a97880e61f8655a9256662ceec51850005298f13247ab570c03715718db84b1afefa979fb9a53a011fa20958f38d05f5378becf7803ece3e804faaf WHIRLPOOL 4a63967a242b78a65bc165ef120393c1df7407daaeb03bb0ad7e96628f5a2c8d0d68ed0dba450ff57b383d470fc683ef44d3eefcd0a9a7c359817356dde0a30b
+EBUILD i3lock-2.8.ebuild 676 SHA256 a2320e26e7fd6ee12edd0820089689815619013462efdd70d4083a43df5502ed SHA512 efda2de2567aab981f8ca868dcf909c852c3d8d2d94d275fe794c4750c426a06374b9e84de73c8df99a15c5822e5ae79fc9807918258b40341acb3beb7d7d86b WHIRLPOOL 5a93357d9d0d22f9e00fc6ba2bd887c64a16c02add0b4aeada6f21551d5f2a45ce17baf1c6a8ec6981491ca11a700ebe592bcbd5372d197b206bcad33b4d7808
+EBUILD i3lock-2.9.1.ebuild 658 SHA256 81b338acd0c9f35680ecd3b63e476d48b1a2cb430c50f77ee7ddebeb8a48aa87 SHA512 fe92f1ebb3fd1a1842aaf05bccf6ed7da73fd2deb126d4983e0365a4be3e3310071bf789ccbd5d8a2968f789b11d4abb431bc55e626212df95e623255a1e1406 WHIRLPOOL 25b7fde895c3ad0c916b7fd00bb8fbb360558ac2c235ca1b9af91d3b01a17dfa1f43af81bddc6d0faa57ed20cd33ee6ab9a3e51195b1c8eb11e50574e175cd91
+MISC ChangeLog 2908 SHA256 146376a8b058e8176497cedf9a9b92f0b074c0a61da995411fb8f6cc8ab5b069 SHA512 7192419c39437a1a9db5701eff6d63f59d01e001a9d195101185c36f48871d100656b7ee52de97769e04aede3f2125f9d317c266625ae2c86aa0b4f95ff5554a WHIRLPOOL d89f9a14277ba08e77d5b2aa43d70163602643ab2536f00c75dadd2f416a7a1d5e3eff4338943d0a429463001aecb31d6d0d543155a6be13a9ce34f213c4ca7d
+MISC ChangeLog-2015 3026 SHA256 1ece086e26da9c2dcefe5d18c42a2f4ae6832841a7289b97fb261bd119fb1e21 SHA512 b9005ce4c3a266466c3b4163f405c5a91ab5ef0def43debf0343290534492298569c6ebbd1f05eaa9629fb104437e2e283666b169292189d019aa3a4c45ee8c4 WHIRLPOOL a3d88ccc998090c96e82161279650036cbefa39add61d0ef7a50ca683558507784579d4f06cf21feb6f7208cb51ac3b61fb9696789d1ade8f4a2b0616c0fc4e4
+MISC metadata.xml 275 SHA256 577d8ee5c1c37e5f4db15d806a9f215739a6adce623e835005404cc1f814d153 SHA512 f6ba8749c28efdef180ce22a3be528d6843d1c73cb6e8e41a5d009e6a0b707053daf3821dcab94389d51d7f2c07fc4dc9e0c3d349aa03f6c136b897deadb0c58 WHIRLPOOL 5676516ba5835c6eba864de0c2d4953f19154613c74eae4341443b446b6728c80af0bd943ec27a59e7ce7d1388ff051202693051efb98b2c68cff88b07b91661
diff --git a/x11-misc/i3lock/i3lock-2.8.ebuild b/x11-misc/i3lock/i3lock-2.8.ebuild
new file mode 100644
index 000000000000..206ce7020ee7
--- /dev/null
+++ b/x11-misc/i3lock/i3lock-2.8.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Simple screen locker"
+HOMEPAGE="http://i3wm.org/i3lock/"
+SRC_URI="http://i3wm.org/${PN}/${P}.tar.bz2"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+RDEPEND="virtual/pam
+ dev-libs/libev
+ >=x11-libs/libxkbcommon-0.5.0[X]
+ x11-libs/libxcb[xkb]
+ x11-libs/xcb-util
+ x11-libs/cairo[xcb]"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+DOCS=( CHANGELOG README.md )
+
+pkg_setup() {
+ tc-export CC
+}
+
+src_prepare() {
+ sed -i -e 's:login:system-auth:' ${PN}.pam || die
+ epatch_user
+}
+
+src_install() {
+ default
+ doman ${PN}.1
+}
diff --git a/x11-misc/i3lock/i3lock-2.9.1.ebuild b/x11-misc/i3lock/i3lock-2.9.1.ebuild
new file mode 100644
index 000000000000..f99aa9820244
--- /dev/null
+++ b/x11-misc/i3lock/i3lock-2.9.1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit toolchain-funcs
+
+DESCRIPTION="Simple screen locker"
+HOMEPAGE="http://i3wm.org/i3lock/"
+SRC_URI="http://i3wm.org/${PN}/${P}.tar.bz2"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+ >=x11-libs/libxkbcommon-0.5.0[X]
+ dev-libs/libev
+ virtual/pam
+ x11-libs/cairo[xcb]
+ x11-libs/libxcb[xkb]
+ x11-libs/xcb-util
+"
+DEPEND="
+ ${RDEPEND}
+ virtual/pkgconfig
+"
+DOCS=( CHANGELOG README.md )
+
+src_prepare() {
+ default
+
+ sed -i -e 's:login:system-auth:' ${PN}.pam || die
+
+ tc-export CC
+}
+
+src_install() {
+ default
+ doman ${PN}.1
+}
diff --git a/x11-misc/i3lock/metadata.xml b/x11-misc/i3lock/metadata.xml
new file mode 100644
index 000000000000..e945e1307667
--- /dev/null
+++ b/x11-misc/i3lock/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/x11-misc/i3status/Manifest b/x11-misc/i3status/Manifest
new file mode 100644
index 000000000000..2b35db054535
--- /dev/null
+++ b/x11-misc/i3status/Manifest
@@ -0,0 +1,6 @@
+AUX i3status-2.11-pulseaudio.patch 1085 SHA256 27ed5a938ecece3336f916f31fe2996ea65e1f14a4730084a34cb773b4cdd333 SHA512 d08f22209598567af425aea2e387dfaec0312e47a4ae9882818097e84d3ff59f671132242f6f8d6620c3d63b3b0e1c9054d26f416804608fe657872dea1c9678 WHIRLPOOL 4c75dfba704bc6b85b6f1f31650099498a9c4eef96b01d70cf4fa251b3eda09ec41d0fb29e4c9b98388dfb250a3a92e1e91ed102f16d94fce2cf4380cce4eca6
+DIST i3status-2.11.tar.bz2 54970 SHA256 98db7e730f0ce908eb656ac10d713ae6a885676621391d54f00b719752f18c5f SHA512 37d2549649178122fab7411a3c714ae041d9c726c140002ec6ccd1a4f2e28af618ca28af9aa3bc45d0cafda0b25dd438c9ed4c3739ddcc0511e19305657730f0 WHIRLPOOL d676b9a66139778dcfe5ea6418bd60ebf89afe3dbce0a14d34f6d46ec52ccf0900727c4727e8fd6f03e6d0466af07f69f00a6da0b6e997bbdf9d57dbe2a8f7bc
+EBUILD i3status-2.11.ebuild 1046 SHA256 169bed1a8bf3c7867fb81ef42d7783f320d9f8eb34cabb01ef53348577b2a8de SHA512 4a124f32c3a320e5b14e7406bdf6619fcfe4c1b86e71c0bab2701067c3401d7184c926c45da25cfbfd3b9766559968dfca1edbd8e62d521c815d84abfa72f610 WHIRLPOOL dcbe8f75a6f6fbffcc08ad48953d1bb0f7254384cae957a4aa34697107bbb719328c945286299afcdbceebab39ecfae2e96530ce5a7db5879d5e18349cb7a6a9
+MISC ChangeLog 3582 SHA256 38196f14276f4571a49a0d6c71be12798329527ef8ae8fafc740baacb2eddb19 SHA512 e18c50236e65f424a99dc85404400b69a0945ff237e2a972f82577050c1c9c8e20a44954bd546646fb8684457be1bea90fe0307c4ca6050868a605e70cdc69e9 WHIRLPOOL 0d649dd21d70d11cee465ebc92800278eba7291d397c3e47c2ed5830b5befd3f0641bd66c8f33eb62521dbcf82f5e0ae2c799774fd49c0907192ddb9d2f79b62
+MISC ChangeLog-2015 3003 SHA256 cf1687a2fc9d832a9367f6571966982d3b9c04ff24030a3f928ed0032abdbf14 SHA512 34a7e43cfc0945fe16c5e0a142f6960d7deb2552b87e3c13165734e473213673ea96d45af63a84f9907f3276ef54a76879b9d6d30f134a549b9f7f4211e415b7 WHIRLPOOL 9a704e813776df4ea7989a11b3bab76e8fe36edab0a3a6973db9a2e363014c903d0c181ebc4c0b265425e0835311df58ed77f964fcd6e65ebe7cdf65f242046d
+MISC metadata.xml 923 SHA256 36533d9be298b48bdb9b89e9668811e64017769c60a6cf20f016c05623a8b91a SHA512 767566a72041c13afd546301ad688053e7855fa90c036d381eb03ba4d53caa573809b9ba7433c4484004f3aed800a0b9232c6861e347a1b75ed04f56cb37240b WHIRLPOOL 1d1d6603652b3eb2af6236c8417a7ff8c63faac1a2e3ddda40d4c52af64e3d9f22fdd142dd20d1ca0955dfaa75a4b7d29de6faef63fceeae9132a452e7eecdb3
diff --git a/x11-misc/i3status/files/i3status-2.11-pulseaudio.patch b/x11-misc/i3status/files/i3status-2.11-pulseaudio.patch
new file mode 100644
index 000000000000..2447f16f9339
--- /dev/null
+++ b/x11-misc/i3status/files/i3status-2.11-pulseaudio.patch
@@ -0,0 +1,42 @@
+diff --git a/Makefile b/Makefile
+index 3084ae7..7ea1964 100644
+--- a/Makefile
++++ b/Makefile
+@@ -58,6 +57,10 @@ ifeq ($(OS),NetBSD)
+ LIBS+=-lprop
+ endif
+
++ifeq ($(OS),OpenBSD)
++LIBS+=-lpthread
++endif
++
+ # This probably applies for any pkgsrc based system
+ ifneq (, $(filter $(OS), NetBSD DragonFly))
+ CFLAGS+=-I/usr/pkg/include/
+@@ -79,9 +82,12 @@ CFLAGS += -idirafter yajl-fallback
+ OBJS:=$(sort $(wildcard src/*.c *.c))
+ OBJS:=$(OBJS:.c=.o)
+
+-ifeq ($(OS),OpenBSD)
++PULSE ?= 1
++ifeq ($(PULSE),0)
+ OBJS:=$(filter-out src/pulse.o, $(OBJS))
+ LIBS:=$(filter-out -lpulse, $(LIBS))
++else
++CPPFLAGS+=-DPULSE
+ endif
+
+ src/%.o: src/%.c include/i3status.h
+diff --git a/src/print_volume.c b/src/print_volume.c
+index 51e84f3..9e015c0 100644
+--- a/src/print_volume.c
++++ b/src/print_volume.c
+@@ -61,7 +61,7 @@ void print_volume(yajl_gen json_gen, char *buffer, const char *fmt, const char *
+ free(instance);
+ }
+
+-#ifndef __OpenBSD__
++#if !defined(__OpenBSD__) && defined(PULSE)
+ /* Try PulseAudio first */
+
+ /* If the device name has the format "pulse[:N]" where N is the
diff --git a/x11-misc/i3status/i3status-2.11.ebuild b/x11-misc/i3status/i3status-2.11.ebuild
new file mode 100644
index 000000000000..f17c7c3335ef
--- /dev/null
+++ b/x11-misc/i3status/i3status-2.11.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils toolchain-funcs fcaps
+
+DESCRIPTION="generates a status bar for dzen2, xmobar or similar"
+HOMEPAGE="http://i3wm.org/i3status/"
+SRC_URI="http://i3wm.org/${PN}/${P}.tar.bz2"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="pulseaudio"
+
+RDEPEND="dev-libs/confuse:=
+ dev-libs/libnl:3
+ >=dev-libs/yajl-2.0.2
+ media-libs/alsa-lib
+ pulseaudio? ( media-sound/pulseaudio )"
+DEPEND="${RDEPEND}
+ app-text/asciidoc
+ virtual/pkgconfig"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-pulseaudio.patch
+ sed -e "/@echo/d" -e "s:@\$(:\$(:g" -e "/setcap/d" \
+ -e '/CFLAGS+=-g/d' -i Makefile || die
+ eapply_user
+}
+
+src_compile() {
+ emake V=1 CC="$(tc-getCC)" PULSE=$(usex pulseaudio 1 0)
+}
+
+pkg_postinst() {
+ fcaps cap_net_admin usr/bin/${PN}
+ einfo "${PN} can be used with any of the following programs:"
+ einfo " i3bar (x11-wm/i3)"
+ einfo " x11-misc/xmobar"
+ einfo " x11-misc/dzen"
+ einfo "Please refer to manual: man ${PN}"
+}
diff --git a/x11-misc/i3status/metadata.xml b/x11-misc/i3status/metadata.xml
new file mode 100644
index 000000000000..59a2a28f64b5
--- /dev/null
+++ b/x11-misc/i3status/metadata.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+ <longdescription>
+ i3status is a small program (about 1500 SLOC) for generating a status bar for
+ dzen2, xmobar or similar programs. It is designed to be very efficient by
+ issuing a very small number of system calls, as one generally wants to update
+ such a status line every second. This ensures that even under high load, your
+ status bar is updated correctly. Also, it saves a bit of energy by not hogging
+ your CPU as much as spawning the corresponding amount of shell commands would.
+ </longdescription>
+ <use>
+ <flag name="filecaps">Linux capabilities library is required for i3status to be able to read net bandwith</flag>
+ </use>
+</pkgmetadata>
diff --git a/x11-misc/i855crt/Manifest b/x11-misc/i855crt/Manifest
new file mode 100644
index 000000000000..43538592be97
--- /dev/null
+++ b/x11-misc/i855crt/Manifest
@@ -0,0 +1,6 @@
+AUX i855crt-i915support.diff 2128 SHA256 dd9f8f7b388751e47e51ffa6d3bf23c615adab1349bdaab2fea84ee166d7a8f2 SHA512 96049b926a2007915bdaf71ba2252bb6556711d66b45eac69ee3223557e892ba8d742b520406a6f7fd20f3091f194015aec59613624abc1efaee5caad090caf4 WHIRLPOOL 321fa4a832a01e1d22cc86a9d9dfb2c6406a217146b536898cfe6ec294cfacd5879dbe9632eb2fa88df84476ade7168d27ed50b04b1b26ed89457a924e2a0bb9
+DIST i855crt-0.4.tar.gz 65209 SHA256 942fb0cde89737e921837d5ecab2a49158b04a5389205728cfa49108ee0bc269 SHA512 8bd6d05334bcbe75f85c128ffe1179368fcf94bb0ba07c2ea7ce9b6ed38252ffc5dcd7a3208f6524be064bea595abda5a29f6a2960ad9f2f7b6f6ba528c36290 WHIRLPOOL d32e6ea1dcff83075e841afaa0f26bd873da69e276d767ec02c40edb2989e49f66961887eb0969bb6b6b6a2c25aceb360d9a302122b5c867683ef7c798bc58ad
+EBUILD i855crt-0.4-r1.ebuild 788 SHA256 1ae2b6202b47e4e9b4d2126601cceaf74a3fdddab00d2fb6a84e98ec170de415 SHA512 b2991656fa107019087e67ec6619b6c32900d602ef0a281785f44f2364b789cdb6927a2f2f9e99e8663ab78280c06bf1bd923d532b42b56a63033aed849eacc8 WHIRLPOOL cd55d205bb31d9187256d5935cf6c39fe0d38a9efb68beae89716ed74fc285fecbf2ce40c3ee203dfc4006cf7d0c3662ca3efead55f231a498a918a1f3615520
+MISC ChangeLog 2462 SHA256 407c0e791697959b1edef0d6e4373e7207b23be10f0ab61268a2134c4fb23f54 SHA512 b1a9aa6185fe645fe6958588ad4a32d855271c0ff35ead63fb2cdf123ef1370700c5c8da984d7c997a6b02751f95a1065ce1ba3db532ce20a98a82732865dbb6 WHIRLPOOL 3c14581ab2084a0b3450776b0ff95452891be10468e037a3fa1d6d7b196920410eb3efc3b7f152643656eecdad514ce754b993b0105698289bc102b33cef19a4
+MISC ChangeLog-2015 1306 SHA256 d5579ea4e6d9489c20b0941e1ce585e1fb6d0936c8780fe02c453333922c9f8a SHA512 8f7524496190f5b544ba56469aa1ba7205687ca95ae1ca88a17668fb6ef58a93891fe99ceb471f8df1916441e334c9151c8c372e1b44335ffee88b59f8636f9d WHIRLPOOL ab5c579d09f165c158d2c0c28ee6b644e1ee198b4d8a91c29f30738fe1eaf4cbfff4fe05341313e9befe22924e6c1d66dbbe232e4fef622d2c2143b0400fcd2b
+MISC metadata.xml 522 SHA256 d5679832cdb62a89d9c0b6156dd972f26e6763ba80bbfb17234deee597c6ad91 SHA512 9d25abeb609fb82b751a8efd9f386ffd877bf959705436c28c0caf772838124afe37c6a4f6fbb10ac827de01de33748583283cc5c0518a842a2feb1040d7f36b WHIRLPOOL bd0b122b0cd348dc1ace4d61c3552309ff87c7f4e2b70901f6dcb53b037ec4af217fd68942d0d810f386a9d27d785bed3a8f90f57deec0935f20487d320b0ebe
diff --git a/x11-misc/i855crt/files/i855crt-i915support.diff b/x11-misc/i855crt/files/i855crt-i915support.diff
new file mode 100644
index 000000000000..5aea3a7dd96c
--- /dev/null
+++ b/x11-misc/i855crt/files/i855crt-i915support.diff
@@ -0,0 +1,70 @@
+--- a/dumpreg.c
++++ b/dumpreg.c
+@@ -36,10 +36,11 @@
+ (p = strstr(*buff_ptr, I810_DC100STR_1)) != NULL ||
+ (p = strstr(*buff_ptr, I810_DC100STR_2)) != NULL ||
+ (p = strstr(*buff_ptr, I810_IGSTR)) != NULL ||
+- (p = strstr(*buff_ptr, I810_CFCSTR)) != NULL;
++ (p = strstr(*buff_ptr, I810_CFCSTR)) != NULL ||
+ (p = strstr(*buff_ptr, I830STR)) != NULL ||
+ (p = strstr(*buff_ptr, I845STR)) != NULL ||
+- (p = strstr(*buff_ptr, I865STR)) != NULL ;
++ (p = strstr(*buff_ptr, I865STR)) != NULL ||
++ (p = strstr(*buff_ptr, I915STR)) != NULL ;
+
+ if(i)
+ {
+@@ -89,7 +90,7 @@
+ chip = i810_chip(&buff, &len, pci_f);
+ if (chip == NULL)
+ {
+- fprintf(stderr, "No know videocard has been found.\n");
++ fprintf(stderr, "No known videocard has been found.\n");
+ exit(1);
+ }
+ pclose(pci_f);
+--- a/i855crt.c
++++ b/i855crt.c
+@@ -254,14 +254,15 @@
+ (p = strstr(*buff_ptr, I810_DC100STR_1)) != NULL ||
+ (p = strstr(*buff_ptr, I810_DC100STR_2)) != NULL ||
+ (p = strstr(*buff_ptr, I810_IGSTR)) != NULL ||
+- (p = strstr(*buff_ptr, I810_CFCSTR)) != NULL;
++ (p = strstr(*buff_ptr, I810_CFCSTR)) != NULL ||
+ (p = strstr(*buff_ptr, I830STR)) != NULL ||
+ (p = strstr(*buff_ptr, I845STR)) != NULL ||
+- (p = strstr(*buff_ptr, I865STR)) != NULL ;
++ (p = strstr(*buff_ptr, I865STR)) != NULL ||
++ (p = strstr(*buff_ptr, I915STR)) != NULL ;
+
+ if(i)
+ {
+- fprintf(stderr,"This driver is untested with your videocard !\n");
++ fprintf(stderr,"This driver is untested with your video card !\n");
+ return p;
+ }
+
+@@ -493,7 +494,7 @@
+ chip = i810_chip(&buff, &len, pci_f);
+ if (chip == NULL)
+ {
+- fprintf(stderr, "No know videocard has been found.\n");
++ fprintf(stderr, "No known videocard has been found.\n");
+ exit(1);
+ }
+ pclose(pci_f);
+--- a/i855crt.h
++++ b/i855crt.h
+@@ -1,3 +1,4 @@
++
+ /*
+ * This is part of the source for i855crt driver
+ * copyright(c) Merello Andrea 2004
+@@ -45,6 +46,7 @@
+ #define I845STR "8086:2562"
+ #define I855STR "8086:3582"
+ #define I865STR "8086:2572"
++#define I915STR "8086:2592"
+ #define MEMSTR "Memory at"
+ #define NONPRSTR "32-bit, non-prefetchable"
+
diff --git a/x11-misc/i855crt/i855crt-0.4-r1.ebuild b/x11-misc/i855crt/i855crt-0.4-r1.ebuild
new file mode 100644
index 000000000000..1b8581227cd6
--- /dev/null
+++ b/x11-misc/i855crt/i855crt-0.4-r1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Intel Montara 855GM CRT out auxiliary driver"
+HOMEPAGE="http://i855crt.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+DEPEND="
+ x11-libs/libX11
+ x11-libs/libXv
+"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-i915support.diff
+
+ # respect CC, fix underlinking
+ sed -i Makefile \
+ -e 's|gcc|$(CC)|g;/LDFLAGS/{s|$| -lX11|g};s|-lXext||g' \
+ || die
+ export LIBS="-lX11"
+ tc-export CC
+
+ # upstream ships it with the binary, we want to make sure we compile it
+ emake clean
+}
+
+src_install() {
+ dobin i855crt
+ insinto /etc
+ doins i855crt.conf
+}
diff --git a/x11-misc/i855crt/metadata.xml b/x11-misc/i855crt/metadata.xml
new file mode 100644
index 000000000000..97cfac8d1cf7
--- /dev/null
+++ b/x11-misc/i855crt/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+ <longdescription lang="en">
+i855crt is a tool to send the output of a i855-based graphic card to the
+external VGA, primarily used for presentations.
+</longdescription>
+ <upstream>
+ <remote-id type="sourceforge">i855crt</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/icewmcp/Manifest b/x11-misc/icewmcp/Manifest
new file mode 100644
index 000000000000..0adc4f10ae09
--- /dev/null
+++ b/x11-misc/icewmcp/Manifest
@@ -0,0 +1,5 @@
+DIST IceWMControlPanel-3.2.tar.bz2 586044 SHA256 6259d27b5de151049b245cac17606ba77d055766ef1706363dc301085c925af9 SHA512 017b257bb30c49eb0b13a9570df70f6f8ccb55087121440cd1331f8364ddc6c23fae26c98bae1bd831f2a9fc52bef531cab9313f3e2ea209ce26d776ee64c47e WHIRLPOOL f133b4998528c10071c39bab3187705ac7f5c6ee87bd2b73de395a88b0953df217b9e4cc2216ca9bf14ac70b190c30879f04eba2f4a1d342b30e994952a4e17a
+EBUILD icewmcp-3.2-r4.ebuild 1481 SHA256 52880d403eec52e7818f0c0341c776776ed625b9ce3b745078523e795df9a8bb SHA512 7dfc3f4fbf96a6e53e3641aaf6cd7f55eca5d7fc977b5431c61f9addd9b30f1b8d9940f277d10638d282b8318f07bbc43082b4de05d895140b78de4d934b9ad2 WHIRLPOOL e4d47f68260e18e3ba15c59b47e5c6598af4b68fc759aa3535969addf6735a8aceb663535b3ebfa418c03ea4f4bfb84f3f9ed665ee1c16905d0fce07496ef9d9
+MISC ChangeLog 2483 SHA256 19b2420c007bf28217745952ba4f8661de3fd176fe2e394defe87bce27a485d2 SHA512 eea465e397da7f3a00f23b949c25a40e700f61bcb04ca02882abf2b6dcf9185dbd44391c85995223378b8bd2fbb0b5dcae337aa1d6e2d54a313bee55334132db WHIRLPOOL 870a864534d2928107c6e234e19d4f647814d89f80f329aa68df309e9ebdf2cff0ebdeff249967a22812ef30b9b9f76cbfcee0b6831b2f69bd19e2b5ae382ff5
+MISC ChangeLog-2015 2247 SHA256 15d5156ff860200f656c36b8a71a3c83df353d5913a81f4e20af83044ab379cb SHA512 6ed597489551d00f8cbd5b974b6f1c6fd7b27e80dd415e663a9f4c2ca16f08847406c91bf5d257522030d73c60a7eeedeb30f1e280788db31db6881ab9003084 WHIRLPOOL 522682155578cb7cc227b64628d6e40432fb31563d869062b6ba94f186416551549c939ad82fa18afe1809b846e8fb2186ba52d59515a1ede132df7568afe566
+MISC metadata.xml 361 SHA256 04a09d2c768af4914ecdba07c10dc48ca219656e5cdb4df2f8da8dd6efcdae86 SHA512 aecb95a7b415e6ca55502d8bc3e1204fcd50b1d44045ba51d753b074050f4b757c48647d8d5e21fe7c9f8be23019b836eb972af4772efab8a28c4f957f7d1302 WHIRLPOOL a2357f716bfe1a6a499d4aa90331d5146d9cca3b27165ed5143ef7a6453df2b20d46a797ab5e9d5b8a990bdbcbec8d336364994e539986f238a5ee8e8adae007
diff --git a/x11-misc/icewmcp/icewmcp-3.2-r4.ebuild b/x11-misc/icewmcp/icewmcp-3.2-r4.ebuild
new file mode 100644
index 000000000000..65d5ea53bf13
--- /dev/null
+++ b/x11-misc/icewmcp/icewmcp-3.2-r4.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+PYTHON_COMPAT=( python2_7 )
+inherit multilib python-single-r1
+
+MY_PN=IceWMControlPanel
+DESCRIPTION="A complete control panel for IceWM using gtk & python"
+HOMEPAGE="http://icesoundmanager.sourceforge.net/index.php"
+SRC_URI="mirror://sourceforge/icesoundmanager/${MY_PN}-${PV}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~ppc x86"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DEPEND="
+ ${PYTHON_DEPS}
+ dev-python/pygtk:2
+ x11-libs/gtk+:2
+ x11-wm/icewm
+"
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}/INSTALL-IceWMCP
+
+src_prepare() {
+ rm -rf licenses
+ mv doc .. || die
+}
+
+src_install() {
+ local dest="/usr/$(get_libdir)/${P}"
+ insinto ${dest}
+ doins -r *
+
+ local w wraps=(
+ "IceWMCP.py IceWMCP"
+ "IceWMCPKeyboard.py IceWMCP-Keyboard"
+ "IceWMCPMouse.py IceWMCP-Mouse"
+ "pyspool.py IceWMCP-PySpool"
+ "IceWMCPWallpaper.py IceWMCP-Wallpaper"
+ "IceWMCPWinOptions.py IceWMCP-WinOptions"
+ "phrozenclock.py PhrozenClock"
+ "icesound.py IceSoundManager"
+ "IceWMCP_GtkPCCard.py GtkPCCard"
+ "IceMe.py iceme"
+ "icepref.py icepref"
+ "icepref_td.py icepref_td"
+ "IceWMCPGtkIconSelection.py IceWMCP-Icons"
+ "IceWMCPEnergyStar.py IceWMCP-EnergyStar"
+ )
+ for w in "${wraps[@]}" ; do
+ set -- ${w}
+ printf '#!/bin/sh\nexec %s %s/%s\n' "${EPYTHON}" "${dest}" "$1" > "${T}"/$2
+ dobin "${T}"/$2 || die
+ done
+
+ dodoc ../doc/*.txt
+ dohtml ../doc/*.html
+ python_optimize "${D}/${dest}"
+}
diff --git a/x11-misc/icewmcp/metadata.xml b/x11-misc/icewmcp/metadata.xml
new file mode 100644
index 000000000000..a2abf8b200e4
--- /dev/null
+++ b/x11-misc/icewmcp/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">icesoundmanager</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/icon-naming-utils/Manifest b/x11-misc/icon-naming-utils/Manifest
new file mode 100644
index 000000000000..fd3d9dbef66c
--- /dev/null
+++ b/x11-misc/icon-naming-utils/Manifest
@@ -0,0 +1,5 @@
+DIST icon-naming-utils-0.8.90.tar.gz 70321 SHA256 044ab2199ed8c6a55ce36fd4fcd8b8021a5e21f5bab028c0a7cdcf52a5902e1c SHA512 6c23f6138e053f9fc6de9d56f94b80849f29f9fde46cdf54b705720cb48b0c660f315484fb36fb9936d4ceade7768aad2d17280545a4b392aa56185c9452999d WHIRLPOOL 86800d8edb196ee9ba063baa99211720dfb242b32225e852ad16d883a237d00ae68546b76f871a912453fae417c93f92e876b26f2112aa9692523c9d8a5ca603
+EBUILD icon-naming-utils-0.8.90-r1.ebuild 597 SHA256 e621277af8ced1d61e5466a100cfe2d26ed154f16366698c5356e5d98365295c SHA512 a6276f7d9d16a360041145d0017ddb95fcb3b8680c69c24dbfc2050c2a8c1f0e8f071a5b896ab7fef4d28d9695f818acd55b6700072e0c7d68aeabc91739c157 WHIRLPOOL e27b53f47fadde3b314bb66f4f02351808e62d4299b3984f8498b28a8596e272f09134c4464954297c9667687dba14720ed17e566667a0c0c3e179770e026c81
+MISC ChangeLog 2459 SHA256 0d6d56621ac0ad4adee49635b3b89351e01f0cffbccc592c7070028255de290e SHA512 0e979a13ed4ffa127d590a51b3751eb6e2a657f12b99fb2ee3067944d455b19b177241799067fd2a545ec0057d1a551618f0a807608c6ad4bf340217693326cd WHIRLPOOL 7088a1ee6776035da850bc09bed583b991df0acf096815ff119a608de9d57ed817ebecdfc91e0d341df95d9b22abfb802c690026c36a465c98b1c157bee4bec9
+MISC ChangeLog-2015 10983 SHA256 080c29fc1a72a8fd87484d81776aa1508a4ba8f690cfec799d1cbb6dddee71e2 SHA512 b29136794230743ba4f5c72dab2f5d5bafb8aa087581f07af543b8707cfc0c26098f03be9cc909b7b59fab7d0e8fc5ce6a3dd7a41ee51fb49cae628560cff7d8 WHIRLPOOL 200975a3c936ee4ed3c765fde6537a02afa278ed560365c34df4b00ea1b2c95732acd820c2b203c278be09a67fe4091e65af201f3f31773697ba11aa28d7ef98
+MISC metadata.xml 228 SHA256 a3c8fb486cd4bec96195197f2974a236066bd02c05d29ace05a844a43bbfd66e SHA512 4f5e63f918a0f8790db49c5b12173c673f86935f00796a04acfed573f618379b73b05b1869941e11f881fe69d4958f5287ce815fd710eadb6ac9f2680894caae WHIRLPOOL 4690b7b1591c1f8a8b55f8693dbd5172642a2d377c2f12f3b20dca75a6befc9eeac6eeb7e83ba2332b760d64b5c6fd0ac0000b5a40c416eaeec05f49eb6de750
diff --git a/x11-misc/icon-naming-utils/icon-naming-utils-0.8.90-r1.ebuild b/x11-misc/icon-naming-utils/icon-naming-utils-0.8.90-r1.ebuild
new file mode 100644
index 000000000000..cf35d41d28c2
--- /dev/null
+++ b/x11-misc/icon-naming-utils/icon-naming-utils-0.8.90-r1.ebuild
@@ -0,0 +1,17 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="Utils to help with the transition to the new freedesktop.org naming scheme"
+HOMEPAGE="http://tango.freedesktop.org"
+SRC_URI="http://tango.freedesktop.org/releases/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
+IUSE=""
+
+RDEPEND=">=dev-perl/XML-Simple-2
+ >=dev-lang/perl-5"
+DEPEND="${RDEPEND}"
diff --git a/x11-misc/icon-naming-utils/metadata.xml b/x11-misc/icon-naming-utils/metadata.xml
new file mode 100644
index 000000000000..95e86c12108a
--- /dev/null
+++ b/x11-misc/icon-naming-utils/metadata.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>freedesktop-bugs@gentoo.org</email>
+ </maintainer>
+</pkgmetadata>
diff --git a/x11-misc/iconbox/Manifest b/x11-misc/iconbox/Manifest
new file mode 100644
index 000000000000..7e093940e11d
--- /dev/null
+++ b/x11-misc/iconbox/Manifest
@@ -0,0 +1,5 @@
+DIST iconbox_0.2.tar.gz 14739 SHA256 6ca36bc55a37a0cca5e1fb91fd66bb3b724355aa8044548008de0ad52aad8e22 SHA512 66b83fad9535667221ecab7fba0e47ecad0ddcc6d67d9baae8e855545bb6ae50ddfa890157ebd0f43fecda384e95ac85bb5b4d47bd0902cc0f47e270b9331b6b WHIRLPOOL 3d30b2ea96848cf28250e2771289bd05a33565266f8fcef11308405c2f271962e608aef40ae6de2b1af44d0426e73e69f3eec851851543808c2c8754387b2f0c
+EBUILD iconbox-0.2.ebuild 496 SHA256 6ee3beb1b90386cab7240c1236cd4f733b74f8bade7b39f19bab178497e05eca SHA512 f6bb3c2b01252749c7ee02d25cddf8bc45e0e38640d427cbbebe60f2b8168b4e583eab0becf35c1d8e883af9e2deb397adb7e345774eebae31d87eb5c4e7cbc8 WHIRLPOOL 743eb99a3a5f44dfebda692fd24d7101144465b9e50083214161bdfe94449c53e9f1f2aa3aaa86532c3de27d78cd1199f55cf13279e89fca82fd9e4a3b75306b
+MISC ChangeLog 3041 SHA256 c81c4d8c2b27ab043740a64126a177d6e1dae222bcb1f530aa1cd4f72e182fcf SHA512 10452b4e1c2dbfef7abbfb58e30295839a415bb603e65b271e386e0c78fc20cb66f010430b1dd36c57ca6233247bb66fc79ceb9ad5a5ac732c72fd7616f375d9 WHIRLPOOL 16d3a253c30d39490a785cfa5552881d4da7081f5b0a103df2d6e71f3e872f84b5cea387753cb59b8a2dd02bf1252b588dc15f003a7928bee38fc800fb63299c
+MISC ChangeLog-2015 1232 SHA256 40671e14f3f51f0c4a3c0631dc59de5722a6228c6616f24843eddb25b2665748 SHA512 57a1783eca52d36126b3453f615e7fd0d5781d3f910c48162f0325150a8694aa2bf2afe63df7b7b57ef407bda84862d8d5ca4d2b2ba2800c5bb5033ec60dd033 WHIRLPOOL 3f08ae13c7dd61cb2a8bae889de5dde7eef86ad812e894b3614d94dcf50f8a1b56b49fdebbc4b4b989f8a646c9365a1253e48f7d1a3f85d364abafcf3f32f39e
+MISC metadata.xml 672 SHA256 f5a5a973b62eee4352565c3ef44f9c438498db2677ec0b3f5a81e7ebedb1cc67 SHA512 f82da2066609c52030b0f546e9a1cefa5f6030015744f686f0dc59523ea76d55679993979d403127381b0f1ea87600878d22359ccf422d7d34e9d44c7cdec9f7 WHIRLPOOL 81e3525cbc851697597478bd35c5f89e86f89e7bddf6c20d6eb5e4185e0071eedc1da7534393d7962a4bfdb42ced9644d1fa6b6116b6ce56e30059f129068fd8
diff --git a/x11-misc/iconbox/iconbox-0.2.ebuild b/x11-misc/iconbox/iconbox-0.2.ebuild
new file mode 100644
index 000000000000..7a1b08baee65
--- /dev/null
+++ b/x11-misc/iconbox/iconbox-0.2.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+
+MY_P=${P/-/_}
+
+DESCRIPTION="App for placing icons in a menu which auto-hides"
+HOMEPAGE="https://packages.gentoo.org/"
+SRC_URI="mirror://gentoo/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc x86"
+IUSE=""
+
+RDEPEND="x11-libs/gtk+:2
+ dev-perl/Gtk2"
+DEPEND="${RDEPEND}"
+
+src_compile() { :; }
+
+src_install() {
+ dobin iconbox{,conf}
+ dodoc Changelog README
+ doman *.1
+}
diff --git a/x11-misc/iconbox/metadata.xml b/x11-misc/iconbox/metadata.xml
new file mode 100644
index 000000000000..5c8d0eabf9df
--- /dev/null
+++ b/x11-misc/iconbox/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+</maintainer>
+<longdescription lang="en">
+Iconbox is a free desktop tool that allows applications to be started quickly
+with one mouse click. When Iconbox is running, the main window is invisible
+until you move the cursor into a chosen area on the desktop. When the Iconbox
+window appears, an application is started by clicking on the respective icon.
+Afterward, the iconbox window disappears.
+</longdescription>
+</pkgmetadata>
diff --git a/x11-misc/idesk-extras/Manifest b/x11-misc/idesk-extras/Manifest
new file mode 100644
index 000000000000..484b6cfe290c
--- /dev/null
+++ b/x11-misc/idesk-extras/Manifest
@@ -0,0 +1,6 @@
+AUX idesk-extras-1.37-stdout.patch 3937 SHA256 7d0c5d974a02f36b90a846fed3d546f952f57cdafb1bb055d938cde2c047e6e4 SHA512 66183641c2085d116e7a7ba6ccbeb872f99675e92a42be3cc6d02df37b66fb45ffefdddad1c5ebbae3551e134577d7cbefac2f248dd9e729cbceb8e3750a22df WHIRLPOOL 5bef093fbb1b6df7e9deba6672a759d02f16dcc57034197ff43e6df01942638b358ddb855f1ea7301be1f5fc6ecf10f63f99debfe1c393753b801d211923ffa6
+DIST idesk-extras-1.37.tar.xz 424684 SHA256 8e0bd7011706685810940adabd9f284e33212971a629f81f693322342a958a68 SHA512 a64ced6bd46945949a0bdbcef8a1f142d6fa2f50e4776f5eead9581430d5ef17d41fbd2a05e284f25cc23c2d2b948d02f2d5d0f51217d43958f40949255b6a28 WHIRLPOOL a688a6d923519dc1e48a904327119c9c5d287759c1cd7cca3fe356b2c29127e38d334a0aab87cd84b886c7d3174ff4cf8b7a0335a16c41b7a79648a4631d0acd
+EBUILD idesk-extras-1.37-r2.ebuild 615 SHA256 7d8d5648e006b4313c40b07afbfaed17b38d20a64e919a323ae331c01df31e89 SHA512 64f5a1d8e8a8a1af466e0b3cb2de9c0f6465fb0ef79c3a93010dbd5172099d9b475b7237ecafa797d28abaef4116e035f1e3eb971ae34f462ad52f9a947ca371 WHIRLPOOL 2d3b502f6a6668461b2193fa90d605a216cfbd4e716566a4dd61096785121d61dbecd19e54a2fdc2e4b410fd0548986d9105d86915fe332168d9cd9447bdfe94
+MISC ChangeLog 2613 SHA256 40201ade50b2d9f22a1dc7a56e911ca39840157896e2d80d81800ea670e13d16 SHA512 1f839beb18351d1733cb061405dcf0316f4657170246b1c68a78068a048ab9334d52d6e05d7be2179b2f0588df0d49873fe4fd41dc087ced7068d777cba79ab3 WHIRLPOOL 7dd2d308d681e6ce2791b1f52f4ca1b1dd4b2855197844fcecf5667d26375bc950edb3d1fce38472d0f077be9b3486cd6ebc6484fa4e564f1c614f978660d50c
+MISC ChangeLog-2015 1202 SHA256 76d26551e8dd4d1e1345a85776c03c094d223de7c76bd4c098d1844ebc3b609c SHA512 c2dd8ff4149f192ed34bb1ccb70f07875ea5abee7f967dde5cb67b2b9f2bb9eb988306d828a0d79432a9c7296a9adb1966fc92621fb149a1851cfaddde10eb37 WHIRLPOOL 3c9bfc903c3269b59dfe2ebd15518a9c49a5e5e8b8ea66cd204a78e4e71e48fbd0e3bb8fe85b964a73175ab2b6c51e10d8a2695a013ab02f357f9c85752996aa
+MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968
diff --git a/x11-misc/idesk-extras/files/idesk-extras-1.37-stdout.patch b/x11-misc/idesk-extras/files/idesk-extras-1.37-stdout.patch
new file mode 100644
index 000000000000..d827184ff9a4
--- /dev/null
+++ b/x11-misc/idesk-extras/files/idesk-extras-1.37-stdout.patch
@@ -0,0 +1,112 @@
+From b8e096f75c9a2fb3a5f02146f0e52ccae796aa87 Mon Sep 17 00:00:00 2001
+From: hasufell <hasufell@gentoo.org>
+Date: Sun, 6 Oct 2013 14:39:02 +0200
+Subject: [PATCH] use stdout to avoid broken tmp files
+
+e.g. fontconfig errors will break parsing
+---
+ idesktool | 28 ++++++++++++++--------------
+ 1 file changed, 14 insertions(+), 14 deletions(-)
+
+diff --git a/idesktool b/idesktool
+index 931ad6f..90e5ceb 100755
+--- a/idesktool
++++ b/idesktool
+@@ -88,10 +88,10 @@ end" > ~/.ideskrc
+ newcaption()
+ {
+
+-$DIALOG --wizard --title "idesktool 1.36" \
++$DIALOG --stdout --wizard --title "idesktool 1.36" \
+ --inputbox "Icon Caption:\n
+ (Leave blank for no caption)"\
+- 8 40 "$cap" 2> ~/.idesktop/inputbox.tmp.$$
++ 8 40 "$cap" 1> ~/.idesktop/inputbox.tmp.$$
+ retval=$?
+ case $retval in
+ 0) cap=$(cat ~/.idesktop/inputbox.tmp.$$)
+@@ -132,10 +132,10 @@ modcaption=NoCaption$$
+ fi
+
+
+-$DIALOG --wizard --title "idesktool 1.36" \
++$DIALOG --stdout --wizard --title "idesktool 1.36" \
+ --separate-output --2inputsbox "NOTE: The default right-click command \n
+ runs this configuration tool (recommended)."\
+- 18 40 "Left-Click Command:" "$command" "Right-Click Command:" "idesktool $modcaption.lnk" 2> ~/.idesktop/inputbox.tmp.$$
++ 18 40 "Left-Click Command:" "$command" "Right-Click Command:" "idesktool $modcaption.lnk" 1> ~/.idesktop/inputbox.tmp.$$
+ retval=$?
+
+ case $retval in
+@@ -187,10 +187,10 @@ modifycaption()
+
+ {
+
+-$DIALOG --wizard --title "idesktool 1.36" \
++$DIALOG --stdout --wizard --title "idesktool 1.36" \
+ --inputbox "Icon Caption:\n
+ (Leave blank for no caption)"\
+- 8 40 "$currentcaption" 2> ~/.idesktop/inputbox.tmp.$$
++ 8 40 "$currentcaption" 1> ~/.idesktop/inputbox.tmp.$$
+ retval=$?
+ case $retval in
+ 0) cap=$(cat ~/.idesktop/inputbox.tmp.$$)
+@@ -235,10 +235,10 @@ modcaption=NoCaption$$
+ fi
+
+
+-$DIALOG --wizard --title "idesktool 1.36" \
++$DIALOG --stdout --wizard --title "idesktool 1.36" \
+ --separate-output --2inputsbox "NOTE: The default right-click command \n
+ runs this configuration tool (recommended)."\
+- 18 40 "Left-Click Command:" "$command" "Right-Click Command:" "idesktool $modcaption.lnk" 2> ~/.idesktop/inputbox.tmp.$$
++ 18 40 "Left-Click Command:" "$command" "Right-Click Command:" "idesktool $modcaption.lnk" 1> ~/.idesktop/inputbox.tmp.$$
+ retval=$?
+ case $retval in
+ 1) rm -f ~/.idesktop/inputbox.tmp.$$
+@@ -423,13 +423,13 @@ argyyep()
+
+ firstwindow=argyyep
+
+-$DIALOG --title "idesktool 1.36" \
++$DIALOG --stdout --title "idesktool 1.36" \
+ --radiolist "Desktop Icon Manager" 18 40 0 \
+ "Properties" "View or Edit This Icon" off \
+ "Delete" " Remove This Icon" off \
+ "New" " Add a New Icon" off \
+ "Refresh" " Reload the Desktop" off \
+- "Configure" " Edit iDesk's conf. file" off 2> ~/.idesktop/checklist.tmp.$$
++ "Configure" " Edit iDesk's conf. file" off 1> ~/.idesktop/checklist.tmp.$$
+
+ retval=$?
+
+@@ -469,13 +469,13 @@ argynope()
+
+ firstwindow=argynope
+
+-$DIALOG --title "idesktool 1.36" \
++$DIALOG --stdout --title "idesktool 1.36" \
+ --radiolist "Desktop Icon Manager" 18 40 0 \
+ "Properties" "View or Edit an Icon" off \
+ "Delete" " Remove an Icon" off \
+ "New" " Add a new Icon" off \
+ "Refresh" " Reload the Desktop" off \
+- "Configure" " Edit iDesk's conf. file" off 2> ~/.idesktop/checklist.tmp.$$
++ "Configure" " Edit iDesk's conf. file" off 1> ~/.idesktop/checklist.tmp.$$
+ retval=$?
+
+ case $retval in
+@@ -511,8 +511,8 @@ esac
+ ##########################################################
+ editconfig()
+ {
+-Xdialog --title "iDesk Configuration" --fixed-font "" \
+- --editbox ~/.ideskrc 0 0 2> ~/.idesktop/editbox.txt.$$
++Xdialog --stdout --title "iDesk Configuration" --fixed-font "" \
++ --editbox ~/.ideskrc 0 0 1> ~/.idesktop/editbox.txt.$$
+
+ case $? in
+ 0) cat ~/.idesktop/editbox.txt.$$ > ~/.ideskrc
+--
+1.8.3.2
+
diff --git a/x11-misc/idesk-extras/idesk-extras-1.37-r2.ebuild b/x11-misc/idesk-extras/idesk-extras-1.37-r2.ebuild
new file mode 100644
index 000000000000..326a880a51d5
--- /dev/null
+++ b/x11-misc/idesk-extras/idesk-extras-1.37-r2.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="Graphical configuration for iDesk plus icons"
+HOMEPAGE="https://web.archive.org/web/20070828214007/http://www.jmurray.id.au/idesk-extras.html"
+SRC_URI="https://dev.gentoo.org/~hasufell/distfiles/${P}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+RDEPEND="app-shells/bash
+ x11-misc/idesk
+ x11-misc/xdialog"
+
+PATCHES=( "${FILESDIR}"/${P}-stdout.patch )
+HTML_DOCS=( ${PN}.html )
+
+src_install() {
+ dobin idesktool
+ insinto /usr/share/idesk
+ doins -r icons
+ einstalldocs
+}
diff --git a/x11-misc/idesk-extras/metadata.xml b/x11-misc/idesk-extras/metadata.xml
new file mode 100644
index 000000000000..6f49eba8f496
--- /dev/null
+++ b/x11-misc/idesk-extras/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<!-- maintainer-needed -->
+</pkgmetadata>
diff --git a/x11-misc/idesk/Manifest b/x11-misc/idesk/Manifest
new file mode 100644
index 000000000000..a70b01ad2a62
--- /dev/null
+++ b/x11-misc/idesk/Manifest
@@ -0,0 +1,6 @@
+AUX idesk-0.7.5-glibc-2.12.patch 544 SHA256 b9471ba1727f4dacff5d304c29bd81aa97070fa4581770fd4331e168f6711bdb SHA512 f21f419d7facc62990a35b67e57bec2f9b46c76a6026a267348edfbd0207c14682cf1a3b8ca0ab4d508668a0c4dc9cc8ad06921b3218f077225bafc3f1ae9fc6 WHIRLPOOL 8ab0d364be8a9973b1ec474c532cbf10f6405b7235e5ed833282c3210ae9a87c91f1e23f71f267e6f99ffb9812f642f737d418ec5577fd67218ec124c8c83bdc
+DIST idesk-0.7.5.tar.bz2 185858 SHA256 d4b7ea5dcf6d49d83e2df9512d4c6388f11632a702b14f42a1bc6bffb617b3d3 SHA512 42c15cecc6e2cf6546420542fc4480902fd33c26c19ffc32e65eb04d09116d3b80f5539cde4ca86d4bec30ce96417752bfe7416ec83c531235d9064d06ec0475 WHIRLPOOL f5cb80e1efbbfe36cc1956b41b89df3efc2d6b675e67e6e5dae7a8b0adf96e96ce117550d16769e8716d8d886b9707677d7328b3b903358abf0638c9f58237de
+EBUILD idesk-0.7.5-r3.ebuild 771 SHA256 8797e88de7979bbcaa334419f4246c68a8efef87dc1ebc8c85ec15489c611edf SHA512 a2dc376a5faa6c342d6ff3dfca473bc91a8810ec063a9300225857696e773117422fb5a035994eabd67b349849664cb4dfcbf4a2a63f6829791700e7ef14108b WHIRLPOOL 2c1a17fac08d6fa685af748d69f49fc014757ccbc888ef3000c04c4ddd59e2e1b47a1e01b7b5648e9d367eaf8aa73b220122ce3e97e589b7a84d06b6bc10ebaf
+MISC ChangeLog 2464 SHA256 088ec4a93d2101d10a2b9963098eb86ec50f52064a93b8f37618de24237ca5cb SHA512 8a15d0411eeabc5c659ec408f7801fc5e1134b23829dea26fbeb696e4eec897547308589a43e61fe730f98e0e1e418e788aefb94e38f170c1c7c512157965a2e WHIRLPOOL c9de4de28826a182b04629b2ac5a149a4a87217d8a2a8a2ab4e3ce124019a203b810b2f5ffc8a150415f892f6d5ee90b51f603a7181da1cd5e46041f3c67478a
+MISC ChangeLog-2015 8100 SHA256 bd7802ee48ff59d3545c59ef9fdc8715a790ef476504bb3a11cc664fa8f2c63b SHA512 a73a062ce5c21fefe18ce20a2ee78d72879578b3b3735fd45aaae795f909103baa3bd2356348bc6e8de1352f3f41796599988ba25bebd756399b3094eea47e72 WHIRLPOOL 5d578061c76a36d9dc63d707143a406863f2400772fb6fbb1eca4f4f7aaaaf0531172c753408816e36c03ea3918d7f906228c22300335f9a0ea9f5cdf04290c4
+MISC metadata.xml 351 SHA256 331634542af011dd1d2ffee83f2c90a40c51c1e2d759fab57806e6b2f4cf7efc SHA512 038678d7cde9b7ec4365e763f7a5759a36eb125b7852d9e110f31e1737ee04c1043c73dee482f998c4284176f8d46cc7ee8a1a2e044651e9945e56d6523c39e2 WHIRLPOOL 27a5115783343159bdd924ae52b3a58935e54aceda1cd3d7c9160401be9d76f63e33e6b9cea455cc365af3f0d6056f42df9e503d94795fd168b23ed1973e11d8
diff --git a/x11-misc/idesk/files/idesk-0.7.5-glibc-2.12.patch b/x11-misc/idesk/files/idesk-0.7.5-glibc-2.12.patch
new file mode 100644
index 000000000000..c4ac03e206e9
--- /dev/null
+++ b/x11-misc/idesk/files/idesk-0.7.5-glibc-2.12.patch
@@ -0,0 +1,17 @@
+Fixes build with glibc-2.12
+
+http://bugs.gentoo.org/333515
+https://bugs.launchpad.net/ubuntu/+source/idesk/+bug/592602
+
+Patch written by Bhavani Shankar <bhavi@ubuntu.com>
+--- idesk-0.7.5/src/DesktopConfig.cpp
++++ idesk-0.7.5/src/DesktopConfig.cpp
+@@ -24,6 +24,8 @@
+
+ #include "DesktopConfig.h"
+ #include "Util.h"
++#include <sys/types.h> // For stat()
++#include <sys/stat.h> // For stat()
+
+ //the initilizer list just sets the program defaults for non-necessary options
+ DesktopConfig::DesktopConfig(Database db, string ideskrcFile) :
diff --git a/x11-misc/idesk/idesk-0.7.5-r3.ebuild b/x11-misc/idesk/idesk-0.7.5-r3.ebuild
new file mode 100644
index 000000000000..0ca01640be47
--- /dev/null
+++ b/x11-misc/idesk/idesk-0.7.5-r3.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="Utility to place icons on the root window"
+HOMEPAGE="http://idesk.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="alpha amd64 hppa ppc ppc64 sparc x86"
+IUSE=""
+
+RDEPEND="
+ dev-libs/glib:2
+ dev-libs/libxml2
+ media-libs/freetype
+ >=media-libs/imlib2-1.4[X]
+ media-libs/libart_lgpl
+ x11-libs/gtk+:2
+ x11-libs/pango
+ x11-libs/startup-notification"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+PATCHES=(
+ # bug 333515
+ "${FILESDIR}"/${P}-glibc-2.12.patch
+)
+
+src_prepare() {
+ default
+ sed -i \
+ -e 's,/usr/local/,/usr/,' \
+ examples/default.lnk || die
+}
+
+src_configure() {
+ econf --enable-libsn
+}
diff --git a/x11-misc/idesk/metadata.xml b/x11-misc/idesk/metadata.xml
new file mode 100644
index 000000000000..6ae5edb8732a
--- /dev/null
+++ b/x11-misc/idesk/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">idesk</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/imake/Manifest b/x11-misc/imake/Manifest
new file mode 100644
index 000000000000..7cffb9f5b897
--- /dev/null
+++ b/x11-misc/imake/Manifest
@@ -0,0 +1,5 @@
+DIST imake-1.0.7.tar.bz2 156543 SHA256 690c2c4ac1fad2470a5ea73156cf930b8040dc821a0da4e322014a42c045f37e SHA512 b3527c8fead25c6e093e1fe4a39e60ff210212dcd323e206505b9e872a3f36d9db85f85cab5a6f0fa914fa5c558ef54b499b2b13ccd66739223e4e72ef805d08 WHIRLPOOL 4aa6d4819eb672e6470f7194f74ce997e7d3572f24c272ecab2211e5c141a9b8f9a71a2d137ac18e31628c921ecba0c964b90feff4233b00e095b5536d0d81e1
+EBUILD imake-1.0.7.ebuild 704 SHA256 4e565cc1a75c7da58b1988bd3bbf94f872e3eebd5c9b7fbee9f2ca4e12ab0a2a SHA512 bd9ebcfe0809c7772bf8188a866cbb03cb808be35d577f2d14e3a8f7e6acb6a342784c96e246b7dd55c3a5ef834e12cc82b5dd6119165df06d38ee13edc6f3af WHIRLPOOL b5504fd7b5c0d670b6b9c5d58f1a8e836afa13b486f26968465e9aaa0ddfc737d0c3b00a1bb214f4ce8e0c3e6c03c29f5d1771020fa5e43fe985788ca00b546d
+MISC ChangeLog 2658 SHA256 4916811fae4a7f6bf0fbb2fcd1a423ea90e28065f6a51a0fb504ff4ed100ce1f SHA512 7241903f3e083a683900e3be5176f23fab66152ac127b98ad80a2a1a2362ee47570b48961c256306e898a3a4eaf8d45df510a886647123fc99658fd04d151d2b WHIRLPOOL 6dee31a861a9c5f95dd6f22bc6c1fd51c7dbf092848a3d1a3646f2e55796f83124c3ba88759ef2b5aa3409cb7490d6877dc8aac4c00efa74eb7e4260ad7d0d2b
+MISC ChangeLog-2015 9073 SHA256 6e54112b661ce9cd4395926ef8473f99e1c9641915108b159447f9a49f3f8a98 SHA512 f05586f4f26a9d77d33cd15cc80c5e64996bb8ebd763d281a74ac6993d6f418f1c8e978579f996d7758dce0f85410e6127a3cb645d3693a18d4a30d6d2025e26 WHIRLPOOL 93f7c8c6525e5ff308aa6dd309777f978491c7d9f04d4aa2eb0bb09323e152a13833db52465273168d9840bfd5384c0e978dadb25a5e867872b93885df483ee5
+MISC metadata.xml 230 SHA256 677e4595d00a3098fde05ae33118b9ac05867dc5729c9cd579dc8badd1a28f68 SHA512 d7a2643abd1904cc5ff4d91cbb6f1baeb7f75fd1db542c5e14f19412f4f0bd4b903f8e703a7662ba7482c79dac5529057760b6427599d35e0842755fd946e057 WHIRLPOOL 4866c82c6428eae526c0a514c988e4119221f77b0e8bfb04fec713dd3ba516c69afc776a0c6f53c29abfd8507aa23801614db1ba544dd0a0dd4d6a9462c27306
diff --git a/x11-misc/imake/imake-1.0.7.ebuild b/x11-misc/imake/imake-1.0.7.ebuild
new file mode 100644
index 000000000000..7c067f92b0ae
--- /dev/null
+++ b/x11-misc/imake/imake-1.0.7.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+XORG_STATIC=no
+inherit xorg-2
+
+DESCRIPTION="C preprocessor interface to the make utility"
+KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
+IUSE=""
+
+RDEPEND="x11-misc/xorg-cf-files"
+DEPEND="${RDEPEND}
+ x11-proto/xproto"
+
+src_prepare() {
+ # don't use Sun compilers on Solaris, we want GCC from prefix
+ sed -i \
+ -e "1s/^/#if defined(sun)\n# undef sun\n#endif/" \
+ imake.c imakemdep.h || die "sed failed"
+ xorg-2_src_prepare
+}
diff --git a/x11-misc/imake/metadata.xml b/x11-misc/imake/metadata.xml
new file mode 100644
index 000000000000..e943b72b8a48
--- /dev/null
+++ b/x11-misc/imake/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>x11@gentoo.org</email>
+ <name>X11</name>
+</maintainer>
+</pkgmetadata>
diff --git a/x11-misc/imwheel/Manifest b/x11-misc/imwheel/Manifest
new file mode 100644
index 000000000000..bfa43cf57d92
--- /dev/null
+++ b/x11-misc/imwheel/Manifest
@@ -0,0 +1,7 @@
+DIST imwheel-1.0.0_pre13_p20100827.tar.bz2 125776 SHA256 41b74fea9ff7818b79ce93eacb3fbdf2ba376890846cd17aa9373abe082475b9 SHA512 3b5ae23a1762122f6fe86610da6ad65118e8e743a88f370d6f6cdd084b4aa5f08d3089fccf3fca3a69b06560d7c2d7cfecfde1375154af9f519c0d4fe996080c WHIRLPOOL 9a3bea9ebad8fd1eec09b1ed88b36ee03893b3754da79a84d23495c32c8035ae01558bcf05f3af809ebaa9df9afbc7b0aac7820977c4d2cd93b7503896b768e1
+DIST imwheel-1.0.0pre12.tar.gz 186424 SHA256 2320ed019c95ca4d922968e1e1cbf0c075a914e865e3965d2bd694ca3d57cfe3 SHA512 4781f8c05e81f931452fb74745a93c907c695ed8b8b25442411db3a91ce4d3834e9f2a0789c950d7e515ad89aca28017844250affa5033988e79e5f7ff33f112 WHIRLPOOL 7189ffb1b08716b6a357d997046385de3cea7e2c9db186719d6e49fddbd3632711dd71e4f5afc0632984e8c4116c84f10ac80f871b70ad4887a08b8639c12086
+EBUILD imwheel-1.0.0_pre12.ebuild 1061 SHA256 f463b1568523d1347210e3706606e40047aa251b879d4e29510291bc92eb5c30 SHA512 eed0ddf3f93076da8f88c1558746687bc8b40d3365a1ddc6290c835ab83b1770f701e6097258313aa2bc1e366693cfb40732f8f143994d8bd1c8835625209445 WHIRLPOOL 6225a0e57c84d4dd5c55da7f889ef4c3941622375704863cd3b9a52e7f0b65f6ba42c9b39337e48b321181cb028d5110684d05ffef27d75e6e5ee3c4bf60785a
+EBUILD imwheel-1.0.0_pre13_p20100827.ebuild 933 SHA256 1754bbe31fcc722b63f41de03ea8d3fca81e09b3f50240b9127b3d6f88d3b9b8 SHA512 6f48187164fbf3f9586f9f09e92e912eb4669346d78af8d8f9fe7f30cd03111acbb78c8f847974704fb83443c432c617db5fe4684efc3695a18dcdb5219eecdf WHIRLPOOL 8b3ebd7874dc68bfa85da23a6d95f495efc17289f6ce7c9179a4002d725684ae29dc39330c02012a5fb42be89cdf7283b1326eaaa1464297dd499ea1c105cfbf
+MISC ChangeLog 3071 SHA256 60b8230e9ce8c85a1135461e4712d0c4f45e984d8d10b0e375068cf27a6e7008 SHA512 9121449aff084a0a132339e73c7c9dce498c51bad766e9688c5ac120bcfb0e544ebf9b3590701bd767897131756711312bdcec6279ec079b3908f1f98a06e434 WHIRLPOOL ff50473cad1abb93145ac5d3b6dde12ae2ea815d8fd39b3a966287d8c30731196982dfc61664539dc311223707e34ce458ccd6c35f567f4a86cbb3be0697ccc4
+MISC ChangeLog-2015 2885 SHA256 b6c2861581110ee1e68745bded6d2a9591277da17dfb5490b8b110abcc3a7b17 SHA512 8f9af5fa22bb5eaf12210ed2a49830019a7cd26c2ada27ba7698ba4e9e71b08f58508aa2995c871c3a6125c9ca56f725b272ea62c83dab4cd1f45cce432d8cb5 WHIRLPOOL 47b63c71ea67770fb5d5d89933f4d3ea84a92442ffa0316e5b31b508a7a0da0698afb818fe137c0a3d4e48b703df2c13f617e7c66d6ebf02b4803a1a99f648d4
+MISC metadata.xml 353 SHA256 bda9e88d6bedebe989dc46e862e077f5ed6b69e64ec9ac8d450eb25b4119beff SHA512 2cf1e0e8cf35f3aa5b0e543a694ab9869f28ed457dbd7294463bdbe96960cbd63709fc8557f7e1c8ef0d2c77e1a6ffebf4d39ed6a5e52a3683d8d6f336d76ef5 WHIRLPOOL 4056d680fd337f9e3c3555aa4101ca8e21ffb606985052f3578db6fc714f306c74af921e6ada723410dbb518db21ffc5a5de86ec86bebf13d552e314cff73cfe
diff --git a/x11-misc/imwheel/imwheel-1.0.0_pre12.ebuild b/x11-misc/imwheel/imwheel-1.0.0_pre12.ebuild
new file mode 100644
index 000000000000..572eddde2234
--- /dev/null
+++ b/x11-misc/imwheel/imwheel-1.0.0_pre12.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+inherit eutils
+
+DESCRIPTION="mouse tool for advanced features such as wheels and 3+ buttons"
+HOMEPAGE="http://imwheel.sourceforge.net/"
+SRC_URI="mirror://sourceforge/imwheel/${P/_/}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 ppc x86"
+IUSE=""
+
+RDEPEND="x11-libs/libXtst
+ x11-libs/libX11
+ x11-libs/libXmu
+ x11-libs/libXt
+ x11-libs/libXext"
+
+DEPEND="${RDEPEND}
+ x11-proto/inputproto
+ x11-proto/xextproto
+ x11-proto/xproto
+ >=sys-apps/sed-4"
+
+S=${WORKDIR}/${P/_/}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ #epatch "${FILESDIR}"/${P}-gentoo.diff
+ sed -i -e "s:/etc:${D}/etc:g" Makefile.am || die
+ sed -i -e "s:/etc:${D}/etc:g" Makefile.in || die
+}
+
+src_compile() {
+ local myconf
+ # don't build gpm stuff
+ myconf="--disable-gpm --disable-gpm-doc"
+ econf ${myconf} || die "configure failed"
+ emake || die "parallel make failed"
+}
+
+src_install() {
+ einstall || die "make install failed"
+ dodoc AUTHORS BUGS ChangeLog EMACS M-BA47 NEWS README TODO
+}
diff --git a/x11-misc/imwheel/imwheel-1.0.0_pre13_p20100827.ebuild b/x11-misc/imwheel/imwheel-1.0.0_pre13_p20100827.ebuild
new file mode 100644
index 000000000000..001734201dfb
--- /dev/null
+++ b/x11-misc/imwheel/imwheel-1.0.0_pre13_p20100827.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="2"
+
+inherit autotools eutils
+
+DESCRIPTION="mouse tool for advanced features such as wheels and 3+ buttons"
+HOMEPAGE="http://imwheel.sourceforge.net/"
+SRC_URI="mirror://gentoo/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ppc ~x86"
+IUSE=""
+
+RDEPEND="x11-libs/libXtst
+ x11-libs/libX11
+ x11-libs/libXmu
+ x11-libs/libXt
+ x11-libs/libXext"
+
+DEPEND="${RDEPEND}
+ x11-proto/inputproto
+ x11-proto/xextproto
+ x11-proto/xproto
+ >=sys-apps/sed-4"
+
+src_prepare() {
+ sed -i -e "s:/etc:${D}/etc:g" Makefile.am || die
+ eautoreconf
+}
+
+src_configure() {
+ local myconf
+ # don't build gpm stuff
+ myconf="--disable-gpm --disable-gpm-doc"
+ econf ${myconf} || die "configure failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "make install failed"
+ dodoc AUTHORS BUGS ChangeLog EMACS M-BA47 NEWS README TODO
+}
diff --git a/x11-misc/imwheel/metadata.xml b/x11-misc/imwheel/metadata.xml
new file mode 100644
index 000000000000..fb4aea0bc42c
--- /dev/null
+++ b/x11-misc/imwheel/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">imwheel</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/ipager/Manifest b/x11-misc/ipager/Manifest
new file mode 100644
index 000000000000..5edd0341084b
--- /dev/null
+++ b/x11-misc/ipager/Manifest
@@ -0,0 +1,9 @@
+AUX ipager-1.1.0-gcc43.patch 644 SHA256 522b5d1006e4e45f6d2e1cc0cc32ae221dc3ccf8428a9361b4cf757b76e76932 SHA512 08f2ced48ca7e117a7b0c70d7198e429d8fa0ea6dbffcd421c969fbfca6fbd7f301dc0c6cd31f2bd2f4d954a48c56d4e7ecf05a59c0a3ffa4ec4cd4a110c4ba5 WHIRLPOOL 81b2b9bbc8635a910d41cf6fe333140f57dd2586d9d2e61601530c7b6f2c4dd7e8ed0ed805f8650844d20d1e70e02c6364ccb19cbd708b37b1e7b0663736c8f9
+AUX ipager-1.1.0-gcc47.patch 198 SHA256 a18c3bcecd5636fb05f607557bee807eabc7a34e3e32148d552b36cbdf7163de SHA512 c6a851b5b6a76f2ada504ab3e727a0dc811e03e70be330a26c2001854f873ccbdbe337e9aa010fcfd2f6c644d692ef13185d6dfb91187c63072574cca581c17f WHIRLPOOL bb4573745bac4c89be7e6833a861b235094255ca0fbe8d38232a9518e5af6625fc6342ec889afda2491dee43cea801ef28256461364958a7f66cd0d2770db208
+AUX ipager-1.1.0-scons_flags.patch 901 SHA256 24ad546814440348bca718987a04cd4387d26a8b7b65c3fa63af712c62566df6 SHA512 a44671bd29d99219f2b36d9718e32e6022f971b805531196dc464c92f8dee7df6a7bbf9d931e0a69dc617ac1dd1876929a8d77a0a7edd2014e9754f2a8070efb WHIRLPOOL aa53dccdc3eec8d94d19bb0ce20dddd6ca481850695e9bba8792932963d2b4ee4dd0da4fb8a05362f148b78b78fbda29bcb397706af060f96c6db1db157394b2
+AUX ipager-1.1.0-scons_imlib2.patch 663 SHA256 b897845633e88514456565af26cd95667811acd84014776532a23a53d77b6b02 SHA512 1b4e0196189ec64b48c4c841d03f3a3e3c516ffd86f432d536e7bea51ade407fe430342d5d690d00b46cc7b727c7d12441f55416f7eea6dc933fb07a2ce16e14 WHIRLPOOL 86c6de68f222ba6aa8b7b073f00203bc74bf27e5389022d654cb4409d51f18d8af91685803dfc7682f4f00b73fb54ac8472e4b1508d9d84637f7a17dc57f0969
+DIST ipager-1.1.0.tar.gz 30499 SHA256 d2ad9a3aeb376644a76f57d2b275182cb8af0b64bd6a66c1791da60652a81123 SHA512 34f2982b4378e8de7479803d205c2d9157b71863278382c91d0c3daaee57352f2f6678fa338f34dc9e6bd70081e5f0bc03634632a7b6ab20a507b6fad3c2e5e3 WHIRLPOOL 51555487cf33fdbad376db98114f656ad2e35fe55303f2c28167cfee66c43a7b662e523bb3c4e6debb368c375f7ddfb731f086cf5ed6f25e7052c0140a3cc077
+EBUILD ipager-1.1.0-r1.ebuild 1099 SHA256 28cd35318018ca1fd784d03203eee727b404f38839562e99afcb4758e5db6295 SHA512 e35156736ef0c5f913da3104f1f6a8788d0c153040914c019ba604e152c648a2fb0441ca1c48ac491a7fdc8202be987ebc2a563ec6923674d9ca495c0d94e236 WHIRLPOOL 3275d9d800a6d99b60d733096a45665dcd4b4b342c5c4e8c8e1f685ea9a85bdddcf834ecc284906b7a223bcdcd39d146ff28926a121dbdfa1a67656f7d62cf3e
+MISC ChangeLog 3061 SHA256 ee9cf42535e0ececf888923b6f8b1550c90bec8cb83048b67444328c80f2b90a SHA512 8825f1ca5f7b4e4e4a7cb67cdc7aa7223e2322b0e9dcd7af42ce300593582fc5830f5f6bc8a5906afb0e85a25bd8f69f871e451960394796ad6dd7eec29facea WHIRLPOOL a7c43846e20daa23656de6dd9be37d8b1d33cf43c137fe20498cb450e69913c1d9e57d4ed5b256787a115b3c4443f983d90534f232c6486c7fa8808229060bef
+MISC ChangeLog-2015 991 SHA256 eb63830ff73c338029acce400cf0a641254fdfbd543ffc0974adf3fe75865dbc SHA512 e066cd1be035579abb6d4981496865112eb546ad505d0522c02450631956a7f1ad58f855bf3b115138fcd53db647052b3a25da53f8e7c81d895a925956ad7382 WHIRLPOOL c9cdd3954ffffc470b2ee0f9136480a2dde1559462f19d04f4c50b2b858f3ea0d15c25eca6d6f1accd874b80d9a8a8e82933c3d0d61ad7ecad28d9a5b0d513b4
+MISC metadata.xml 283 SHA256 ee4ae18293e8a0b0542bf77febaefb2a9712ded79d78fdc0f04464ace1ca0919 SHA512 9c5545699a3fdfd7cf47f22ee7988ebc7c4cd1c25b73dc64e44be3f2e45fb55c06b56634fc9d788a70defbde12b991f357ff7a9da1d644f2596e76c44eb9d555 WHIRLPOOL ebcf5c1568c8bd81612090fba08996713c9cbf12fb51f1ceda1e7330f91da1442791d8432958af4f9902c74d0eea050c7f6bad26b34d2b469ff49f88bf915267
diff --git a/x11-misc/ipager/files/ipager-1.1.0-gcc43.patch b/x11-misc/ipager/files/ipager-1.1.0-gcc43.patch
new file mode 100644
index 000000000000..ca7752ac99d0
--- /dev/null
+++ b/x11-misc/ipager/files/ipager-1.1.0-gcc43.patch
@@ -0,0 +1,29 @@
+Fix ipager to compile with GCC 4.3.
+
+Patch taken from Gentoo bug #173562.
+
+X-Gentoo-Bug: 173562
+Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
+
+--- a/iconfig.cpp 2008-08-22 21:35:16.000000000 +0600
++++ b/iconfig.cpp 2008-08-22 21:35:20.000000000 +0600
+@@ -30,7 +30,7 @@
+ #include <iostream>
+ #include <fstream>
+ #include <sstream>
+-
++#include <stdlib.h>
+ #include <sys/stat.h>
+ #include <sys/types.h>
+
+--- a/wm.cpp 2008-08-22 21:52:36.000000000 +0600
++++ b/wm.cpp 2008-08-22 21:52:40.000000000 +0600
+@@ -27,7 +27,7 @@
+
+ #include <time.h>
+ #include "atoms.h"
+-
++#include <stdlib.h>
+
+ WM * WM::m_instance = 0;
+ bool WM::x_error = false;
diff --git a/x11-misc/ipager/files/ipager-1.1.0-gcc47.patch b/x11-misc/ipager/files/ipager-1.1.0-gcc47.patch
new file mode 100644
index 000000000000..f4c899302aeb
--- /dev/null
+++ b/x11-misc/ipager/files/ipager-1.1.0-gcc47.patch
@@ -0,0 +1,12 @@
+https://bugs.gentoo.org/423215
+
+--- a/ipager.cpp
++++ b/ipager.cpp
+@@ -29,6 +29,7 @@
+ #include <config.h>
+ #endif
+
++#include <unistd.h>
+ #include <iostream>
+ #include <string>
+ using namespace std;
diff --git a/x11-misc/ipager/files/ipager-1.1.0-scons_flags.patch b/x11-misc/ipager/files/ipager-1.1.0-scons_flags.patch
new file mode 100644
index 000000000000..6eb8b1ff4f53
--- /dev/null
+++ b/x11-misc/ipager/files/ipager-1.1.0-scons_flags.patch
@@ -0,0 +1,24 @@
+Make sure Scons takes the CFLAGS/CXXFLAGS/LDFLAGS etc for the system.
+
+Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
+
+diff -Nuar ipager-1.1.0.orig/SConstruct ipager-1.1.0/SConstruct
+--- ipager-1.1.0.orig/SConstruct 2008-09-08 20:32:23.007016555 -0700
++++ ipager-1.1.0/SConstruct 2008-09-08 20:32:05.103267940 -0700
+@@ -30,6 +30,16 @@
+ # environment
+ ipager_env = Environment(options = ipager_options, ENV = os.environ)
+
++# process env variables
++for K in ['CPPFLAGS', 'CFLAGS', 'CXXFLAGS', 'LDFLAGS', 'CC', 'CXX']:
++ if K in os.environ.keys():
++ dict = ipager_env.ParseFlags(os.environ[K])
++ # These headers are supposed static. Don't check at each build.
++ for i in dict['CPPPATH']:
++ dict['CCFLAGS'].append('-I' + i)
++ dict['CPPPATH'] = []
++ ipager_env.MergeFlags(dict)
++
+ ipager_env.Append(
+ CPPFLAGS = [ '-Wall' ],
+ CPPPATH = [ '/usr/X11R6/include' ],
diff --git a/x11-misc/ipager/files/ipager-1.1.0-scons_imlib2.patch b/x11-misc/ipager/files/ipager-1.1.0-scons_imlib2.patch
new file mode 100644
index 000000000000..283dec348ab1
--- /dev/null
+++ b/x11-misc/ipager/files/ipager-1.1.0-scons_imlib2.patch
@@ -0,0 +1,19 @@
+--- ipager-1.1.0/SConstruct 2005-11-06 06:23:24.000000000 -0500
++++ ipager-1.1.0-gentoo/SConstruct 2008-09-08 15:18:07.000000000 -0400
+@@ -115,12 +115,14 @@
+ else:
+ print "yes"
+ ipager_env.AppendUnique(
+- CPPPATH = imlib2_env.Dictionary()['CPPPATH'],
+ CCFLAGS = imlib2_env.Dictionary()['CCFLAGS'],
+ LIBPATH = imlib2_env.Dictionary()['LIBPATH'],
+ LIBS = imlib2_env.Dictionary()['LIBS']
+-
+ )
++ if imlib2_env.Dictionary().has_key('CPPPATH'):
++ ipager_env.AppendUnique(
++ CPPPATH = imlib2_env.Dictionary()['CPPPATH'],
++ )
+
+ conf.Finish()
+
diff --git a/x11-misc/ipager/ipager-1.1.0-r1.ebuild b/x11-misc/ipager/ipager-1.1.0-r1.ebuild
new file mode 100644
index 000000000000..6727bc321a0c
--- /dev/null
+++ b/x11-misc/ipager/ipager-1.1.0-r1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="A themable desktop pager for fluxbox and other window managers"
+HOMEPAGE="http://www.useperl.ru/ipager/index.en.html"
+SRC_URI="http://www.useperl.ru/ipager/src/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="xinerama"
+
+RDEPEND="media-libs/imlib2[X]
+ x11-libs/libXmu
+ xinerama? ( x11-libs/libXinerama )"
+DEPEND="${RDEPEND}
+ dev-util/scons"
+
+PATCHES=( "${FILESDIR}/${P}-scons_imlib2.patch"
+ "${FILESDIR}/${P}-scons_flags.patch"
+ "${FILESDIR}/${P}-gcc43.patch"
+ "${FILESDIR}/${P}-gcc47.patch" )
+
+src_compile() {
+ CONFIG_OPTS="xinerama=false"
+ use xinerama && CONFIG_OPTS="${CONFIG_OPTS} xinerama=true"
+ # FYI: Passing debug=true only adds -ggdb inside the SConstruct
+
+ scons \
+ --cache-disable \
+ PREFIX="/usr" \
+ ${CONFIG_OPTS} \
+ || die "scons configure failed"
+}
+
+src_install() {
+ scons \
+ --cache-disable \
+ PREFIX="/usr" \
+ DESTDIR="${D}" \
+ install \
+ || die "scons install failed"
+ dodoc ToDo ChangeLog README
+ dodoc themes/*.conf
+}
diff --git a/x11-misc/ipager/metadata.xml b/x11-misc/ipager/metadata.xml
new file mode 100644
index 000000000000..20682188b90e
--- /dev/null
+++ b/x11-misc/ipager/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <longdescription lang="en">
+ A themeable desktop pager for fluxbox and other window managers.
+ </longdescription>
+</pkgmetadata>
diff --git a/x11-misc/kapow/Manifest b/x11-misc/kapow/Manifest
new file mode 100644
index 000000000000..6bf55d8f84b0
--- /dev/null
+++ b/x11-misc/kapow/Manifest
@@ -0,0 +1,7 @@
+DIST kapow-1.5.2-src.tar.bz2 718144 SHA256 29d7a83f9351bd83dfc9e2c933187e6fa3274be1530976e05d201bb65bce23cf SHA512 a5f7edd6880ba01c7f0be60045a3ff05f8a09e39f8315acf68b258bdc4a7484954fc6d1dc3acd184b9ebcfe6830a053777a9e0399bb8241fcef0519dbfc53c0d WHIRLPOOL 050ec50bd30fea815783b7ce84d86ec5c765356a01553ade9357221c970c6a6edeb2799ef711846a66b894db5c6ceabed37bdc2661a30d0f7ba69de42ebf9877
+DIST kapow-1.5.3-src.tar.bz2 720315 SHA256 73953d980e248ccf74c8b94c62ee1dbeaa9843481ca87a8e6af7fe1c2eb8c712 SHA512 1f8dcd570f6ed3b9fc1605a25628a06720839a5558b1564341bb775ebc99796b1124e498dced279aef30ba6fe3bb9d4f3b956685d07b481e79d66c7f197ae201 WHIRLPOOL 7bb0b41bc001ec101efcc1e93598e68ff4f55c10ae634b8208693062d66fbb3ab528ebba9e6c088a7c1d97d9d494bc26d384fa6bd7d7f4a13d3c7902e9373624
+EBUILD kapow-1.5.2.ebuild 650 SHA256 2389cfc2e8d21dfb3abbef8f093ed319b5d3745e2e8f95838e71eac754e50f65 SHA512 3f6192c2068e9b536c91e1a7a9666a6296938cccdbda60dece2ddffb6e2be5b6b8fe9c13e4fda24d24874692d8dac13bd34e80996cc5fa12b9207a3d51973f14 WHIRLPOOL d58510f7c251c18eb63f14011d44db1e3a91f4666932e8812be7eb837ecf222cd89fce1ddc922554f5d2bc2b135a6bf7c440679d88ce9a241f10c0dc0e72d4c3
+EBUILD kapow-1.5.3.ebuild 650 SHA256 2389cfc2e8d21dfb3abbef8f093ed319b5d3745e2e8f95838e71eac754e50f65 SHA512 3f6192c2068e9b536c91e1a7a9666a6296938cccdbda60dece2ddffb6e2be5b6b8fe9c13e4fda24d24874692d8dac13bd34e80996cc5fa12b9207a3d51973f14 WHIRLPOOL d58510f7c251c18eb63f14011d44db1e3a91f4666932e8812be7eb837ecf222cd89fce1ddc922554f5d2bc2b135a6bf7c440679d88ce9a241f10c0dc0e72d4c3
+MISC ChangeLog 3153 SHA256 d9cce20b995027403165224073d9094260a5b1e8b540ed479b9a2e27ca0a43f8 SHA512 f8d27db931bf475c97c8773ad934bbd519e0377311c620e7cb18c521ddd0033bc7386b12fad3863537aa6dcf9929c57059fc8370ac579750ead525677ea46b7b WHIRLPOOL b00f1dd27a0ff11b12734940b6ceacca02b2b4fc72120031e8b206f28adc2d09dafd038448a482d2a92f3f432e8da171438b09cb7b83050eaa1169c0568bc696
+MISC ChangeLog-2015 1198 SHA256 ae4b942cf7875e101c42d38b5518482304cd1c2655a6277f17ec2ada44320501 SHA512 dc019408a35a667723846a5074b9a50319bd9e4f61a9e0fb6d2930c78ad873075d540a027ffa1614a3cef9afc2ee129254716b9dd498b73eca295b1306e18f9c WHIRLPOOL 4ce4f80e9b273580553c306be463092ee060ace4058418684f42c3c1384c8a507ebf85ce31f30ecd35cc0b6a4e209415d004e4a63d679625b525c539de875f55
+MISC metadata.xml 282 SHA256 ac9236162462e1562a26e596e7dd457a448f9367ff1a5a27ec3513ecade3026b SHA512 06c94ffb49c985c4344b170b902427ca9ce0c23b6d68330af227ab1771794f8e8b6d0ef75b5f69293c8ef0d3264c8799e1389ccdf8dfbe7c665c6477c07479e4 WHIRLPOOL 615c807081b4bef1734f1dbf9a182cb27b7de0e9bcdebd880c6b9c1ab01b95721076ddc4b4e75e93b8f777020bfd52459e9e4b1a9deb41baacc44f6cde05fd36
diff --git a/x11-misc/kapow/kapow-1.5.2.ebuild b/x11-misc/kapow/kapow-1.5.2.ebuild
new file mode 100644
index 000000000000..9787e17eadaf
--- /dev/null
+++ b/x11-misc/kapow/kapow-1.5.2.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit qmake-utils
+
+DESCRIPTION="A punch clock program designed to easily keep track of your hours"
+HOMEPAGE="http://gottcode.org/kapow/"
+SRC_URI="http://gottcode.org/${PN}/${P}-src.tar.bz2"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtnetwork:5
+ dev-qt/qtprintsupport:5
+ dev-qt/qtwidgets:5
+"
+DEPEND="
+ ${RDEPEND}
+ dev-qt/linguist-tools:5
+"
+
+DOCS=( ChangeLog README )
+
+src_configure() {
+ eqmake5 kapow.pro PREFIX=/usr
+}
+
+src_install() {
+ export INSTALL_ROOT="${D}"
+ default
+}
diff --git a/x11-misc/kapow/kapow-1.5.3.ebuild b/x11-misc/kapow/kapow-1.5.3.ebuild
new file mode 100644
index 000000000000..9787e17eadaf
--- /dev/null
+++ b/x11-misc/kapow/kapow-1.5.3.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit qmake-utils
+
+DESCRIPTION="A punch clock program designed to easily keep track of your hours"
+HOMEPAGE="http://gottcode.org/kapow/"
+SRC_URI="http://gottcode.org/${PN}/${P}-src.tar.bz2"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtnetwork:5
+ dev-qt/qtprintsupport:5
+ dev-qt/qtwidgets:5
+"
+DEPEND="
+ ${RDEPEND}
+ dev-qt/linguist-tools:5
+"
+
+DOCS=( ChangeLog README )
+
+src_configure() {
+ eqmake5 kapow.pro PREFIX=/usr
+}
+
+src_install() {
+ export INSTALL_ROOT="${D}"
+ default
+}
diff --git a/x11-misc/kapow/metadata.xml b/x11-misc/kapow/metadata.xml
new file mode 100644
index 000000000000..bc1b97e1eb76
--- /dev/null
+++ b/x11-misc/kapow/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/x11-misc/kaqaz/Manifest b/x11-misc/kaqaz/Manifest
new file mode 100644
index 000000000000..275695e5adbd
--- /dev/null
+++ b/x11-misc/kaqaz/Manifest
@@ -0,0 +1,7 @@
+AUX kaqaz-1.2.0-qt55.patch 235 SHA256 fcf96727ad8adb75c78eaa30bc354e2a193ae5e284bbc567aa4440f94561c03f SHA512 4207b14df5e803670ff7688ad4970f0781e1322aefd65251ab1d47aec7bbf09b0c3520c77eab43452570c8b8b6aa609aa48dfdef0d0087a09b3b3e1de2bdfe3d WHIRLPOOL 6a63d2ea3647feb213c8fb6f7cf4bc5af0f5a06f3412aaaa717c0a5eccab482d5b1358adfdf054c8940b86ca4d0efa33a28bb29ad349aff11844ba58f011b0ef
+AUX kaqaz-1.2.0-unbundle-qtsingleapplication.patch 1444 SHA256 56f08f720d4794b89bc1dd561dcd9f4e1eca06159eb6ba3f889fd6cd5c91bed5 SHA512 feeed7837fa9890d245b30ec2004846ba0e51fe54f756465c141f90e9d48c647a85c9360194d24e4e315665227a7b9b996d79a363664a83bb08a2dc89d170f48 WHIRLPOOL 640df62ec1e7636370963fc001d3313a7d5f494f0d2bf5e5f2df854b137472acc8e12aa4e85878c21f5daa819d7703680784c915a355f9be950f90a04271d146
+DIST kaqaz-1.2.0.tar.gz 5824631 SHA256 9e6f34164623e79319a962fed6410b74e0d479571116a4525364edfa8ea4a3e9 SHA512 447d4bb9dd413b07f1f05ab797fe3c277caa1afc7063dccc080ee274f266e07dd04c17b56cacd8baa6e67ba53e0012f2cf5d490493c5fbd24c3e6bfcbf1887c4 WHIRLPOOL 9aa125318b6a94325509f22f08cdec96c114e0bf3de8b37966de91421da70e75d09e10414eb9cddfd3c16ec79674b854ffc4ce3a4c66924ec67cb55f339cfd68
+EBUILD kaqaz-1.2.0-r2.ebuild 1074 SHA256 aadd1c9dad6b63967629334b9f9d91b42a279c6146acec9b8d2c46e62f66ed71 SHA512 4ad48dd324cfbef944ca187a891f81e1fad783e799552563dfaddfa0fa7fe86adcc61a9f89250fcb54b6c0e1c9389e87fc0701c0df24c0da0e0704dca3f4a545 WHIRLPOOL 902abc7df56b7d85a25c085828c64c9e9aa708147cf93bd590fdc588083d2f4f9b3d6f50d3951b5b4dfe6a6f8be4db4c6e20435b322b47d4366ae21e66a37ebb
+MISC ChangeLog 3355 SHA256 bd39a0e34948750397a06fe5e08df4cd66c381e0cb2de18b2a1f9e3f484c9d10 SHA512 d1f71489dc82a11bd3f2c03f059fda311734b24dea50ee26ceae09905adc569c9e2dfdf805e1c8cd359effc60c6887e1d2624562a3a5ec105780d8d04a39a5ef WHIRLPOOL 1b9f4f50da480fdd0f30eec2cba4b21879dffd33dde082cea3b7309bc7668862f9ec1287bb41824d15a0a09375b864cc7bf55b5cd03d2be41a11add45fd0b8ad
+MISC ChangeLog-2015 362 SHA256 6821492d5fce2e63d48266ea5753b0bb072769fd56d4ac825237348d5755b085 SHA512 3e3421604f8ac30ff205f492d050e778c15e4214c6145b9343f09903b7162c7dc0c5011214da241a097cac38c68a7c4fb0b95d58da038b1c4b77bc3a49fa430e WHIRLPOOL 02517cb4ad292e514fe67a51c7bb12f90c583442d4ca23dea8344f888fb2971f229fc95d425cf40c0888281c3b7eea7bab602d46e9eb1d0ba37608157f503900
+MISC metadata.xml 329 SHA256 c4fad3b4900cdf6291d4e196ec0b644a7c6bdd1625a5264bd54ddc71a5767c35 SHA512 d5a2685890a52c9815b94c233108510f21c57cae6d3ab3a03f869a99eb5cea3724de3597c9b47e23b8526e41164a7a54b9ab14029cf17a7fc3a4679d5957f3db WHIRLPOOL 25b8f0bafa7c6983ebc352e3e955cf11a42b26e1c9762e3ce1097b19de746f2e12d8b272959b9fdd4661193691d47f9a19ce84c6b75cf4607ae994a9bf88b2b9
diff --git a/x11-misc/kaqaz/files/kaqaz-1.2.0-qt55.patch b/x11-misc/kaqaz/files/kaqaz-1.2.0-qt55.patch
new file mode 100644
index 000000000000..f7e13f6b5d40
--- /dev/null
+++ b/x11-misc/kaqaz/files/kaqaz-1.2.0-qt55.patch
@@ -0,0 +1,14 @@
+Fix build with Qt 5.5.
+
+Gentoo-bug: 563678
+
+--- databasedatatypes.h
++++ databasedatatypes.h
+@@ -23,6 +23,7 @@
+ #include <QColor>
+ #include <QStringList>
+ #include <QGeoCoordinate>
++#include <QObject>
+
+ class Enums : public QObject
+ {
diff --git a/x11-misc/kaqaz/files/kaqaz-1.2.0-unbundle-qtsingleapplication.patch b/x11-misc/kaqaz/files/kaqaz-1.2.0-unbundle-qtsingleapplication.patch
new file mode 100644
index 000000000000..01689167ecd8
--- /dev/null
+++ b/x11-misc/kaqaz/files/kaqaz-1.2.0-unbundle-qtsingleapplication.patch
@@ -0,0 +1,43 @@
+Use system copy of qtsingleapplication.
+
+--- sialantools/sialantools.pri
++++ sialantools/sialantools.pri
+@@ -1,4 +1,5 @@
+ QT += qml quick
++CONFIG += qtsingleapplication
+
+ android {
+ manifest.source = android-build
+@@ -24,20 +25,10 @@
+
+ HEADERS += \
+ sialantools/sialanmimeapps.h \
+- sialantools/qtsingleapplication/qtsinglecoreapplication.h \
+- sialantools/qtsingleapplication/qtsingleapplication.h \
+- sialantools/qtsingleapplication/qtlockedfile.h \
+- sialantools/qtsingleapplication/qtlocalpeer.h
+
+ SOURCES += \
+ sialantools/sialanmimeapps.cpp \
+- sialantools/qtsingleapplication/qtsinglecoreapplication.cpp \
+- sialantools/qtsingleapplication/qtsingleapplication.cpp \
+- sialantools/qtsingleapplication/qtlockedfile.cpp \
+- sialantools/qtsingleapplication/qtlocalpeer.cpp
+
+- win32: SOURCES += sialantools/qtsingleapplication/qtlockedfile_win.cpp
+- unix: SOURCES += sialantools/qtsingleapplication/qtlockedfile_unix.cpp
+ }
+ }
+ }
+
+--- sialantools/sialanapplication.h
++++ sialantools/sialanapplication.h
+@@ -22,7 +22,7 @@
+ #include "sialan_macros.h"
+
+ #ifdef DESKTOP_DEVICE
+-#include "qtsingleapplication/qtsingleapplication.h"
++#include "qtsingleapplication.h"
+ class INHERIT_QAPP : public QtSingleApplication
+ {
+ public:
diff --git a/x11-misc/kaqaz/kaqaz-1.2.0-r2.ebuild b/x11-misc/kaqaz/kaqaz-1.2.0-r2.ebuild
new file mode 100644
index 000000000000..97b38180dce6
--- /dev/null
+++ b/x11-misc/kaqaz/kaqaz-1.2.0-r2.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit eutils qmake-utils
+
+DESCRIPTION="Modern note manager"
+HOMEPAGE="https://github.com/sialan-labs/kaqaz/"
+if [[ ${PV} = *9999* ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/sialan-labs/kaqaz.git"
+ KEYWORDS=""
+else
+ SRC_URI="https://github.com/sialan-labs/kaqaz/archive/${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="GPL-3+"
+SLOT="0"
+IUSE=""
+
+RDEPEND="dev-qt/qtcore:5
+ dev-qt/qtdeclarative:5
+ dev-qt/qtgraphicaleffects:5
+ dev-qt/qtgui:5
+ dev-qt/qtmultimedia:5[qml]
+ dev-qt/qtnetwork:5
+ dev-qt/qtpositioning:5
+ dev-qt/qtsingleapplication[qt5,X]
+ dev-qt/qtsensors:5
+ dev-qt/qtsql:5[sqlite]
+ dev-qt/qtquickcontrols:5
+ dev-qt/qtwidgets:5
+ dev-qt/qtxml:5
+"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ epatch "${FILESDIR}/${P}-qt55.patch"
+ epatch "${FILESDIR}/${P}-unbundle-qtsingleapplication.patch"
+
+ rm -r sialantools/qtsingleapplication || die
+}
+
+src_configure() {
+ eqmake5
+}
+
+src_install() {
+ emake install INSTALL_ROOT="${D}"
+}
diff --git a/x11-misc/kaqaz/metadata.xml b/x11-misc/kaqaz/metadata.xml
new file mode 100644
index 000000000000..add378847a17
--- /dev/null
+++ b/x11-misc/kaqaz/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>qt@gentoo.org</email>
+ <name>Gentoo Qt Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">sialan-labs/kaqaz</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/kbdd/Manifest b/x11-misc/kbdd/Manifest
new file mode 100644
index 000000000000..52997f3140cd
--- /dev/null
+++ b/x11-misc/kbdd/Manifest
@@ -0,0 +1,5 @@
+DIST kbdd-0.7.1.tar.gz 33445 SHA256 20c4b4fc65a403346c901a450bf3e1224447b1d39f769cb033819598028c6e7d SHA512 12246e6a64d6d826afdc4bdb019bf30298fc71de534d8b06b5cefbdd027c4416e30b0991a136f3a7988b79cf0ad48e2c67a732ce7c5a6d6ce356f6f34348dc09 WHIRLPOOL eb64ff7ebc98208eff0165a8c16a714f31b2653782ae3a72779b88a6c23e32eb81817691d98c1dc642ea136ed77285eb4cafd6a792b92aaf200475b57a8997c7
+EBUILD kbdd-0.7.1.ebuild 587 SHA256 cc1c25e3eba3b7448c9db17cd175d9d0e4cce5d5da701e6ed61f6413db57db67 SHA512 a776eeb955cf536cd60a14aee6037b3f6ca4130c86cc341b3d76faa3c2e09b16d858ced71d421986d6c93b02adbbea9dca7cce19a190faaba7deb97c63a1740e WHIRLPOOL ae1fa34f51a364ec0f220e5eb2c21c36f72af3045d987c0af6a8752cfbbc4bd8a93511a164d521765bf5c37ff22266ce56ab942201ac1da18ec41368125c3c0b
+MISC ChangeLog 3042 SHA256 ddf2c34ca4540cb7537738c529138ece18e1ab886d01c2c35d780a3701d27f2d SHA512 caf26ef8f3b3423c9519baded3b0302234ddf7bd0b8450d86f19d906f158d4236e0723345febf9aacbdc3e834986d141e4811083078b623e64b2ff8e1bc40328 WHIRLPOOL 8cec1b313b1bb17b47f2a7551c4fb7f0836d00ec675c2741f08d67e1938488b6f883e5e252ed9e793e47fb66053835308e6201c29f63b13096701f2ab8a0fec8
+MISC ChangeLog-2015 217 SHA256 ed3cce594b87c4477278f70039249452fe991d862d7000adbc13a392cfeb59ae SHA512 26f6d8f1d7def637b82a40c3e78f112038c3e0999c6acc38b7728946a5b19ddf2dc0bd37c0779476b51752684068dd59d4781f0675cdcb9accb3a9f71cd97aab WHIRLPOOL 1f379faf62e1640f4200bbb4f4d7f3f45ab81b2a89f1099e58940c724bc4bda2827c072382b6bb62ad8a04f93b594a2d6673e8cfeb1f61d5aadac2f5cd7332fc
+MISC metadata.xml 301 SHA256 e1f78d1a0070673419b8ee2de9889fd42bf0d01a55f1c8c9436827eb24910af7 SHA512 9812b250714684c53251423cfaafcf5e6fb454717b10294f0bd3be540816029779cb1fb5963ec0776a4420ffbc97794864f4f690ab8d88160ebb000b4cac66e5 WHIRLPOOL f29e33f03606b1d0d4acf229977abda85c9a912fc79b6cf4dfb339ba3380662e25aad67f06621ea6f0985892a37f3eabea71365f90bb4e6bc32cfe05b6e5526e
diff --git a/x11-misc/kbdd/kbdd-0.7.1.ebuild b/x11-misc/kbdd/kbdd-0.7.1.ebuild
new file mode 100644
index 000000000000..32b3f011cfb1
--- /dev/null
+++ b/x11-misc/kbdd/kbdd-0.7.1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit autotools eutils vcs-snapshot
+
+DESCRIPTION="Very simple layout switcher"
+HOMEPAGE="https://github.com/qnikst/kbdd"
+SRC_URI="https://github.com/qnikst/kbdd/tarball/v${PV} -> ${PN}-${PV}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="dbus"
+
+DEPEND="dev-libs/glib:2=
+ x11-libs/libX11:0=
+ dbus? (
+ sys-apps/dbus:0=
+ >=dev-libs/dbus-glib-0.86:0=
+ )
+"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ eautoreconf
+}
+
+src_configure() {
+ econf $(use_enable dbus)
+}
diff --git a/x11-misc/kbdd/metadata.xml b/x11-misc/kbdd/metadata.xml
new file mode 100644
index 000000000000..611bcc865515
--- /dev/null
+++ b/x11-misc/kbdd/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>qnikst@gentoo.org</email>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">qnikst/kbdd</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/kdocker/Manifest b/x11-misc/kdocker/Manifest
new file mode 100644
index 000000000000..ec02035a4707
--- /dev/null
+++ b/x11-misc/kdocker/Manifest
@@ -0,0 +1,6 @@
+AUX kdocker-4.8-unbundle-qtsingleapplication.patch 425 SHA256 ccacb2b0e8df33808017a5ac28e054e95ded6d45c31a4be8af85c4212447c098 SHA512 b30cf6fd65df88eee8395f7f6d3d73fbaff2575fb36977c5a16ce1c3983804f1045e6beea787796eb9ef1878cc1c18ef7e033fbc7f1d113630850457a0d00262 WHIRLPOOL 881fd1bcf8bbb280ec1607bcfa1f45380f7d52c26fff557396510e5dedc9c051265d94b8759037e4eb3bfc3dc5a58b103b4ecb5c02335e17c15274156fd01f76
+DIST kdocker-4.8.tar.gz 379186 SHA256 16e5d6dab6957139343b29d2bab7d1f7154d74bb4a60dace897b23cf6f8921a9 SHA512 4e7d716dba1ec7d45cb1134e4d28b4d4461a837d2f88f1460d54297594f617c414ba231515e1ca5c284e75099ac5db9762712085aba6c374991c8c642d903a91 WHIRLPOOL 059c018059e29f5259adfeb23f3bf1d6b1967aa06a1cf991bcfa050324c3459ea08c304c869a77c4f6ac16e508546051d6484cc6806217fb39afd8fdd01f9970
+EBUILD kdocker-4.8-r2.ebuild 1003 SHA256 cefcd3b1c2ea0fee51981d0cdadb2bc03a90cfb6f266c5159b7b3945e470955b SHA512 0fade0c1bfe0a95528661db365f19ad1e79771282a69f49ba4b960a13941a237da0f454fd6b4a033ef5c69ffe159815e1e542d4cdf498fdea395a1bbc0825168 WHIRLPOOL 5c9f154e2c9c1569f7b361fb6d1397a6186fe7c9aece215d4bafcfc33c20f69d33bd2e2799e73f56b5bab26f77de5a06ef7cb8f91d0a700ffeb200d0f17b4490
+MISC ChangeLog 2795 SHA256 22edc6b50b1872324307750da902efd87c86fe442b10f3bc31cd060b03d5d14e SHA512 d113a9de1f3c8ae4c84772dd0345fcfe58dae6e0afab809e2e57927e0c533dde09a78e65b26e03fa942d46ded06ce6821037fcc70e669f0825b3fe6a5c8a6f87 WHIRLPOOL b3041babb64c7a3b825b3c478f3e5a5656dff679e393fcf8aebf1ec7c2de33b968f3a3ee45ddafb2ad1a7de191c7e3bb70d80a1bf07d60007e6f41e4cb079753
+MISC ChangeLog-2015 4358 SHA256 dcfd7e6b85087b214f381e31902110366f8229e92323ec489f572ff21b4ca26b SHA512 aadd1fde82976837ad5fcce3b5d50f8450a9f97b9e96e3824094e1e4664195daa84e6d99e1a97a1d1e36afaf2e0f6f6f0f3ea0a2888b963e0194dc1e2f78555e WHIRLPOOL 9eeacc575c8e7b097a12d2c217a03ccda6bc5aa7562b2d9f0263897d7d395282d49ccdcd2dec840779c9a5f3f9d23ff8686cb9dff273fa452a29a00299336248
+MISC metadata.xml 298 SHA256 53601401f85d9e0647a6241140e3db5d76e9b0d05ec3b6677afb766f2b990f6c SHA512 624a0b2498a8e2faca121e56f4c1cd24996a1d5733ca36d9b21ecb42741fe1027a80bf6698624d47a97c9417f602bb49e784fa01c6c64e609009b2c1dd2cd85d WHIRLPOOL 4207ce75b94ae98f8d7cfa029b15acf75c863b89b39c084b278c4d4b07a282813fdbf6979621d885ffb68c2bbbc34d0590d795128328c101d402c682dc6fa0a8
diff --git a/x11-misc/kdocker/files/kdocker-4.8-unbundle-qtsingleapplication.patch b/x11-misc/kdocker/files/kdocker-4.8-unbundle-qtsingleapplication.patch
new file mode 100644
index 000000000000..798769e6907c
--- /dev/null
+++ b/x11-misc/kdocker/files/kdocker-4.8-unbundle-qtsingleapplication.patch
@@ -0,0 +1,17 @@
+=== modified file 'kdocker.pro'
+--- kdocker.pro 2011-05-31 00:46:31 +0000
++++ kdocker.pro 2013-10-27 14:41:36 +0000
+@@ -2,7 +2,11 @@
+ CONFIG += qt
+ TARGET = kdocker
+
+-include(solutions/qtsingleapplication/qtsingleapplication.pri)
++isEmpty(SYSTEMQTSA) {
++ include(3rdparty/qtsingleapplication/qtsingleapplication.pri)
++} else {
++ CONFIG += qtsingleapplication
++}
+
+ DEPENDPATH += src
+ INCLUDEPATH += . src /usr/include/X11
+
diff --git a/x11-misc/kdocker/kdocker-4.8-r2.ebuild b/x11-misc/kdocker/kdocker-4.8-r2.ebuild
new file mode 100644
index 000000000000..777c7974c8b7
--- /dev/null
+++ b/x11-misc/kdocker/kdocker-4.8-r2.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+LANGS="it"
+inherit bash-completion-r1 qt4-r2
+
+DESCRIPTION="Helper to dock any application into the system tray"
+HOMEPAGE="https://launchpad.net/kdocker/"
+SRC_URI="https://launchpad.net/${PN}/trunk/${PV:0:3}/+download/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+DEPEND="
+ dev-qt/qtcore:4
+ dev-qt/qtgui:4
+ dev-qt/qtsingleapplication[qt4(+),X]
+ x11-libs/libX11
+ x11-libs/libXmu
+ x11-libs/libXpm
+"
+RDEPEND="${DEPEND}"
+
+DOCS=( AUTHORS BUGS ChangeLog CREDITS README TODO )
+
+PATCHES=( "${FILESDIR}/${P}-unbundle-qtsingleapplication.patch" )
+
+src_prepare() {
+ qt4-r2_src_prepare
+
+ if ! use linguas_it ; then
+ sed -e '/^INSTALLS +=/s/translations//' -i kdocker.pro || die "sed failed"
+ fi
+
+ sed -i -e "/completion.path/s%/etc/bash_completion.d%$(get_bashcompdir)%" \
+ kdocker.pro || die "sed failed"
+}
+
+src_configure() {
+ eqmake4 PREFIX="${EPREFIX}/usr" SYSTEMQTSA=1
+}
diff --git a/x11-misc/kdocker/metadata.xml b/x11-misc/kdocker/metadata.xml
new file mode 100644
index 000000000000..8c76e7855575
--- /dev/null
+++ b/x11-misc/kdocker/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <upstream>
+ <remote-id type="launchpad">kdocker</remote-id>
+ <bugs-to>https://bugs.launchpad.net/kdocker</bugs-to>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/kronometer/Manifest b/x11-misc/kronometer/Manifest
new file mode 100644
index 000000000000..caaba314c957
--- /dev/null
+++ b/x11-misc/kronometer/Manifest
@@ -0,0 +1,4 @@
+DIST kronometer-2.1.5.tar.xz 126312 SHA256 fcc350666aa86ea3091f0d8bf0d117c8d3a6acd5578d5b51da20a1cb83c4270b SHA512 24eee0d65ce8c9c829f5c5cfba5fc75e1d8c98a107ff39bc4b833e5f1e2a902bd2aa916c96826e77190567b02b0fc25d88bb0215e408af4e60af3fbb47aa7c60 WHIRLPOOL e5c1f930fd8a4133a12b2fb029a6d5deb8a322eb314068dbea20454ee3e21c1728955c8a1d5831ad27f46780508cfe5228508f3ba98250e2e075eea858b4eef5
+EBUILD kronometer-2.1.5.ebuild 735 SHA256 72a6b2f71904b5f66e0c6db0440ebb6490fd65a3164c465a627858e7a897b911 SHA512 9aacbb3b9fe7f00acd715f4546834839f4d0831ba2be6e38fa135e4e223473efda1f2f200532db3b3e571d78dbb9ed2d28adb5b67ba1380a0bf3306a74aa56e3 WHIRLPOOL 85157446abeee37c61ef9dcf7e7be1f37ce41ba57581650d1591203932c304b9e2768d10e481acb58d11c0ff21f63eda58a1bc2d269ef48ef5d80421b7f0551e
+MISC ChangeLog 3194 SHA256 8f76ab885f2fb00ae6e93d93e4e18eca1b11ce2763a8632fc009d4ba1b5d97e5 SHA512 f93bb8b41b0eab60f10323cfc743fd73ec317fe8c86db6d809238d09e3265f8d0148d7a83ca413475cc9932af58380082271b84e91dec2da7ac2e961be95952c WHIRLPOOL 7bdbc5e76e75579e41ee3a2057a57a1a91c810ee43b06e373ba5eaf1ceb04b64b49aa321eee17ba8d8af89d6dfaca4468d48e9e8c7e94e842713e7964535baea
+MISC metadata.xml 249 SHA256 584f1dcf51866dc24a9abf7a89bfba0fad11dde81ae1c1b715da41770d233c99 SHA512 76a5a340b13f0053ca3c5e94ed24380ea8d29b45ac8655419e22eaadb1e4a827c04d2e7e36b65145c4964e6526f656618fc6ac144e277ef53cb7373e6239e3c3 WHIRLPOOL 200c07a8bf7c55b11b7936d5cd30e991a511684913334e72f59def66c0ced5fed0b4a8754e2d98bffbab631cb90d4e17fcccc59d5dcc5a8e988f69e47c85518c
diff --git a/x11-misc/kronometer/kronometer-2.1.5.ebuild b/x11-misc/kronometer/kronometer-2.1.5.ebuild
new file mode 100644
index 000000000000..16e6ac68f4e9
--- /dev/null
+++ b/x11-misc/kronometer/kronometer-2.1.5.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+KDE_HANDBOOK="forceoptional"
+KDE_TEST="true"
+QT_MINIMAL="5.7.1"
+VIRTUALX_REQUIRED="test"
+inherit kde5
+
+DESCRIPTION="Stopwatch application"
+HOMEPAGE="https://userbase.kde.org/Kronometer"
+SRC_URI="mirror://kde/stable/${PN}/${PV}/src/${P}.tar.xz"
+
+LICENSE="GPL-2+"
+KEYWORDS="amd64"
+IUSE=""
+
+DEPEND="
+ $(add_frameworks_dep kconfig)
+ $(add_frameworks_dep kconfigwidgets)
+ $(add_frameworks_dep kcoreaddons)
+ $(add_frameworks_dep kcrash)
+ $(add_frameworks_dep ki18n)
+ $(add_frameworks_dep kwidgetsaddons)
+ $(add_frameworks_dep kxmlgui)
+ $(add_qt_dep qtdbus)
+ $(add_qt_dep qtgui)
+ $(add_qt_dep qtwidgets)
+"
+RDEPEND="${DEPEND}"
diff --git a/x11-misc/kronometer/metadata.xml b/x11-misc/kronometer/metadata.xml
new file mode 100644
index 000000000000..2fdbf33d963d
--- /dev/null
+++ b/x11-misc/kronometer/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>kde@gentoo.org</email>
+ <name>Gentoo KDE Project</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/x11-misc/ktsuss/Manifest b/x11-misc/ktsuss/Manifest
new file mode 100644
index 000000000000..40d5f99f317a
--- /dev/null
+++ b/x11-misc/ktsuss/Manifest
@@ -0,0 +1,5 @@
+DIST ktsuss-2.1.tar.gz 31065 SHA256 f65f5083e61abc12f5b546ef43efdc8ef55cd8c7fbee27cedc0f42ff329b34ac SHA512 980c184947ebac91f936cad9cd74050e42e57da39f13cca3b9ec0ec44a16265243a1e6f570a2027435234084c1e15ce28b3dc6389d7831237c762b1aafb99507 WHIRLPOOL 973341a45e81ef8a4e7ede75ee33e7ab74c8e184d81e0c9be0bd5ea6254351e8f5c63cf38a9953613f642c6a383b9a5ea16abd578397d206f657bde658aeec42
+EBUILD ktsuss-2.1.ebuild 646 SHA256 9d9b4b59e345d0a0a8a790854047bfe868c469ab72915972ca1471983d4ebeef SHA512 90e9a0c881f33e4a57ffcc0e5752c101add991051181fefd2b0300829a4e8d91ad4e9d7f680e7e1b35e3c16f388ac2d2130fd35617b6c09d8480f624f2fae717 WHIRLPOOL d182db0ada79976943a289b96ed07e2200064be86bf48124ed430db31afb9fd9259e2df61bd573213869d8a02697cc7395a203753e669edbb78b330a362f2f47
+MISC ChangeLog 3172 SHA256 42b6b684496f82efa9adf04fe7c7a890e0edb2362b4cd162075552d383be8ca1 SHA512 2beefd621c7b8c8da42fdaf60eca9eb5b14fd53afadc64cfab6265b8e4cdda4da63fcf432df3fd4f1fd97ba79b15eb778c739dd09b06be8ceb5cfa7b824c4078 WHIRLPOOL 3455da34da7add76b3091e1485c03d5128b392b62f4c5df95c52ef6d246c568063c3a6a8fbe201f17b6eb0108cff7f8946ddc0aeecd7d646cf184a0a77d95aa9
+MISC ChangeLog-2015 1096 SHA256 5f313d1a6d6e7bed33595dd6a6c97e2d5b1f4392542a669ccecbf843330f126a SHA512 6aa734d876fe40de8b7a9f8bc5f06555a1c9e643bf0987d32b3263260df528374c6ae01b2751154a07953142ab84d7a351f8be70b86decc818787a7c8b5c42fc WHIRLPOOL 6da39de270c9ffbf8ac4658e28c6d17701af875730245fc2eebfee9421db2ae9549186cc773357cf54abff5fe8eb8a7e42f8b56663139259669a638ecbb0028d
+MISC metadata.xml 456 SHA256 01dc0f51226a4917f6115a71530446a0e93448fba7e1ff88d7c4db4e11ceb61d SHA512 1a9697e391d60b03d3e6a9c2cad4b63ebaf5aa7f5036c7153942b95fe91abac43a19d26c1e29426075e027b288ec5c39798edf4d3f93fbdefedfb5d9452ad0c3 WHIRLPOOL 2da668b452fa3c72546af504b861087270b35ff95830b04750849572d2f095391fa1f7ca4fc12cfe876cbc018d7634ab88491352e0aab21bc704447695dd96c4
diff --git a/x11-misc/ktsuss/ktsuss-2.1.ebuild b/x11-misc/ktsuss/ktsuss-2.1.ebuild
new file mode 100644
index 000000000000..957f0076fb18
--- /dev/null
+++ b/x11-misc/ktsuss/ktsuss-2.1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools
+
+DESCRIPTION="Graphical version of su written in C and GTK+ 2"
+HOMEPAGE="https://github.com/nomius/ktsuss"
+SRC_URI="https://github.com/nomius/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="amd64 ~mips ppc ppc64 x86"
+IUSE="sudo"
+
+RDEPEND=">=x11-libs/gtk+-2.12.11:2
+ >=dev-libs/glib-2.16.5:2
+ sudo? ( app-admin/sudo )"
+DEPEND="virtual/pkgconfig
+ ${RDEPEND}"
+
+DOCS=( Changelog CREDITS README.md )
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ econf $(use_enable sudo)
+}
diff --git a/x11-misc/ktsuss/metadata.xml b/x11-misc/ktsuss/metadata.xml
new file mode 100644
index 000000000000..3ddb97c08bb6
--- /dev/null
+++ b/x11-misc/ktsuss/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>zlg@gentoo.org</email>
+ <name>Daniel Campbell</name>
+ </maintainer>
+ <use>
+ <flag name="sudo">Use the sudo backend instead the su one</flag>
+ </use>
+ <upstream>
+ <remote-id type="google-code">ktsuss</remote-id>
+ <remote-id type="github">nomius/ktsuss</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/launchy/Manifest b/x11-misc/launchy/Manifest
new file mode 100644
index 000000000000..ca2e8df8e89d
--- /dev/null
+++ b/x11-misc/launchy/Manifest
@@ -0,0 +1,7 @@
+AUX launchy-2.5-prefix-and-libdir.patch 4616 SHA256 4ba17221ce9d1c3cc98a703f394193b9d0e3c83fefbdc7677997f4aae507e334 SHA512 e170705bf0917ac0a943d3f9cd08ff606cd3e593ea05dd5bde32745a36d8436344a938dab811de361a2124ab64fc11fd234d70fbb59a9eacceb0064b6fcb03b0 WHIRLPOOL d03fff7f371e1ba4ad751d3120e802079d568461d432388216ef2815cc29d04389344ec98772be518c1f2ce0786268dc33b018de29074f0bad8ddf8359fc2268
+AUX launchy-2.5-underlink.patch 431 SHA256 80cfb27676e31836bd1638a2cf80fb9a6ec4c812bba6452261784e20ed661d82 SHA512 e9df33fce8b5f01b598346c432facd3a5ef87b95888bd534913b0a7d7477b596cb469bb6b685599cfbe9621deeeaee50b01e01948245c34b185b00d528c9eb6b WHIRLPOOL 9df9b19aed8dda4eba09067dfe1f96f7b9ff442b43f728aa5a7129f4958b354039216f65c7cd7a66e55b2ac889f54a76655f674f13e9fc75ebffa7f69f23bdd6
+DIST launchy-2.5.tar.gz 2926807 SHA256 93ec471423b77973a2118eaec64c7a1c05ce37b5bff41760336ebd14fc819500 SHA512 31cf591184c81c5c44c174f12ffdec4fd15eb2f78af3195afceb9b11253d4bb17edee77b9316c8275828431b2ece5bfbc69f50b390eec27295828e80965c0930 WHIRLPOOL ff210a23f675fe9c5000dfc1dadbefd5acd6604b355ef257fa7ef3550da5dcb43721ae5f8d1aaba2b5db835068054838c9c7e81e8a83efb3b9c00303e4e0ddb0
+EBUILD launchy-2.5-r1.ebuild 952 SHA256 e7bd444b15163b481bcafec78c857b87d0f041ae4c67488c16246efd0cb7e6a5 SHA512 fbcc0756d6e5fe3bf19d6e085f47674f971c92f500aca82e87114ff9807bb69ea0dfa6e5d446fb78af9e20bc3ac80de6c839d1af112865fa6a69d869e61f3bc0 WHIRLPOOL 1ac3b4dd2cb8747eed57fab4b4bf2fa6c03d808da9ef808e8f799ee330a260e5276ebb87a8b61b9f3aba705d3c47fd7680d0893b2f56eef0fffe1ec994bffa54
+MISC ChangeLog 2722 SHA256 8a265161fb55bf0c33a34be7d03872ecfb7873bdf66a2c2cc0d2bf397749ef3f SHA512 21d099ae36eb6a843b84f9953f7bfc709661767bea7951a486e4f89bda27b4aa359c3060f71124a80d54141073db76fe10d2f6ebf4b80b698ac97ab6ef2539d2 WHIRLPOOL c9aed1a5803ad65e8330dc5f3e91b9d0b3ec03d4b527abca0a343001e28f82f219e4ba5eecce38242aff7be1753e12fc04eb0c31ba0cc51225ed5d0d435832f7
+MISC ChangeLog-2015 603 SHA256 de314ba3dc15c2be0ed0465790fc74de67b95053665363599b8a285fd2e8d018 SHA512 563ef2f62dc22610587d32e532cfa035761bf6de743b906dd18ff27581c0fd8e8e85b0166c3376e87502e7044f7ed024d2e2b51d6c490074089e5247881e80e3 WHIRLPOOL 9cb6e4ad8fcf928d60b9b9a8ab5285f9bc45bcd9de302f9cdc37c1338cb5c60cce47acab1c5a7cb13be086abaece77dc3be821a139da2d3c3401968f91714218
+MISC metadata.xml 139 SHA256 5cdc1888ebc8807b9a37b1d33429c61cabe7415a4f240e21a4c2ff8eca7a34ed SHA512 8be912ace7468a4396eb1da00a9785030a8ce35da4357a01591876a1056fd45e44da65de2af3e1eb0506ce6551714962c40c3ae5a3aefa2ad231de35af2519be WHIRLPOOL 620431014dd4fb752c3d46d11904ecb2c6d4525f5b4e30f4f778a3b74d3f7187ae4ccd856ebd7eabb48ce261b21849c732928fe647edce024a3fdc082d8f8630
diff --git a/x11-misc/launchy/files/launchy-2.5-prefix-and-libdir.patch b/x11-misc/launchy/files/launchy-2.5-prefix-and-libdir.patch
new file mode 100644
index 000000000000..5b277786e871
--- /dev/null
+++ b/x11-misc/launchy/files/launchy-2.5-prefix-and-libdir.patch
@@ -0,0 +1,112 @@
+diff -ur a/platforms/unix/unix.pro b/platforms/unix/unix.pro
+--- a/platforms/unix/unix.pro 2008-09-01 03:40:56.000000000 +0300
++++ b/platforms/unix/unix.pro 2017-03-01 15:44:50.201858265 +0200
+@@ -11,11 +11,10 @@
+
+
+ unix {
+- PREFIX = /usr
+ DEFINES += SKINS_PATH=\\\"$$PREFIX/share/launchy/skins/\\\" \
+- PLUGINS_PATH=\\\"$$PREFIX/lib/launchy/plugins/\\\" \
+- PLATFORMS_PATH=\\\"$$PREFIX/lib/launchy/\\\"
+- target.path = $$PREFIX/lib/launchy/
++ PLUGINS_PATH=\\\"$$PREFIX/$$LIBDIR/launchy/plugins/\\\" \
++ PLATFORMS_PATH=\\\"$$PREFIX/$$LIBDIR/launchy/\\\"
++ target.path = $$PREFIX/$$LIBDIR/launchy/
+ INSTALLS += target
+ }
+
+diff -ur a/plugins/calcy/calcy.pro b/plugins/calcy/calcy.pro
+--- a/plugins/calcy/calcy.pro 2010-03-08 01:02:22.000000000 +0200
++++ b/plugins/calcy/calcy.pro 2017-03-01 15:46:49.252849881 +0200
+@@ -26,9 +26,8 @@
+
+
+ unix:!macx {
+- PREFIX = /usr
+- target.path = $$PREFIX/lib/launchy/plugins/
+- icon.path = $$PREFIX/lib/launchy/plugins/icons/
++ target.path = $$PREFIX/$$LIBDIR/launchy/plugins/
++ icon.path = $$PREFIX/$$LIBDIR/launchy/plugins/icons/
+ icon.files = calcy.png
+ INSTALLS += target \
+ icon
+diff -ur a/plugins/gcalc/gcalc.pro b/plugins/gcalc/gcalc.pro
+--- a/plugins/gcalc/gcalc.pro 2010-02-15 23:07:34.000000000 +0200
++++ b/plugins/gcalc/gcalc.pro 2017-03-01 15:48:00.542647288 +0200
+@@ -19,10 +19,9 @@
+ if(!debug_and_release|build_pass):CONFIG(debug, debug|release):DESTDIR = ../../debug/plugins
+ if(!debug_and_release|build_pass):CONFIG(release, debug|release):DESTDIR = ../../release/plugins
+ unix:!macx {
+- PREFIX = /usr
+- target.path = $$PREFIX/lib/launchy/plugins/
++ target.path = $$PREFIX/$$LIBDIR/launchy/plugins/
+
+- # icon.path = $$PREFIX/lib/launchy/plugins/icons/
++ # icon.path = $$PREFIX/$$LIBDIR/launchy/plugins/icons/
+ # icon.files = gcalc.png
+ INSTALLS += target
+ }
+diff -ur a/plugins/runner/runner.pro b/plugins/runner/runner.pro
+--- a/plugins/runner/runner.pro 2010-02-15 23:07:34.000000000 +0200
++++ b/plugins/runner/runner.pro 2017-03-01 15:46:22.202306212 +0200
+@@ -42,9 +42,8 @@
+ }
+
+ unix:!macx {
+- PREFIX = /usr
+- target.path = $$PREFIX/lib/launchy/plugins/
+- icon.path = $$PREFIX/lib/launchy/plugins/icons/
++ target.path = $$PREFIX/$$LIBDIR/launchy/plugins/
++ icon.path = $$PREFIX/$$LIBDIR/launchy/plugins/icons/
+ icon.files = runner.png
+ INSTALLS += target icon
+ }
+diff -ur a/plugins/verby/verby.pro b/plugins/verby/verby.pro
+--- a/plugins/verby/verby.pro 2010-02-15 23:07:34.000000000 +0200
++++ b/plugins/verby/verby.pro 2017-03-01 15:47:09.785503507 +0200
+@@ -31,9 +31,8 @@
+ /WX
+ }
+ unix:!macx {
+- PREFIX = /usr
+- target.path = $$PREFIX/lib/launchy/plugins/
+- icon.path = $$PREFIX/lib/launchy/plugins/icons/
++ target.path = $$PREFIX/$$LIBDIR/launchy/plugins/
++ icon.path = $$PREFIX/$$LIBDIR/launchy/plugins/icons/
+ icon.files = verby.png copy.png opencontainer.png properties.png run.png
+ INSTALLS += target \
+ icon
+diff -ur a/plugins/weby/weby.pro b/plugins/weby/weby.pro
+--- a/plugins/weby/weby.pro 2010-02-15 23:07:34.000000000 +0200
++++ b/plugins/weby/weby.pro 2017-03-01 15:47:30.764149617 +0200
+@@ -32,9 +32,8 @@
+ if(!debug_and_release|build_pass):CONFIG(debug, debug|release):DESTDIR = ../../debug/plugins
+ if(!debug_and_release|build_pass):CONFIG(release, debug|release):DESTDIR = ../../release/plugins
+ unix:!macx {
+- PREFIX = /usr
+- target.path = $$PREFIX/lib/launchy/plugins/
+- icon.path = $$PREFIX/lib/launchy/plugins/icons/
++ target.path = $$PREFIX/$$LIBDIR/launchy/plugins/
++ icon.path = $$PREFIX/$$LIBDIR/launchy/plugins/icons/
+ icon.files = weby.png
+ INSTALLS += target \
+ icon
+diff -ur a/src/src.pro b/src/src.pro
+--- a/src/src.pro 2017-03-01 15:50:28.430152700 +0200
++++ b/src/src.pro 2017-03-01 15:51:18.931300883 +0200
+@@ -71,11 +71,10 @@
+ platform_base_hotkey.h \
+ platform_base_hottrigger.h
+
+- PREFIX = /usr
+ LIBS += -lX11 -lXext -lXrender
+ DEFINES += SKINS_PATH=\\\"$$PREFIX/share/launchy/skins/\\\" \
+- PLUGINS_PATH=\\\"$$PREFIX/lib/launchy/plugins/\\\" \
+- PLATFORMS_PATH=\\\"$$PREFIX/lib/launchy/\\\"
++ PLUGINS_PATH=\\\"$$PREFIX/$$LIBDIR/launchy/plugins/\\\" \
++ PLATFORMS_PATH=\\\"$$PREFIX/$$LIBDIR/launchy/\\\"
+ if(!debug_and_release|build_pass) {
+ CONFIG(debug, debug|release):DESTDIR = ../debug/
+ CONFIG(release, debug|release):DESTDIR = ../release/
+Only in a/src: src.pro.orig
diff --git a/x11-misc/launchy/files/launchy-2.5-underlink.patch b/x11-misc/launchy/files/launchy-2.5-underlink.patch
new file mode 100644
index 000000000000..f14110d581b5
--- /dev/null
+++ b/x11-misc/launchy/files/launchy-2.5-underlink.patch
@@ -0,0 +1,12 @@
+diff --git a/src/src.pro b/src/src.pro
+index 13a627d..f720a22 100644
+--- a/src/src.pro
++++ b/src/src.pro
+@@ -72,6 +72,7 @@ unix:!macx {
+ platform_base_hottrigger.h
+
+ PREFIX = /usr
++ LIBS += -lX11 -lXext -lXrender
+ DEFINES += SKINS_PATH=\\\"$$PREFIX/share/launchy/skins/\\\" \
+ PLUGINS_PATH=\\\"$$PREFIX/lib64/launchy/plugins/\\\" \
+ PLATFORMS_PATH=\\\"$$PREFIX/lib64/launchy/\\\"
diff --git a/x11-misc/launchy/launchy-2.5-r1.ebuild b/x11-misc/launchy/launchy-2.5-r1.ebuild
new file mode 100644
index 000000000000..8b1a33abaefe
--- /dev/null
+++ b/x11-misc/launchy/launchy-2.5-r1.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit fdo-mime gnome2-utils qmake-utils
+
+DESCRIPTION="utility that merges application menus, your desktop and even your file manager"
+HOMEPAGE="http://www.launchy.net/"
+SRC_URI="http://www.launchy.net/downloads/src/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+ dev-qt/qtgui:4
+ x11-libs/libX11
+"
+DEPEND="${RDEPEND}
+ dev-libs/boost
+ x11-proto/xproto
+"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-underlink.patch
+ "${FILESDIR}"/${P}-prefix-and-libdir.patch
+)
+
+src_configure() {
+ eqmake4 Launchy.pro PREFIX="${EPREFIX}"/usr LIBDIR="$(get_libdir)"
+}
+
+src_install() {
+ emake INSTALL_ROOT="${D}" install
+ einstalldocs
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ fdo-mime_desktop_database_update
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ fdo-mime_desktop_database_update
+ gnome2_icon_cache_update
+}
diff --git a/x11-misc/launchy/metadata.xml b/x11-misc/launchy/metadata.xml
new file mode 100644
index 000000000000..097975e3adc2
--- /dev/null
+++ b/x11-misc/launchy/metadata.xml
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+</pkgmetadata>
diff --git a/x11-misc/libinput-gestures/Manifest b/x11-misc/libinput-gestures/Manifest
new file mode 100644
index 000000000000..fca50e100e94
--- /dev/null
+++ b/x11-misc/libinput-gestures/Manifest
@@ -0,0 +1,8 @@
+DIST libinput-gestures-2.15.tar.gz 11468 SHA256 95a91a2c7c4c9f91c035f7defb6868a92f6c61218d0fcb0a87b0fa63527c2912 SHA512 b0449ce3355e700655cf450b62e239566f2a49127bb4afeda659e04026657d86f13dbfd101399428771b92323e6c55cf40f75bad79025ff80eb9003d85345c23 WHIRLPOOL 9ff81290ecadc17bf2fbfeeb0a5ce1ff0adb059c1675f111a18144f13ac058f5efda445f139fb6158b17ec81a0b6014400d9c54fa8c393f206f4e4c71382b310
+DIST libinput-gestures-2.19.tar.gz 13031 SHA256 3f7cea70af6fc83f8d5910ef2a2a18955b0682b04c7a094ba6bcd46d912ddaaa SHA512 d67e5180e89dd1032fc16be6c6bb8b17f413bc41ebf2d92735fa444b23b5001ae37e243d1089f96308ea22a015b38c066ad8ca2a8f33feea247a51d6bf049d10 WHIRLPOOL 40d8b8715f2960454b843446548fc6106a56b21ca309089e077a2bf9ee4ea2b9ce0bc07025521de9f86851ce98a549e06baacf17923a7eb82e3424700674dbd3
+DIST libinput-gestures-2.26.tar.gz 15016 SHA256 378911de4f750f0959aeb27c9ed2c8be01ea6ce0c787d2d716110ff937fca584 SHA512 375c457c04f74d140693f6db0594b38f09c1a60eec89fa6e4b6da9b1d8d62abe42cf9e1a74214534f2b2f2a36d323521860bea722045b467d6bf2720a9c8c772 WHIRLPOOL 6df1993f29afb6759cea742b875ff3769064aa0cecbb64591e6517decca2bbab22ea2f5e75300ada4624ee8b22b4a22f6ce575eb7af0756e66762e3796b946c6
+EBUILD libinput-gestures-2.15.ebuild 759 SHA256 eb1a0de2d48f54ec7a6107df01e47bc17e6b23ff7853b29bbdc96c0d9ccbacc9 SHA512 120065e75ee119865923e4f1bd05d960c457971802100fdbb7e34ba755574ec5ebc1677649e8ef15a7989c46cef67956b860789fb5073372f41ba0f1d44ed451 WHIRLPOOL e4b8e9dc99f6e816ff5ee60d9af16a3c06daf4a19eb914a97e43de0335db4320522ac827c28c1292f3e6b6805d051e202ad423c1d2ba163b2ec714f9cdf81852
+EBUILD libinput-gestures-2.19.ebuild 759 SHA256 4534fec8df6061c8a69fadf2585888df5ff6ac66914e82a1bba93d846463a820 SHA512 351167d64286f3024fdd49eb4b96d587c588113ae7edbbc99c738d634ad87e49a9f6400db198dc3382f041711e02662edef81f12b3e0a3e57f9383fff1e92f93 WHIRLPOOL 8314f5d81c7dd293c5754a8cf8904cf639b586a5abd015502578325ec914ea88dac3f472415a5bbe9658c0ecb2a54cd2de557fc3b6501de4f73d445d329ead4d
+EBUILD libinput-gestures-2.26.ebuild 779 SHA256 0504e4ae34a7169e84de7cd0c733067bb21146fd2a4ef4b40019701f836b9e6d SHA512 6213d21385271e59ca451702f9320503dfaafb090a7a3404131c4d4853856f0a551db966e48d7ccd520d9da64580c05d6d4a10a70dc5c35c79dd87dee47336fb WHIRLPOOL 6e69f7e728413ac517ca6489c8a66ccecdcdaf6f9cc869a904cf394eedb94abe0044eabdc4a46377c450c2b4c444e4c3c44c7310d70b0107c3241ae8ce8500b3
+EBUILD libinput-gestures-9999.ebuild 760 SHA256 8d5316a381848e323231ebf73abe2325625a50642657ccd7eed21e7225a01a7f SHA512 1b0d306ff0530aad30c012211c226f16a23c02eab273c8751a96e352a2d11a2f2cdd7c3dedfc7743449f235bf557287aeb0315d751268a282a07c4c6696dfb75 WHIRLPOOL f377b2ce052800c5ba9d0e08d501401249ccb328a340f5b5bb64d69a4697162c7240efc5da5a98a07e9006ee76f27b39e3272d1cf4aaafb6aedccd8dffb79837
+MISC metadata.xml 825 SHA256 4c62a981ea4c7d643c0e1ae689bb41b36248ef8e3eaef8b867f861f2ee1eb214 SHA512 9ed80c1c4113a9539366f66ddcc1a0169d42252e0cf347693085d89dee2259c9c120f4e864e35d42a1af9f86019ef944c27bd2ba71cba6ff6eba8509281807c5 WHIRLPOOL 27e24721a377a67895c132a908a4b50a5def9b6f4f4425220d7cf89124ffa36315cdddad50b00155ec5c97dbe689073a139897f0d61f90946e02a24f3aa6a6f6
diff --git a/x11-misc/libinput-gestures/libinput-gestures-2.15.ebuild b/x11-misc/libinput-gestures/libinput-gestures-2.15.ebuild
new file mode 100644
index 000000000000..98e1c98335ad
--- /dev/null
+++ b/x11-misc/libinput-gestures/libinput-gestures-2.15.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python{3_4,3_5} )
+
+inherit python-single-r1
+
+DESCRIPTION="Actions gestures on your touchpad using libinput"
+HOMEPAGE="https://github.com/bulletmark/${PN}"
+SRC_URI="https://github.com/bulletmark/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="kde gtk"
+
+RDEPEND="${PYTHON_DEPS}
+ dev-libs/libinput
+ x11-misc/xdotool
+ x11-misc/wmctrl"
+DEPEND="dev-libs/libinput
+ dev-util/desktop-file-utils
+ gtk? ( x11-libs/gtk+:3 )
+ kde? ( kde-plasma/kde-cli-tools:5 )"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+pkg_postinst() {
+ elog "You must be in the input group to read the touchpad device."
+}
diff --git a/x11-misc/libinput-gestures/libinput-gestures-2.19.ebuild b/x11-misc/libinput-gestures/libinput-gestures-2.19.ebuild
new file mode 100644
index 000000000000..766fd4ddfc59
--- /dev/null
+++ b/x11-misc/libinput-gestures/libinput-gestures-2.19.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python{3_4,3_5} )
+
+inherit python-single-r1
+
+DESCRIPTION="Actions gestures on your touchpad using libinput"
+HOMEPAGE="https://github.com/bulletmark/${PN}"
+SRC_URI="https://github.com/bulletmark/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="gtk kde"
+
+RDEPEND="${PYTHON_DEPS}
+ dev-libs/libinput
+ x11-misc/xdotool
+ x11-misc/wmctrl"
+DEPEND="dev-libs/libinput
+ dev-util/desktop-file-utils
+ gtk? ( x11-libs/gtk+:3 )
+ kde? ( kde-plasma/kde-cli-tools:5 )"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+pkg_postinst() {
+ elog "You must be in the input group to read the touchpad device."
+}
diff --git a/x11-misc/libinput-gestures/libinput-gestures-2.26.ebuild b/x11-misc/libinput-gestures/libinput-gestures-2.26.ebuild
new file mode 100644
index 000000000000..5f7ead386f54
--- /dev/null
+++ b/x11-misc/libinput-gestures/libinput-gestures-2.26.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python{3_4,3_5,3_6} )
+
+inherit python-single-r1
+
+DESCRIPTION="Actions gestures on your touchpad using libinput"
+HOMEPAGE="https://github.com/bulletmark/${PN}"
+SRC_URI="https://github.com/bulletmark/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="gtk kde"
+
+RDEPEND="${PYTHON_DEPS}
+ >=dev-libs/libinput-1.8.0
+ x11-misc/xdotool
+ x11-misc/wmctrl"
+DEPEND=">=dev-libs/libinput-1.8.0
+ dev-util/desktop-file-utils
+ gtk? ( x11-libs/gtk+:3 )
+ kde? ( kde-plasma/kde-cli-tools:5 )"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+pkg_postinst() {
+ elog "You must be in the input group to read the touchpad device."
+}
diff --git a/x11-misc/libinput-gestures/libinput-gestures-9999.ebuild b/x11-misc/libinput-gestures/libinput-gestures-9999.ebuild
new file mode 100644
index 000000000000..fcb47f025982
--- /dev/null
+++ b/x11-misc/libinput-gestures/libinput-gestures-9999.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python{3_4,3_5,3_6} )
+
+inherit git-r3 python-single-r1
+
+DESCRIPTION="Actions gestures on your touchpad using libinput"
+HOMEPAGE="https://github.com/bulletmark/${PN}"
+EGIT_REPO_URI="https://github.com/bulletmark/${PN}.git"
+SRC_URI=""
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS=""
+IUSE="gtk kde"
+
+RDEPEND="${PYTHON_DEPS}
+ >=dev-libs/libinput-1.8.0
+ x11-misc/xdotool
+ x11-misc/wmctrl"
+DEPEND=">=dev-libs/libinput-1.8.0
+ dev-util/desktop-file-utils
+ gtk? ( x11-libs/gtk+:3 )
+ kde? ( kde-plasma/kde-cli-tools:5 )"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+pkg_postinst() {
+ elog "You must be in the input group to read the touchpad device."
+}
diff --git a/x11-misc/libinput-gestures/metadata.xml b/x11-misc/libinput-gestures/metadata.xml
new file mode 100644
index 000000000000..60f4aae4717f
--- /dev/null
+++ b/x11-misc/libinput-gestures/metadata.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>spiderx@spiderx.dp.ua</email>
+ <name>Vladimir Pavljuchenkov</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <longdescription lang="en">
+ This is a utility which reads libinput gestures from your touchpad
+ and maps them to gestures you configure in a configuration file.
+ Each gesture can be configured to activate a shell command which is
+ typically an xdotool command to action desktop/window/application
+ keyboard combinations and commands.
+ </longdescription>
+ <upstream>
+ <remote-id type="github">bulletmark/libinput-gestures</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/light-locker/Manifest b/x11-misc/light-locker/Manifest
new file mode 100644
index 000000000000..124125f04b6b
--- /dev/null
+++ b/x11-misc/light-locker/Manifest
@@ -0,0 +1,9 @@
+AUX light-locker-1.7.0-systemd.patch 2393 SHA256 ed11b8f663fa012e8a1eadd36de13056725bd3f502e1b04b1807a5858aae93a6 SHA512 7903288386daaaa8f63c472ba4956eae01db91006bfdfac53269bac7097fe422c3b8052d8f3dddffea8b4ca94ba31fdd4fba804a2a0747852213ce5c20082b90 WHIRLPOOL 1c0a4d416ac9cd8fd0f6cb47fa932c9acece83bf085f09a0c85f1060ee44261dbc0bd81bff8f4acd1ea0391c6ed3c3e2ef9c446e082ed297ff16dab86a717c96
+DIST light-locker-1.7.0.tar.bz2 530315 SHA256 938baae14576e91b1fa0af963941bae6ef8d141bd83b513ff02256d8b6e79e29 SHA512 dcd524ed5bf8475743585ee5a6b35dfe396d17f307418e208450ccabc12ab6b3835818fdf11324b8c7dc63332b9faacea184409b7c9c0a242fbb9d6402a2d079 WHIRLPOOL 05d9d0762da2ddbfb6a33209b65289c26ef01cd14fbe9cab0c15718ce915e18f48e3d288b58dfddfc1de28ce821e3fa93559f52a3d7eec539f5d544ae5713a40
+DIST light-locker-1.8.0.tar.bz2 449898 SHA256 3c76106f40a8efe67b462061e4c798e3e501b54356c8cdc1b67a3022d9d7dba1 SHA512 bbad73c0b82a50ddca240d5e1bd325a99d0c60364d136fe6d9d52f196319953373c9d03cf38ebd75d4498d080e96702e09fc97c35b4b69cbe963f065719549d5 WHIRLPOOL 4d120bb94c5aba679a5d48cc65d23ba39284d4e929c01cf6b4a013d96f917e3e6938c3074c3934df0f50b6d159ae3e84582ea62cfd49967a7ea611007d2255b8
+EBUILD light-locker-1.7.0-r1.ebuild 1539 SHA256 c9dcc77ea8bfef31e5f0c58f39e1bf00f226c654fa427b55011830a08194c016 SHA512 a8e016855ebfc65443947e540fdef62e88920f11446bcae4f2fd44946a85d6edae34d3256e14a91a309a4169345e8c3898cc9ab04584e8bb35ddc9256395474e WHIRLPOOL b6c40921adc51e4986984327bcb3b89abdee7404e7e0714f40fd534ed5ecf1e02db0f6d5ce24526ace4901d856206042b7a4947c0b8bb619e781653a8c569951
+EBUILD light-locker-1.7.0.ebuild 1409 SHA256 7bce0c0da70bb4bd017894eaeb2d0064bdfbf1cf969b4ed683c86411ceac5290 SHA512 5e96e83cac55d95234b1e01f60e14a041035256c6fc2e6b6468818ccf4ac4bbff075637d13c8532923cf41f8316ea93730a47cc9421d411c98fff34b39a806a0 WHIRLPOOL 28a4afd1d8256f1a7c2c3fa8ddbcbe30cc8fb8024aa313318d55a1289f6b24ac088b37199bc9d51b8c078d7283d3c35127d6146ffbfae9b0c493400fbf59272e
+EBUILD light-locker-1.8.0.ebuild 1409 SHA256 7bce0c0da70bb4bd017894eaeb2d0064bdfbf1cf969b4ed683c86411ceac5290 SHA512 5e96e83cac55d95234b1e01f60e14a041035256c6fc2e6b6468818ccf4ac4bbff075637d13c8532923cf41f8316ea93730a47cc9421d411c98fff34b39a806a0 WHIRLPOOL 28a4afd1d8256f1a7c2c3fa8ddbcbe30cc8fb8024aa313318d55a1289f6b24ac088b37199bc9d51b8c078d7283d3c35127d6146ffbfae9b0c493400fbf59272e
+MISC ChangeLog 2670 SHA256 3be2fbddec5b221be1df99b8ce3ae5b51222cf7239105090ed056b847857c375 SHA512 c8fe6d8afe95616c05e8b5bd8cbbc40a19cac669b5b3978458ff2047db712b29e6d10ad5d5a2703009bd0c613ca0396ff38df1442a94e96caabefe4406cedc59 WHIRLPOOL 84608ee1f0e6809c388edc9de83f5de4c0e8cc2bc6081c5ea091601d477292bc1f37c62d4e8e970f4d08f62f2c7f8ec2428dab853dc24367d7d1ba12e95bcae3
+MISC ChangeLog-2015 565 SHA256 0a5b9c178f11f429e175a6ee6500933f189de254f6ae1b88b61ae3c4d61a0615 SHA512 9678ebca6127bc59d2fecea420d01f71a2817e8688738b843dc1419cd5440c3aa9b45b5983a458799435f3fd7187a71809d6170942f49df80403c329b2ee3d97 WHIRLPOOL 6e356236788c56c34978977e4a53c4fc103d187fc1a826490b8a3a9eab48a3405927be1c7f1da8bddb268eed725ec8e167253a70455110c6d121e8287000e8b0
+MISC metadata.xml 698 SHA256 cd80683535cf20fa1093335e8168551d63a60b5fc56fdee1e0397aad8fb906c5 SHA512 583d1108a9be5b71a9e3867b60b20dba60a1c999fe7a27634456b9102af8193dc22e6b7a5410c520f5aa13482a290d4e6cf6bdcde070788fd7ce8d2b74ece144 WHIRLPOOL 629e0a112a66ede6c36e881910e6e58ad16719df5a484cca3d50aa7238d0b8b8f2daa493867a6010d287cb2cd32b7073fc24f7e4dc06e9bf9ac4b82f80b7faae
diff --git a/x11-misc/light-locker/files/light-locker-1.7.0-systemd.patch b/x11-misc/light-locker/files/light-locker-1.7.0-systemd.patch
new file mode 100644
index 000000000000..757dda27329e
--- /dev/null
+++ b/x11-misc/light-locker/files/light-locker-1.7.0-systemd.patch
@@ -0,0 +1,46 @@
+--- configure.orig 2016-09-12 19:48:08.510799596 -0600
++++ configure 2016-09-12 19:48:33.804071980 -0600
+@@ -17532,12 +17532,12 @@
+ pkg_cv_SYSTEMD_CFLAGS="$SYSTEMD_CFLAGS"
+ elif test -n "$PKG_CONFIG"; then
+ if test -n "$PKG_CONFIG" && \
+- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd-login\""; } >&5
+- ($PKG_CONFIG --exists --print-errors "libsystemd-login") 2>&5
++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd\""; } >&5
++ ($PKG_CONFIG --exists --print-errors "libsystemd") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+- pkg_cv_SYSTEMD_CFLAGS=`$PKG_CONFIG --cflags "libsystemd-login" 2>/dev/null`
++ pkg_cv_SYSTEMD_CFLAGS=`$PKG_CONFIG --cflags "libsystemd" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes
+ else
+ pkg_failed=yes
+@@ -17549,12 +17549,12 @@
+ pkg_cv_SYSTEMD_LIBS="$SYSTEMD_LIBS"
+ elif test -n "$PKG_CONFIG"; then
+ if test -n "$PKG_CONFIG" && \
+- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd-login\""; } >&5
+- ($PKG_CONFIG --exists --print-errors "libsystemd-login") 2>&5
++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd\""; } >&5
++ ($PKG_CONFIG --exists --print-errors "libsystemd") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+- pkg_cv_SYSTEMD_LIBS=`$PKG_CONFIG --libs "libsystemd-login" 2>/dev/null`
++ pkg_cv_SYSTEMD_LIBS=`$PKG_CONFIG --libs "libsystemd" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes
+ else
+ pkg_failed=yes
+@@ -17575,9 +17575,9 @@
+ _pkg_short_errors_supported=no
+ fi
+ if test $_pkg_short_errors_supported = yes; then
+- SYSTEMD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsystemd-login" 2>&1`
++ SYSTEMD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsystemd" 2>&1`
+ else
+- SYSTEMD_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libsystemd-login" 2>&1`
++ SYSTEMD_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libsystemd" 2>&1`
+ fi
+ # Put the nasty error message in config.log where it belongs
+ echo "$SYSTEMD_PKG_ERRORS" >&5
diff --git a/x11-misc/light-locker/light-locker-1.7.0-r1.ebuild b/x11-misc/light-locker/light-locker-1.7.0-r1.ebuild
new file mode 100644
index 000000000000..51411789d10f
--- /dev/null
+++ b/x11-misc/light-locker/light-locker-1.7.0-r1.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit gnome2-utils
+
+DESCRIPTION="A simple locker using lightdm"
+HOMEPAGE="https://github.com/the-cavalry/light-locker"
+SRC_URI="${HOMEPAGE}/releases/download/v${PV}/${P}.tar.bz2"
+
+LICENSE="GPL-2 LGPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+consolekit +dpms gtk3 +screensaver -systemd +upower"
+
+RDEPEND="dev-libs/dbus-glib
+ >=dev-libs/glib-2.25.6:2
+ >=sys-apps/dbus-0.30
+ x11-libs/cairo
+ x11-libs/libX11
+ x11-libs/pango
+ x11-libs/libXxf86vm
+ consolekit? ( sys-auth/consolekit )
+ dpms? ( x11-libs/libXext )
+ !gtk3? ( >=x11-libs/gtk+-2.24:2 )
+ gtk3? ( x11-libs/gtk+:3 )
+ screensaver? ( x11-libs/libXScrnSaver )
+ systemd? ( sys-apps/systemd )
+ upower? ( || ( sys-power/upower sys-power/upower-pm-utils ) )"
+DEPEND="${RDEPEND}
+ dev-lang/perl
+ dev-perl/XML-Parser
+ dev-util/intltool
+ sys-devel/gettext"
+RDEPEND="${RDEPEND}
+ x11-misc/lightdm"
+
+DOCS=( AUTHORS HACKING NEWS README )
+
+src_prepare() {
+ # Not using debian's patch on configure.ac because it requires running xdg-autogen which is a mess
+ epatch "${FILESDIR}/${PN}-${PV}-systemd.patch"
+ eapply_user
+}
+
+src_configure() {
+ econf \
+ $(use_with consolekit console-kit) \
+ $(use_with dpms dpms-ext) \
+ $(use_with !gtk3 gtk2) \
+ $(use_with screensaver x) \
+ $(use_with screensaver mit-ext) \
+ $(use_with systemd) \
+ $(use_with upower)
+}
+
+pkg_preinst() {
+ gnome2_schemas_savelist
+}
+
+pkg_postinst() {
+ gnome2_schemas_update
+}
+
+pkg_postrm() {
+ gnome2_schemas_update
+}
diff --git a/x11-misc/light-locker/light-locker-1.7.0.ebuild b/x11-misc/light-locker/light-locker-1.7.0.ebuild
new file mode 100644
index 000000000000..bb354a057397
--- /dev/null
+++ b/x11-misc/light-locker/light-locker-1.7.0.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit autotools-utils gnome2-utils
+
+DESCRIPTION="A simple locker using lightdm"
+HOMEPAGE="https://github.com/the-cavalry/light-locker"
+SRC_URI="${HOMEPAGE}/releases/download/v${PV}/${P}.tar.bz2"
+
+LICENSE="GPL-2 LGPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+consolekit +dpms gtk3 +screensaver -systemd +upower"
+
+RDEPEND="dev-libs/dbus-glib
+ >=dev-libs/glib-2.25.6:2
+ >=sys-apps/dbus-0.30
+ x11-libs/cairo
+ x11-libs/libX11
+ x11-libs/pango
+ x11-libs/libXxf86vm
+ consolekit? ( sys-auth/consolekit )
+ dpms? ( x11-libs/libXext )
+ !gtk3? ( >=x11-libs/gtk+-2.24:2 )
+ gtk3? ( x11-libs/gtk+:3 )
+ screensaver? ( x11-libs/libXScrnSaver )
+ systemd? ( sys-apps/systemd )
+ upower? ( || ( sys-power/upower sys-power/upower-pm-utils ) )"
+DEPEND="${RDEPEND}
+ dev-lang/perl
+ dev-perl/XML-Parser
+ dev-util/intltool
+ sys-devel/gettext"
+RDEPEND="${RDEPEND}
+ x11-misc/lightdm"
+
+DOCS=( AUTHORS HACKING NEWS README )
+
+src_configure() {
+ local myeconfargs=(
+ $(use_with consolekit console-kit)
+ $(use_with dpms dpms-ext)
+ $(use_with !gtk3 gtk2)
+ $(use_with screensaver x)
+ $(use_with screensaver mit-ext)
+ $(use_with systemd)
+ $(use_with upower)
+ )
+ autotools-utils_src_configure
+}
+
+pkg_preinst() {
+ gnome2_schemas_savelist
+}
+
+pkg_postinst() {
+ gnome2_schemas_update
+}
+
+pkg_postrm() {
+ gnome2_schemas_update
+}
diff --git a/x11-misc/light-locker/light-locker-1.8.0.ebuild b/x11-misc/light-locker/light-locker-1.8.0.ebuild
new file mode 100644
index 000000000000..bb354a057397
--- /dev/null
+++ b/x11-misc/light-locker/light-locker-1.8.0.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit autotools-utils gnome2-utils
+
+DESCRIPTION="A simple locker using lightdm"
+HOMEPAGE="https://github.com/the-cavalry/light-locker"
+SRC_URI="${HOMEPAGE}/releases/download/v${PV}/${P}.tar.bz2"
+
+LICENSE="GPL-2 LGPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+consolekit +dpms gtk3 +screensaver -systemd +upower"
+
+RDEPEND="dev-libs/dbus-glib
+ >=dev-libs/glib-2.25.6:2
+ >=sys-apps/dbus-0.30
+ x11-libs/cairo
+ x11-libs/libX11
+ x11-libs/pango
+ x11-libs/libXxf86vm
+ consolekit? ( sys-auth/consolekit )
+ dpms? ( x11-libs/libXext )
+ !gtk3? ( >=x11-libs/gtk+-2.24:2 )
+ gtk3? ( x11-libs/gtk+:3 )
+ screensaver? ( x11-libs/libXScrnSaver )
+ systemd? ( sys-apps/systemd )
+ upower? ( || ( sys-power/upower sys-power/upower-pm-utils ) )"
+DEPEND="${RDEPEND}
+ dev-lang/perl
+ dev-perl/XML-Parser
+ dev-util/intltool
+ sys-devel/gettext"
+RDEPEND="${RDEPEND}
+ x11-misc/lightdm"
+
+DOCS=( AUTHORS HACKING NEWS README )
+
+src_configure() {
+ local myeconfargs=(
+ $(use_with consolekit console-kit)
+ $(use_with dpms dpms-ext)
+ $(use_with !gtk3 gtk2)
+ $(use_with screensaver x)
+ $(use_with screensaver mit-ext)
+ $(use_with systemd)
+ $(use_with upower)
+ )
+ autotools-utils_src_configure
+}
+
+pkg_preinst() {
+ gnome2_schemas_savelist
+}
+
+pkg_postinst() {
+ gnome2_schemas_update
+}
+
+pkg_postrm() {
+ gnome2_schemas_update
+}
diff --git a/x11-misc/light-locker/metadata.xml b/x11-misc/light-locker/metadata.xml
new file mode 100644
index 000000000000..3b85524b066f
--- /dev/null
+++ b/x11-misc/light-locker/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>calchan@gentoo.org</email>
+ <name>Denis Dupeyron</name>
+ </maintainer>
+ <use>
+ <flag name="consolekit">Keep track of the various users, sessions, and seats present on the system.</flag>
+ <flag name="dpms">Turn on the display on screensaver deactivation.</flag>
+ <flag name="gtk3">Build with GTK+ 3 instead of GTK+ 2.</flag>
+ <flag name="screensaver">Lock the screen on screensaver activation.</flag>
+ </use>
+ <upstream>
+ <remote-id type="github">the-cavalry/light-locker</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/lightdm-gtk-greeter/Manifest b/x11-misc/lightdm-gtk-greeter/Manifest
new file mode 100644
index 000000000000..6eff1aa717bb
--- /dev/null
+++ b/x11-misc/lightdm-gtk-greeter/Manifest
@@ -0,0 +1,12 @@
+AUX lightdm-gtk-greeter-2.0.1-gcc6.patch 512 SHA256 1de3dbaf57a3f8d9c93454f5814cdab82d26115196ee62a64758b02b3603f9fe SHA512 50ad27370f0ea355c27bc91d3a1c2df234dd7bb39e2763d37b93ed5ebdb69bf79be65b07a22fbe94cd3f2945cd4672ef4f97a2862ef15d245a7d0b2d2f7ff009 WHIRLPOOL 71355fcfd34f3f3ca9666d737a3f7f20918057d57660f58c33286cd21203a3f8da40a6a3d04a73f944ba393bdccb36b0ba8173f884c9c7cda89f0df7f2fd9eec
+AUX lightdm-gtk-greeter-2.0.1-lightdm-1.19.2.patch 2129 SHA256 fb9f5b216cabab35cc0bdefb1f479494862bd799d1b1479124640d7a7544d17d SHA512 70bbed98680f6cb6746b4d4cb2ce113d6900373fe701c72a95e70e890e700b337b2ef6f7283bceeb22cecc3098f2cd94cd917bc0c21d034bf2e19be0688f62a4 WHIRLPOOL 4f8b3913cdcc2679f5c305c184f1e89c138f352d02cc8478ca0dcb310cc2b9261b65903f87eda509c2678a42b5b9a5b86f9b091f9f2f87a74dd1a87b57f9d368
+DIST lightdm-gentoo-patch-2.tar.gz 695543 SHA256 5733622609afa67c82e8b6bc4915d6fbbf8470604afe87c4334d418eb5834fa0 SHA512 8d9bfdee71ab1871de33e134b11bba409cc493876e5ae9534956100ff6af6c8748b29de9082ecf8b771ccac4c8c2024e15e93332165171dfe93eb99c9a834274 WHIRLPOOL cb5137a361f32c122fc7d7013f53e890c0ec1823bb78c61fbbeb03803363a2f94cfd61fba096036930d5c561452ab86bab85a9003b1afe521f8b77301c933338
+DIST lightdm-gtk-greeter-2.0.1.tar.gz 467375 SHA256 3264008c8f51323413c2a6ac16523930b75f4ecdde6da8b6fe47ec9bffd9310c SHA512 fd41cae828f7feafb462143519500d0d98a8b6729eb5ffd9be4247d47fa0074fa00ac9892c8cbdda9d7656e9d6949ae65e69911ae911269e99e80e4fefb19a08 WHIRLPOOL b726e9088dcf6e8e8d0cf06900cf6436f089af84e596079d8d0cafedb1963fd3b54a790e46b01d2fd62c70c1970d2ebbe66cb4af3fae9dda9988e09a4efe4919
+DIST lightdm-gtk-greeter-2.0.2.tar.gz 487825 SHA256 8ee6d93d1d6837b3590f64ac4d5bac5db888a8861dff1cb2ef10f7816ad36690 SHA512 6a9b62d3eb94a223df30c0e7ef577645482e63f9ac9cce6466518bb7eabfca3915dba8dbe66dee7456a1f11f81869dc8685b98828b11ae0dd67aa021a9a1d6db WHIRLPOOL 406121b57bf8731b1a61a91f6696b9e68d6da178ca098d7778dc0bf29b183a4a3d0463658e1c04d03d28e31750eadf9b4acb054e6fc733d60508d314d8f1a579
+DIST lightdm-gtk-greeter-2.0.3.tar.gz 490512 SHA256 3db39542cffd54d84c2e1632c1a1668f4f63d8596a6d8fd9fd1649fc7d15db30 SHA512 bd5b18890cf0190faab0e6a2bffab67be359e99f45fda0be7eecded146d2518a4efc0fd4fd29970076246bb989f626dd750cb14b22ddf6188b2be5f113bff3b0 WHIRLPOOL b47d68e30111209725ea3dc3fb6b8225e8ee0f50da11d9124af99c2086dd942b96a77654f0e90dac271163be45af73019fd61fa8469314e3babea49fc24d95c1
+EBUILD lightdm-gtk-greeter-2.0.1-r1.ebuild 1787 SHA256 372707c45af1383ab11150efe65c3b84f02669f5354621cd23ebd25852cb8e7e SHA512 d752a5c785049aadd3a1d8a54d8a212adc3f6a8a3002d676fe7696a921e0d76b95b2d906b62d54d8b1526099b92ede7e71f03d8efb56bf83b50d07b0dd88c80c WHIRLPOOL 399b5147eba645a17d5bba696c745231ac459d89e400d691b973f088a69bc220f0492da3005087e5b08d7cf8353b0b4a173e708091f183f46a056d4581b548ae
+EBUILD lightdm-gtk-greeter-2.0.2-r1.ebuild 1734 SHA256 47009a9d0265b7ff49b2421e8787684b4b2b65a6683a432bb42909527f0958f7 SHA512 4230a5da75b6fa37e3334c78408aba7b8523a25db699f1e45984d2ba560f61c47a271a98ecc1f21453f539782e3bd98640c85c0b1df924ea09881640bde27499 WHIRLPOOL 57f71a8555ef768c1559a2e487eb2afb768c50a50f8b73a37630b9511ad539b27a00c3942f568451d5a277c4fa8b5227b349f9c208cbfa6da1e294900bc9507b
+EBUILD lightdm-gtk-greeter-2.0.3.ebuild 1776 SHA256 dccf568cd745e37f23ea9e8e70f7845b290ce35099470b9a4239ac2d3a88c28c SHA512 cb37c0f282e59e11cfc9adeaaf9c44b2be622f558341515de6b1b678c5b9960cc385968d636d92fbda0d7b3715362fcafd315077c5eb96b293c65e7852e38bce WHIRLPOOL f37b905550fc2e2bafbf8fe2b1423aa16c8273438ea756d43d80f02feb7f55fca397858223043f3e2962a0a48c041ce44aac0085959565303ef03c4b413b4f83
+MISC ChangeLog 5982 SHA256 9097156796046ff5e81ea273f82e02ebd2c499edaadd288f99c17807e94f3dd9 SHA512 9dc3b5c0b1df215bf7cfd1a669df2faca0d97682871d15f4c5b4a5dddd5141a072485641ad8aa41f78c1871f63ce7926cccc78b374ee60b8d230df641be91970 WHIRLPOOL 95b8a8c04021b9f0b66f9b5c9b5f222996327b4b4820506221cf9f4e7c3e52fb6f8ae6e677107a8c820441276ee387e0eb2037f99b8df56263413c65789a6b98
+MISC ChangeLog-2015 5353 SHA256 3edc6d5529601ba70376c8bce5a2af7cc7dca4645fa4084b58989bd16e7b5e1d SHA512 e886ed0565efbc88b95273d7fe050607e8e9637f110e1b1f3f26bd592276e9a1020bacf30769edb605530baa2be4afab3998b3dfb5828040c7ed7a1c398b2b34 WHIRLPOOL 75cd0837423d5c48be396a9829cebf4b83a8ca6acf590b3858411c4c31cee8b1e3ba64391543d16ad921ad203cef0a372b16a463407e1f6b0298cdd1303a9a3c
+MISC metadata.xml 337 SHA256 3c1fbcd2124c80eafc60ff8225fbcce50ebdc00170ee6e8bb6a49c9acf11faa5 SHA512 7819a26eb1d16acc0eaeb89c43ae27520ed527e4bc3166e3f5e582cb3c693cba07270e0864e2c57dfc005b4f27cae2b9bfad3f83be24990b6ecb1d0049c5efe6 WHIRLPOOL cf9d4c5d234620e7d405663f1e0aedcc28b93456622fbf1b017cf0c720a5d5b1cdd3b02a700842832192b7e63c32c0ec9d96de459bc437200d7570b0cfab2a5e
diff --git a/x11-misc/lightdm-gtk-greeter/files/lightdm-gtk-greeter-2.0.1-gcc6.patch b/x11-misc/lightdm-gtk-greeter/files/lightdm-gtk-greeter-2.0.1-gcc6.patch
new file mode 100644
index 000000000000..f72a93abfc1c
--- /dev/null
+++ b/x11-misc/lightdm-gtk-greeter/files/lightdm-gtk-greeter-2.0.1-gcc6.patch
@@ -0,0 +1,25 @@
+Bug: https://bugs.gentoo.org/show_bug.cgi?id=619782
+Upstream commit: http://bazaar.launchpad.net/~lightdm-gtk-greeter-team/lightdm-gtk-greeter/trunk/revision/349
+
+--- a/src/lightdm-gtk-greeter.c
++++ b/src/lightdm-gtk-greeter.c
+@@ -677,6 +677,9 @@
+
+ /* Clock */
+
++#pragma GCC diagnostic push
++#pragma GCC diagnostic ignored "-Wformat-nonliteral"
++
+ static gboolean
+ clock_timeout_thread (void)
+ {
+@@ -697,6 +700,8 @@
+ return TRUE;
+ }
+
++#pragma GCC diagnostic pop
++
+ /* Message label */
+
+ static gboolean
+
diff --git a/x11-misc/lightdm-gtk-greeter/files/lightdm-gtk-greeter-2.0.1-lightdm-1.19.2.patch b/x11-misc/lightdm-gtk-greeter/files/lightdm-gtk-greeter-2.0.1-lightdm-1.19.2.patch
new file mode 100644
index 000000000000..81f158b2176f
--- /dev/null
+++ b/x11-misc/lightdm-gtk-greeter/files/lightdm-gtk-greeter-2.0.1-lightdm-1.19.2.patch
@@ -0,0 +1,64 @@
+Bug: https://bugs.gentoo.org/show_bug.cgi?id=627208
+Upstream commit: http://bazaar.launchpad.net/~lightdm-gtk-greeter-team/lightdm-gtk-greeter/trunk/revision/350
+
+--- a/src/lightdm-gtk-greeter.c
++++ b/src/lightdm-gtk-greeter.c
+@@ -1937,11 +1937,11 @@
+ {
+ gtk_widget_show (GTK_WIDGET (username_entry));
+ gtk_widget_show (GTK_WIDGET (cancel_button));
+- lightdm_greeter_authenticate (greeter, NULL);
++ lightdm_greeter_authenticate (greeter, NULL, NULL);
+ }
+ else if (g_strcmp0 (username, "*guest") == 0)
+ {
+- lightdm_greeter_authenticate_as_guest (greeter);
++ lightdm_greeter_authenticate_as_guest (greeter, NULL);
+ }
+ else
+ {
+@@ -1961,7 +1961,7 @@
+ set_language (NULL);
+ }
+
+- lightdm_greeter_authenticate (greeter, username);
++ lightdm_greeter_authenticate (greeter, username, NULL);
+ }
+ }
+
+@@ -1983,7 +1983,7 @@
+ if (lightdm_greeter_get_in_authentication (greeter))
+ {
+ cancelling = TRUE;
+- lightdm_greeter_cancel_authentication (greeter);
++ lightdm_greeter_cancel_authentication (greeter, NULL);
+ set_message_label (LIGHTDM_MESSAGE_TYPE_INFO, NULL);
+ }
+
+@@ -2017,7 +2017,7 @@
+
+ language = get_language ();
+ if (language)
+- lightdm_greeter_set_language (greeter, language);
++ lightdm_greeter_set_language (greeter, language, NULL);
+ g_free (language);
+
+ session = get_session ();
+@@ -2238,7 +2238,7 @@
+ start_session ();
+ else if (lightdm_greeter_get_in_authentication (greeter))
+ {
+- lightdm_greeter_respond (greeter, gtk_entry_get_text (password_entry));
++ lightdm_greeter_respond (greeter, gtk_entry_get_text (password_entry), NULL);
+ /* If we have questions pending, then we continue processing
+ * those, until we are done. (Otherwise, authentication will
+ * not complete.) */
+@@ -2331,7 +2331,7 @@
+ }
+ }
+ else
+- lightdm_greeter_authenticate_autologin (greeter);
++ lightdm_greeter_authenticate_autologin (greeter, NULL);
+ }
+ }
+
diff --git a/x11-misc/lightdm-gtk-greeter/lightdm-gtk-greeter-2.0.1-r1.ebuild b/x11-misc/lightdm-gtk-greeter/lightdm-gtk-greeter-2.0.1-r1.ebuild
new file mode 100644
index 000000000000..8e116169544d
--- /dev/null
+++ b/x11-misc/lightdm-gtk-greeter/lightdm-gtk-greeter-2.0.1-r1.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+
+inherit versionator
+
+DESCRIPTION="LightDM GTK+ Greeter"
+HOMEPAGE="https://launchpad.net/lightdm-gtk-greeter"
+SRC_URI="https://launchpad.net/lightdm-gtk-greeter/$(get_version_component_range 1-2)/${PV}/+download/${P}.tar.gz branding? (
+https://dev.gentoo.org/~hwoarang/distfiles/lightdm-gentoo-patch-2.tar.gz )"
+
+LICENSE="GPL-3 LGPL-3
+ branding? ( CC-BY-3.0 )"
+SLOT="0"
+KEYWORDS="amd64 arm ~arm64 ppc ppc64 x86"
+IUSE="ayatana branding"
+
+COMMON_DEPEND="ayatana? ( dev-libs/libindicator:3 )
+ x11-libs/gtk+:3
+ >=x11-misc/lightdm-1.2.2"
+
+DEPEND="${COMMON_DEPEND}
+ dev-util/intltool
+ sys-devel/gettext"
+
+RDEPEND="${COMMON_DEPEND}
+ x11-themes/gnome-themes-standard
+ || ( >=x11-themes/adwaita-icon-theme-3.14.1 x11-themes/gnome-icon-theme )"
+
+GENTOO_BG="gentoo-bg_65.jpg"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-gcc6.patch
+ if has_version '>=x11-misc/lightdm-1.19.2'; then
+ epatch "${FILESDIR}"/${P}-lightdm-1.19.2.patch
+ fi
+
+ # Ok, this has to be fixed in the tarball but I am too lazy to do it.
+ # I will fix this once I decide to update the tarball with a new gentoo
+ # background
+ # Bug #404467
+ if use branding; then
+ sed -i -e "/xft-hintstyle/s:slight:hintslight:" \
+ "${WORKDIR}"/${PN}.conf || die
+ fi
+}
+
+src_configure() {
+ econf --enable-kill-on-sigterm \
+ $(use_enable ayatana libindicator)
+}
+
+src_install() {
+ default
+
+ if use branding; then
+ insinto /etc/lightdm/
+ doins "${WORKDIR}"/${PN}.conf
+ insinto /usr/share/lightdm/backgrounds/
+ doins "${WORKDIR}"/${GENTOO_BG}
+ sed -i -e \
+ "/background/s:=.*:=/usr/share/lightdm/backgrounds/${GENTOO_BG}:" \
+ "${D}"/etc/lightdm/${PN}.conf || die
+ newdoc "${WORKDIR}"/README.txt README-background.txt
+ fi
+}
diff --git a/x11-misc/lightdm-gtk-greeter/lightdm-gtk-greeter-2.0.2-r1.ebuild b/x11-misc/lightdm-gtk-greeter/lightdm-gtk-greeter-2.0.2-r1.ebuild
new file mode 100644
index 000000000000..cbde50c7fa49
--- /dev/null
+++ b/x11-misc/lightdm-gtk-greeter/lightdm-gtk-greeter-2.0.2-r1.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit versionator
+
+DESCRIPTION="LightDM GTK+ Greeter"
+HOMEPAGE="https://launchpad.net/lightdm-gtk-greeter"
+SRC_URI="https://launchpad.net/lightdm-gtk-greeter/$(get_version_component_range 1-2)/${PV}/+download/${P}.tar.gz
+ branding? ( https://dev.gentoo.org/~hwoarang/distfiles/lightdm-gentoo-patch-2.tar.gz )"
+
+LICENSE="GPL-3 LGPL-3
+ branding? ( CC-BY-3.0 )"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
+IUSE="ayatana branding"
+
+COMMON_DEPEND="ayatana? ( dev-libs/libindicator:3 )
+ x11-libs/gtk+:3
+ >=x11-misc/lightdm-1.2.2"
+
+DEPEND="${COMMON_DEPEND}
+ dev-util/intltool
+ sys-devel/gettext
+ xfce-base/exo"
+
+RDEPEND="${COMMON_DEPEND}
+ x11-themes/gnome-themes-standard
+ >=x11-themes/adwaita-icon-theme-3.14.1"
+
+GENTOO_BG="gentoo-bg_65.jpg"
+
+src_prepare() {
+ # Ok, this has to be fixed in the tarball but I am too lazy to do it.
+ # I will fix this once I decide to update the tarball with a new gentoo
+ # background
+ # Bug #404467
+ if use branding; then
+ sed -i -e "/xft-hintstyle/s:slight:hintslight:" \
+ "${WORKDIR}"/${PN}.conf || die
+ fi
+ default
+}
+
+src_configure() {
+ econf --enable-kill-on-sigterm \
+ --enable-at-spi-command="${EPREFIX}/usr/libexec/at-spi-bus-launcher --launch-immediately" \
+ $(use_enable ayatana libindicator)
+}
+
+src_install() {
+ default
+
+ if use branding; then
+ insinto /etc/lightdm/
+ doins "${WORKDIR}"/${PN}.conf
+ insinto /usr/share/lightdm/backgrounds/
+ doins "${WORKDIR}"/${GENTOO_BG}
+ sed -i -e \
+ "/background/s:=.*:=/usr/share/lightdm/backgrounds/${GENTOO_BG}:" \
+ "${D}"/etc/lightdm/${PN}.conf || die
+ newdoc "${WORKDIR}"/README.txt README-background.txt
+ fi
+}
diff --git a/x11-misc/lightdm-gtk-greeter/lightdm-gtk-greeter-2.0.3.ebuild b/x11-misc/lightdm-gtk-greeter/lightdm-gtk-greeter-2.0.3.ebuild
new file mode 100644
index 000000000000..913dc8689930
--- /dev/null
+++ b/x11-misc/lightdm-gtk-greeter/lightdm-gtk-greeter-2.0.3.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit versionator
+
+DESCRIPTION="LightDM GTK+ Greeter"
+HOMEPAGE="https://launchpad.net/lightdm-gtk-greeter"
+SRC_URI="https://launchpad.net/lightdm-gtk-greeter/$(get_version_component_range 1-2)/${PV}/+download/${P}.tar.gz
+ branding? ( https://dev.gentoo.org/~hwoarang/distfiles/lightdm-gentoo-patch-2.tar.gz )"
+
+LICENSE="GPL-3 LGPL-3
+ branding? ( CC-BY-3.0 )"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
+IUSE="ayatana branding"
+
+COMMON_DEPEND="ayatana? ( dev-libs/libindicator:3 )
+ x11-libs/gtk+:3
+ >=x11-misc/lightdm-1.2.2"
+
+DEPEND="${COMMON_DEPEND}
+ dev-util/intltool
+ sys-devel/gettext
+ xfce-base/exo"
+
+RDEPEND="${COMMON_DEPEND}
+ x11-themes/gnome-themes-standard
+ >=x11-themes/adwaita-icon-theme-3.14.1"
+
+GENTOO_BG="gentoo-bg_65.jpg"
+
+src_prepare() {
+ # Ok, this has to be fixed in the tarball but I am too lazy to do it.
+ # I will fix this once I decide to update the tarball with a new gentoo
+ # background
+ # Bug #404467
+ if use branding; then
+ sed -i -e "/xft-hintstyle/s:slight:hintslight:" \
+ "${WORKDIR}"/${PN}.conf || die
+ fi
+ default
+}
+
+src_configure() {
+ local myeconfargs=(
+ --enable-kill-on-sigterm
+ --enable-at-spi-command="${EPREFIX}/usr/libexec/at-spi-bus-launcher --launch-immediately"
+ $(use_enable ayatana libindicator)
+ )
+ econf "${myeconfargs[@]}"
+}
+
+src_install() {
+ default
+
+ if use branding; then
+ insinto /etc/lightdm/
+ doins "${WORKDIR}"/${PN}.conf
+ insinto /usr/share/lightdm/backgrounds/
+ doins "${WORKDIR}"/${GENTOO_BG}
+ sed -i -e \
+ "/background/s:=.*:=/usr/share/lightdm/backgrounds/${GENTOO_BG}:" \
+ "${D}"/etc/lightdm/${PN}.conf || die
+ newdoc "${WORKDIR}"/README.txt README-background.txt
+ fi
+}
diff --git a/x11-misc/lightdm-gtk-greeter/metadata.xml b/x11-misc/lightdm-gtk-greeter/metadata.xml
new file mode 100644
index 000000000000..e25f7247d61c
--- /dev/null
+++ b/x11-misc/lightdm-gtk-greeter/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>hwoarang@gentoo.org</email>
+ <name>Markos Chandras</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="launchpad">lightdm-gtk-greeter</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/lightdm/Manifest b/x11-misc/lightdm/Manifest
new file mode 100644
index 000000000000..f70807d3a46f
--- /dev/null
+++ b/x11-misc/lightdm/Manifest
@@ -0,0 +1,15 @@
+AUX README.gentoo 494 SHA256 6192d8d9db26d97404860f891ba8a1f3aa623ac72df2b23c2939344b6960dda8 SHA512 07e35ef0ac603b2b817c33fd2bc06b9b254a2e3fee16e7ec8fc0c86d27330c795b8d1eae660c42c414de4d721faea2cab1d41c5950ca7a1032d758626011ae3c WHIRLPOOL 7032d5d76eac0c94f8e5be5d7dd517b5b5569179eed04d398736ea75fff0eacdcfd4ab43c34aedb203c2fbc2d6ac0661f21d90b4a09e6bfd1d4cf9fa290dce3b
+AUX Xsession 1819 SHA256 7968a509b63b18acbf720903fe9a3f3da7830845148699adabc29bafac3fc0e7 SHA512 f1f9264ef6103e66ced2d94bdb24dafb71a37ed8286b35536fa992d774f288bb9b8e338e184c955b39f0448da91af5d7c2d12c5536521186d8ee5db832e20e7e WHIRLPOOL ea447e2d10877be0b8525fa84a5886f21aca10266dc26de5e977fec8c53e9071c9da5af5bf3518d55c92f9cb04c8155e34c499a14e92708912f3ed4d98e7d432
+AUX lightdm 257 SHA256 c43240d1fbdb76d219d11ffbb8ad406bcbd7c78c8eba9c03c0feb353b6671c27 SHA512 b7d08013758d8755eb015e64dc67d58cfe13006c4ccfa7f22d795233b932888a36fb2ede938db619f718769cb4c836e960385c21a5a16df5e7235550148eb6f3 WHIRLPOOL 6dea823ce65d5e3c98409907460466eaafda6f928f0207055ee5b2747ed1bc065f1678bf8ba4981160c4f0fcf68380bfb664518bb428531d484c56c97eddec5a
+AUX lightdm-autologin 155 SHA256 a3fefe481ba0511f6557194a075f9b40dd15f1680fdfc9cf2441467bae726c83 SHA512 d09be0a61b7eea18a5c5977182362226e82a39b238c401f636bdf0a83381b97a16efc19e67be10b76854c95186dd65f539431d2352ce87a4e35dd1d40e388064 WHIRLPOOL 6c5c431b18c2315b759dcd5a027421b234aee83d6081d98d5626f938c3aa7d4f3d93c2221869549b03dfe2903af46318fd52a0b428084949bbae57b75734d304
+AUX lightdm.service 279 SHA256 2e03423cbe88c9fdc3a9684d6d14221aa6e92d105f9d1d53b08747d966c45125 SHA512 5b60788e35ebd7918b21ab52dc3f5cc29dd3aa45ddf6cfe75a72d1c541620f0438378a9bd681e2c151a465cf981e803b399f61b48ff5d0f2e1a3cc950c30d23a WHIRLPOOL cc7cc2ef2b8ea68080cca6aff103f4a25143464577a52bb7bc18ce4d1d7996ce2068923481aa3ba38c8c60b7b34887c43667594a0d75d7138cefe12fbdba7b97
+DIST introspection-20110205.m4.tar.bz2 1220 SHA256 4394a606d380ae5315872ede35387f104da5fad96794d29c45c444a9d481d8b2 SHA512 5c49239935b93d86cce68b577b43d1a56d8749ab5747029bfcfa67339697134be24ef29ba6c3d133b8c03e867864637c8eb61491a4b7f6bb1e56386ed66cb9be WHIRLPOOL 0765c0a72919b26d0c8c38714450eec578a347bfc1c59d4950b633b64b17aa1cde38dfb87fdcd6e2f364c98d6c0bd3dadaa9c2a9711bd1b5ac09a583b988f500
+DIST lightdm-1.18.3.tar.xz 503968 SHA256 d99215aeca38db2da84eede2ac3b9e875a746b3bc81bb3a30e0b8d89b87e1494 SHA512 dde34e4969d2f04e6729eb1b30d38bac9a89ff42c46f8a21e94b76beadbde450ffaa377201bd3a56e0d8d95d0640eb312ed11ecf94efb9a5a66777b944d4f234 WHIRLPOOL 5b06581c56188ada75a196d0663b041b7507f0923a8a8ceec2531926a034675ac592df356c7840568492f5af9ca0d6058ad477904147ece66568f59517cde8cb
+DIST lightdm-1.22.0.tar.xz 517416 SHA256 e4b9afb6a7e627440ccda140972631e54d005340ec6043d538281f28a8dbab28 SHA512 58be4428465dda66be8ba1cf4718ece40888af810bfd83d8ae059b3f5432ab7053373af2ecdcafd5e1fade77f0194eae7ded7d6c28e9c4be4aef56d9b432f0cc WHIRLPOOL 4a08a814e2b9cf07ba22c797d64172eb44597b536ab85ce49120e1d0c230af7b915a8c238026b2e2c621d2598d1085111f3c99cec8ec36f6c889ff385e049c2f
+DIST lightdm-1.24.0.tar.xz 517552 SHA256 cd509b74382bcf382c6e3e4b54ac30ba804022fec968d6993d134552ea1a43a2 SHA512 30bad8887928f22bf2cc7ce8d7a323637dec669d47d69fb326cfcf1bb5ee9e52c1232cf680af94a25cf90a9de13d9b5ff73307c1dc8829422600d350401555b8 WHIRLPOOL 5d6f272993cab747b7ee1adcf6d1f7efbb8b164d31e37fe5167fcf0f1802871d03b5f5786e644539bb0eb59b95fed99902101d9c2f5627b1802f291487713d3b
+EBUILD lightdm-1.18.3.ebuild 3920 SHA256 1b6e15ed036c94ab9f469e62750a98ee8d55e29885847a7cf2e1e1b4c3c798db SHA512 5036bdf80315812097f920a67b7e1918c2f9a6ade4b5822ceabe40c33c4fbdbf38020546b3249671603d55c176aeb37e39420e850812ffa41052bddbb4b91790 WHIRLPOOL 87ab300ccb079610b64daf2656c827bf966f05a012002c52fb87c6511bac08627866fd44915743e5223db299ff3ef3689972f4eff4f54715a15315b7f737678c
+EBUILD lightdm-1.22.0.ebuild 3883 SHA256 b33fb409a571708a5d759e2927e0223303bddaddd06f556335deada8aa422233 SHA512 df8d8eea8b7fa85d8a17f3379437b17a008a082a9287603b144fb90807e282bac037475521d6b4dbc8254b1ef8fed485abab03f39cd1f1901bf4458c40fdb6b5 WHIRLPOOL 31d4e0626a9fceda385518f49bf4c19d83618917a3bc9294210a98dea6ac73c02f6dc4292c81df5e28e0fb04e7673a3cf72a9e920b68914a843baeb7ea63f0ff
+EBUILD lightdm-1.24.0.ebuild 3883 SHA256 b33fb409a571708a5d759e2927e0223303bddaddd06f556335deada8aa422233 SHA512 df8d8eea8b7fa85d8a17f3379437b17a008a082a9287603b144fb90807e282bac037475521d6b4dbc8254b1ef8fed485abab03f39cd1f1901bf4458c40fdb6b5 WHIRLPOOL 31d4e0626a9fceda385518f49bf4c19d83618917a3bc9294210a98dea6ac73c02f6dc4292c81df5e28e0fb04e7673a3cf72a9e920b68914a843baeb7ea63f0ff
+MISC ChangeLog 13926 SHA256 b2235709891c89fe6ccdda315da79c5bb7fff51ddc5e92956ca033a1af4f093b SHA512 45e829b7498404b8784feae2acd8a8f65bf1dda7ecc5031c92f0d684b8064a47063b428ec2a5f2ec7f58403a4e91f17f4baefbba3e5fe8b275ffcd9d6c2da654 WHIRLPOOL 52170b918f8394e2fc88c9d9b5a4f8cea91bda96436023781361528afa08e13c49d77c011dae8f688431129cf4e9f76b6f90ed605d31f32e58fb5d5beee5db83
+MISC ChangeLog-2015 18549 SHA256 db39b4658081b61475bb5997acf58946b5e47cc841a4214cc43101d09a0e8cde SHA512 8d9ef559e2b5daeaff218d19cc29ccdda0b2046dba71815372916925fbe1c179901239d269dee126f8139dae9a7cdb51e49c6b7d8b090e1f73f75b97f95ce985 WHIRLPOOL eca97b1ef137379b9519caad0173e643ead1a19569c5f68619d061a8ba3fee4df702e6a5ae1ebe9e7e061a782be5af53f7b5e435c27fe88d3ff59ebd872b405b
+MISC metadata.xml 391 SHA256 64fd84f6133a7857b99725017b969dcbc09d31b56e2693b22355a030f8950c75 SHA512 c3856bf443309731ef7ea0d849f76219f69552475a88e5c5fb54ca73f30f223da44d2f4eb6d37cfc5f305757c6654573f3d639fa87818318f7afa4dc57dce466 WHIRLPOOL 6cf40fac00da715231b4eeba1eba3aae794967c9398f6c17635d214d7810a85149770636de5f0391e910acd4a84d8aafbadda7e4114300e310c3d75eab04a4e3
diff --git a/x11-misc/lightdm/files/README.gentoo b/x11-misc/lightdm/files/README.gentoo
new file mode 100644
index 000000000000..182f53087548
--- /dev/null
+++ b/x11-misc/lightdm/files/README.gentoo
@@ -0,0 +1,11 @@
+
+ * Even though the default /etc/lightdm/lightdm.conf will work for
+ * most users, make sure you configure it to suit your needs
+ * before using lightdm for the first time.
+ * You can test the configuration file using the following
+ * command: lightdm --test-mode -c /etc/lightdm/lightdm.conf. This
+ * requires xorg-server to be built with the 'kdrive' useflag.
+ *
+ * You can also set your own default values for LIGHTDM_GREETER,
+ * LIGHTDM_SESSION, and LIGHTDM_USER in /etc/portage/make.conf
+
diff --git a/x11-misc/lightdm/files/Xsession b/x11-misc/lightdm/files/Xsession
new file mode 100644
index 000000000000..50ce80fd3e19
--- /dev/null
+++ b/x11-misc/lightdm/files/Xsession
@@ -0,0 +1,74 @@
+#!/bin/sh
+#
+# LightDM wrapper to run around X sessions.
+
+echo "Running X session wrapper"
+
+# Load profile
+for file in "/etc/profile" "$HOME/.profile" "/etc/xprofile" "$HOME/.xprofile"; do
+ if [ -f "$file" ]; then
+ echo "Loading profile from $file";
+ . "$file"
+ fi
+done
+
+# Load resources
+for file in "/etc/X11/Xresources" "$HOME/.Xresources"; do
+ if [ -f "$file" ]; then
+ echo "Loading resource: $file"
+ xrdb -nocpp -merge "$file"
+ fi
+done
+
+# Load keymaps
+for file in "/etc/X11/Xkbmap" "$HOME/.Xkbmap"; do
+ if [ -f "$file" ]; then
+ echo "Loading keymap: $file"
+ setxkbmap `cat "$file"`
+ XKB_IN_USE=yes
+ fi
+done
+
+# Load xmodmap if not using XKB
+if [ -z "$XKB_IN_USE" ]; then
+ for file in "/etc/X11/Xmodmap" "$HOME/.Xmodmap"; do
+ if [ -f "$file" ]; then
+ echo "Loading modmap: $file"
+ xmodmap "$file"
+ fi
+ done
+fi
+
+unset XKB_IN_USE
+
+# /etc/X11/xinit/xinitrc.d/80-dbus expects $command to be
+# set to the Xsession arguments. So make it happy. See
+# https://bugs.gentoo.org/show_bug.cgi?id=533456
+command="$@"
+
+# Run all system xinitrc shell scripts.
+xinitdir="/etc/X11/xinit/xinitrc.d"
+if [ -d "$xinitdir" ]; then
+ for script in $xinitdir/*; do
+ echo "Loading xinit script $script"
+ if [ -x "$script" -a ! -d "$script" ]; then
+ . "$script"
+ fi
+ done
+fi
+
+# Load Xsession scripts
+xsessionddir="/etc/X11/Xsession.d"
+if [ -d "$xsessionddir" ]; then
+ for i in `ls $xsessionddir`; do
+ script="$xsessionddir/$i"
+ echo "Loading X session script $script"
+ if [ -r "$script" -a -f "$script" ] && expr "$i" : '^[[:alnum:]_-]\+$' > /dev/null; then
+ . "$script"
+ fi
+ done
+fi
+
+echo "X session wrapper complete, running session $@"
+
+exec $command
diff --git a/x11-misc/lightdm/files/lightdm b/x11-misc/lightdm/files/lightdm
new file mode 100644
index 000000000000..6286d6ab4f66
--- /dev/null
+++ b/x11-misc/lightdm/files/lightdm
@@ -0,0 +1,8 @@
+#%PAM-1.0
+auth optional pam_env.so
+auth include system-login
+auth required pam_nologin.so
+account include system-login
+password include system-login
+session optional pam_loginuid.so
+session include system-auth
diff --git a/x11-misc/lightdm/files/lightdm-autologin b/x11-misc/lightdm/files/lightdm-autologin
new file mode 100644
index 000000000000..decfba3438b7
--- /dev/null
+++ b/x11-misc/lightdm/files/lightdm-autologin
@@ -0,0 +1,6 @@
+auth optional pam_env.so
+auth required pam_nologin.so
+auth required pam_permit.so
+
+account include system-local-login
+session include system-local-login
diff --git a/x11-misc/lightdm/files/lightdm.service b/x11-misc/lightdm/files/lightdm.service
new file mode 100644
index 000000000000..7eb46cebaa10
--- /dev/null
+++ b/x11-misc/lightdm/files/lightdm.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=Light Display Manager
+Documentation=man:lightdm(1)
+After=systemd-user-sessions.service
+
+[Service]
+ExecStart=/usr/sbin/lightdm
+StandardOutput=syslog
+Restart=always
+IgnoreSIGPIPE=no
+BusName=org.freedesktop.DisplayManager
+
+[Install]
+Alias=display-manager.service
diff --git a/x11-misc/lightdm/lightdm-1.18.3.ebuild b/x11-misc/lightdm/lightdm-1.18.3.ebuild
new file mode 100644
index 000000000000..549dc488a540
--- /dev/null
+++ b/x11-misc/lightdm/lightdm-1.18.3.ebuild
@@ -0,0 +1,134 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit autotools eutils flag-o-matic pam qmake-utils readme.gentoo-r1 systemd versionator xdg-utils
+
+TRUNK_VERSION="$(get_version_component_range 1-2)"
+DESCRIPTION="A lightweight display manager"
+HOMEPAGE="https://www.freedesktop.org/wiki/Software/LightDM"
+SRC_URI="https://launchpad.net/${PN}/${TRUNK_VERSION}/${PV}/+download/${P}.tar.xz
+ mirror://gentoo/introspection-20110205.m4.tar.bz2"
+
+LICENSE="GPL-3 LGPL-3"
+SLOT="0"
+KEYWORDS="amd64 arm ~arm64 ppc ppc64 x86"
+IUSE="audit +introspection qt4 qt5 +gnome"
+
+COMMON_DEPEND="audit? ( sys-process/audit )
+ >=dev-libs/glib-2.32.3:2
+ dev-libs/libxml2
+ gnome? ( sys-apps/accountsservice )
+ virtual/pam
+ x11-libs/libX11
+ >=x11-libs/libxklavier-5
+ introspection? ( >=dev-libs/gobject-introspection-1 )
+ qt4? (
+ dev-qt/qtcore:4
+ dev-qt/qtdbus:4
+ dev-qt/qtgui:4
+ )
+ qt5? (
+ dev-qt/qtcore:5
+ dev-qt/qtdbus:5
+ dev-qt/qtgui:5
+ )"
+RDEPEND="${COMMON_DEPEND}
+ >=sys-auth/pambase-20101024-r2"
+DEPEND="${COMMON_DEPEND}
+ dev-util/gtk-doc-am
+ dev-util/intltool
+ gnome? ( gnome-base/gnome-common )
+ sys-devel/gettext
+ virtual/pkgconfig"
+PDEPEND="x11-misc/lightdm-gtk-greeter"
+
+DOCS=( NEWS )
+RESTRICT="test"
+
+src_prepare() {
+ xdg_environment_reset
+
+ sed -i -e 's:getgroups:lightdm_&:' tests/src/libsystem.c || die #412369
+ sed -i -e '/minimum-uid/s:500:1000:' data/users.conf || die
+
+ einfo "Fixing the session-wrapper variable in lightdm.conf"
+ sed -i -e \
+ "/session-wrapper/s@^.*@session-wrapper=/etc/${PN}/Xsession@" \
+ data/lightdm.conf || die "Failed to fix lightdm.conf"
+
+ # use correct version of qmake. bug #566950
+ sed -i -e "/AC_CHECK_TOOLS(MOC4/a AC_SUBST(MOC4,$(qt4_get_bindir)/moc)" configure.ac || die
+ sed -i -e "/AC_CHECK_TOOLS(MOC5/a AC_SUBST(MOC5,$(qt5_get_bindir)/moc)" configure.ac || die
+
+ default
+
+ # Remove bogus Makefile statement. This needs to go upstream
+ sed -i /"@YELP_HELP_RULES@"/d help/Makefile.am || die
+ if has_version dev-libs/gobject-introspection; then
+ eautoreconf
+ else
+ AT_M4DIR=${WORKDIR} eautoreconf
+ fi
+}
+
+src_configure() {
+ # Set default values if global vars unset
+ local _greeter _session _user
+ _greeter=${LIGHTDM_GREETER:=lightdm-gtk-greeter}
+ _session=${LIGHTDM_SESSION:=gnome}
+ _user=${LIGHTDM_USER:=root}
+ # Let user know how lightdm is configured
+ einfo "Gentoo configuration"
+ einfo "Default greeter: ${_greeter}"
+ einfo "Default session: ${_session}"
+ einfo "Greeter user: ${_user}"
+
+ use qt5 && append-cxxflags -std=c++11
+
+ # also disable tests because libsystem.c does not build. Tests are
+ # restricted so it does not matter anyway.
+ econf \
+ --localstatedir=/var \
+ --disable-static \
+ --disable-tests \
+ $(use_enable audit libaudit) \
+ $(use_enable introspection) \
+ $(use_enable qt4 liblightdm-qt) \
+ $(use_enable qt5 liblightdm-qt5) \
+ --with-user-session=${_session} \
+ --with-greeter-session=${_greeter} \
+ --with-greeter-user=${_user} \
+ --with-html-dir="${EPREFIX}"/usr/share/doc/${PF}/html
+}
+
+src_install() {
+ default
+
+ # Delete apparmor profiles because they only work with Ubuntu's
+ # apparmor package. Bug #494426
+ if [[ -d ${D}/etc/apparmor.d ]]; then
+ rm -r "${D}/etc/apparmor.d" || die \
+ "Failed to remove apparmor profiles"
+ fi
+
+ insinto /etc/${PN}
+ doins data/{${PN},keys}.conf
+ doins "${FILESDIR}"/Xsession
+ fperms +x /etc/${PN}/Xsession
+ # /var/lib/lightdm-data could be useful. Bug #522228
+ dodir /var/lib/lightdm-data
+
+ prune_libtool_files --all
+ rm -rf "${ED}"/etc/init
+
+ # Remove existing pam file. We will build a new one. Bug #524792
+ rm -rf "${ED}"/etc/pam.d/${PN}{,-greeter}
+ pamd_mimic system-local-login ${PN} auth account password session #372229
+ pamd_mimic system-local-login ${PN}-greeter auth account password session #372229
+ dopamd "${FILESDIR}"/${PN}-autologin #390863, #423163
+
+ readme.gentoo_create_doc
+
+ systemd_dounit "${FILESDIR}/${PN}.service"
+}
diff --git a/x11-misc/lightdm/lightdm-1.22.0.ebuild b/x11-misc/lightdm/lightdm-1.22.0.ebuild
new file mode 100644
index 000000000000..117a032bbbde
--- /dev/null
+++ b/x11-misc/lightdm/lightdm-1.22.0.ebuild
@@ -0,0 +1,133 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit autotools eutils flag-o-matic pam qmake-utils readme.gentoo-r1 systemd versionator xdg-utils
+
+TRUNK_VERSION="$(get_version_component_range 1-2)"
+DESCRIPTION="A lightweight display manager"
+HOMEPAGE="https://www.freedesktop.org/wiki/Software/LightDM"
+SRC_URI="https://launchpad.net/${PN}/${TRUNK_VERSION}/${PV}/+download/${P}.tar.xz
+ mirror://gentoo/introspection-20110205.m4.tar.bz2"
+
+LICENSE="GPL-3 LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
+IUSE="audit +gtk +introspection qt4 qt5 +gnome"
+
+COMMON_DEPEND="audit? ( sys-process/audit )
+ >=dev-libs/glib-2.32.3:2
+ dev-libs/libxml2
+ gnome? ( sys-apps/accountsservice )
+ virtual/pam
+ x11-libs/libX11
+ >=x11-libs/libxklavier-5
+ introspection? ( >=dev-libs/gobject-introspection-1 )
+ qt4? (
+ dev-qt/qtcore:4
+ dev-qt/qtdbus:4
+ dev-qt/qtgui:4
+ )
+ qt5? (
+ dev-qt/qtcore:5
+ dev-qt/qtdbus:5
+ dev-qt/qtgui:5
+ )"
+RDEPEND="${COMMON_DEPEND}
+ >=sys-auth/pambase-20101024-r2"
+DEPEND="${COMMON_DEPEND}
+ dev-util/gtk-doc-am
+ dev-util/intltool
+ gnome? ( gnome-base/gnome-common )
+ sys-devel/gettext
+ virtual/pkgconfig"
+PDEPEND="gtk? ( x11-misc/lightdm-gtk-greeter )"
+
+DOCS=( NEWS )
+RESTRICT="test"
+
+src_prepare() {
+ xdg_environment_reset
+
+ sed -i -e 's:getgroups:lightdm_&:' tests/src/libsystem.c || die #412369
+ sed -i -e '/minimum-uid/s:500:1000:' data/users.conf || die
+
+ einfo "Fixing the session-wrapper variable in lightdm.conf"
+ sed -i -e \
+ "/^#session-wrapper/s@^.*@session-wrapper=/etc/${PN}/Xsession@" \
+ data/lightdm.conf || die "Failed to fix lightdm.conf"
+
+ # use correct version of qmake. bug #566950
+ sed -i -e "/AC_CHECK_TOOLS(MOC4/a AC_SUBST(MOC4,$(qt4_get_bindir)/moc)" configure.ac || die
+ sed -i -e "/AC_CHECK_TOOLS(MOC5/a AC_SUBST(MOC5,$(qt5_get_bindir)/moc)" configure.ac || die
+
+ default
+
+ # Remove bogus Makefile statement. This needs to go upstream
+ sed -i /"@YELP_HELP_RULES@"/d help/Makefile.am || die
+ if has_version dev-libs/gobject-introspection; then
+ eautoreconf
+ else
+ AT_M4DIR=${WORKDIR} eautoreconf
+ fi
+}
+
+src_configure() {
+ # Set default values if global vars unset
+ local _greeter _session _user
+ _greeter=${LIGHTDM_GREETER:=lightdm-gtk-greeter}
+ _session=${LIGHTDM_SESSION:=gnome}
+ _user=${LIGHTDM_USER:=root}
+ # Let user know how lightdm is configured
+ einfo "Gentoo configuration"
+ einfo "Default greeter: ${_greeter}"
+ einfo "Default session: ${_session}"
+ einfo "Greeter user: ${_user}"
+
+ use qt5 && append-cxxflags -std=c++11
+
+ # also disable tests because libsystem.c does not build. Tests are
+ # restricted so it does not matter anyway.
+ econf \
+ --localstatedir=/var \
+ --disable-static \
+ --disable-tests \
+ $(use_enable audit libaudit) \
+ $(use_enable introspection) \
+ $(use_enable qt4 liblightdm-qt) \
+ $(use_enable qt5 liblightdm-qt5) \
+ --with-user-session=${_session} \
+ --with-greeter-session=${_greeter} \
+ --with-greeter-user=${_user}
+}
+
+src_install() {
+ default
+
+ # Delete apparmor profiles because they only work with Ubuntu's
+ # apparmor package. Bug #494426
+ if [[ -d ${D}/etc/apparmor.d ]]; then
+ rm -r "${D}/etc/apparmor.d" || die \
+ "Failed to remove apparmor profiles"
+ fi
+
+ insinto /etc/${PN}
+ doins data/{${PN},keys}.conf
+ doins "${FILESDIR}"/Xsession
+ fperms +x /etc/${PN}/Xsession
+ # /var/lib/lightdm-data could be useful. Bug #522228
+ dodir /var/lib/lightdm-data
+
+ prune_libtool_files --all
+ rm -rf "${ED}"/etc/init
+
+ # Remove existing pam file. We will build a new one. Bug #524792
+ rm -rf "${ED}"/etc/pam.d/${PN}{,-greeter}
+ pamd_mimic system-local-login ${PN} auth account password session #372229
+ pamd_mimic system-local-login ${PN}-greeter auth account password session #372229
+ dopamd "${FILESDIR}"/${PN}-autologin #390863, #423163
+
+ readme.gentoo_create_doc
+
+ systemd_dounit "${FILESDIR}/${PN}.service"
+}
diff --git a/x11-misc/lightdm/lightdm-1.24.0.ebuild b/x11-misc/lightdm/lightdm-1.24.0.ebuild
new file mode 100644
index 000000000000..117a032bbbde
--- /dev/null
+++ b/x11-misc/lightdm/lightdm-1.24.0.ebuild
@@ -0,0 +1,133 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit autotools eutils flag-o-matic pam qmake-utils readme.gentoo-r1 systemd versionator xdg-utils
+
+TRUNK_VERSION="$(get_version_component_range 1-2)"
+DESCRIPTION="A lightweight display manager"
+HOMEPAGE="https://www.freedesktop.org/wiki/Software/LightDM"
+SRC_URI="https://launchpad.net/${PN}/${TRUNK_VERSION}/${PV}/+download/${P}.tar.xz
+ mirror://gentoo/introspection-20110205.m4.tar.bz2"
+
+LICENSE="GPL-3 LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
+IUSE="audit +gtk +introspection qt4 qt5 +gnome"
+
+COMMON_DEPEND="audit? ( sys-process/audit )
+ >=dev-libs/glib-2.32.3:2
+ dev-libs/libxml2
+ gnome? ( sys-apps/accountsservice )
+ virtual/pam
+ x11-libs/libX11
+ >=x11-libs/libxklavier-5
+ introspection? ( >=dev-libs/gobject-introspection-1 )
+ qt4? (
+ dev-qt/qtcore:4
+ dev-qt/qtdbus:4
+ dev-qt/qtgui:4
+ )
+ qt5? (
+ dev-qt/qtcore:5
+ dev-qt/qtdbus:5
+ dev-qt/qtgui:5
+ )"
+RDEPEND="${COMMON_DEPEND}
+ >=sys-auth/pambase-20101024-r2"
+DEPEND="${COMMON_DEPEND}
+ dev-util/gtk-doc-am
+ dev-util/intltool
+ gnome? ( gnome-base/gnome-common )
+ sys-devel/gettext
+ virtual/pkgconfig"
+PDEPEND="gtk? ( x11-misc/lightdm-gtk-greeter )"
+
+DOCS=( NEWS )
+RESTRICT="test"
+
+src_prepare() {
+ xdg_environment_reset
+
+ sed -i -e 's:getgroups:lightdm_&:' tests/src/libsystem.c || die #412369
+ sed -i -e '/minimum-uid/s:500:1000:' data/users.conf || die
+
+ einfo "Fixing the session-wrapper variable in lightdm.conf"
+ sed -i -e \
+ "/^#session-wrapper/s@^.*@session-wrapper=/etc/${PN}/Xsession@" \
+ data/lightdm.conf || die "Failed to fix lightdm.conf"
+
+ # use correct version of qmake. bug #566950
+ sed -i -e "/AC_CHECK_TOOLS(MOC4/a AC_SUBST(MOC4,$(qt4_get_bindir)/moc)" configure.ac || die
+ sed -i -e "/AC_CHECK_TOOLS(MOC5/a AC_SUBST(MOC5,$(qt5_get_bindir)/moc)" configure.ac || die
+
+ default
+
+ # Remove bogus Makefile statement. This needs to go upstream
+ sed -i /"@YELP_HELP_RULES@"/d help/Makefile.am || die
+ if has_version dev-libs/gobject-introspection; then
+ eautoreconf
+ else
+ AT_M4DIR=${WORKDIR} eautoreconf
+ fi
+}
+
+src_configure() {
+ # Set default values if global vars unset
+ local _greeter _session _user
+ _greeter=${LIGHTDM_GREETER:=lightdm-gtk-greeter}
+ _session=${LIGHTDM_SESSION:=gnome}
+ _user=${LIGHTDM_USER:=root}
+ # Let user know how lightdm is configured
+ einfo "Gentoo configuration"
+ einfo "Default greeter: ${_greeter}"
+ einfo "Default session: ${_session}"
+ einfo "Greeter user: ${_user}"
+
+ use qt5 && append-cxxflags -std=c++11
+
+ # also disable tests because libsystem.c does not build. Tests are
+ # restricted so it does not matter anyway.
+ econf \
+ --localstatedir=/var \
+ --disable-static \
+ --disable-tests \
+ $(use_enable audit libaudit) \
+ $(use_enable introspection) \
+ $(use_enable qt4 liblightdm-qt) \
+ $(use_enable qt5 liblightdm-qt5) \
+ --with-user-session=${_session} \
+ --with-greeter-session=${_greeter} \
+ --with-greeter-user=${_user}
+}
+
+src_install() {
+ default
+
+ # Delete apparmor profiles because they only work with Ubuntu's
+ # apparmor package. Bug #494426
+ if [[ -d ${D}/etc/apparmor.d ]]; then
+ rm -r "${D}/etc/apparmor.d" || die \
+ "Failed to remove apparmor profiles"
+ fi
+
+ insinto /etc/${PN}
+ doins data/{${PN},keys}.conf
+ doins "${FILESDIR}"/Xsession
+ fperms +x /etc/${PN}/Xsession
+ # /var/lib/lightdm-data could be useful. Bug #522228
+ dodir /var/lib/lightdm-data
+
+ prune_libtool_files --all
+ rm -rf "${ED}"/etc/init
+
+ # Remove existing pam file. We will build a new one. Bug #524792
+ rm -rf "${ED}"/etc/pam.d/${PN}{,-greeter}
+ pamd_mimic system-local-login ${PN} auth account password session #372229
+ pamd_mimic system-local-login ${PN}-greeter auth account password session #372229
+ dopamd "${FILESDIR}"/${PN}-autologin #390863, #423163
+
+ readme.gentoo_create_doc
+
+ systemd_dounit "${FILESDIR}/${PN}.service"
+}
diff --git a/x11-misc/lightdm/metadata.xml b/x11-misc/lightdm/metadata.xml
new file mode 100644
index 000000000000..ed6a529b3f5c
--- /dev/null
+++ b/x11-misc/lightdm/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>hwoarang@gentoo.org</email>
+ <name>Markos Chandras</name>
+ </maintainer>
+ <use>
+ <flag name="gtk">Pull in the gtk+ greeter</flag>
+ </use>
+ <upstream>
+ <remote-id type="launchpad">lightdm</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/lineak-defaultplugin/Manifest b/x11-misc/lineak-defaultplugin/Manifest
new file mode 100644
index 000000000000..545653140cec
--- /dev/null
+++ b/x11-misc/lineak-defaultplugin/Manifest
@@ -0,0 +1,7 @@
+AUX lineak-defaultplugin-0.9.0-gcc43.patch 242 SHA256 e73b7b472e68032ef9a37ac459121608d997672945a50d391564daa7651df17b SHA512 897f29bfe02405f7881d6dfd4b4d91448943f917c3afee43b50b36449c0d84e0a76bc8b7867649c7728f0c22e58b6a9f951b81a1f05cb4df36fc51524affa5a4 WHIRLPOOL a1addb0c2782d6c81d6d63e1a5179d811f7f769b7c09bf7ae57ed193d56d464c9a2df73cd8babf3ba00951c5be336b0340c54855309d9d1c4175091afd9b2a9d
+AUX lineak-defaultplugin-0.9.0-gcc47.patch 274 SHA256 92b96238915caa74c593116f40891b5616f1cdd9f1f70bd0eeea6535269e157f SHA512 1644ec0fe4c3546f427381359d65f25e1e6ad036b99d6909ac4cde11e95d4c97ded30109c751a652905e2f7299605ddcff29779e22f8b2b541fde1d7f9688cc0 WHIRLPOOL 038f8ae9f1bf57da4f41a023db4abca0829bf53bca01b69473d208088cc505db69ed1ec1038d5f9e85dbba9ecf7f8ff5867683f42d1fcb21e34293cabdbd2bdd
+DIST lineak-defaultplugin-0.9.tar.gz 840704 SHA256 3b679d38e32e47c05f13de89b5f3ca49729b6dd847208bd184f772e5f9373230 SHA512 f110eb42f8711b9fbd38652462d9b44f6f6851c4dc5cdb466b63bd09b8d3320e35d7de82626f2c9409bbf0f96d4f1e4ab2e9a82932452e50b403d343fca1ce4b WHIRLPOOL 6a641600e2c581ba17a1324ac892426d9f9f5c83e50efc6b39275effc437e664eb02c083a025779c9d51d02d8e444465f7070950e002f2f1a65417ea63b1ae9e
+EBUILD lineak-defaultplugin-0.9.0-r1.ebuild 855 SHA256 af35a93ba50f2ffc791734bbe1401118a9c8a1361e1639b807dfa5e5ca14bb48 SHA512 7b87b19f6e8c8f5e20d3f7b5d39ecf4d5ac561ba1ea4a9c5171094fdb7e7b883b5260cd37a92b51eda7d7c7530058956dac83e97bd77b1f5f3d6eedc37e1394b WHIRLPOOL a895b2462bc2f99c217e2e6df8ab5ca5af1e2119a7400c16fb3e6379c4873fc38dff0826e6f1ef2fb3e937be7baf0bc5db98570b82d06ddd75e498540b16e727
+MISC ChangeLog 2787 SHA256 9638680e919c034ea7734bb41d8f6ca8ea7e278ccb01f2aa664fd55b116a90d2 SHA512 00e3bc69ee4d6c38f778201a35f18b40aa3acd23f6ffdc0f83f09c804b46219fa473ca4235f81ec52652ed6859a610d5ade33bd480136156e76dcdb5d9370941 WHIRLPOOL 0d2614f0157f40a475f294fe9f70893c8ea306a7b41ab223b3d438df1825357a0998705bf41c97e622b83364fbc8f22a83ae666eb879465fb2c82f64e638cf3f
+MISC ChangeLog-2015 4854 SHA256 d4cb9482dc98e8fb0acf2a8c6f0d8355c6bbfce3352317bc4ff999fe2e94a537 SHA512 5dd11d7397c20c5a52c4fc25dd3fda01b56ac9974907095b18c4372d28515114be05e51419aa22e5d121358ae0f3d027d17974da2b2030cfdce4c7259edd0218 WHIRLPOOL 9e9f8a9ddb0b3beaeb4a72c1dc53941f8ead462ac9a5d7dceb6358afcfb74e39a1025fefe5b8aa03e7a8c019247de2b607ec0ff2ad77768a28a25dbe8d1e48ef
+MISC metadata.xml 362 SHA256 224596e8c3dd5bdf4b1a6823aa3567319f3470f8545e0500550f8c60765a8996 SHA512 a33c009438013270e90019cafb29f493fc54c64afe810c873f6c1767b543f08cc741a3d6ed83833ead57d8dbb2ea8b78188c4f5d0962709b8625bb053c19be82 WHIRLPOOL 43b9f384d183f887569e853573bcd9822f8fcb9c431dcebd08857d2561906f67271705d8b53f7f6e5793782fbd316c25977f23f39ac91afb719873f8a43690e5
diff --git a/x11-misc/lineak-defaultplugin/files/lineak-defaultplugin-0.9.0-gcc43.patch b/x11-misc/lineak-defaultplugin/files/lineak-defaultplugin-0.9.0-gcc43.patch
new file mode 100644
index 000000000000..1d12fce74f09
--- /dev/null
+++ b/x11-misc/lineak-defaultplugin/files/lineak-defaultplugin-0.9.0-gcc43.patch
@@ -0,0 +1,10 @@
+--- a/default_plugin/defaultplugin.cpp
++++ b/default_plugin/defaultplugin.cpp
+@@ -35,6 +35,7 @@
+ #include <iostream>
+ #include <sstream>
+ #include <stdlib.h>
++#include <cstring>
+ using namespace std;
+ using namespace lineak_core_functions;
+
diff --git a/x11-misc/lineak-defaultplugin/files/lineak-defaultplugin-0.9.0-gcc47.patch b/x11-misc/lineak-defaultplugin/files/lineak-defaultplugin-0.9.0-gcc47.patch
new file mode 100644
index 000000000000..7f593ef0818b
--- /dev/null
+++ b/x11-misc/lineak-defaultplugin/files/lineak-defaultplugin-0.9.0-gcc47.patch
@@ -0,0 +1,10 @@
+--- a/default_plugin/defaultplugin.cpp
++++ b/default_plugin/defaultplugin.cpp
+@@ -35,6 +35,7 @@
+ #include <iostream>
+ #include <sstream>
+ #include <stdlib.h>
++#include <unistd.h> /* fork() */
+ #include <cstring>
+ using namespace std;
+ using namespace lineak_core_functions;
diff --git a/x11-misc/lineak-defaultplugin/lineak-defaultplugin-0.9.0-r1.ebuild b/x11-misc/lineak-defaultplugin/lineak-defaultplugin-0.9.0-r1.ebuild
new file mode 100644
index 000000000000..20dfb499c5a4
--- /dev/null
+++ b/x11-misc/lineak-defaultplugin/lineak-defaultplugin-0.9.0-r1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit eutils multilib
+
+MY_P=${P/.0/}
+
+DESCRIPTION="Mute/unmute and other macros for LINEAK"
+HOMEPAGE="http://lineak.sourceforge.net"
+SRC_URI="mirror://sourceforge/lineak/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE="debug"
+
+RDEPEND="
+ =x11-misc/lineakd-${PV}*
+"
+DEPEND="
+ ${RDEPEND}
+ x11-proto/inputproto
+"
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}"/${P}-gcc43.patch \
+ "${FILESDIR}"/${P}-gcc47.patch
+
+ sed -i -e 's:$(DESTDIR)${DESTDIR}:$(DESTDIR):' default_plugin/Makefile.in || die
+}
+
+src_configure() {
+ econf USER_LDFLAGS="${LDFLAGS}" $(use_enable debug)
+}
+
+src_install() {
+ emake \
+ DESTDIR="${D}" \
+ PLUGINDIR=/usr/$(get_libdir)/lineakd/plugins \
+ install
+ dodoc AUTHORS README
+}
diff --git a/x11-misc/lineak-defaultplugin/metadata.xml b/x11-misc/lineak-defaultplugin/metadata.xml
new file mode 100644
index 000000000000..f0c930bcee26
--- /dev/null
+++ b/x11-misc/lineak-defaultplugin/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">lineak</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/lineak-xosdplugin/Manifest b/x11-misc/lineak-xosdplugin/Manifest
new file mode 100644
index 000000000000..3b685ab97f16
--- /dev/null
+++ b/x11-misc/lineak-xosdplugin/Manifest
@@ -0,0 +1,6 @@
+AUX lineak-xosdplugin-0.9.0-gcc43.patch 480 SHA256 f372edf1f9730dfdc5502633256b25c2199a85532679d15ab52d957522662ac7 SHA512 ac737e37540d39fd664a544afe42ff410e8bb32a0cebebf084b3852408d1140ec048cd290c980d7bac3c1e9623963b5d27aad85e29f415e509655655e61aad8d WHIRLPOOL e868002fec4c3471d8a43543a4e2833cc5a4fdca5f1396fce5558141c1e455bc67ac34f5c52bcf0846c9169fb9f7853e6bca8598b5703d665b390e374ef33e42
+DIST lineak-xosdplugin-0.9.tar.gz 802367 SHA256 ba83d8e6abc2fd1ddbfb0c4837d9a9b2db82e5f3e9732db546147f520ba1c2af SHA512 5f38616a770dea9336e1af93c209ab1c5232d783e301d949e54ca44dc5b9dc462e8fad6448c6ffbb81d6494f5da91f507da2ed3835e62ecb6ef794f68b5f8009 WHIRLPOOL 00fd9ce1491770c2da93082a2fb2425792612a3f7388cc52e8d542cd828153ebceb72192f9641bd17926d9c065e420742cf6b371dfec1dbbc869f1a3d7d5ba42
+EBUILD lineak-xosdplugin-0.9.0-r1.ebuild 746 SHA256 5cd50da3f148d92f0c0e8d02e60b57a0a536fa8a55bda2ba692de4346c5545ac SHA512 77a1d3ce1f6c912f3ae0c7830f33e6e0d61d832c669119b619ec84e337a5768c7016756e6b532f4bdf9af46973089fb9c8a7b412bdae25df784b1b622a80dd80 WHIRLPOOL de71e23a42381a586f26254d5f11aab73118221baf6a06e4f13688994ff5dba791c3ede88f5073cb98b1cffcf8f8b8af071610e1c0a0a1d0fbc9d75e0db5a3e7
+MISC ChangeLog 2509 SHA256 c31280a69f7a07e10a6e3aa40df3f441c738818f5ff93f86f6aea6e69d359aef SHA512 8f881da812ad3cfa926f5f8503c27ca7019e68e8af97442a7243b649cd7baa5cfd04c995216f1d4d40cc2d8ab70f2b6cedfbb7aac3e12c642bc8932e9c7859e6 WHIRLPOOL 95a26e878704a0aa84a2ee41b7cf8852ee9f5eeabcf9d13cdaa3cc1acf49111ac8ea1b189197806f8677ee94f29f443b906b2b8c0acc331d83c0378127adab16
+MISC ChangeLog-2015 4524 SHA256 7f78b550eaa7c82b45daf6f00af0268def8958b8245881384f365da3e6662669 SHA512 fb089ceb8b96036b19c9133a52952ef581eb490f2c624e87b1b743c7a54b4aee77287bd117e65a3595fe960d563a36c4e8c496fde7093c6fc619ce9183428e30 WHIRLPOOL 62561c5dc5b5952f974ead40e7aa7c95cc4c181d129c9943f1ec8fd9731c46e655f6fb4d2dc19b23d7effa226244308317fb3d056a2759e6243abdbf0f704ca4
+MISC metadata.xml 352 SHA256 7142bc49886310097e93ade952f31a9cb07da91449c44c9032c07fde0b4c9687 SHA512 1abdaf434e7034702a0dfceff233083abc0bdaea90e215687ace13b6d005502da7193794cdc7beda708e741c5562313b93fd41677fa07d4f68bf8ef7cfa81939 WHIRLPOOL b40c29de8ebc22865d198f6358627c5161ac9ce4a1ff52c81c5a0420f186786cda50b3f36c8d14ccff8802577c39987718d6c6344cab67b35541c0f67b53229f
diff --git a/x11-misc/lineak-xosdplugin/files/lineak-xosdplugin-0.9.0-gcc43.patch b/x11-misc/lineak-xosdplugin/files/lineak-xosdplugin-0.9.0-gcc43.patch
new file mode 100644
index 000000000000..ed3f4017fb57
--- /dev/null
+++ b/x11-misc/lineak-xosdplugin/files/lineak-xosdplugin-0.9.0-gcc43.patch
@@ -0,0 +1,14 @@
+diff -urNad lineak-xosdplugin-0.9~/xosd_plugin/xosdctrl.cpp lineak-xosdplugin-0.9/xosd_plugin/xosdctrl.cpp
+--- lineak-xosdplugin-0.9~/xosd_plugin/xosdctrl.cpp 2006-02-08 18:32:13.000000000 +0000
++++ lineak-xosdplugin-0.9/xosd_plugin/xosdctrl.cpp 2008-03-17 04:35:12.000000000 +0000
+@@ -21,6 +21,8 @@
+ #include <lineak/lconfig.h>
+ #include <lineak/lineak_core_functions.h>
+
++#include <cstdlib>
++#include <cstring>
+
+ using namespace lineak_core_functions;
+ using namespace std;
+
+
diff --git a/x11-misc/lineak-xosdplugin/lineak-xosdplugin-0.9.0-r1.ebuild b/x11-misc/lineak-xosdplugin/lineak-xosdplugin-0.9.0-r1.ebuild
new file mode 100644
index 000000000000..d18f96f0baa0
--- /dev/null
+++ b/x11-misc/lineak-xosdplugin/lineak-xosdplugin-0.9.0-r1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+inherit eutils multilib
+
+MY_P=${P/.0/}
+
+DESCRIPTION="Xosd plugin for LINEAK"
+HOMEPAGE="http://lineak.sourceforge.net/"
+SRC_URI="mirror://sourceforge/lineak/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE="debug"
+
+DEPEND="=x11-misc/lineakd-${PV}*
+ x11-libs/xosd"
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}/${MY_P}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-gcc43.patch
+}
+
+src_compile() {
+ econf $(use_enable debug) --with-x
+ emake LDFLAGS="${LDFLAGS}" || die
+}
+
+src_install() {
+ emake DESTDIR="${D}" \
+ PLUGINDIR=/usr/$(get_libdir)/lineakd/plugins \
+ install || die
+ dodoc AUTHORS README || die
+}
diff --git a/x11-misc/lineak-xosdplugin/metadata.xml b/x11-misc/lineak-xosdplugin/metadata.xml
new file mode 100644
index 000000000000..c9ddf4376f41
--- /dev/null
+++ b/x11-misc/lineak-xosdplugin/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">lineak</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/lineakd/Manifest b/x11-misc/lineakd/Manifest
new file mode 100644
index 000000000000..f5457e3a3a36
--- /dev/null
+++ b/x11-misc/lineakd/Manifest
@@ -0,0 +1,8 @@
+AUX lineakd-0.9.0-DELL-XPS-M1330-XOrg-1_5.patch 795 SHA256 e97a0d8ffbef1f88c554a8163312e00681ad27c4a1fa89d66ca3c4785acb4355 SHA512 d38a7bc6ddb05eda357ffd487a494302cb08746389e65a7f7b30aaa3ebbbf5206f60cb59b07a6cea285976604b91328a002e893ef0833dfc67e9639b260da0ee WHIRLPOOL 48a59a1c5219ab0e7bf3c04a2829cea1e1a0f3f2d1e70851a6f45e40426ac34f6ac6aa518be92a7512914143cbb333769db0be8d5564e859db06cbbde59ca06f
+AUX lineakd-0.9.0-gcc43.patch 772 SHA256 86927dc758d8e6bfbc222e365607d00dc8f11514c2caf9974c1b5d395749ac5b SHA512 0ade361637b26db613c5a3915d8b364cf14eda14eb744618c03440ead5f0774f853dba7c0518432ae4f872e201d5bb0503fa7e4b5eadd71d049adf5b654c8407 WHIRLPOOL 9068df3af150a81413a60b76b0a3a3ba2b2cbb623e4c253c99d51ee1cbad2c7678cfb6838b705e10e3fea7f18a75102a7a768db8d7eff7dcc4d4a3214fbbfe35
+DIST lineakd-0.9.tar.gz 991376 SHA256 39fd34f8df4d31d16adacce1191b34cef5e510b536701120906ec708be21010b SHA512 e30a2e111832e3f08bbff858647536aaeb75d20008618b8c7555836104fd5a66d8e3173d0f9da76906caf13e9c9753c9140cd22dbb96fde464ed5d5f254d721e WHIRLPOOL 6c6f556c34df24c1fe1c973cd813b7dd3f4b6c91836b49c84b7f1f8d6f1cc9463885396b505feda285e61e34623d443eeea70cfee68b18af8e3ca132b7bcd33f
+EBUILD lineakd-0.9.0-r1.ebuild 1214 SHA256 e784d9852635ffaf6bd7b4a88f71f814398e52f2fc03f3ec83abc1ae39b75027 SHA512 7d4192a6fbe53f4f4e94d4a8902b6bcc82afc7324f9ceb7ea7d73b9a9d47fb7b7ae36bcbe9708f829074ee29770bca9f5f0c22cce838a12d7fdf44d4dc22fa18 WHIRLPOOL c704db834ef3a484a8415da450e6c68080bc196eb5155277c9ee443c7811296c6757f61e2366eecc7c85587b256f7cc917015b00a79be987f24aed0369458afb
+EBUILD lineakd-0.9.0-r2.ebuild 1100 SHA256 c4a0427b14fd57e7470e29886873013215860242f8a7338786bdd9a7b4f64ac4 SHA512 fd11f8fd6c63b6031a34a315cf041a2f7630609a08cb49eca246bb8b13a2df5ecd127d7ca34d6b50ab43574e0a10f7b2bcaecf62bf703a7078b711a14a1f833d WHIRLPOOL ea7730a58801786344f0939613947b1d4eae9d92d71cfb4b9cdfe9f4e14e87692a76074690acf0eeb29cf8f3141bc2f80f591c714c7c49e8cda7ee5146bbebcc
+MISC ChangeLog 2829 SHA256 7aafe5e3daebc8cd5fc78871984c644cf30d1abfbb469420e5f1ef2af16989f2 SHA512 4b1aa09efbe75b0df2e693f7ce9cef89663c067eee71222c2779f7af1e6e00f04e1b243ad5e4d38fd45a25b9371732a47668f1b153ead55397d08c052104da51 WHIRLPOOL c5b8b4f3025118a1118956cbe055f8e9bbe08835fb42a923e83f3d4d97617e5fa0836bfdcce261684a230fd1f88753c5e85c48395798baf0dd9af39fc6b5403d
+MISC ChangeLog-2015 7760 SHA256 3fad671dcf80958acdb737ae2ce90168a2a5f54d9309e93f398b02d70dd7e338 SHA512 327d77022ae654c0fc59202fa1f007973130c9f5c62b43dbd6b4c9b43fe046e3198a3c80edd320e43434759e205ffe42317ceea70ccda5787158474af864d1c6 WHIRLPOOL 6e6ee9263b5fce1acad001439aed1acd1c081568de4a2bc881d5dc3b2a097303f7b6a5c480d2950928cc0754b6a879fabf5fb23001a21b6adafd17d8f108e6f5
+MISC metadata.xml 352 SHA256 7142bc49886310097e93ade952f31a9cb07da91449c44c9032c07fde0b4c9687 SHA512 1abdaf434e7034702a0dfceff233083abc0bdaea90e215687ace13b6d005502da7193794cdc7beda708e741c5562313b93fd41677fa07d4f68bf8ef7cfa81939 WHIRLPOOL b40c29de8ebc22865d198f6358627c5161ac9ce4a1ff52c81c5a0420f186786cda50b3f36c8d14ccff8802577c39987718d6c6344cab67b35541c0f67b53229f
diff --git a/x11-misc/lineakd/files/lineakd-0.9.0-DELL-XPS-M1330-XOrg-1_5.patch b/x11-misc/lineakd/files/lineakd-0.9.0-DELL-XPS-M1330-XOrg-1_5.patch
new file mode 100644
index 000000000000..4435b1a25e07
--- /dev/null
+++ b/x11-misc/lineakd/files/lineakd-0.9.0-DELL-XPS-M1330-XOrg-1_5.patch
@@ -0,0 +1,32 @@
+--- a/lineakd/lineakkb.def
++++ b/lineakd/lineakkb.def
+@@ -2040,9 +2040,29 @@
+ Previous = 144
+ Next = 153
+ Stop = 164
++ WinKey = 115
++ FnWinKey = 116
++ Menu = 117
+ [END KEYS]
+ [END DELL-XPS-GEN-2]
+
++[DELL-XPS-M1330-XOrg-1_5] # By skypjack
++ brandname = "Dell"
++ modelname = "Inspiron XPS M1330 XOrg 1.5"
++ [KEYS]
++ Mute = 121
++ VolumeDown = 122
++ VolumeUp = 123
++ Play|Pause = 172
++ Previous = 173
++ Next = 171
++ Stop = 174
++ WinKey = 133
++ FnWinKey = 134
++ Menu = 135
++ [END KEYS]
++[END DELL-XPS-M1330-XOrg-1_5]
++
+ [DELL-SK-8100] # By Akshoslaa
+ brandname = "Dell"
+ modelname = "SK-8100"
diff --git a/x11-misc/lineakd/files/lineakd-0.9.0-gcc43.patch b/x11-misc/lineakd/files/lineakd-0.9.0-gcc43.patch
new file mode 100644
index 000000000000..c36a7375c060
--- /dev/null
+++ b/x11-misc/lineakd/files/lineakd-0.9.0-gcc43.patch
@@ -0,0 +1,42 @@
+--- a/lineak/xmgr.cpp
++++ b/lineak/xmgr.cpp
+@@ -21,6 +21,8 @@
+ #include <lineak/lbutton.h>
+
+ extern "C" {
++ #include <stdlib.h>
++ #include <string.h>
+ #include <signal.h>
+ #include <X11/Xlib.h>
+ #include <X11/keysym.h>
+--- a/lineak/defloader.h
++++ b/lineak/defloader.h
+@@ -23,6 +23,7 @@
+ # endif
+
+ # include <lineak/loader.h>
++# include <cstdlib>
+ # include <map>
+
+ class LDef;
+--- a/lineak/pluginmanager.cpp
++++ b/lineak/pluginmanager.cpp
+@@ -34,6 +34,7 @@
+ #include <unistd.h>
+ #include <dirent.h>
+ #include <dlfcn.h>
++#include <string.h>
+ }
+
+ using namespace lineak_core_functions;
+--- a/lineak/cdromctrl.cpp
++++ b/lineak/cdromctrl.cpp
+@@ -51,6 +51,7 @@
+
+ #include <stdio.h>
+ #include <errno.h>
++#include <string.h>
+ #include <unistd.h>
+
+ }
+
diff --git a/x11-misc/lineakd/lineakd-0.9.0-r1.ebuild b/x11-misc/lineakd/lineakd-0.9.0-r1.ebuild
new file mode 100644
index 000000000000..45b5b54d2ab1
--- /dev/null
+++ b/x11-misc/lineakd/lineakd-0.9.0-r1.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+inherit eutils multilib
+
+MY_P=${P/.0/}
+
+DESCRIPTION="Linux support for Easy Access and Internet Keyboards"
+HOMEPAGE="http://lineak.sourceforge.net"
+SRC_URI="mirror://sourceforge/lineak/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc sparc x86"
+IUSE="debug"
+
+RDEPEND="x11-libs/libICE
+ x11-libs/libSM
+ x11-libs/libX11
+ x11-libs/libXext"
+DEPEND="${RDEPEND}
+ x11-libs/libxkbfile
+ x11-libs/libXt
+ x11-proto/inputproto
+ x11-proto/xextproto
+ x11-proto/xproto
+ x11-libs/libXtst"
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}"/${P}-gcc43.patch \
+ "${FILESDIR}"/${P}-DELL-XPS-M1330-XOrg-1_5.patch
+}
+
+src_configure() {
+ econf $(use_enable debug) --with-x
+}
+
+src_install() {
+ sed -i -e 's:$(DESTDIR)${DESTDIR}:$(DESTDIR):' lineakd/Makefile
+
+ dodir /usr/share/man/man8
+
+ emake -j1 DESTDIR="${D}" install
+ dodoc AUTHORS README TODO
+ keepdir /usr/$(get_libdir)/lineakd/plugins
+
+ insinto /etc/lineak
+ doins lineakd.conf.example lineakd.conf.kde.example
+}
+
+pkg_postinst() {
+ elog
+ elog "evtest utility has not been installed. evtest can be found"
+ elog "in app-misc/evtest."
+ elog
+}
diff --git a/x11-misc/lineakd/lineakd-0.9.0-r2.ebuild b/x11-misc/lineakd/lineakd-0.9.0-r2.ebuild
new file mode 100644
index 000000000000..7b74d25c19ef
--- /dev/null
+++ b/x11-misc/lineakd/lineakd-0.9.0-r2.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit eutils multilib
+
+MY_P=${P/.0/}
+
+DESCRIPTION="Linux support for Easy Access and Internet Keyboards"
+HOMEPAGE="http://lineak.sourceforge.net"
+SRC_URI="mirror://sourceforge/lineak/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE="debug"
+
+RDEPEND="
+ x11-libs/libICE
+ x11-libs/libSM
+ x11-libs/libX11
+ x11-libs/libXext
+"
+DEPEND="
+ ${RDEPEND}
+ x11-libs/libxkbfile
+ x11-libs/libXt
+ x11-proto/inputproto
+ x11-proto/xextproto
+ x11-proto/xproto
+ x11-libs/libXtst
+"
+
+S=${WORKDIR}/${MY_P}
+PATCHES=(
+ "${FILESDIR}"/${P}-gcc43.patch
+ "${FILESDIR}"/${P}-DELL-XPS-M1330-XOrg-1_5.patch
+)
+
+src_configure() {
+ econf $(use_enable debug) --with-x
+}
+
+src_install() {
+ sed -i -e 's:$(DESTDIR)${DESTDIR}:$(DESTDIR):' lineakd/Makefile
+
+ dodir /usr/share/man/man8
+
+ emake -j1 DESTDIR="${D}" install
+
+ prune_libtool_files
+
+ dodoc AUTHORS README TODO
+
+ keepdir /usr/$(get_libdir)/lineakd/plugins
+
+ insinto /etc/lineak
+ doins lineakd.conf.example lineakd.conf.kde.example
+}
diff --git a/x11-misc/lineakd/metadata.xml b/x11-misc/lineakd/metadata.xml
new file mode 100644
index 000000000000..c9ddf4376f41
--- /dev/null
+++ b/x11-misc/lineakd/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">lineak</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/lndir/Manifest b/x11-misc/lndir/Manifest
new file mode 100644
index 000000000000..26902c7f5a7e
--- /dev/null
+++ b/x11-misc/lndir/Manifest
@@ -0,0 +1,5 @@
+DIST lndir-1.0.3.tar.bz2 114392 SHA256 49f4fab0de8d418db4ce80dad34e9b879a4199f3e554253a8e1ab68f7c7cb65d SHA512 c9f03c825c627935abe399bf8292bbf69304cb9e9d65a4c860b49e32e2ed4dde25bf658a5ab2116cd215381d0a52f464a8a53469c27adddbd9fa2bfd135a7289 WHIRLPOOL d75650eb9229003eba9d1e4223ec851b3e16e01907c02c258d7a189d44675aec93466ef269ceaaddd35d5849e918cc13f7584b138119737b2308c4fc903d5aa5
+EBUILD lndir-1.0.3-r1.ebuild 326 SHA256 1368fa275f7deb7ebb27f0f25d421205336d4ca45fb66621f405a2c46dfe8b44 SHA512 c20e7dbf785120625791cc3fbd7b15f61fa4b01e0494a4c906c81b0646846e56c04e349ac53783d1d0fbe4ac3c53cc81c7e139d838dd5ca8ca083729e983c83c WHIRLPOOL ce62f9de4adac40c070adc77ac65370fa2888e49dca176145238f991f50342456303515ccce3dc442068d670ec6c64544f2928c9c113339a5aea8eae41c91ddb
+MISC ChangeLog 2589 SHA256 8d907ad015c852a165e958f593bf907c051b77de1ddf7c8df90f90b9b2449630 SHA512 3d8fc18749e84804b1afcfb60d072b244f5ad159d7747215d01c707c7a4bb1e1d53e34562d76dd5d72d624c6829e5e247bb7230cb33e971877f5722dde0bafa6 WHIRLPOOL ffe3dbef5772350bc0f7018fa6cd6079842f158e74f925b07eeab8e279e45acee012fedd2c4c02fbe8a48ca07be1c4cf11f9e0b7bc746f5e5dc5eaad082cb0a1
+MISC ChangeLog-2015 2961 SHA256 e762f69aa241c8a8fb5a9c4897ea2be80ac2561a8c76965c82877940ed23afea SHA512 a49bbf3fdbec441ed518522fadb652216216f1491afcca36b6fc1392781d01063113db09d3da88a430c75ad7ceb0eac31967b54910b43b0004b68be316c1a88e WHIRLPOOL f68e59a47b9c36cc85b4fed1080e0f08c6c8963d93aa41321136a420ce4c8c3b0a806d1ce0842160774b7472d8cca913ede0b99717251eed435110c0c4e9a3e5
+MISC metadata.xml 230 SHA256 677e4595d00a3098fde05ae33118b9ac05867dc5729c9cd579dc8badd1a28f68 SHA512 d7a2643abd1904cc5ff4d91cbb6f1baeb7f75fd1db542c5e14f19412f4f0bd4b903f8e703a7662ba7482c79dac5529057760b6427599d35e0842755fd946e057 WHIRLPOOL 4866c82c6428eae526c0a514c988e4119221f77b0e8bfb04fec713dd3ba516c69afc776a0c6f53c29abfd8507aa23801614db1ba544dd0a0dd4d6a9462c27306
diff --git a/x11-misc/lndir/lndir-1.0.3-r1.ebuild b/x11-misc/lndir/lndir-1.0.3-r1.ebuild
new file mode 100644
index 000000000000..cb471e37cfe8
--- /dev/null
+++ b/x11-misc/lndir/lndir-1.0.3-r1.ebuild
@@ -0,0 +1,15 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+XORG_STATIC=no
+inherit xorg-2
+
+DESCRIPTION="create a shadow directory of symbolic links to another directory tree"
+KEYWORDS="amd64 ppc ppc64 sparc x86"
+IUSE=""
+
+RDEPEND=""
+DEPEND="${RDEPEND}
+ x11-proto/xproto"
diff --git a/x11-misc/lndir/metadata.xml b/x11-misc/lndir/metadata.xml
new file mode 100644
index 000000000000..e943b72b8a48
--- /dev/null
+++ b/x11-misc/lndir/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>x11@gentoo.org</email>
+ <name>X11</name>
+</maintainer>
+</pkgmetadata>
diff --git a/x11-misc/lsw/Manifest b/x11-misc/lsw/Manifest
new file mode 100644
index 000000000000..2adbc3780bad
--- /dev/null
+++ b/x11-misc/lsw/Manifest
@@ -0,0 +1,5 @@
+DIST lsw-0.3.tar.gz 2723 SHA256 0b3f3ce16eef060df6e0d90327ee82593dfd75281347908698747cfa3f8d0655 SHA512 54f5aeb6d17fe23a2e65fbbf4a7622c194e776261a6f0c04ece54fbf212588ec749d5bf5939a6084997f36468339f5373169234c671211a2b7712c408cf883d8 WHIRLPOOL 2b3fcd30ebf466a0ec0b78b3b9995545f0a24c4720076b5692f166ee2e342a87d85969372f830a1fbbf339cdff1545a6d846f029104f94a7ac03db34f5ca6ee8
+EBUILD lsw-0.3.ebuild 670 SHA256 076046da6b600918a06226148fdacc455e763626818ddf6da475fba9902b3f41 SHA512 18c666ba57fc9490670ba0d191ea4be5b0f6162af1a51fdfe41211d93d7f15364b3e0a99e41e13011ce660e52d2a78eb15c391abd7598b6acf02dd17a65f155c WHIRLPOOL 3b15cfab3f83c15aa8af7a20bf44d24dc3664d352c063a86a910f99178d401489b2abd4ca8752110a3dac3c5c92606a6c90baad55d6c4a23b8c4d28941b3d60c
+MISC ChangeLog 2529 SHA256 29e344a23f7108718c293058e19f3977a82a463fbcb29c822706352dc04d7283 SHA512 e6b98ec7718aeaeea601d3090dd9e06e0571b9efbc701a027ef08714b651af5d75fb9d80188a9411452d398fac2f01acabbaf0bb87c63e26ab4e17cf276a282d WHIRLPOOL 0940140d3d997bb06e309c32a255ddbd39aeb46e22fd87b72239d198c189c4502d1dd6e1ff82ce1c990f802376bbdcb1644757bcbcef00f043b52fa1d36cd05d
+MISC ChangeLog-2015 1805 SHA256 d761df16d0ce32ad72730e34e581a366fb2defb5ce36720a602fe5a1adc47d22 SHA512 9223a2c600120ecc7f5ee068bd2881467b9fffecc34f15e4e474f99e6623bd7fa3470433ba5727d161d2f455fd9ff60a82bf36a1a7f0ea17819eb5c664f1e147 WHIRLPOOL 7425c2f3581a46758740f1d801160d0187b6c8c34f75ee81a56f003cbd615d66a5d713551992ac981034ea2e36bb4a6abdfad8fb0f8aa4316bc06d72b1579bcb
+MISC metadata.xml 282 SHA256 ac9236162462e1562a26e596e7dd457a448f9367ff1a5a27ec3513ecade3026b SHA512 06c94ffb49c985c4344b170b902427ca9ce0c23b6d68330af227ab1771794f8e8b6d0ef75b5f69293c8ef0d3264c8799e1389ccdf8dfbe7c665c6477c07479e4 WHIRLPOOL 615c807081b4bef1734f1dbf9a182cb27b7de0e9bcdebd880c6b9c1ab01b95721076ddc4b4e75e93b8f777020bfd52459e9e4b1a9deb41baacc44f6cde05fd36
diff --git a/x11-misc/lsw/lsw-0.3.ebuild b/x11-misc/lsw/lsw-0.3.ebuild
new file mode 100644
index 000000000000..09db83b1ff03
--- /dev/null
+++ b/x11-misc/lsw/lsw-0.3.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit toolchain-funcs
+
+DESCRIPTION="list window names"
+HOMEPAGE="https://tools.suckless.org/x/lsw"
+SRC_URI="https://dl.suckless.org/tools/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="amd64 ~x86"
+
+RDEPEND="x11-libs/libX11"
+DEPEND="${RDEPEND}
+ x11-proto/xproto"
+
+src_prepare() {
+ sed -i config.mk \
+ -e '/^CC/d' \
+ -e '/^CFLAGS/{s| -Os||;s|=|+=|}' \
+ -e '/^LDFLAGS/{s|=|+=|;s| -s||}' || die
+ sed -i \
+ -e 's|^\t@|\t|g' \
+ -e '/^\techo/d' \
+ Makefile || die
+}
+
+src_compile() {
+ emake CC=$(tc-getCC)
+}
+
+src_install() {
+ doman ${PN}.1
+ dobin ${PN}
+}
diff --git a/x11-misc/lsw/metadata.xml b/x11-misc/lsw/metadata.xml
new file mode 100644
index 000000000000..bc1b97e1eb76
--- /dev/null
+++ b/x11-misc/lsw/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/x11-misc/macopix/Manifest b/x11-misc/macopix/Manifest
new file mode 100644
index 000000000000..fdef44c2dc3c
--- /dev/null
+++ b/x11-misc/macopix/Manifest
@@ -0,0 +1,16 @@
+AUX macopix-1.7.4-windres.patch 1842 SHA256 cb91b33950626beb44781af3dcb7df0d5ee0f441485c6344e29108409aa385ac SHA512 02980ad64f1711d744e17d9d906349b729661f00b290218f3b03284c40181d57056174ff9eab1a53a6367d497e7d8ab519076c22995bc0261c9ab6f526a45881 WHIRLPOOL 6a61ea229c513c5b5a1457ab434896ce5dca930d7b296240091d6be7c71460af785be17cff3891d256cf3c901d628e59741ce28e7e60dcad24546601e043e576
+DIST macopix-1.7.4.tar.bz2 725481 SHA256 cbff49abca2f8709dd27a8705fb54e663b160fa5376eaf2da30f0e9e39c8f669 SHA512 6010f98ecd3aad4325e81f037589cc4e79d857d513687f5243adb6ef3768ace5cddf4f5cdce977a75a4dc769b52bb541bdeefe92cdc012471de950ee81592db7 WHIRLPOOL 765276f6770e0c03332a100f052e44bf01d75b78b817c16cb103c82d13f065ebbbc1c1e6b8661215dc8219763c6f72f846beac478d1f110bf1de0e26a2c99f7b
+DIST macopix-mascot-HxB-euc-ja-0.30.tar.gz 803473 SHA256 3e8ca25e163a97fca12e1a134943a7815e245c779ff88e9444b7af5ee117f4fb SHA512 8897bd6d30fe3372e91d00add2a1af5d7fd7384ce7668aa9b21952d5be863d04c63af8bb98846c59f54a87af3b60acbd008f6c62b68a22038f29a07e7ba19333 WHIRLPOOL dcf76db88af2034a156d5987e6772ad03b0b756c080b9d1423fa8038bc57f14de31b8e2e868c0814eb79c0affd875a1bbef1ecf28065d2a5abb8ca9cf754d0b3
+DIST macopix-mascot-comic_party-euc-ja-1.02.tar.gz 20656 SHA256 3dbdcd20f2f1f99062263b70bcef92e31f81b1e3e6c62ac0de8f71df83cb1983 SHA512 b71a586faef6b878c150e7e8e412c70d8d08919736695108efe2f119aaa01347befcaf222990fbaba10daa57120645e5c77b5534df0e4224feddbaa15c80ecf2 WHIRLPOOL 87f622715dddcb6937ae2685d8324864bde7f67571bd425b2791b46b0d29607466f3a99d43ba7c2187d3929bb5e8fb4382f5282a9935c8eceaa86daf350177a7
+DIST macopix-mascot-cosmos-euc-ja-1.02.tar.gz 329269 SHA256 e39ef6da31f8f8c4c9c8a50fe0e1e00800fe7258b51d1cb4a9b6512962f8a3aa SHA512 05b126b872c7ddf7dfe5b6fdd9654b8f97f6e005d8fa8ad30277a379c333cb0defaad43f9165db4712fc7e4d755fdddd34dce49a99f89c56f4dc951340fc7b1b WHIRLPOOL f13c4652ce7589dd9da4ddbe3b28ee0aa992ac84cbf7cdd7af1b4ab879036ced13cc917c97c59e3d835718dd41ddd7ee14e058f169a4a0072cee62975a136f61
+DIST macopix-mascot-kanon-euc-ja-1.02.tar.gz 451021 SHA256 3b2b1d6cbc5f413404680866e2e4506e6ec081af7f90dfa015f5674c8454729b SHA512 4dca3b0389ea0f305938d0867c06702dd1983e1728751fc09d51d64ec0df4c3389a91e35c113436a45ddbe6f7fb6ba7019f29a88cc118bcc4abcc128cb3a33f7 WHIRLPOOL 0dd4bd9fb4d9507332741fde9b5ca22da78311279046b1eb72e6170ae0291bdac2dc9b54eeb36a0552df02c309e05d8a881a6d71e6f33c25095bebbfdc30cc4b
+DIST macopix-mascot-marimite-euc-ja-2.20.tar.gz 916260 SHA256 dd64c0834032dd37b83dc5f660dc813fcb0c514f3331f942afc61ff483126418 SHA512 15c98e05b6f9139c085464f1286db9eda32ccce180f970684b8eebbd1eab904a7db736fce5a1c8ca48692b7b5b7e407e6d23d9ad03350780d8dfe6fee4b1386c WHIRLPOOL 835df6a4fcd416d83694d63af03daa97a5ad169b0bd746e246158f77505a03e78047e4355fa6a418373ee692da33a6276c1cd984783e8af02ad8f9400801a80e
+DIST macopix-mascot-mizuiro-euc-ja-1.02.tar.gz 187782 SHA256 f57a40f8b107f862162ce40d07f2237670b850af353b4b3ca880e7190e4e104f SHA512 4bd4cb0ad2fab501b76855994e5c92737d110820c2c70ce12a7d7a8b6ea9e28887a0022dc19c3ac1e927f6f90f4097d6cd3b1d9a9954b42311aa71041f2d0596 WHIRLPOOL 8d0a42346dc4644b93902db3cdabb5e29e66faab9f1b5795c10869d35fd7a872da2d2f1a8795c752580515ef146ab99037a6c8c3714af473133fa7b82aaf4ba7
+DIST macopix-mascot-one-euc-ja-1.02.tar.gz 199796 SHA256 d365e516557fd6f3826d9086f7348c3e444256371cac87f901078ece7c118454 SHA512 2344f4734bd13fecb2c1ea1451aa1100ab4145ee7e29ea4730546ffeb4067f3505875d7c5efda5c7f2a2b08ecbe77b0a42d89b51e4e2ae95924eff02a5c0d99e WHIRLPOOL 9cc8aa9460282f3d21ad6f36b57101b6635e0696440ae2bd60384fc0a98383a5c1b78d1f8e18f5b250920a87af440c49735374041c0108ce4b7da776f829e1e4
+DIST macopix-mascot-pia2-euc-ja-1.02.tar.gz 191520 SHA256 b3ae2b2480173673010f91fd0864249e05bd990af9af9fccddd43a2bd829d76b SHA512 4e0177ca699d9e9caea7a9b6f6d81b41a25e1f05f44c9df1ea31578ddb908fcf12e6463bb84f0536ae25df24aca712b17a0d068d74c587671bb202c8441b7f42 WHIRLPOOL a595e13cae427cd283dd25191f40c999b68528cad93e0e0245898bfa24c9cccf216c5745ab6320546850cbf31d603593a6cf579735588d3be45257f8f8b1074e
+DIST macopix-mascot-triangle_heart-euc-ja-1.02.tar.gz 310099 SHA256 5849b6e40a8037e0739b523aed7b597cb2464418bb922d7917dd95c7ed65cdef SHA512 133a3446a3713192ffef84cd381065b2a99db2eb0dd18692d54e7974eb26aa63eef6d051466ddf89152f6baa8e4625ae6e7e975cf944dd12e0b6cc17c56e5673 WHIRLPOOL fe918686dea750b1b7cd8593c0e3c2b48b02dc7fa9fec268d4a00e2bf3011e20659ccd8806f9dd716b16653734d6146b1e9354896bd2a8eded66330c0bd1da9b
+DIST macopix-mascot-tsukihime-euc-ja-1.02.tar.gz 616138 SHA256 6dcf1add046046f45ad9b23ed174b22537e23cfa3686b6bc84f607bd34a7ea8e SHA512 226a175846a1f81a5aeedab6d7b85e38903d3b85a88a4a2c9a91365ba8a149a9ee54d6174bf8c4595cbe6542d3afcebd440a4185402c2139310664059515a2c5 WHIRLPOOL ae946ec2f8d41d4015e0e41f3d636ce336de4bf5b515ef96962ad1a2fed24d6da8316f1bdeb6d303c9f83235d51533aebdab9fae01530f990cbbbe224e719021
+EBUILD macopix-1.7.4-r1.ebuild 1820 SHA256 67b47c8ffc359693ef15aecde5dd86954576f7c5995c3df18acc9ba69c2ad88b SHA512 1d11c0d2c98b16f5544d4a8895d539dfa9a191f64d4ca55f5f4d1bc2e49f42af13b92e7fd15c5ef29f1fd64d8e6bee93fe31ab64cdf52c0255efd53dba393cca WHIRLPOOL ccb950eb8d57a018b88154caaf3beeb14549d5b0e8eaa414a93b628d697f6eda17a1771f77b46053a3615e4b8c4f7e926d17fa5e0338fa247f3614b7c8090278
+MISC ChangeLog 2427 SHA256 64b2a0aa47ad1fc92253ce7451076628b0ddde6b7fd15e9e0a0e065f884c3ff6 SHA512 d7f4b459f2c21b0161f1e00a02660fb6eabab62a7ec118b92bb0731b9918c54aeebd2f7310d05a537ea788a12ed9c48eabe56a24242d42ead0041e308e21526f WHIRLPOOL 69d876e5fb2061d1aedbf81f1516dde649ad1a9eac03f89a063594bc8471d2594d88acc663d0025dccc8a316e9172fbfd9158a9f01366a091401d8094bf9a086
+MISC ChangeLog-2015 3598 SHA256 d138634f3991e63733cc484efcbc3586ccacd885f34901f7531d85a0def45a4c SHA512 560158f4ceab9b36efe071909680507d48d34fd72f27b0634384632d45222a7a1742faf16879b1abcdeb29c4adbca2059c6f7f6f17a061b9b506f692b2f8cec1 WHIRLPOOL 6cd363e397a7380a9856251e569587fbddbdb1e530b52b7b264774a208018faf60319dfd202734a61085c7b76c4bbf98081705e6d7a83743e384977b9e8b55bb
+MISC metadata.xml 272 SHA256 b389ad9ba70c18154af4fc164e31d5b1e2a4e99815d34319b4a4f46ccef2be52 SHA512 ebe67da08587903b5b82fc194aa3c8f1ab65371f60d2c134928362e089550d9e9fd9531bffe8b676a345b5bf0ab209ce7f50d37d98201a88176f002e17582493 WHIRLPOOL 3d6a9660a11c299dbb7fa3ec6821005f2540dc8fc9e499206d38d79d54023b3ddc66a019b2c88fbc92199b9f5335088b47fa3fdd781f92f2da3ad98b26bc2a50
diff --git a/x11-misc/macopix/files/macopix-1.7.4-windres.patch b/x11-misc/macopix/files/macopix-1.7.4-windres.patch
new file mode 100644
index 000000000000..e26bf62e7b74
--- /dev/null
+++ b/x11-misc/macopix/files/macopix-1.7.4-windres.patch
@@ -0,0 +1,58 @@
+--- a/configure.in
++++ b/configure.in
+@@ -145,26 +145,10 @@
+ [use Gtk+1.2 insted of Gtk+2]),
+ [use_gtk1=yes])
+
+-if test x"${use_gtk1}" = "xyes"; then
+-AM_PATH_GLIB(1.2.6,,
+- AC_MSG_ERROR(Test for GLIB failed. See the file 'INSTALL' for help.),
+- gthread)
+-AM_PATH_GTK(1.2.0, ,
+- AC_MSG_ERROR(Cannot find GTK: Is gtk-config in path?))
+-AM_PATH_GDK_PIXBUF(0.7.0, ,
+- AC_MSG_ERROR(Cannot find GdkPixbuf: Is gdk-pixbuf-config in path?))
+-dnl for libpng (In the case of Gtk+2, gdk_pixbuf_save are used.)
+-AC_CHECK_LIB(png,png_create_write_struct,
+- [PNGLIB_LIBS="-lz -lpng -lm"],
+- [AC_MSG_ERROR(libpng is required.)],
+- -lz -lm)
+-
+-else
+ AM_PATH_GLIB_2_0(2.0.0,, AC_MSG_ERROR([glib-2.x is required]), gthread gobject)
+ AM_PATH_GTK_2_0(2.0.0,, AC_MSG_ERROR([gtk+-2.x is required]), gthread gobject)
+ AC_DEFINE(USE_GTK2,[], [Use Gtk+2.x instead of Gtk+1.x])
+ PNGLIB_LIBS=""
+-fi
+ AC_SUBST(PNGLIB_LIBS)
+
+
+--- a/src/Makefile.am
++++ b/src/Makefile.am
+@@ -9,14 +9,6 @@
+ bmp.h sockmsg.h codeconv.h unmime.h base64.h quoted-printable.h\
+ macopix_icon.h tar32api.h ssl.h
+
+-if HAVE_WINDRES
+-MACOPIX_RES = macopix.res
+-macopix.res: macopix_res.rc
+- $(WINDRES) $< -O coff -o $@
+-else
+-MACOPIX_RES =
+-endif
+-
+ EXTRA_DIST = \
+ macopix_res.rc.in\
+ macopix.ico\
+@@ -25,9 +17,9 @@
+ tar32.dll\
+ libtar32.a
+
+-INCLUDES = @GTK_CFLAGS@ @GDK_PIXBUF_CFLAGS@ $(GNUTLS_CFLAGS)\
++INCLUDES = @GTK_CFLAGS@ $(GNUTLS_CFLAGS)\
+ $(DISABLE_DEPRECATED)
+-LDADD = @GTK_LIBS@ @GDK_PIXBUF_LIBS@ $(PNGLIB_LIBS) $(WINMM_LIBS)\
++LDADD = @GTK_LIBS@ $(PNGLIB_LIBS) $(WINMM_LIBS)\
+ $(MACOPIX_RES) $(WINSOCK_LIBS) $(UNLHA32_LIBS) $(TAR32_LIBS) $(GNUTLS_LIBS) $(WIN32_ICONV_LIBS)
+ CLEANFILES = *~
+ DISTCLEANFILES = .deps/*.P
diff --git a/x11-misc/macopix/macopix-1.7.4-r1.ebuild b/x11-misc/macopix/macopix-1.7.4-r1.ebuild
new file mode 100644
index 000000000000..59e739739fd5
--- /dev/null
+++ b/x11-misc/macopix/macopix-1.7.4-r1.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit autotools flag-o-matic
+
+DESCRIPTION="MaCoPiX (Mascot Constructive Pilot for X) is a desktop mascot application"
+HOMEPAGE="http://rosegray.sakura.ne.jp/macopix/index-e.html"
+
+BASE_URI="http://rosegray.sakura.ne.jp/macopix"
+SRC_URI="${BASE_URI}/${P}.tar.bz2"
+
+# NOTE: These mascots are not redistributable on commercial CD-ROM.
+# The author granted to use them under Gentoo Linux.
+MY_MASCOTS="
+ macopix-mascot-HxB-euc-ja-0.30
+ macopix-mascot-marimite-euc-ja-2.20
+ macopix-mascot-cosmos-euc-ja-1.02
+ macopix-mascot-mizuiro-euc-ja-1.02
+ macopix-mascot-pia2-euc-ja-1.02
+ macopix-mascot-tsukihime-euc-ja-1.02
+ macopix-mascot-triangle_heart-euc-ja-1.02
+ macopix-mascot-comic_party-euc-ja-1.02
+ macopix-mascot-kanon-euc-ja-1.02
+ macopix-mascot-one-euc-ja-1.02
+"
+
+for i in ${MY_MASCOTS} ; do
+ SRC_URI+=" ${BASE_URI}/${i}.tar.gz"
+done
+
+# programme itself is GPL-2, and mascots are free-noncomm
+LICENSE="GPL-2 free-noncomm"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE="gnutls nls"
+
+RDEPEND="
+ dev-libs/glib:2
+ media-libs/libpng:0=
+ sys-devel/gettext
+ x11-libs/gtk+:2
+ gnutls? ( net-libs/gnutls )
+ !gnutls? ( dev-libs/openssl:0= )
+"
+DEPEND="
+ ${RDEPEND}
+ virtual/pkgconfig
+"
+PATCHES=(
+ "${FILESDIR}"/${P}-windres.patch
+)
+
+src_prepare() {
+ default
+
+ eautoreconf
+}
+
+src_configure() {
+ append-libs -lX11
+
+ econf $(use_with gnutls)
+}
+
+src_install() {
+ default
+
+ dodoc AUTHORS ChangeLog* NEWS *README*
+
+ # install mascots
+ for d in ${MY_MASCOTS} ; do
+ einfo "Installing ${d}..."
+ cd "${WORKDIR}/${d}" || die
+ insinto /usr/share/"${PN}"
+ for i in *.mcpx *.menu ; do
+ doins "$i" || die
+ done
+ insinto /usr/share/"${PN}"/pixmap
+ for i in *.png ; do
+ doins "$i"
+ done
+ docinto "${d}"
+ dodoc README.jp
+ done
+}
diff --git a/x11-misc/macopix/metadata.xml b/x11-misc/macopix/metadata.xml
new file mode 100644
index 000000000000..49c86a887b6a
--- /dev/null
+++ b/x11-misc/macopix/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+</maintainer>
+</pkgmetadata>
diff --git a/x11-misc/magick-rotation/Manifest b/x11-misc/magick-rotation/Manifest
new file mode 100644
index 000000000000..e7240bfe3a66
--- /dev/null
+++ b/x11-misc/magick-rotation/Manifest
@@ -0,0 +1,5 @@
+DIST magick-rotation-1.6.2.tar.bz2 103389 SHA256 e0decb8ffb6bd5b8ffd0f01df345f23041abe78cda97fbe7065772260a1a2520 SHA512 40252c4b57d304244f8f7a8b08448cb498efd9044406235f2d728a89c8b4888009c4e7a9f50cbb61b5620336eedf1abb1591e68e94a57b051f4d823acbcdff5f WHIRLPOOL 3aeea34a2a7cbf966a7c0ea3bd13810e2a7a2015bc1f068566ce0515636bcb661e728af6682eea80b39624a3947a8219b9144a296f7c7fe9526d952d21cab49f
+EBUILD magick-rotation-1.6.2-r2.ebuild 2424 SHA256 7356a1e2c12df5c581a74f4b7d549603f0cdb7711cf07fd0d14915eb90e3e393 SHA512 22187c36505f55c33d1e2cef0ea78b601c64b221fb4fc68988f96bc92457c7ca4b1fd17dc1d011000b67e2fb464f5cf3f2c5b94b3131f4830c9c573faa6f910e WHIRLPOOL 489ac5e3b2298f748648d1e24ef3e34f213e9a5e93c3619a7149c81fb8a017bba2f7c6e62b4addfe8235f69621d8eb0ba96d560b97ac00564f2d368278ec4503
+MISC ChangeLog 3160 SHA256 fdb2c07bc1582957acdc9a533b60da077d3bdd0d655edea0528722558e3f95eb SHA512 f4a879618c2d7a679ba2e537befdfd2c5f894423774b26b023061d3a36962537ebd62a5e554f5e67acbf0cd099508b7d04fb41f6806cb9d12272f439cf64f04c WHIRLPOOL 4c78f6a7f3976ab19fad954a80ee0aa5e685782ff062b17450a4f6e9bdb24cde2d7c2f70b2047ac4a9084bd0736ca66709409cb18df02dbd3c72dd2a572ccde0
+MISC ChangeLog-2015 1525 SHA256 10fba231b42d7fac511dcdc261fe795b2de8d062b0c435b4b3e618e821fda00a SHA512 d0054a9a6031a50a9d55b09ef1c5c9c6d3ca97d66d83e29a116710576cb9d6450f39a8fbaef37080a58822e3ab7b9339eeeffcc735c2aa4d34592affef90b72d WHIRLPOOL cca156d41a6b2eed2584d5c66594cd1cb5f3e7cd79dfec3a8af7adb9583e45eec22000c40ff03e07cf9169006dfba1ad636bc9278d01329d29ddeb5b4876be60
+MISC metadata.xml 674 SHA256 d16d7746c77b81d9dc8ceb19b26aca1394a60de715284eab4975542ae4f5299d SHA512 2a3b9db9c76e7f8f5f21f8d34fa059904b0bb75793d32a8d4b88410c9f5af36a7732969751177ca950a824af97f305aef8864fe9cb4dcd26ea9bcf44b6bedf52 WHIRLPOOL 1eed210238ebe12f18bd1b5014d9c15df12873339b5bb76a96c246237b01e58a7cb95e1e23090ead3244c7ff77b011504fe6acc0dff0449b66ca390f8fcc37b5
diff --git a/x11-misc/magick-rotation/magick-rotation-1.6.2-r2.ebuild b/x11-misc/magick-rotation/magick-rotation-1.6.2-r2.ebuild
new file mode 100644
index 000000000000..43a71929ba58
--- /dev/null
+++ b/x11-misc/magick-rotation/magick-rotation-1.6.2-r2.ebuild
@@ -0,0 +1,95 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+PYTHON_REQ_USE="xml"
+inherit eutils python-single-r1 toolchain-funcs udev user versionator
+
+MY_PV=$(get_version_component_range 1-2)
+
+DESCRIPTION="Application that rotates tablet pc's screen automatically, based on orientation"
+HOMEPAGE="https://launchpad.net/magick-rotation"
+SRC_URI="https://launchpad.net/magick-rotation/trunk/${MY_PV}/+download/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~x86"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DEPEND="${PYTHON_DEPS}
+ x11-libs/libX11
+ x11-libs/libXrandr"
+
+RDEPEND="${DEPEND}
+ dev-python/pygobject:2[${PYTHON_USEDEP}]
+ dev-python/pygtk:2[${PYTHON_USEDEP}]
+ dev-python/py-notify[${PYTHON_USEDEP}]
+ x11-apps/xinput"
+
+# there are no tests in package, default 'make check' does wrong things, bug #453672
+RESTRICT="test"
+
+pkg_setup() {
+ python-single-r1_pkg_setup
+ enewgroup magick
+}
+
+src_prepare() {
+ # Remove unneeded files
+ rm -r apt_* installer_gtk.py MAGICK-INSTALL gset_addkeyval.py MagickIcons/MagickSplash.png MagickUninstall || die 'removing unneeded files failed'
+
+ # Fix Python shebangs
+ python_fix_shebang "${S}"
+
+ epatch_user
+}
+
+src_compile() {
+ my_compile() {
+ echo $(tc-getCC) $*
+ $(tc-getCC) $* || die 'compilation failed'
+ }
+
+ local suffix=
+ if use amd64; then
+ suffix=64
+ else
+ suffix=32
+ fi
+ my_compile "${CFLAGS} ${LDFLAGS} check.c -lX11 -lXrandr -o checkmagick${suffix}"
+}
+
+src_install() {
+ #TODO: add installation of GNOME Shell 3.2 extension
+ dobin checkmagick*
+
+ udev_dorules 62-magick.rules
+
+ python_moduleinto /usr/share/${PN}
+ python_domodule *.py
+
+ insinto /usr/share/${PN}/MagickIcons
+ doins MagickIcons/*.png
+
+ python_scriptinto /usr/share/${PN}
+ python_doscript magick-rotation xrotate.py
+
+ dodoc *.txt ChangeLog
+
+ make_desktop_entry /usr/share/${PN}/${PN} "Magick Rotation" /usr/share/${PN}/MagickIcons/magick-rotation-enabled.png "System;Utility;"
+}
+
+pkg_postinst() {
+ echo
+ elog "In order to use Magick Rotation with an on-screen keyboard and handwriting,"
+ elog "the following additional package may also be installed for use at run-time:"
+ elog
+ optfeature "Magick Rotation's default onscreen keyboard" media-gfx/cellwriter
+ echo
+
+ ewarn "in order to use Magick Rotation you have to be in the 'magick' group."
+ ewarn "Just run 'gpasswd -a <USER> magick', then have <USER> re-login."
+}
diff --git a/x11-misc/magick-rotation/metadata.xml b/x11-misc/magick-rotation/metadata.xml
new file mode 100644
index 000000000000..48d91f8744d3
--- /dev/null
+++ b/x11-misc/magick-rotation/metadata.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>evadim@evadim.ru</email>
+ <name>Vadim Efimov</name>
+ <description>Maintainer. Assign bugs to him</description>
+ </maintainer>
+ <maintainer type="person">
+ <email>pinkbyte@gentoo.org</email>
+ <name>Sergey Popov</name>
+ <description>Proxy maintainer. CC him on bugs</description>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="launchpad">magick-rotation</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/makedepend/Manifest b/x11-misc/makedepend/Manifest
new file mode 100644
index 000000000000..6c8d2344e83b
--- /dev/null
+++ b/x11-misc/makedepend/Manifest
@@ -0,0 +1,5 @@
+DIST makedepend-1.0.5.tar.bz2 143498 SHA256 f7a80575f3724ac3d9b19eaeab802892ece7e4b0061dd6425b4b789353e25425 SHA512 e28d71c3ce4f74ca6479771fcdd123c19ab18e3f2aa690a7798237f21f13fca4c4d66d7b7b1d708c2c214b8e17f8fe37e6cf5b75a4d2b88514c50addea2600cb WHIRLPOOL cf5bc215e427030967ede94db201a12d2da1fdbcdb2ae85e9aeecc3f68cd0337193af49a599275943e047d84d103b45612e64431a5b4168e6dc00f254a16182d
+EBUILD makedepend-1.0.5.ebuild 448 SHA256 ea544f704393858dc92057fcb43335816b6432d20070d637e4f03e2cc4cd7a25 SHA512 7b02050b663ec5c11c82a5ce09d50fcb5cbfc5deab9295c58ec4325954e1e6c9ec4942dd6d211096cef382248aa47a2e7440a418479d7b1a5edc180dbdc77f09 WHIRLPOOL 56461b515e62dd1a8b94b9d79d826cb71c1db1947215ab0d37ee7bc5517a0bfea8284bc33c58319eedac393e3693d637cf220b43994b938b2ddb803b097b6862
+MISC ChangeLog 2703 SHA256 1320871ca69079d77ac455c24f2a77931800268fd22aa783d11cc031e2514fc2 SHA512 f760617778af74bccf8e8dcd15c4aa9895204aed2ae1f61a4f63d9f131d92ab0fe8b73589b04a60ad85e9bf363a49d6b58b549759daa4dabb1fed9435e4e668f WHIRLPOOL 976147b1c25c545be2be663ba09d384f755ff176103295a01b61bdabd991ab8155718961581a5fddd805813ffec153a01b058bf4336fd322a779a59b2abf3831
+MISC ChangeLog-2015 9111 SHA256 331c847315b02628155ccd3b591cc640d0a8fead5fbd0c03cf900cf0ab3efdb3 SHA512 45d0f217a4a8304a2ba38024fe709e5dc9ca2d63d9cad8606853e25f52da55cc7076a58031e9a8ce7720e56a743c5e8c35d4516b3e5218fa857d0b108bc2ee6e WHIRLPOOL fa06ef837ee87bdaeb2e560d7fc7be3d01bd3c4708cec3b5050b905605a0aec5fafb66c5491f3372e9b5e819f38db9a3153c9e16b1fae82b785e2a2cc26f4174
+MISC metadata.xml 230 SHA256 677e4595d00a3098fde05ae33118b9ac05867dc5729c9cd579dc8badd1a28f68 SHA512 d7a2643abd1904cc5ff4d91cbb6f1baeb7f75fd1db542c5e14f19412f4f0bd4b903f8e703a7662ba7482c79dac5529057760b6427599d35e0842755fd946e057 WHIRLPOOL 4866c82c6428eae526c0a514c988e4119221f77b0e8bfb04fec713dd3ba516c69afc776a0c6f53c29abfd8507aa23801614db1ba544dd0a0dd4d6a9462c27306
diff --git a/x11-misc/makedepend/makedepend-1.0.5.ebuild b/x11-misc/makedepend/makedepend-1.0.5.ebuild
new file mode 100644
index 000000000000..c0d6990d325f
--- /dev/null
+++ b/x11-misc/makedepend/makedepend-1.0.5.ebuild
@@ -0,0 +1,14 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+XORG_STATIC=no
+inherit xorg-2
+
+DESCRIPTION="create dependencies in makefiles"
+KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
+IUSE=""
+
+RDEPEND=""
+DEPEND="${RDEPEND}
+ x11-proto/xproto"
diff --git a/x11-misc/makedepend/metadata.xml b/x11-misc/makedepend/metadata.xml
new file mode 100644
index 000000000000..e943b72b8a48
--- /dev/null
+++ b/x11-misc/makedepend/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>x11@gentoo.org</email>
+ <name>X11</name>
+</maintainer>
+</pkgmetadata>
diff --git a/x11-misc/matchbox-keyboard/Manifest b/x11-misc/matchbox-keyboard/Manifest
new file mode 100644
index 000000000000..30e0a43bf54d
--- /dev/null
+++ b/x11-misc/matchbox-keyboard/Manifest
@@ -0,0 +1,6 @@
+AUX matchbox-keyboard-0.1-r1-modernize_desktop.patch 290 SHA256 ed7c7d11694568187e6ed163c035c9dc0dc8c1a3ef9e98647bf6bab765e3c134 SHA512 251400c6c5279f23f34bdf1b8eefbb4fa609acc1f320092c4340beace32f7025a3da1770fa778645f0267ad4996ecbae30b4afaff66fe765f141e89b39721d3f WHIRLPOOL 865d1212cd2bb25eb87cd26af40f419883025d98e4b4c232d5b6bb2d1e05b15ce32102efbb85217a91ff13299fab810d91cf8ab7f1ca42a200fcad1ced2426d8
+DIST matchbox-keyboard-0.1.tar.bz2 103222 SHA256 682614fa3682c4bd31e26b6f76e04bb579c2e70dbf060083e20077f4e93fb4b3 SHA512 8d961ea5934230b3f87380f2bd6b3ddcc0535ae8255897b1eef0a1f5d36fc826f4c9e349a20348d78b6a110c642257e5e7992aa995d5cff395e51e2eab1dc02a WHIRLPOOL 081f25ea455e9c7707d7cbb706d6dbff62c532312b4b7f34b5a64fde9a39db9b44b77c612e4b48464cab7218da8090f7f5589f70b83a67567d734d6441637b75
+EBUILD matchbox-keyboard-0.1-r1.ebuild 734 SHA256 ab60cacd96ae3b0fb7de56544ff7c7541105df2ff7c2f7c455f2add3e91a9726 SHA512 814b2c962b18dcaf689f3f030c034973666230f9988b093d963d7a0511b406c360c12033fd90b06d3701a09e60e4b1007760e08f3fe6cc20f8438f134ae78f86 WHIRLPOOL 202c3d51c8504134b4c08709e3107d6a1e46f636e8ca9527565ddbdddc11704114fb1181bc46042bbfd23e2b55fe8e01314d6e391088a1382369684d4170edde
+MISC ChangeLog 2857 SHA256 0161d62cdc2bfc0409cf065d76008653156a04542812d698ca74db2feda3c1f1 SHA512 18d02aae4966f0444906324d617fb7341e4bc420fd4d679a8ebc53bbdb1ad5ce72854a7815dc25753019d9df68a5597b83a05aae19e59c43b437f25bc81e6289 WHIRLPOOL d425a6424d0ed89d76051c62151e85dabbf2b923e5277902fc8fb461920a533dd2cd679dc6349b03411830a8aebb1b24eedbfa9ee74343ac28f3c41411cac500
+MISC ChangeLog-2015 2068 SHA256 b685556352688dad0da2144ced976d222e2af2b9fe249d23f0f87aa8fdb1c943 SHA512 438297db310c750009e50228d18424fa6b168d067732559c2a2bb34dee0e484c19abd1b72be317ad38bd691b07f0aa6b9164b09ba90c76fa9190d5a4174f922a WHIRLPOOL 7fc677075f0d1779b5b2d97d963a8b3809bff54c9fa5a2ebcfa4c9545a4bb1db02a65e0b17d4dfd420258f56192f285735be45db984541470d8d6ea34476c18d
+MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968
diff --git a/x11-misc/matchbox-keyboard/files/matchbox-keyboard-0.1-r1-modernize_desktop.patch b/x11-misc/matchbox-keyboard/files/matchbox-keyboard-0.1-r1-modernize_desktop.patch
new file mode 100644
index 000000000000..6ead1a4c0293
--- /dev/null
+++ b/x11-misc/matchbox-keyboard/files/matchbox-keyboard-0.1-r1-modernize_desktop.patch
@@ -0,0 +1,11 @@
+--- a/matchbox-keyboard.desktop
++++ b/matchbox-keyboard.desktop
+@@ -3,6 +3,6 @@
+ Comment=Virtual Keyboard
+ Exec=matchbox-keyboard
+ Type=Application
+-Icon=matchbox-keyboard.png
+-Categories=Panel;Utility;MB
++Icon=matchbox-keyboard
++Categories=Utility;X-MB;X-Panel;
+ X-MB-INPUT-MECHANSIM=True
diff --git a/x11-misc/matchbox-keyboard/matchbox-keyboard-0.1-r1.ebuild b/x11-misc/matchbox-keyboard/matchbox-keyboard-0.1-r1.ebuild
new file mode 100644
index 000000000000..b98376f666de
--- /dev/null
+++ b/x11-misc/matchbox-keyboard/matchbox-keyboard-0.1-r1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+inherit versionator eutils
+
+DESCRIPTION="Matchbox-keyboard is an on screen 'virtual' or 'software' keyboard"
+HOMEPAGE="http://matchbox-project.org/"
+SRC_URI="http://matchbox-project.org/sources/${PN}/$(get_version_component_range 1-2)/${P}.tar.bz2"
+LICENSE="GPL-2"
+SLOT="0"
+
+KEYWORDS="amd64 ~arm ~hppa ppc x86"
+IUSE="debug cairo"
+
+DOCS=( AUTHORS ChangeLog INSTALL NEWS README )
+PATCHES=( "${FILESDIR}"/${PN}-0.1-r1-modernize_desktop.patch )
+
+DEPEND="x11-libs/libfakekey
+ cairo? ( x11-libs/cairo[X] )
+ !cairo? ( x11-libs/libXft )"
+RDEPEND="$DEPEND"
+
+src_configure() {
+ econf $(use_enable debug) $(use_enable cairo)
+}
diff --git a/x11-misc/matchbox-keyboard/metadata.xml b/x11-misc/matchbox-keyboard/metadata.xml
new file mode 100644
index 000000000000..6f49eba8f496
--- /dev/null
+++ b/x11-misc/matchbox-keyboard/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<!-- maintainer-needed -->
+</pkgmetadata>
diff --git a/x11-misc/mate-notification-daemon/Manifest b/x11-misc/mate-notification-daemon/Manifest
new file mode 100644
index 000000000000..9e3578aab532
--- /dev/null
+++ b/x11-misc/mate-notification-daemon/Manifest
@@ -0,0 +1,12 @@
+AUX org.freedesktop.Notifications.service 94 SHA256 cee38c860e6ff8b4d583167807eb23f85d50a98852338ce855a8dd8166f9938d SHA512 0575cbfc094455c0a2f04faa534a5e0d9cc41e6d9566ab9bcb0fcbce99e142213ded786ad00c36dc434ae1b9208d34d234a341dfc86adb72925dad0ee2b25f97 WHIRLPOOL ec8a5de8b3ba9d62b6d0147c23604ba5ef96c9ebb3b37b277ccd97aab8c7ff1f4be91192579ffff2bb9ef20e8b664a1751ab49e5cb56170b4b039d706ee6bf0d
+DIST mate-notification-daemon-1.12.1.tar.xz 304752 SHA256 856bad2bb90e2b7d1124c0ae197c07a321b3cc2767897b3e6b78e59a3096a7dd SHA512 ce9cd1737cc70b0e17fa856730b51747f78bb40639ff58e205a3f1432edf53aba38442d59b7a4fca6ff460cbdc6c611c0a05a46bbf5db92db0ce5e714e19daae WHIRLPOOL b925ac68692f1535bc57bed23f9c19239583c5ca674e5f6493223d31ff6be6ca2bb94b89cdb12baa0eafcaad1cf1c3d6df7ee717b71730b6947be0c0c81a22cd
+DIST mate-notification-daemon-1.14.1.tar.xz 336196 SHA256 8ddefb29d5fe626787fba29d4e76993b5e0efcbd36b2bb9aa2faa1cd64f732fd SHA512 6913e0a7891726fb2f4098b4c7ba578344d29960e6d27a9fa917687f745aedb9482fb65ea9c6d8816a0c8e505ef586f13ac08b010e558b6557e14e8961b1c1f6 WHIRLPOOL ba9fe7f7e30d2a92b93c51a1564414c27ad5533a3dd5d5c5946c697d6d2c3fc0ed586bf051b65a6d06852b08517ca60a262946cfb6f4b415b0a9459307c0ec2a
+DIST mate-notification-daemon-1.16.1.tar.xz 337088 SHA256 dcbb253ecfb6dcd020cb1645cde319d98402c04a0df388834b5144f91e5cb9e6 SHA512 93c9a09801e54f7cd7f3c6542e3593886201bb59a9bca56af7454ff901540ef7fbb236c38786ba9444fe3aaff7598c549c274ce0a90fee27bcf28fc201f64b88 WHIRLPOOL 0053e914960def3f4ce158392a22a9badf1c36139ba11b4df96bb1c2b842f6f874f94180cf55b315c6a389f517685d047a93cbf811a36db760ee6f07dcbfc275
+DIST mate-notification-daemon-1.18.0.tar.xz 340828 SHA256 4c1f08fa348cdba0b7786a4207b0b4a40d06deb878f3d71ca1c7f71b53da1066 SHA512 5405a33dd4f78d22fa5f666b94b74d20c046518d5c631a95b286f370dfd6dc4d1ae6dd2b0676fcf8e01c1d1d40bbfd9055180e1cab869913c3d56a1a5d0872aa WHIRLPOOL 023d4f16b39da554162f463d57fd98b631f7cc900e360f881403bba540ecd98d1494867fe47959d4d4909dd1f80fa413a27d76d28f001d5660fd4ecbb9466ca6
+EBUILD mate-notification-daemon-1.12.1.ebuild 1142 SHA256 0b5baa46783058dd23b2b07f47948239f28794efd622f43c416563c005cdac57 SHA512 a613fd6ca276038f53d29bf26aa0fa69e4f1de1d86b2e50f0a7b95352ef34a864997e298ca5bfb69324bc4613f12a4d265fc55fb05b2d815f08ab57d2c61d5ae WHIRLPOOL de5119306802b5308391606ab959ca65eb18a50817aaa5949d3855e3c7766c4d0ed49da544e10e3a2f02e79f3a038f9199575a537c97160705b456df73d040fd
+EBUILD mate-notification-daemon-1.14.1.ebuild 1182 SHA256 d939a1bddcee3eb2451eb5bf039e2675be362dd7cc974b9daebd3e7f1000e36f SHA512 c1675a178a05379c5c15533290ca4548731c81ac1577b753227742c74b6279641f21d387ad36daa1879dfa38af3e5f8bed1989fb33b7b2203ececc843d29401b WHIRLPOOL 08e201d04b751191d32a420cc623d59d864ccc93e2c4e157d0daa8d90b03157020c99ab3376b743814d7a5520e3b577ab2a3661b2554f8320d315a7c1353a58c
+EBUILD mate-notification-daemon-1.16.1.ebuild 1027 SHA256 b32176466914706ae7709b29b6322653d4a60ca4d065ee5e67b1dd2ca2c56fe7 SHA512 a98ea3dc08effc311f49b0b4fc5f28146829895f9e3cd9e5dcb0bb56934f54d2579f37eb38b0c547386278f7407848b61dc5929a0256326a5fd02b93351e54b1 WHIRLPOOL e6845e255dbd8d8362e3d57b99a8695c5cdbed680e1ead05e03f922ce69073672b78e79528830fc0c7ceac5489e1a2bfce3f29beeace3d587d55bd358772a6bb
+EBUILD mate-notification-daemon-1.18.0.ebuild 1027 SHA256 b32176466914706ae7709b29b6322653d4a60ca4d065ee5e67b1dd2ca2c56fe7 SHA512 a98ea3dc08effc311f49b0b4fc5f28146829895f9e3cd9e5dcb0bb56934f54d2579f37eb38b0c547386278f7407848b61dc5929a0256326a5fd02b93351e54b1 WHIRLPOOL e6845e255dbd8d8362e3d57b99a8695c5cdbed680e1ead05e03f922ce69073672b78e79528830fc0c7ceac5489e1a2bfce3f29beeace3d587d55bd358772a6bb
+MISC ChangeLog 5093 SHA256 64bb6925996af8ccb30fe0458dab06d0c46bc6fbb2afec4ad079936b50b4dbf5 SHA512 a319f26ceb6d3b879fe28be8a910f3590f74361716fafbc4518a6b22162027fe35857fbc03a400abda63e8ca30ff5a5fccb2cdaed50204690100888909f8c02d WHIRLPOOL 21f1a52a1043ff809c19e80da182a1d988a6d7928cee33ccf48d82bafa105612ad7322f0066cd7b8afaa27e52475552f26b87b48db50b177b3c85d22f1dbc3e1
+MISC ChangeLog-2015 1753 SHA256 af2d261534de1ec496a03fea384620cc472e02418011fd7ed65a0e885170b46e SHA512 46db826ac244cb16ffe904c4ee44cb307be0d673d9b9de2be561f637b514f9a31b4e433368f344c0d361dc611ac1988f4553298140ee2ce09d2fd7ca3816b5f4 WHIRLPOOL 75411be9aa923ca3520aeb56afd2f637ce6e28eaa66386cb5a92fb3dc915581ecb8e8179804013cc3c91af384e94736869b8d5ef977beb6817f0eea355d23656
+MISC metadata.xml 429 SHA256 e91c1e5ab4b568619a777e392f4dc607a20d22e347124201509b49c8b3b2875f SHA512 24f0a76380f18822df9024ebf95fddc8fb944ad6200f70a2f8952a6ab5028466793b3e26cbb4b6dffdbd685ee0ba6c1bbcd76d9d9bff87cac5c697a879ee93ed WHIRLPOOL 92efdfae7385ce04caf0aa14bdbbf1fdd040309540406af92baef15643abf1faaf4be256cc07476024856412192a80dfa9597d8adf1940f7f12c1edcbe39d1c5
diff --git a/x11-misc/mate-notification-daemon/files/org.freedesktop.Notifications.service b/x11-misc/mate-notification-daemon/files/org.freedesktop.Notifications.service
new file mode 100644
index 000000000000..c0d96af761cb
--- /dev/null
+++ b/x11-misc/mate-notification-daemon/files/org.freedesktop.Notifications.service
@@ -0,0 +1,3 @@
+[D-BUS Service]
+Name=org.freedesktop.Notifications
+Exec=/usr/libexec/mate-notification-daemon
diff --git a/x11-misc/mate-notification-daemon/mate-notification-daemon-1.12.1.ebuild b/x11-misc/mate-notification-daemon/mate-notification-daemon-1.12.1.ebuild
new file mode 100644
index 000000000000..3ce818bdd6e8
--- /dev/null
+++ b/x11-misc/mate-notification-daemon/mate-notification-daemon-1.12.1.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+MATE_LA_PUNT="yes"
+
+inherit mate
+
+if [[ ${PV} != 9999 ]]; then
+ KEYWORDS="amd64 ~arm x86"
+fi
+
+DESCRIPTION="MATE Notification daemon"
+LICENSE="GPL-2"
+SLOT="0"
+
+IUSE="gtk3"
+
+RDEPEND="
+ dev-libs/atk:0
+ >=dev-libs/dbus-glib-0.78:0
+ >=dev-libs/glib-2.36:2
+ >=sys-apps/dbus-1:0
+ x11-libs/cairo:0
+ >=x11-libs/gdk-pixbuf-2.22:2
+ >=x11-libs/libnotify-0.7:0
+ x11-libs/libX11:0
+ virtual/libintl:0
+ !gtk3? (
+ >=x11-libs/gtk+-2.24:2
+ >=x11-libs/libwnck-1:1
+ >=media-libs/libcanberra-0.4:0[gtk]
+ )
+ gtk3? (
+ >=x11-libs/gtk+-3.0:3
+ >=x11-libs/libwnck-3:3
+ >=media-libs/libcanberra-0.4:0[gtk3]
+ )
+ !x11-misc/notify-osd:*
+ !x11-misc/qtnotifydaemon:*
+ !x11-misc/notification-daemon:*"
+
+DEPEND="${RDEPEND}
+ app-arch/xz-utils:0
+ >=dev-util/intltool-0.50.1:*
+ sys-devel/gettext:*
+ >=sys-devel/libtool-2.2.6:2
+ virtual/pkgconfig:*"
+
+src_configure() {
+ mate_src_configure \
+ --with-gtk=$(usex gtk3 3.0 2.0)
+}
+
+src_install() {
+ mate_src_install
+
+ insinto /usr/share/dbus-1/services
+ doins "${FILESDIR}/org.freedesktop.Notifications.service"
+}
diff --git a/x11-misc/mate-notification-daemon/mate-notification-daemon-1.14.1.ebuild b/x11-misc/mate-notification-daemon/mate-notification-daemon-1.14.1.ebuild
new file mode 100644
index 000000000000..f8ba713dc2e2
--- /dev/null
+++ b/x11-misc/mate-notification-daemon/mate-notification-daemon-1.14.1.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+MATE_LA_PUNT="yes"
+
+inherit mate
+
+if [[ ${PV} != 9999 ]]; then
+ KEYWORDS="~amd64 ~arm ~x86"
+fi
+
+DESCRIPTION="MATE Notification daemon"
+LICENSE="GPL-2"
+SLOT="0"
+
+IUSE="gtk3"
+
+COMMON_DEPEND="dev-libs/atk:0
+ >=dev-libs/dbus-glib-0.78:0
+ >=dev-libs/glib-2.36:2
+ >=sys-apps/dbus-1:0
+ x11-libs/cairo:0
+ >=x11-libs/gdk-pixbuf-2.22:2
+ >=x11-libs/libnotify-0.7:0
+ x11-libs/libX11:0
+ virtual/libintl:0
+ !gtk3? (
+ >=x11-libs/gtk+-2.24:2
+ >=x11-libs/libwnck-1:1
+ >=media-libs/libcanberra-0.4:0[gtk]
+ )
+ gtk3? (
+ >=x11-libs/gtk+-3.0:3
+ >=x11-libs/libwnck-3:3
+ >=media-libs/libcanberra-0.4:0[gtk3]
+ )
+ !x11-misc/notify-osd:*
+ !x11-misc/qtnotifydaemon:*
+ !x11-misc/notification-daemon:*"
+
+RDEPEND="${COMMON_DEPEND}"
+
+DEPEND="${COMMON_DEPEND}
+ app-arch/xz-utils:0
+ >=dev-util/intltool-0.50.1:*
+ sys-devel/gettext:*
+ >=sys-devel/libtool-2.2.6:2
+ virtual/pkgconfig:*"
+
+src_configure() {
+ mate_src_configure \
+ --with-gtk=$(usex gtk3 3.0 2.0)
+}
+
+src_install() {
+ mate_src_install
+
+ insinto /usr/share/dbus-1/services
+ doins "${FILESDIR}/org.freedesktop.Notifications.service"
+}
diff --git a/x11-misc/mate-notification-daemon/mate-notification-daemon-1.16.1.ebuild b/x11-misc/mate-notification-daemon/mate-notification-daemon-1.16.1.ebuild
new file mode 100644
index 000000000000..d83471e84741
--- /dev/null
+++ b/x11-misc/mate-notification-daemon/mate-notification-daemon-1.16.1.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+MATE_LA_PUNT="yes"
+
+inherit mate
+
+if [[ ${PV} != 9999 ]]; then
+ KEYWORDS="~amd64 ~arm ~x86"
+fi
+
+DESCRIPTION="MATE Notification daemon"
+LICENSE="GPL-2"
+SLOT="0"
+
+IUSE=""
+
+COMMON_DEPEND="dev-libs/atk:0
+ >=dev-libs/dbus-glib-0.78:0
+ >=dev-libs/glib-2.36:2
+ >=sys-apps/dbus-1:0
+ x11-libs/cairo:0
+ >=x11-libs/gdk-pixbuf-2.22:2
+ >=x11-libs/libnotify-0.7:0
+ x11-libs/libX11:0
+ virtual/libintl:0
+ >=x11-libs/gtk+-3.14:3
+ >=x11-libs/libwnck-3:3
+ >=media-libs/libcanberra-0.4:0[gtk3]
+ !x11-misc/notify-osd:*
+ !x11-misc/qtnotifydaemon:*
+ !x11-misc/notification-daemon:*"
+
+RDEPEND="${COMMON_DEPEND}"
+
+DEPEND="${COMMON_DEPEND}
+ app-arch/xz-utils:0
+ >=dev-util/intltool-0.50.1:*
+ sys-devel/gettext:*
+ >=sys-devel/libtool-2.2.6:2
+ virtual/pkgconfig:*"
+
+src_configure() {
+ mate_src_configure
+}
+
+src_install() {
+ mate_src_install
+
+ insinto /usr/share/dbus-1/services
+ doins "${FILESDIR}/org.freedesktop.Notifications.service"
+}
diff --git a/x11-misc/mate-notification-daemon/mate-notification-daemon-1.18.0.ebuild b/x11-misc/mate-notification-daemon/mate-notification-daemon-1.18.0.ebuild
new file mode 100644
index 000000000000..d83471e84741
--- /dev/null
+++ b/x11-misc/mate-notification-daemon/mate-notification-daemon-1.18.0.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+MATE_LA_PUNT="yes"
+
+inherit mate
+
+if [[ ${PV} != 9999 ]]; then
+ KEYWORDS="~amd64 ~arm ~x86"
+fi
+
+DESCRIPTION="MATE Notification daemon"
+LICENSE="GPL-2"
+SLOT="0"
+
+IUSE=""
+
+COMMON_DEPEND="dev-libs/atk:0
+ >=dev-libs/dbus-glib-0.78:0
+ >=dev-libs/glib-2.36:2
+ >=sys-apps/dbus-1:0
+ x11-libs/cairo:0
+ >=x11-libs/gdk-pixbuf-2.22:2
+ >=x11-libs/libnotify-0.7:0
+ x11-libs/libX11:0
+ virtual/libintl:0
+ >=x11-libs/gtk+-3.14:3
+ >=x11-libs/libwnck-3:3
+ >=media-libs/libcanberra-0.4:0[gtk3]
+ !x11-misc/notify-osd:*
+ !x11-misc/qtnotifydaemon:*
+ !x11-misc/notification-daemon:*"
+
+RDEPEND="${COMMON_DEPEND}"
+
+DEPEND="${COMMON_DEPEND}
+ app-arch/xz-utils:0
+ >=dev-util/intltool-0.50.1:*
+ sys-devel/gettext:*
+ >=sys-devel/libtool-2.2.6:2
+ virtual/pkgconfig:*"
+
+src_configure() {
+ mate_src_configure
+}
+
+src_install() {
+ mate_src_install
+
+ insinto /usr/share/dbus-1/services
+ doins "${FILESDIR}/org.freedesktop.Notifications.service"
+}
diff --git a/x11-misc/mate-notification-daemon/metadata.xml b/x11-misc/mate-notification-daemon/metadata.xml
new file mode 100644
index 000000000000..95b491804603
--- /dev/null
+++ b/x11-misc/mate-notification-daemon/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>mate@gentoo.org</email>
+ <name>Gentoo MATE Desktop</name>
+ </maintainer>
+ <use>
+ <flag name="gtk3">Build with GTK+3 instead of GTK+2</flag>
+ </use>
+ <upstream>
+ <remote-id type="github">mate-desktop/mate-notification-daemon</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/menulibre/Manifest b/x11-misc/menulibre/Manifest
new file mode 100644
index 000000000000..abf9c7900ead
--- /dev/null
+++ b/x11-misc/menulibre/Manifest
@@ -0,0 +1,9 @@
+AUX menulibre-13.01.4-GError-import.patch 411 SHA256 598e0a92ff69f681ebf5823ddb835b2820733fd85531ad000cb19fa32b179c30 SHA512 36f5c0427024e348917d9de3106e815aacc595d701d8e30d6df1b84bfec6f9942150e4b094cd4125e93608340f736985d93404754d03d970f4ccd4318ee476ac WHIRLPOOL 4f1efc2266f9ff27770280211c80c8cc65fada567fa21a142c562daf9611d2c941f085d80d95c7f7deca29a263b8183c1fa4c287203e10cda296f10aa9b3bd42
+DIST menulibre_13.01.4.tar.gz 322686 SHA256 2329b426af55936dc40c7d1bcae99f98b674d06e3757657bd47dcb93d1ac45f3 SHA512 c3311443d00901d0c80078e4f51f81cc2bafbb8048a8eb1f0594e4430e9d8d1c563f4ec6b423952d3e8523f921220bb9d6fa0e4a62453d07011ae781070750d4 WHIRLPOOL b419f3285a97918796c08d0cb7681ada8f6bd19297bdfaea603c2e6256c06d775369d683f150f9c708d26ff2220fceb97d37541143bbcd9d08387e5ebd2967d5
+DIST menulibre_13.04.17.tar.gz 337166 SHA256 84cd21d92bb16cc221d7fa7ebf801a7493cce8743dd15b65d72af23d4b421a99 SHA512 7e0a2c3d765612a1c9ae9f82206fc180d7edc06dbe294bd200d699ecdb243a28ba58030b94084bc0525540f514642914b4224d766d4c9817ee7ee9ac9074b627 WHIRLPOOL d8d87c4180623a956f3c799b506c8718f1b42dcc7554df20d7e21b612f3134451250f5e5b07db0f672df40b1478b8e4189be94ea1850a8008800fe5c07ad051c
+EBUILD menulibre-13.01.4-r1.ebuild 1812 SHA256 2ca340531b9e1c481f5c3284ed83b7cc1b5ac98e713e0650ab337df74e8402ff SHA512 dd3870b0537a40674dd3b040b6eff802691953cba75a0e603d24a5cb39a6407b056d40184e48f045f8d47aa3a26316ba78bd528e0d73137bb92c8c78e9c2f06e WHIRLPOOL fcc7603edea42238d85406c39f566e1b25599a0a8b38d9669ed44ac44db921064fe4ac9deed9a6f5800297c7dd54c84e0b50f503bca5891981a4429163a855be
+EBUILD menulibre-13.01.4.ebuild 1748 SHA256 8b4c6b54e1c7dfe4bd45e733d1ed580da41e54aeb7d107b6f9e518082770b4f0 SHA512 cdb9b0171f1e5c57fd8187c7377cd4bffdf2d3bc106edfbdd8e7e9d544f52ba62e3536b39fd6bcad9a3475c6950846326526895381f2e5a93ff31c1f12aa49ea WHIRLPOOL ac9b59d90a67bd81bcad212fbbba266bead4e2c318fbf8527e88e557d65a6baecde778a0ee2b5a296742f89b61172183a3e2ad226762ca9edb97dd882d9b4d35
+EBUILD menulibre-13.04.17.ebuild 1839 SHA256 5d4ec01c76078bcc3a459aec5f3378f978b0af86a6673f810a45a890ec38767c SHA512 52b215eb459f653dacc0443fad6a552ea2d3ecab9cd5ad12df3012e8a7501ca0ac0357b778dcb3af65bc1e63ba1eecfebd85db18651f05a2e2ff729399776dcf WHIRLPOOL 9ed5de44a64f17efef3adce401aa71e8da2c279a96308ab781049dee14ce1f86524e923f0e8dc5146bb0029e86da3d9d742ebc28f7017d5ad75d71f4b3b88da5
+MISC ChangeLog 3248 SHA256 6873508b0990e1e3563df3a15f88d1b105cf8552223564dace18af5904d4e72f SHA512 b3288c5e8b5e5c6367ca7e43febd7f43e9b62b1946f51deba462bd1695a9acb2398a8c567ae0fc945c9293ed54269006c13a6ec9a1fe3e1c3eea6b1e40dbfe55 WHIRLPOOL 3dab37ba6d3e08c39130bf25f10bbedb5fef9cc0642806188f2b60e9fd45aa0463eab75fbed30c82ed9a98504211c3c9c54b450a7aaca84c9332ea47266da205
+MISC ChangeLog-2015 1294 SHA256 2fb474ca073f5b1a48dc5cf0ae470b38db808aeb2516d10b3dca4b269b55825e SHA512 b7682de97bbd29ac8ff8a152543e88cc69b4146af3eb7a4e973201b285ebbfad258b76160300207ca2a39f1e9b8953ccaa99bf2f7cf5a14429971efcd0033d5d WHIRLPOOL 70002870d9c1f192d51bdfccc91b9449f7af5e442854b60d625e7459a8307ffaaf8dee838c03f60101490e097dc7ac51a8955e58782ca0db09577526feebf523
+MISC metadata.xml 353 SHA256 f84732ad68c4f63f5f720267644c0de745ca42c0e431c43d14bf3f3c5e0a9518 SHA512 256e7ca3b20708caea270d07348c477b3d9e8300739092ad80468f4ab60e5e85b21246cf906d51a1929e627d27ed62bcf23136a3b8edc684c4ba1b53e3282454 WHIRLPOOL 3c43fcace61cf4844fdadd5cca4b1d6e3a3656d4e574065361e653e8f792dd2cfd7582acba5b1b077bf28c37663bec341d5631ef6eb69c116ab49e7fa5f1e7eb
diff --git a/x11-misc/menulibre/files/menulibre-13.01.4-GError-import.patch b/x11-misc/menulibre/files/menulibre-13.01.4-GError-import.patch
new file mode 100644
index 000000000000..6a747ba07fb8
--- /dev/null
+++ b/x11-misc/menulibre/files/menulibre-13.01.4-GError-import.patch
@@ -0,0 +1,17 @@
+From: Julian Ospald <hasufell@gentoo.org>
+Date: Mon Oct 21 17:32:25 UTC 2013
+Subject: fix import
+
+https://bugs.gentoo.org/show_bug.cgi?id=488866
+
+--- a/menulibre_lib/IconTheme.py
++++ b/menulibre_lib/IconTheme.py
+@@ -15,7 +15,7 @@
+ ### END LICENSE
+
+ from gi.repository import Gtk, GdkPixbuf
+-from gi._glib import GError
++from gi._glib._glib import GError
+ import os
+
+ from menulibreconfig import get_data_file
diff --git a/x11-misc/menulibre/menulibre-13.01.4-r1.ebuild b/x11-misc/menulibre/menulibre-13.01.4-r1.ebuild
new file mode 100644
index 000000000000..05f0f7df4c7f
--- /dev/null
+++ b/x11-misc/menulibre/menulibre-13.01.4-r1.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+PYTHON_REQ_USE="xml"
+DISTUTILS_IN_SOURCE_BUILD=1
+inherit eutils gnome2-utils distutils-r1
+
+DESCRIPTION="An advanced menu editor that provides modern features in a easy-to-use interface"
+HOMEPAGE="http://www.smdavis.us/projects/menulibre/"
+SRC_URI="https://launchpad.net/${PN}/trunk/${PV}/+download/${PN}_${PV}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="dev-python/python-distutils-extra[${PYTHON_USEDEP}]"
+RDEPEND="dev-libs/gobject-introspection
+ dev-python/pygobject:3[${PYTHON_USEDEP}]
+ x11-libs/gdk-pixbuf[X,introspection]
+ x11-libs/gtk+:3[X,introspection]
+ x11-themes/hicolor-icon-theme"
+
+PATCHES=( "${FILESDIR}"/${P}-GError-import.patch )
+
+S=${WORKDIR}/${PN}
+
+python_prepare_all() {
+ # too many categories
+ sed -i \
+ -e 's/X-GNOME-Settings-Panel;X-GNOME-PersonalSettings;DesktopSettings;X-XFCE;//' \
+ menulibre.desktop.in || die 'sed on menulibre.desktop.in failed'
+
+ local i
+ # fix incorrect behavior when LINGUAS is set to an empty string
+ # https://bugs.launchpad.net/python-distutils-extra/+bug/1133594
+ if [[ -n "${LINGUAS+x}" ]] ; then # if LINGUAS is set
+ for i in $(cd "${S}"/po ; for p in *.po ; do echo ${p%.po} ; done) ; do # for every supported language
+ if ! has ${i} ${LINGUAS} ; then # if language is disabled
+ rm po/${i}.po || die
+ fi
+ done
+ fi
+
+ distutils-r1_python_prepare_all
+}
+
+python_install_all() {
+ distutils-r1_python_install_all
+ newicon -s 32 help/C/figures/icon.png menu-editor.png
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+ elog "optional dependencies:"
+ elog " gnome-extra/yelp (view help contents)"
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}
diff --git a/x11-misc/menulibre/menulibre-13.01.4.ebuild b/x11-misc/menulibre/menulibre-13.01.4.ebuild
new file mode 100644
index 000000000000..52d55e53db32
--- /dev/null
+++ b/x11-misc/menulibre/menulibre-13.01.4.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+PYTHON_REQ_USE="xml"
+DISTUTILS_IN_SOURCE_BUILD=1
+inherit eutils gnome2-utils distutils-r1
+
+DESCRIPTION="An advanced menu editor that provides modern features in a easy-to-use interface"
+HOMEPAGE="http://www.smdavis.us/projects/menulibre/"
+SRC_URI="https://launchpad.net/${PN}/trunk/${PV}/+download/${PN}_${PV}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+DEPEND="dev-python/python-distutils-extra[${PYTHON_USEDEP}]"
+RDEPEND="dev-libs/gobject-introspection
+ dev-python/pygobject:3[${PYTHON_USEDEP}]
+ x11-libs/gdk-pixbuf[X,introspection]
+ x11-libs/gtk+:3[X,introspection]
+ x11-themes/hicolor-icon-theme"
+
+S=${WORKDIR}/${PN}
+
+python_prepare_all() {
+ # too many categories
+ sed -i \
+ -e 's/X-GNOME-Settings-Panel;X-GNOME-PersonalSettings;DesktopSettings;X-XFCE;//' \
+ menulibre.desktop.in || die 'sed on menulibre.desktop.in failed'
+
+ local i
+ # fix incorrect behavior when LINGUAS is set to an empty string
+ # https://bugs.launchpad.net/python-distutils-extra/+bug/1133594
+ if [[ -n "${LINGUAS+x}" ]] ; then # if LINGUAS is set
+ for i in $(cd "${S}"/po ; for p in *.po ; do echo ${p%.po} ; done) ; do # for every supported language
+ if ! has ${i} ${LINGUAS} ; then # if language is disabled
+ rm po/${i}.po || die
+ fi
+ done
+ fi
+
+ distutils-r1_python_prepare_all
+}
+
+python_install_all() {
+ distutils-r1_python_install_all
+ newicon -s 32 help/C/figures/icon.png menu-editor.png
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+ elog "optional dependencies: gnome-extra/yelp (view help contents)"
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}
diff --git a/x11-misc/menulibre/menulibre-13.04.17.ebuild b/x11-misc/menulibre/menulibre-13.04.17.ebuild
new file mode 100644
index 000000000000..a91dd73c1446
--- /dev/null
+++ b/x11-misc/menulibre/menulibre-13.04.17.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+PYTHON_REQ_USE="xml"
+DISTUTILS_IN_SOURCE_BUILD=1
+inherit eutils gnome2-utils distutils-r1
+
+DESCRIPTION="An advanced menu editor that provides modern features in a easy-to-use interface"
+HOMEPAGE="http://www.smdavis.us/projects/menulibre/"
+SRC_URI="https://launchpad.net/${PN}/trunk/${PV}/+download/${PN}_${PV}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="dev-python/python-distutils-extra[${PYTHON_USEDEP}]"
+RDEPEND="dev-libs/gobject-introspection
+ dev-python/pygobject:3[${PYTHON_USEDEP}]
+ dev-python/pyxdg[${PYTHON_USEDEP}]
+ x11-libs/gdk-pixbuf[X,introspection]
+ x11-libs/gtk+:3[X,introspection]
+ x11-libs/gtksourceview:3.0[introspection]
+ x11-themes/hicolor-icon-theme"
+
+S=${WORKDIR}/trunk
+
+python_prepare_all() {
+ # too many categories
+ sed -i \
+ -e 's/X-GNOME-Settings-Panel;X-GNOME-PersonalSettings;DesktopSettings;X-XFCE;//' \
+ menulibre.desktop.in || die 'sed on menulibre.desktop.in failed'
+
+ local i
+ # fix incorrect behavior when LINGUAS is set to an empty string
+ # https://bugs.launchpad.net/python-distutils-extra/+bug/1133594
+ if [[ -n "${LINGUAS+x}" ]] ; then # if LINGUAS is set
+ for i in $(cd "${S}"/po ; for p in *.po ; do echo ${p%.po} ; done) ; do # for every supported language
+ if ! has ${i} ${LINGUAS} ; then # if language is disabled
+ rm po/${i}.po || die
+ fi
+ done
+ fi
+
+ distutils-r1_python_prepare_all
+}
+
+python_install_all() {
+ distutils-r1_python_install_all
+ newicon -s 32 help/C/figures/icon.png menu-editor.png
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+ elog "optional dependencies:"
+ elog " gnome-extra/yelp (view help contents)"
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}
diff --git a/x11-misc/menulibre/metadata.xml b/x11-misc/menulibre/metadata.xml
new file mode 100644
index 000000000000..79cb8248024a
--- /dev/null
+++ b/x11-misc/menulibre/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="launchpad">menulibre</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/menumaker/Manifest b/x11-misc/menumaker/Manifest
new file mode 100644
index 000000000000..62df2ba08443
--- /dev/null
+++ b/x11-misc/menumaker/Manifest
@@ -0,0 +1,6 @@
+AUX menumaker-0.99.10-AM_PATH_PYTHON.patch 2517 SHA256 e8ab4130eed558a4c46acee8a9145ada003936d9dfa124c7fb576eb8a48995ba SHA512 8ba6d7898f5346a6e64ac1cbf17f914c44835f603c9d5952e226063c2d7d3ad64597e41a8a0bbfa4dd12966ddbf53722bc4c28d3ee0e5c860073e08f56fa2805 WHIRLPOOL aed775eed5e2ebb1019dc4b1b6ee493ef3433e2654ed0e2c637e1f3a2ae0104f8d60ab6b31069b29bc87a66ce53f082cb51eddc726abc5c0b2e1baadc9af0e7b
+DIST menumaker-0.99.10.tar.gz 202580 SHA256 7e22db0f0d937d33bb338e03f6eac9aa549b9a790c666e519b13de39de66a4d6 SHA512 e7a731ac848089cbdb845fdb0e344b48e70d3bb7220870127d3616549d31fa62b61a48e3efff52d7767b597a4407a8548e776c16976072d0aa7f5c96740cd207 WHIRLPOOL 25db03310dd3847ad419d7e47c4a7e39e527b383027af889292ae693187e72360f3bdf4d77e25d42091945dc277f95562e9bdc43ba84b38e4530bf03914d5ac3
+EBUILD menumaker-0.99.10.ebuild 1117 SHA256 6b48fcd06648956b69496defa4bae350ab6fe3c4ba514f365c243fa743ef5638 SHA512 034927ead7d0f83819f1953c1fa3dc93efcc7bba541274d7da6b1bcfaef4b9e243b5945e93f6063cc4885d295e6cc048d58b104c502d8f8a96933db98ff6cf88 WHIRLPOOL 586da9b3f1fe9d3f5b200cefe9d94b2300617f4907b7357f47a9e4f0872f8ae057c2ee3c550e86c07b9fb61523e88d7ceace22bd6211cf1b4447847366663061
+MISC ChangeLog 2833 SHA256 f35f613cb91ae9c75dd9e28122b4deec7a63126705968675c3091f994e6c6045 SHA512 b67cb46e686a048e6b9dc21073baf0b1f9ab1e2fdacf3a0b9d79aa27c7ea981de72185f9d50d5d6e3e64bd716ec20e37486ae8c8a50a080c6f58d18ee4a25f32 WHIRLPOOL 3e4e919734f843a10c8666d1c0dd0225294defc5411a73bb6649700bf75ec1071b2d3c4d1d88fce745de7269718c770d9b2a72b905ab474612adfaeffe819902
+MISC ChangeLog-2015 2468 SHA256 ec2536fbc31c77f83202005dd3e00c39107fc128944402fddf615d9fb07062c1 SHA512 749aff0113f3ac5ba8db4fe276ee2b1f81b98cb7c1ad96451fe752d5e3ee264034ab571ca1e804c3e34d45200c9d48e448f0f5c3e79351b1ea821b46272871b8 WHIRLPOOL fd79f2330856a59c720829152ae23d8b719b5e87aa2b8324018e1905d0daf54f5c98dfb53e45fd2c97a3bda232fc684a48499e6e987c84dba62466883ca75217
+MISC metadata.xml 439 SHA256 92043ca8af431599745c2f87c5c68192c24a6d70e285b4615119815a5394947e SHA512 5f68ee720bbfc364f200335a1045982b4c82aab73e24a8e5143d8a776919b6b676088c5af49ea74cdb09d09cf1f055b596471915f173ab6afbb17bc553a6b07c WHIRLPOOL 1fb2533b6dd2036be59ff4d4b9753d7e1a9ea9865dd8f2096ac2a3ac7ff63494f5cb4315090301100806865ff141745e44425fd72215b98ee1baaf46bb08bc7f
diff --git a/x11-misc/menumaker/files/menumaker-0.99.10-AM_PATH_PYTHON.patch b/x11-misc/menumaker/files/menumaker-0.99.10-AM_PATH_PYTHON.patch
new file mode 100644
index 000000000000..8e645a8b2fbc
--- /dev/null
+++ b/x11-misc/menumaker/files/menumaker-0.99.10-AM_PATH_PYTHON.patch
@@ -0,0 +1,100 @@
+Use AM_PATH_PYTHON instead of broken hacks
+
+--- a/configure.ac
++++ b/configure.ac
+@@ -1,23 +1,13 @@
+-AC_INIT(MenuMaker, 0.99.10)
++AC_INIT([MenuMaker], [0.99.10])
+
+ AM_INIT_AUTOMAKE
+
+-#AZ_PYTHON_DEFAULT
++AM_PATH_PYTHON
+
+-#AZ_PYTHON_WITH
+-
+-#if test -z "$PYTHON"; then
+-# AZ_PYTHON_PATH
+-#fi
+-
+-#AZ_PYTHON_VERSION_ENSURE([2.7])
+-
+-#AZ_PYTHON_RUN
+-
+-AX_PYTHON
+-
+-AC_CONFIG_FILES([Makefile])
+-AC_CONFIG_FILES([doc/Makefile])
+-AC_CONFIG_FILES([Config.py])
++AC_CONFIG_FILES([
++ Makefile
++ doc/Makefile
++ Config.py
++])
+
+ AC_OUTPUT
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -1,15 +1,53 @@
+-ACLOCAL_AMFLAGS = -I m4
+-
+ SUBDIRS = doc
+
+ dist_bin_SCRIPTS = mmaker
+
+-nobase_dist_pkgdata_DATA = *.py MenuMaker/*.py Prophet/*.py Prophet/Desktop/*.py Prophet/Legacy/*.py Prophet/Debian/*.py Prophet/Debian/menu/*
++python_PYTHON = \
++ Config.py \
++ Keywords.py \
++ Paths.py
++
++pythonMenuMakerdir = $(pythondir)/MenuMaker
++pythonMenuMaker_PYTHON = \
++ MenuMaker/BlackBox.py \
++ MenuMaker/CLI.py \
++ MenuMaker/Deskmenu.py \
++ MenuMaker/FluxBox.py \
++ MenuMaker/IceWM.py \
++ MenuMaker/__init__.py \
++ MenuMaker/OpenBox3.py \
++ MenuMaker/PekWM.py \
++ MenuMaker/WindowMaker.py \
++ MenuMaker/xBox.py \
++ MenuMaker/Xfce4.py
++
++pythonProphetdir = $(pythondir)/Prophet
++pythonProphet_PYTHON = \
++ Prophet/Categories.py \
++ Prophet/__init__.py
++
++pythonProphetDesktopdir = $(pythondir)/Prophet/Desktop
++pythonProphetDesktop_PYTHON = \
++ Prophet/Desktop/__init__.py
++
++pythonProphetLegacydir = $(pythondir)/Prophet/Legacy
++pythonProphetLegacy_PYTHON = \
++ Prophet/Legacy/Development.py \
++ Prophet/Legacy/Editor.py \
++ Prophet/Legacy/Emulator.py \
++ Prophet/Legacy/Graphics.py \
++ Prophet/Legacy/__init__.py \
++ Prophet/Legacy/Multimedia.py \
++ Prophet/Legacy/Network.py \
++ Prophet/Legacy/Shell.py
+
+-install-exec-local :
+- echo "#!/usr/bin/env $(PYTHON_BIN)" > $(DESTDIR)/$(bindir)/mmaker
+- echo "import sys; sys.path = ['$(pkgdatadir)'] + sys.path" >> $(DESTDIR)/$(bindir)/mmaker
+- echo "import MenuMaker.CLI" >> $(DESTDIR)/$(bindir)/mmaker
++pythonProphetDebiandir = $(pythondir)/Prophet/Debian
++pythonProphetDebian_PYTHON = \
++ Prophet/Debian/__init__.py
+
+-install-data-local :
+- $(PYTHON) -c 'import compileall; compileall.compile_dir(dir="$(DESTDIR)/$(pkgdatadir)", ddir="$(pkgdatadir)")'
++pythonProphetDebianMenudir = $(pythondir)/Prophet/Debian/menu
++dist_pythonProphetDebianMenu_DATA = \
++ Prophet/Debian/menu/debian-2.2r5 \
++ Prophet/Debian/menu/debian-8.1 \
++ Prophet/Debian/menu/ubuntu-5.04 \
++ Prophet/Debian/menu/ubuntu-5.10
diff --git a/x11-misc/menumaker/menumaker-0.99.10.ebuild b/x11-misc/menumaker/menumaker-0.99.10.ebuild
new file mode 100644
index 000000000000..07a220f4d6f6
--- /dev/null
+++ b/x11-misc/menumaker/menumaker-0.99.10.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_{4,5} )
+
+inherit autotools python-r1
+
+DESCRIPTION="Utility that scans through the system and generates a menu of installed programs"
+HOMEPAGE="http://menumaker.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="amd64 ~ppc x86 ~x86-fbsd"
+
+IUSE="doc"
+
+RDEPEND="${PYTHON_DEPS}"
+DEPEND="${RDEPEND}
+ doc? ( sys-apps/texinfo )"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.99.10-AM_PATH_PYTHON.patch
+)
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ configure() {
+ ECONF_SOURCE="${S}" econf PYTHON="${EPYTHON}"
+ }
+ python_foreach_impl run_in_build_dir configure
+}
+
+src_compile() {
+ compile() {
+ default
+ use doc && emake html
+ }
+ python_foreach_impl run_in_build_dir compile
+}
+
+src_install() {
+ compile() {
+ default
+ use doc && emake DESTDIR="${D}" install-html
+ }
+ python_foreach_impl run_in_build_dir compile
+ python_replicate_script "${ED%/}"/usr/bin/mmaker
+ einstalldocs
+}
diff --git a/x11-misc/menumaker/metadata.xml b/x11-misc/menumaker/metadata.xml
new file mode 100644
index 000000000000..fd651f75dd2c
--- /dev/null
+++ b/x11-misc/menumaker/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>aklhfex@gmail.com</email>
+ <name>Chris Mayo</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">menumaker</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/metadata.xml b/x11-misc/metadata.xml
new file mode 100644
index 000000000000..dfa319ee8104
--- /dev/null
+++ b/x11-misc/metadata.xml
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE catmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<catmetadata>
+ <longdescription lang="en">
+ The x11-misc category contains miscellaneous X11 applications which do
+ not belong elsewhere.
+ </longdescription>
+ <longdescription lang="de">
+ Die Kategorie x11-misc enthält verschiedene X11-Applikationen die sich
+ nicht anderweitig einordnen lassen.
+ </longdescription>
+ <longdescription lang="es">
+ La categoría x11-misc contiene aplicaciones mixtas de X11 que no
+ pertenecen a ninguna otra categoría.
+ </longdescription>
+ <longdescription lang="ja">
+ x11-miscカテゴリーã«ã¯ä»–ã®ã‚«ãƒ†ã‚´ãƒªãƒ¼ã«åˆ†é¡žã•ã‚Œãªã‹ã£ãŸ
+ 多種多様ãªX11アプリケーションãŒå«ã¾ã‚Œã¦>ã„ã¾ã™ã€‚
+ </longdescription>
+ <longdescription lang="nl">
+ De categorie x11-misc bevat allerlei X11-applicaties die niet in andere
+ categorieën thuishoren.
+ </longdescription>
+ <longdescription lang="vi">
+ Nhóm x11-misc chứa các ứng dụng X11 không thuộc vào nơi nào khác.
+ </longdescription>
+ <longdescription lang="sk">
+ Kategória x11-misc obsahuje rôzne aplikácie pre X11, ktoré nie sú
+ zaradené do iných kategórií.
+ </longdescription>
+ <longdescription lang="it">
+ La categoria x11-misc contiene applicazioni miste per X11 che non appartengono ad altre categorie.
+ </longdescription>
+ <longdescription lang="pt">
+ A categoria x11-misc contém aplicações mistas de X11 que não
+ pertencem a outras categorias.
+ </longdescription>
+ <longdescription lang="pl">
+ Kategoria x11-misc zawiera aplikacje dla X11, które nie pasują do żadnej
+ z pozostałych kategorii.
+ </longdescription>
+</catmetadata>
+
diff --git a/x11-misc/mgm/Manifest b/x11-misc/mgm/Manifest
new file mode 100644
index 000000000000..c28ce965852d
--- /dev/null
+++ b/x11-misc/mgm/Manifest
@@ -0,0 +1,5 @@
+DIST mgm-1.2.tgz 905812 SHA256 097e046528b0933f5be5071944bf3368892c9fb98144c111be38e948fe1f0356 SHA512 70384a4f982771788d863b1531a3541f1c83d312073bd3b84bf38ca0a764d0072cb64ead2916105b8a84cb9110c65ddae730babc27d4c7635e99ad3ded9561cc WHIRLPOOL 8af89415a5ff07ddb31a3e2c4617d80a71d5286b5483dbc8cfbd76fd7f799803ace95a5266169e361a36abed5b7eb78e92efb647c21251c2759b1f77df60ed9c
+EBUILD mgm-1.2-r1.ebuild 585 SHA256 0178ad94fcf1cf7a6cde12c172c10b61b037e9e602f5dad088514057ca97a3c4 SHA512 c9517befa6297c8890d20c8c26034d5ced1cad628a679b8128683cc7f6343fad9ab532b15cc2ff8adf573a8bc92f52b72a88425e1758ae217e4f054e00e4842a WHIRLPOOL 0bcb77754d928b91bb271bce2cf7154773b9a764bd927183a7ecde988d958e0cf02d3715f16b144b015d9055a3e010962ea8b17a49fdbbc51fa6953a176ef4f3
+MISC ChangeLog 2552 SHA256 f7b880cd8f7bb5570389eef43ca3da1b22d4caebae55a73d319b97e909c13a54 SHA512 e12bc5720bf3f6011c5cddb6f22de2725c5ca90bd032bd64be88436727c7cc4535f1263dc40d9b3da5566ca251b2ddf9142e7b3eefdc4b1714d3db463eb39da1 WHIRLPOOL cc8ee5c31a0c78506889da3c28607c5f908580c35c0fbdefc522ebdbcf3996c54e47dff3816bf9c79164fca68618a5081cc15e53dec0d5e32d6832a3646a269b
+MISC ChangeLog-2015 2622 SHA256 dad8c36356c6a4b3ec4498b64373d1b3bd39acba41b45337eeef9efe57f46c76 SHA512 7ace3e2807f69923d3985cdd92f3cb865f87ad1a3ff64790d3a5e5e2c317394162afefec9e49d0a2381b0c8afc5c6515255ede5373e9986abc0d141c243b07ef WHIRLPOOL 967159ed3f83390b893d73e34220b798af65edaa69711e4ddadf1f3a543cf4834db9470c272b76ac171e887ddb4493927d6b2c3f103e45a8d9454d1c04e2fadd
+MISC metadata.xml 276 SHA256 437f3dba7deca9da3b3f8ecda9bb5e97253de0412cbb3095d876f39140f3ea98 SHA512 3497963f4fb51bb32521472b54a995091cb457d2cda65c786bd4b46e5af325caf8f6d5c969cefa0c09fe717df09fb015ec59b52f5571c3b2b9d4ea33e6c843ab WHIRLPOOL 8550fd604cf609511bf7c34245ebd6682dd6d058d8cbfa099a77c94d1afcf592909eb679a28a0806957ac0949c6cff350675e0182303ec5890a5e2c2c26d29c5
diff --git a/x11-misc/mgm/metadata.xml b/x11-misc/mgm/metadata.xml
new file mode 100644
index 000000000000..2ba8e9e851e4
--- /dev/null
+++ b/x11-misc/mgm/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/x11-misc/mgm/mgm-1.2-r1.ebuild b/x11-misc/mgm/mgm-1.2-r1.ebuild
new file mode 100644
index 000000000000..63774cf206e7
--- /dev/null
+++ b/x11-misc/mgm/mgm-1.2-r1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="Moaning Goat Meter: load and status meter written in Perl"
+HOMEPAGE="http://www.linuxmafia.com/mgm"
+SRC_URI="http://downloads.xiph.org/releases/mgm/${P}.tgz"
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="~amd64 ppc x86"
+IUSE=""
+
+RDEPEND=">=dev-lang/perl-5.6.1
+ >=dev-perl/Tk-800.024"
+
+HTML_DOCS=( doc/. )
+
+src_install() {
+ exeinto /usr/share/mgm
+ doexe mgm
+ dosym /usr/share/mgm/mgm /usr/bin/mgm
+ insinto /usr/share/mgm
+ doins -r lib modules
+ einstalldocs
+}
diff --git a/x11-misc/mixer_app/Manifest b/x11-misc/mixer_app/Manifest
new file mode 100644
index 000000000000..fcf954126e96
--- /dev/null
+++ b/x11-misc/mixer_app/Manifest
@@ -0,0 +1,6 @@
+AUX mixer_app-1.8.0-build.patch 1018 SHA256 97c1aa5d41cd8b340aaf724a5c1c9c33a2f5a5ccf13c4cd49d96e7fb6b3e7f97 SHA512 3d0146efd88070b803b14434c93baaa635f54f10324155cdfcf08555cac11f655d40b257bde6e25f83f04d96a63da66895d8460d4bc6b9211c1cb9956b199602 WHIRLPOOL 105bd28cbaf3956e72fd083f0052dc2d78d64b8b3548e60552d36f63eb5c0c41ff0ef1db9a44d8bfe09211989e845e998e3062d0836f8a5f0433f93750126cfa
+DIST Mixer.app-1.8.0.tar.gz 37884 SHA256 223c08d91fd7930d6a97cea376b99fb0118cdea12406c7d62d17d38276b4dd15 SHA512 2b965cefda7ae93d8588b717becf25430f3dc5d1d6c3e38d24eac711999ced9c671cfdc76a0601022cf1fc7298d179b5780ce7a3bcf33291ac4d8ea215cd53f1 WHIRLPOOL 7e2002e276b89a530be595c1b84dadd7af3c4dce234c799bc8faa0d9d2d9447d86307fd5b963227e050abfc2849d4584eb258e6795877545130bd0e23be6158f
+EBUILD mixer_app-1.8.0.ebuild 686 SHA256 20cc1a3b2e4f3a24eb2aed924fb814a17e1f0c7d08fb3674d74e0869d64eb1b3 SHA512 ea53132616dbae214411afe7b830dddca09d2a60bbae5afba737aa840934b17d98ce849daff2bef8ff55617cce2196d14c808e6bd583b27aa13c35b8fa5bd853 WHIRLPOOL e001a9c646c2716a7f821ad19c20fe15eb7636ccbf86d1e9d14a0b53d53c821880759bdd246a3224f3ca98025fd09f6e55b80877619c7cf526bf248a3e45b1c5
+MISC ChangeLog 2927 SHA256 dcfc2d3f7b81ef3c46326a00249a3ca219a90663eb512726fe24c6a674a4f6c4 SHA512 3113a490d533c2c48ca6d74bd9363eea295f40eb76150ab904bc75acfde56b9c6820e70481150b5e5752d3a0fc2dd2f34436f2518874f31fd1d906cd065029cd WHIRLPOOL 2b6433eaf3bac575f3986859bcd35d3549ca847370ae2f06f51bdec653174618c2f39c869f528034e533d091f0424030bc8bdace3b2d1a28cdb2e20440b38d15
+MISC ChangeLog-2015 2516 SHA256 0e4f485d723ebcff2ae286930de0abcf87611b3d7101c73f3bc8c6793d667015 SHA512 b11580159b5598bf23990e8d5d1fda8f2a67020821688e48c7851313a52735d976f60846927e9b973b10b22efbcd97a5fef045997ee126f53568372d6846a470 WHIRLPOOL 31df1d61a5ce829664da1129b6cdc5439a461c2260bc01e70891ccdd7d12d74fed8eab8914944158af31fa9d61817f130271fddc468742d9f91b8a8eb6292a6a
+MISC metadata.xml 252 SHA256 f09077829bd604b153aecd586b23fe39af2279d2b5871eb74391c7b7e9496404 SHA512 6a56c24e3731dd9512fa264d3dce1fe36ace891a17394c483586e0be1fffd153e901228d3ee9c471a226b04cec27d3f78ed2de491e46238de4b06538dab7e724 WHIRLPOOL 5da21d058640f220853befb609832550c9078b8879264a87ffb4b845b89e557ae43f04975c4e7b65531b2b843f6a6cd5b139648b72574b555e8cf6610ffd610e
diff --git a/x11-misc/mixer_app/files/mixer_app-1.8.0-build.patch b/x11-misc/mixer_app/files/mixer_app-1.8.0-build.patch
new file mode 100644
index 000000000000..f36ea6e78ec6
--- /dev/null
+++ b/x11-misc/mixer_app/files/mixer_app-1.8.0-build.patch
@@ -0,0 +1,44 @@
+--- Makefile
++++ Makefile
+@@ -2,32 +2,24 @@
+ # Mixer.app Makefile
+ #
+
+-DESTDIR =
+-GNUSTEP_BINDIR = /usr/local/GNUstep/Apps/Mixer.app
+-X11_BINDIR = /usr/X11R6/bin
+-
+-CXX=c++
+-CXXFLAGS += -Wall -pedantic -fno-rtti -fno-exceptions -O2 -I/usr/X11R6/include
+-LDFLAGS += -L/usr/X11R6/lib -lXpm -lXext -lX11
++BINDIR = /usr/bin
++
++CXX ?= g++
++CXXFLAGS += -Wall -pedantic -fno-rtti -fno-exceptions
++LIBS = -lXpm -lXext -lX11
+
+ OBJECTS = Main.o Mixer.o Xpm.o
+
+ all: Mixer.app
+
+ Mixer.app: $(OBJECTS)
+- $(CXX) $(OBJECTS) -o $@ $(LDFLAGS)
++ $(CXX) $(LDFLAGS) $(OBJECTS) -o $@ $(LIBS)
+
+ .PHONY: install clean distclean
+
+-install: install-gnustep
+-
+-install-gnustep: all
+- install -d $(DESTDIR)$(GNUSTEP_BINDIR)
+- install -m 0755 Mixer.app $(DESTDIR)$(GNUSTEP_BINDIR)/Mixer
+-
+-install-x11: all
+- install -d $(DESTDIR)$(X11_BINDIR)
+- install -m 0755 Mixer.app $(DESTDIR)$(X11_BINDIR)/Mixer.app
++install: all
++ install -d $(DESTDIR)$(BINDIR)
++ install -m 0755 Mixer.app $(DESTDIR)$(BINDIR)/Mixer.app
+
+ clean:
+ rm -f *~ *.o
diff --git a/x11-misc/mixer_app/metadata.xml b/x11-misc/mixer_app/metadata.xml
new file mode 100644
index 000000000000..7d273a80ff68
--- /dev/null
+++ b/x11-misc/mixer_app/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>voyageur@gentoo.org</email>
+ <name>Bernard Cafarelli</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/x11-misc/mixer_app/mixer_app-1.8.0.ebuild b/x11-misc/mixer_app/mixer_app-1.8.0.ebuild
new file mode 100644
index 000000000000..256f6968c369
--- /dev/null
+++ b/x11-misc/mixer_app/mixer_app-1.8.0.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+inherit eutils toolchain-funcs
+
+MY_P=Mixer.app-${PV}
+
+DESCRIPTION="mixer_app has volume controllers that can be configured to handle sound sources"
+HOMEPAGE="http://www.fukt.bsnet.se/~per/mixer/"
+SRC_URI="mirror://gentoo/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc sparc x86"
+IUSE=""
+
+RDEPEND="x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXpm"
+DEPEND="${RDEPEND}
+ virtual/os-headers
+ x11-proto/xextproto"
+
+S=${WORKDIR}/${MY_P}
+
+DOCS="ChangeLog README"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-build.patch
+}
+
+src_compile() {
+ tc-export CXX
+ emake
+}
diff --git a/x11-misc/mozo/Manifest b/x11-misc/mozo/Manifest
new file mode 100644
index 000000000000..915a1f8291c8
--- /dev/null
+++ b/x11-misc/mozo/Manifest
@@ -0,0 +1,12 @@
+DIST mozo-1.12.0-gtk3.patch.bz2 6562 SHA256 b8aed33b49bd7d5c09d9546770ba79d8643b8d7eb56a0d512e1105c8e8ffd32d SHA512 9f86a77f29fb359fb59092d819634d2223b74c5eb149917b1442589306d989cfb87df2cc8c4f1e36fd086ba57a75274feccb4978cc0156e20cfd73712ea2a48b WHIRLPOOL 3b78ad3496b6f31e90effff345c83805d6e35a910a4298cfd35a048810425cc26283b8da72cb5134d84a81fa124a0197fa1ba446aa99c0add1eeafc24ae5c31c
+DIST mozo-1.12.0.tar.xz 163820 SHA256 59ab1c873064177e5515ba31c493fe9fd158c37b1054f7ae638c6571640aecc7 SHA512 93e760b791a74b6a6ca0377d5aaa060c8bf339dcfde91fcb146ef1e37cc25912b3c93fa2b4d612c0abf2bbd00597c80b58769bc88b57925ec4c465967f32c05b WHIRLPOOL 188419370e749b984d6cc1437baf67dc2611e255d9e18ee2cee113eff578cde8db078064050d63e523d457d5b1fa391a6f1a1db0e95f23c0c79742e484670932
+DIST mozo-1.14.1.tar.xz 171576 SHA256 6ec9afc8de9c61ac44d0a65e09bdad847caae5050b1ffe66ca02bc6d479f7163 SHA512 62269ed358807d7ebcf04e6bcbfd3689f019396ebd43a8634bca752f13d6609e94b97688b5fdfa83b1168f0e1cdf284275dc08054e27ab507ce40c2de881bc76 WHIRLPOOL ef795b2268a05ebc6343b62d67e0546b993fe4d6e01d4fbba5c4e8528cb7dae267116de22ddc9dcda91d6aeb332d41411efa2e598ed322ca4acf9da6403f0ea9
+DIST mozo-1.16.0.tar.xz 172312 SHA256 1bba88f32caafbc2b1c6bd3095acc07d10de40f242b8c15acb98f0b6e1747432 SHA512 507a35bbdad944ec55ce81e5193af9e5697747c2fc55817b3e3913aca68f1d99caa75df1d79f3b7abc1ba354a5c4f34c868e054e20cb86e5d0a7d65b463af57a WHIRLPOOL dd55a9510784927b11d3bbdccb26dfaa5901769cea0e817fcfeeaaee42220296424599eac6887968724729020594a27ab0d5d4b2a39056c6739b62d240db0300
+DIST mozo-1.18.0.tar.xz 173432 SHA256 ab24241d3203aca75974f0aeb96dbd215c5ac7ca67cd7af72caa6062f84ad613 SHA512 e333c572e5bc1d0905daed17eacd3dda10df5f80ed5b5b01ca3478d345a8c724e0161ccf51914f4982f16df71f252a3b08b194bec18e6aee05eb7af021369a12 WHIRLPOOL 825ae8090e505c71d0daca5373944b8251360a367ec3c6b05b92dcdf21f4216d1aa71083973b3f18bdad8fddabbf9c03fbbe7d08ee6ed5d955b2ee2271dadb22
+EBUILD mozo-1.12.0-r1.ebuild 1585 SHA256 76a3aa6b20a38299376c9ea9758800c2b0d93112f88a85814827afee69766a55 SHA512 d78543192113d0ee62d7b9942580a6bc9aab9b38fa4b822ed40b037062ed459c675ec3d2d222c2c8455b43bdec5404e192a5a72d5eb7d039d2d2b7dad4de7778 WHIRLPOOL 560ea694ad7b6b7d27236ace0d2af1c0e57cfa2f60db15689de9f9b8a03099ac11c58b46cbc1acfe6e3c7241cb21880cfd536a92a4368722d78ed3526bb679b0
+EBUILD mozo-1.14.1.ebuild 1269 SHA256 1e7bc3d7fd76747fe54ec7f95931b188492cd58b42888c7dffa700b82fe4d952 SHA512 82ca5080f8c219fc826cf2d54fb7563d9755d7a4a50ee1de370dd235c7b9a06e1d830749e177b40189a5d099572c9b7487e1d0724940644ef7ae47d06d2c4bee WHIRLPOOL 5ec44c060d2d1a408d3cdde0b71d771966745211eacd0b7460da547377fa12557e227f7c077edbbf8762ff14e62c105a96409dba88784d4e6e1e9f30707a127f
+EBUILD mozo-1.16.0-r1.ebuild 1276 SHA256 ee2587ded69c230b044f39cdfebe5fb436a557f30015a71c3dccccfdf22ce2fe SHA512 acbc78914cdb301b86b8cc002c5dee690c8ef24af612356e832e7fef98c69f9f4b41bda83f8d021bc35b13fa68b8e6dab2d300007533c6531973116ac1ce8ffa WHIRLPOOL f748624e760bf9e0683ceee23d72e200957cc9a9d3fe7c938d50ab6c71a1a2ef4467eb37949452a3037290316bc2a4f760906f1f2442588caf3053c97cc18321
+EBUILD mozo-1.18.0.ebuild 1239 SHA256 72e23a90e39bbcc842afcd77dbbb0c6b64f24155c0bdf18fe2aa1d463a5d7ca9 SHA512 5b851d61f04a77712f733e6cfc1cb5d978860f18466f8c9e325a1ac32f38d98fa840d727c916f288810b12affa3e0f9fea05d06b020492001aef3c8b89925706 WHIRLPOOL 388c29d332eb2c6cbfc94f53fb3972dba1728ceedd03a159e494b4f65e067693a5c9894a9ddee982f9d06131a2a5b3a97db63a0d1fb0051c381c649b76e96386
+MISC ChangeLog 4053 SHA256 1c244cbe92395c0975b9534c3e04bed86425660dac2a69cf147414ad9dbba000 SHA512 9c3ae4e5aeac69b1f76daa6c92a9e6fc943febcf9aee1b34e2644713fbee50ad88035173bf7b31898b2a7357355c95a54322277bd540ab50bf7d176e87fdf210 WHIRLPOOL bcb38b686b53d7e062f586b52d350b77b8aacfa3da886890f7dfab6196d186a7e1796b67588ee8c79fd08426c9a9a8c365f529cdd62a94a50aeeb8ff97f163c9
+MISC ChangeLog-2015 1148 SHA256 65e567f1b0f0de350e4d6318c95815f1cb4ddbacbcc8be03a1a969b98eb6217b SHA512 9c0da1f98dd8131ff9d48f6843b2330eba2df4d8427d1d44d524a5980c1a6c34bfec63756a01e9bf0ffaba5d31470d2455b22b5c7b0452d74f553c1abd322ef6 WHIRLPOOL dd308c6813b53501d54069accc9fbb80a938ff0fea16ce74478e39f11a7ce7114e825c5c4ad3124bd0561147f4fc889915cbc77c9444f1bf8e817bfb6de41fad
+MISC metadata.xml 409 SHA256 16193feb2096d8e19f5cc3eb07250a85c549a5628fdebd5433e435e17c773ac5 SHA512 a99cda7183e71decfb25316fc3466140b701878a053a9375213760f0c1b6497b4d772731d60242b421e3283913884939911c561eb9116bb6972e7abcfeb2f1a8 WHIRLPOOL eea138ae527c95be732f04c6c188e69d6b961073c0d0598f7cac5265c21116adf45c70b48726438f11090d675e8edc70532dab57d3c1c2e47e48d197a2b6b805
diff --git a/x11-misc/mozo/metadata.xml b/x11-misc/mozo/metadata.xml
new file mode 100644
index 000000000000..6931d558370c
--- /dev/null
+++ b/x11-misc/mozo/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>mate@gentoo.org</email>
+ <name>Gentoo MATE Desktop</name>
+ </maintainer>
+ <use>
+ <flag name="gtk3">Build with GTK+3 instead of GTK+2</flag>
+ </use>
+ <upstream>
+ <remote-id type="github">mate-desktop/mozo</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/mozo/mozo-1.12.0-r1.ebuild b/x11-misc/mozo/mozo-1.12.0-r1.ebuild
new file mode 100644
index 000000000000..9cf53b815bbd
--- /dev/null
+++ b/x11-misc/mozo/mozo-1.12.0-r1.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 )
+PYTHON_REQ_USE="xml"
+
+inherit python-r1 mate
+
+SRC_URI="${SRC_URI} gtk3? ( https://dev.gentoo.org/~np-hardass/distfiles/${PN}/${P}-gtk3.patch.bz2 )"
+KEYWORDS="amd64 ~arm x86"
+
+DESCRIPTION="Mozo menu editor for MATE"
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="gtk3"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="${PYTHON_DEPS}
+ >=mate-base/mate-menus-1.6[introspection]
+ x11-libs/gdk-pixbuf:2[introspection]
+ virtual/libintl:0
+ !!x11-misc/mate-menu-editor
+ !gtk3? (
+ >=dev-python/pygobject-2.15.1:2[${PYTHON_USEDEP}]
+ >=dev-python/pygtk-2.13:2[${PYTHON_USEDEP}]
+ >=mate-base/mate-menus-1.6[python]
+ x11-libs/gtk+:2[introspection]
+ )
+ gtk3? (
+ >=dev-python/pygobject-3:3[${PYTHON_USEDEP}]
+ x11-libs/gtk+:3[introspection]
+ )"
+
+DEPEND="${RDEPEND}
+ >=dev-util/intltool-0.40:*
+ sys-devel/gettext:*
+ virtual/pkgconfig:*"
+
+src_prepare() {
+ if use gtk3; then
+ eapply "${WORKDIR}/${P}-gtk3.patch"
+ MATE_FORCE_AUTORECONF=true
+ fi
+ mate_src_prepare
+ python_copy_sources
+}
+
+src_configure() {
+ python_foreach_impl run_in_build_dir mate_src_configure \
+ --disable-icon-update
+}
+
+src_compile() {
+ python_foreach_impl run_in_build_dir default
+}
+
+src_test() {
+ python_foreach_impl run_in_build_dir emake check
+}
+
+src_install() {
+ installing() {
+ mate_src_install
+
+ # Massage shebang to make python_doscript happy
+ sed -e 's:#! '"${PYTHON}:#!/usr/bin/python:" \
+ -i mozo || die
+
+ python_doscript mozo
+ }
+
+ python_foreach_impl run_in_build_dir installing
+}
diff --git a/x11-misc/mozo/mozo-1.14.1.ebuild b/x11-misc/mozo/mozo-1.14.1.ebuild
new file mode 100644
index 000000000000..7d024452e8bb
--- /dev/null
+++ b/x11-misc/mozo/mozo-1.14.1.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 )
+PYTHON_REQ_USE="xml"
+
+inherit python-r1 mate
+
+if [[ ${PV} != 9999 ]]; then
+ KEYWORDS="~amd64 ~arm ~x86"
+fi
+
+DESCRIPTION="Mozo menu editor for MATE"
+LICENSE="GPL-2"
+SLOT="0"
+IUSE=""
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+COMMON_DEPEND="${PYTHON_DEPS}
+ >=dev-python/pygobject-3:3[${PYTHON_USEDEP}]
+ >=mate-base/mate-menus-1.6[introspection]
+ x11-libs/gdk-pixbuf:2[introspection]
+ x11-libs/gtk+:3[introspection]
+ virtual/libintl:0
+ !!x11-misc/mate-menu-editor"
+
+RDEPEND="${COMMON_DEPEND}"
+
+DEPEND="${COMMON_DEPEND}
+ >=dev-util/intltool-0.40:*
+ sys-devel/gettext:*
+ virtual/pkgconfig:*"
+
+src_prepare() {
+ mate_src_prepare
+ python_copy_sources
+}
+
+src_configure() {
+ python_foreach_impl run_in_build_dir mate_src_configure \
+ --disable-icon-update
+}
+
+src_compile() {
+ python_foreach_impl run_in_build_dir default
+}
+
+src_test() {
+ python_foreach_impl run_in_build_dir emake check
+}
+
+src_install() {
+ installing() {
+ mate_src_install
+
+ # Massage shebang to make python_doscript happy
+ sed -e 's:#! '"${PYTHON}:#!/usr/bin/python:" \
+ -i mozo || die
+
+ python_doscript mozo
+ }
+
+ python_foreach_impl run_in_build_dir installing
+}
diff --git a/x11-misc/mozo/mozo-1.16.0-r1.ebuild b/x11-misc/mozo/mozo-1.16.0-r1.ebuild
new file mode 100644
index 000000000000..8f48007b8fc7
--- /dev/null
+++ b/x11-misc/mozo/mozo-1.16.0-r1.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 )
+PYTHON_REQ_USE="xml"
+
+inherit python-r1 mate
+
+if [[ ${PV} != 9999 ]]; then
+ KEYWORDS="~amd64 ~arm ~x86"
+fi
+
+DESCRIPTION="Mozo menu editor for MATE"
+LICENSE="GPL-2"
+SLOT="0"
+IUSE=""
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+COMMON_DEPEND="${PYTHON_DEPS}
+ >=dev-python/pygobject-3:3[${PYTHON_USEDEP}]
+ >=mate-base/mate-menus-1.6[introspection,python]
+ x11-libs/gdk-pixbuf:2[introspection]
+ x11-libs/gtk+:3[introspection]
+ virtual/libintl:0
+ !!x11-misc/mate-menu-editor"
+
+RDEPEND="${COMMON_DEPEND}"
+
+DEPEND="${COMMON_DEPEND}
+ >=dev-util/intltool-0.40:*
+ sys-devel/gettext:*
+ virtual/pkgconfig:*"
+
+src_prepare() {
+ mate_src_prepare
+ python_copy_sources
+}
+
+src_configure() {
+ python_foreach_impl run_in_build_dir mate_src_configure \
+ --disable-icon-update
+}
+
+src_compile() {
+ python_foreach_impl run_in_build_dir default
+}
+
+src_test() {
+ python_foreach_impl run_in_build_dir emake check
+}
+
+src_install() {
+ installing() {
+ mate_src_install
+
+ # Massage shebang to make python_doscript happy
+ sed -e 's:#! '"${PYTHON}:#!/usr/bin/python:" \
+ -i mozo || die
+
+ python_doscript mozo
+ }
+
+ python_foreach_impl run_in_build_dir installing
+}
diff --git a/x11-misc/mozo/mozo-1.18.0.ebuild b/x11-misc/mozo/mozo-1.18.0.ebuild
new file mode 100644
index 000000000000..5d07223cc286
--- /dev/null
+++ b/x11-misc/mozo/mozo-1.18.0.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 )
+PYTHON_REQ_USE="xml"
+
+inherit python-r1 mate
+
+if [[ ${PV} != 9999 ]]; then
+ KEYWORDS="~amd64 ~arm ~x86"
+fi
+
+DESCRIPTION="Mozo menu editor for MATE"
+LICENSE="GPL-2"
+SLOT="0"
+
+IUSE=""
+
+COMMON_DEPEND="${PYTHON_DEPS}
+ >=dev-python/pygobject-3:3[${PYTHON_USEDEP}]
+ >=mate-base/mate-menus-1.6[introspection,python]
+ x11-libs/gdk-pixbuf:2[introspection]
+ x11-libs/gtk+:3[introspection]
+ virtual/libintl:0
+ !!x11-misc/mate-menu-editor"
+
+RDEPEND="${COMMON_DEPEND}"
+
+DEPEND="${COMMON_DEPEND}
+ >=dev-util/intltool-0.40:*
+ sys-devel/gettext:*
+ virtual/pkgconfig:*"
+
+src_prepare() {
+ mate_src_prepare
+ python_copy_sources
+}
+
+src_configure() {
+ python_foreach_impl run_in_build_dir mate_src_configure \
+ --disable-icon-update
+}
+
+src_compile() {
+ python_foreach_impl run_in_build_dir default
+}
+
+src_test() {
+ python_foreach_impl run_in_build_dir emake check
+}
+
+src_install() {
+ installing() {
+ mate_src_install
+
+ # Massage shebang to make python_doscript happy
+ sed -e 's:#! '"${PYTHON}:#!/usr/bin/python:" \
+ -i mozo || die
+
+ python_doscript mozo
+ }
+
+ python_foreach_impl run_in_build_dir installing
+}
diff --git a/x11-misc/netwmpager/Manifest b/x11-misc/netwmpager/Manifest
new file mode 100644
index 000000000000..9c933716380f
--- /dev/null
+++ b/x11-misc/netwmpager/Manifest
@@ -0,0 +1,5 @@
+DIST netwmpager-2.05.tar.bz2 176877 SHA256 cc94a942dddf02d6dbc4087f1f5f4bd1f8a42d3b2c1ea78aa55af6b9c47ce590 SHA512 246c8f0a1d1eee9a9576c66ac338a03d2f391a413ac82f5a0140142582df93c4cad1908ea1124c9149445051c877feb552d889e78022f95f9773d910f9f171ad WHIRLPOOL 6d2ada01d87e3ec2fd2531e9d1262e8675feb3cc1708c077777f648f6c5271b5c0b14d8c99723b208955e964ddd4b9143e74800c3fba59eacbdcc6222a2cbf97
+EBUILD netwmpager-2.05.ebuild 756 SHA256 7aa871f6e0c335b0b8cba23b8fb3e04b69b6923d0ac6544d68a7362f7d0f2eea SHA512 b0fcc644d259c7b9bf2364b597c9b040b71a1b4d94ba10e69abfd14ff0e925b2db9401900937efd62d7479aa2baa662b0b33203337a764b1ac617d3c68d46941 WHIRLPOOL a845b643f3ae3d754bc7456bd9f25c5bea54090c61625da22b633a49a55fe8f2e46cd3a0ea805b2a9a37c0b09ff8dbf378d9b9f82749ed16e2805f6766d29fc0
+MISC ChangeLog 3449 SHA256 85541fe3b3d134dff69a233bd1aeaf058bcf116269161bbaba279cbdd6ebdd33 SHA512 ee61365267f1d46e653e8163e0d492e6ea6274bce7dbcaf73c54a78c13bb9066d6dcb792f2e0ae16f7f8916c104e93a09a2c1a0fe74b6c14dd9362edbcae83e7 WHIRLPOOL d53bb15dc178b458eab9b6f80a69ce1882e0d6ba5d40625321b1d04e799d5aaf08fb719eb6a690af426fc5236feb6578a037a279f41d12511b8fc9c97765527b
+MISC ChangeLog-2015 2967 SHA256 992136da2921811b3e2a7f28c0774863b1fa1ddf04b8417c3d1b22c05edf0687 SHA512 74138d89f49d9c911cbbd3d1fe59950f68a22c59a20f433a3acfcbf46e3fb307657587d4b0e02b33c7e194783a4b7e5a6da45cd21cf996d8d7ccb9a044fff0fa WHIRLPOOL 61891b9d2ffc240596056ccbdba6555e1889284d251a6d335d3a513c05a5a3e3e22d0c39e03b87f1989db53a1a8e0266a6dc1a83907b74fc5545fdf3f34f58ae
+MISC metadata.xml 246 SHA256 219ef412fa62806533f692d030afd62c57b695b49df2803786c93d16b1482848 SHA512 be42da502b805b08126629fdde43bd1473535fc5588faf7c65c05e923736fb18f0249fe61ac5c18c4de1619bd52e4865449d1f02ec19f2c2581f6c2e23a5ed4c WHIRLPOOL 024bc46595ac62a9e4c20e9863ce26d464ffe717af35e2aa03264b56ce11b71b964a7fc270104115b8bb2686aeccb6eb4ca4abac65113e30b8d62aed3ed52051
diff --git a/x11-misc/netwmpager/metadata.xml b/x11-misc/netwmpager/metadata.xml
new file mode 100644
index 000000000000..9809f23e9c1a
--- /dev/null
+++ b/x11-misc/netwmpager/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <upstream>
+ <remote-id type="sourceforge">sf-xpaint</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/netwmpager/netwmpager-2.05.ebuild b/x11-misc/netwmpager/netwmpager-2.05.ebuild
new file mode 100644
index 000000000000..db30db2314e1
--- /dev/null
+++ b/x11-misc/netwmpager/netwmpager-2.05.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit toolchain-funcs
+
+DESCRIPTION="Pager that works with Openbox and other EWMH compliant window managers"
+HOMEPAGE="https://sourceforge.net/projects/sf-xpaint/files/netwmpager/"
+SRC_URI="mirror://sourceforge/sf-xpaint/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~ppc ~ppc64 x86 ~x86-fbsd"
+IUSE=""
+
+RDEPEND="
+ x11-libs/libX11
+ x11-libs/libXrender
+ x11-libs/libXft
+ x11-libs/libXdmcp
+ x11-libs/libXau
+"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ x11-proto/xproto
+"
+
+src_configure() {
+ # econf doesn't work
+ tc-export CC
+ ./configure --prefix=/usr || die
+}
+
+src_compile() {
+ emake V=2
+}
+
+src_install() {
+ default
+ dodoc Changelog
+}
diff --git a/x11-misc/nitrogen/Manifest b/x11-misc/nitrogen/Manifest
new file mode 100644
index 000000000000..963b129a8bc0
--- /dev/null
+++ b/x11-misc/nitrogen/Manifest
@@ -0,0 +1,5 @@
+DIST nitrogen-1.6.1.tar.gz 314332 SHA256 f40213707b7a3be87e556f65521cef8795bd91afda13dfac8f00c3550375837d SHA512 125bb62162da95c3aab8c146f93113162c171512ffd3e8e6011fff22f1a1b841d1ffc9b4df4fd1b0b62a3731c68cd30c8448dbc836e9861216f50068d8b08c9c WHIRLPOOL 8bd1e5fe33a90bcf988e25eb6ae16898f749e1715e25786528072bdd834120771fdd5a8b02dc2aa208fa029eca626b2eb046bc810952c6af1e216e34a79e6748
+EBUILD nitrogen-1.6.1.ebuild 937 SHA256 2145f893b4eff41c4e79860fa1511594eb821c7ef9a384a158b8811eadafc27c SHA512 3414cfcc8652fc51971864fe69b67365f3c9282a65365bdbb8d37c84da950297c0ec3cbe86314ebbc46eb3fcc67df86d673e3fcab769daa99212f2c556b345ea WHIRLPOOL 01cfc10c3534ba217bd1efb9c820b1afecc06f369b016888bb4723dd7d5f1ec9df8eb107deaf6995595f03583eccb85d5f5f9ba3795ba949f03b1ec9e6d4f9bd
+MISC ChangeLog 3152 SHA256 57bda0962d766d4b6b2743bdf69d46f4adc200367a9c402f14e830e4ffe3af09 SHA512 f41917ea04e64a729467e7e2db9d231da75ae7c9b9111c0d5a1a4001cd9e71de45c7626dd2cccb7ea1fdc48d5f6dbf32121c70b8df9a360cd7bd74ea0530ab15 WHIRLPOOL 837576297260e11edf84f0488db5bf7ab4cc8efc3f0b5e3bf88de9643b1f95c75fbf13b2b8da9ad4c2d72b77b4d6c428b123422b2b06da08667d9d2bdf338285
+MISC ChangeLog-2015 3379 SHA256 2737bd618d27900797f5b1043cf08064359b0992afc489015d323cb21a6851d4 SHA512 fb2bbd8012ab226567be8cd9c1e3978c1d78e0e0245447e636814f32e46d5ff3d06a8e89b8e68766279a157da82a04abca898e8fd71bf9710234750feffe550c WHIRLPOOL 5ee077a4d21c1e4e1fef608d267256edbcb03357c62b99496d3474b633a5f00a38d8599f57efe021d3b34c74bf5596a324211c704f2048bd9f24feb769bbda19
+MISC metadata.xml 282 SHA256 ac9236162462e1562a26e596e7dd457a448f9367ff1a5a27ec3513ecade3026b SHA512 06c94ffb49c985c4344b170b902427ca9ce0c23b6d68330af227ab1771794f8e8b6d0ef75b5f69293c8ef0d3264c8799e1389ccdf8dfbe7c665c6477c07479e4 WHIRLPOOL 615c807081b4bef1734f1dbf9a182cb27b7de0e9bcdebd880c6b9c1ab01b95721076ddc4b4e75e93b8f777020bfd52459e9e4b1a9deb41baacc44f6cde05fd36
diff --git a/x11-misc/nitrogen/metadata.xml b/x11-misc/nitrogen/metadata.xml
new file mode 100644
index 000000000000..bc1b97e1eb76
--- /dev/null
+++ b/x11-misc/nitrogen/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/x11-misc/nitrogen/nitrogen-1.6.1.ebuild b/x11-misc/nitrogen/nitrogen-1.6.1.ebuild
new file mode 100644
index 000000000000..6f3e68e3fed0
--- /dev/null
+++ b/x11-misc/nitrogen/nitrogen-1.6.1.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit autotools fdo-mime flag-o-matic
+
+DESCRIPTION="A background browser and setter for X"
+HOMEPAGE="http://projects.l3ib.org/nitrogen/"
+SRC_URI="http://projects.l3ib.org/${PN}/files/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="nls xinerama"
+
+RDEPEND="
+ >=dev-cpp/gtkmm-2.10:2.4
+ >=gnome-base/librsvg-2.20:2
+ >=x11-libs/gtk+-2.10:2
+ xinerama? ( x11-libs/libXinerama )
+"
+DEPEND="
+ ${RDEPEND}
+ virtual/pkgconfig
+ nls? ( sys-devel/gettext )
+ xinerama? ( x11-proto/xineramaproto )
+"
+
+src_prepare() {
+ default
+
+ sed -i -e '/^UPDATE_DESKTOP/s#=.*#= :#g' data/Makefile.am || die
+
+ eautoreconf
+}
+
+src_configure() {
+ append-cxxflags -std=c++11
+ econf \
+ $(use_enable nls) \
+ $(use_enable xinerama)
+}
+
+pkg_postinst() {
+ fdo-mime_desktop_database_update
+}
+
+pkg_postrm() {
+ fdo-mime_desktop_database_update
+}
diff --git a/x11-misc/notification-daemon/Manifest b/x11-misc/notification-daemon/Manifest
new file mode 100644
index 000000000000..2e1eb8bcb5f5
--- /dev/null
+++ b/x11-misc/notification-daemon/Manifest
@@ -0,0 +1,13 @@
+AUX notification-daemon-0.5.0-libnotify-0.7.patch 948 SHA256 b946ffadaebac45d845618853d73afbae68636de0c791b7f962fc46413b59e30 SHA512 e828d89197c29c3b8e2b6b2e616d6fd63952f8b8ac23f4a0b7a8f6a75722e011d1684302b711ee530506e4e17aae6c7949f12f58a113ca6bb254a29d146d5870 WHIRLPOOL 5a7e1c714bc4c7ea091f6647c9274f63a480a7c3265cbb1966aa114e503e1190b242f69f9133a05d8f15bd6851af6365074192009747048b4916015801dcadba
+AUX notification-daemon-0.5.0-underlinking.patch 277 SHA256 854775d0d7db1e42240faeb6a7010c29a589335f0ce4df7b44a95a126dccac9c SHA512 e370ed9435b474fddf0b884d6781bdbfb1cb68dd7f851e72f525d6153235d39f77d28257c6d720f3de63df8ac29a7bf9100669813f4edda177a9dbf21afa3e5e WHIRLPOOL ae077cb806194c314533337a683c8d07f9b6f2dd5ebf7d68a7e0c205e0c37fac0f9f6d3b6aed87db7e293da664ceecb95ffde03485fc1705ccf1fdec01632ad5
+DIST notification-daemon-0.5.0.tar.bz2 330034 SHA256 aa1d3546fd1d5c51087317f4921c419927b644c12c39b557c959c9b45deb1475 SHA512 abdc86732afebbbe819db779924b82642fee7d29c005564dc890918849e2af11dbff5ba36e1d089c35318236e5950ac69df7e379fc48e7d696d27facce203b5a WHIRLPOOL e49419b4d09b3e4cd0baf0887c628f7d16edefad62de8e73939d7df948a8c24ddbae66c9ac6da9c9eba94b4783e07aafdfcc92de37fed231c44900afac4d564a
+DIST notification-daemon-3.14.1.tar.xz 280344 SHA256 3cd9af77708fb1ab95ed6c8c66095c5c99a19e84eadc6ba607ef07973e262b80 SHA512 977d028206d6a2005d346f697af5790b404f56399c451774037db25e37724f0cfbd558ae413c9ada40d2d7f399c1911392b19194e8fd093de74f65a6783ccc05 WHIRLPOOL 6c4161a75cdf4db1c99ebc8ede36c4229de1a491a3d5aefab41279b934a95c73dca1799848bd62c63aea31c282d56afeced73f7c51ee36821b642d3490cf08cc
+DIST notification-daemon-3.18.2.tar.xz 329196 SHA256 0aac24764b62f34eca94f37a97e7473b6d557138440ae80b77099171ca6d67b4 SHA512 962d84eb1970451d12d07027d4ee6843a96dc42c7d954dcb79bac55cd9918dcc84a2903b4ee032a0fd8f25d269e5e965a1deaab3da34b4181ea304df2adbae3c WHIRLPOOL 6ee853a2f44cd7b3b194a8b4030c290620b2d9a2a09f309c119f7bb372ebc41bcf50ece2561055a7b96037457e73254bf8ead80bb1f3494cdde13000334ef2b7
+DIST notification-daemon-3.20.0.tar.xz 340752 SHA256 dd13768f35fd8bba9c4920b0f8269f39270e5a3cfed1a34c3b940a492286ece5 SHA512 d9311c71a2915cb6e55bd1408e60b4d7b7fc24114410b8bd8cb358fe86c100198567099843b967f7e01ca03c91afe3f3980fb30b7f2c138bdab949e0e196a0f8 WHIRLPOOL 130c008a3d2bfdfe30aa79fe227bc182de75fd6a08f6faf196f8b2db48cc5d7df23c64b60015820a42667e622c49016a471147e935c5d36f3bd4ce50970ba801
+EBUILD notification-daemon-0.5.0.ebuild 967 SHA256 3084a00a2cec3a351b9f06a00c6c4277f0ed086c5857fafb9429ce10db767164 SHA512 2fe6c5f7bfeb22286489d1633c24728b9af3735677d56a290f7334741db22fc8ea26591affae3212342f71fef584dfb75eac97c673ffba8c3fc078a5fa591258 WHIRLPOOL 939039ecfba4ded6eccb74f0bbd702eceef3a131762da0e292af50a715278aacda377b431d18174841fab3a38d6435fd03e5c3d1ad4857420415b257fcc1e88d
+EBUILD notification-daemon-3.14.1.ebuild 997 SHA256 1ce12e4a0ce37b70451fa64297ca715cd8216f67841a2ed4ea78bbab3b7f0091 SHA512 931c2c5c4b23ab786c3daa8acd142d8f4072b95204061d0e58a8372c5f2c993b05182565e8064e7cb4df81040dbdb5c62cb88d43cc506aa56c15ac644970fc7f WHIRLPOOL 8fe5adedbd9447d6b866bbdc84db4b8b15daa7a7b5afef90f90350abc7d755df1ff6f60835cdbe8bd91252411ecda2f663eec8f5a82aa92b829f20d1be4cd957
+EBUILD notification-daemon-3.18.2.ebuild 971 SHA256 09dfbd72faa19ec0986af71f978a719ff85b870a83bb7b8cf86013b344fb956d SHA512 c548f88691239900e2e72a3b22e6bacc87ee0fb0b8c906e1bb4a9fb051eeb4ea34d4636be13136efb1433f29e98387574f9037ec97b546349653882d6dad9801 WHIRLPOOL d55cecc5c3ffc79c2b8fa113ef6e9a7bf54c2eda030ada5e859f576a19fd3f722363a8b4cb4ab2c5784c1d9681cda6137909c711db7fce9c9ddc03c5b0c08b9d
+EBUILD notification-daemon-3.20.0.ebuild 978 SHA256 3630685e5a06883fca065996f77e3077cdb8e1a590ccde1b176c1820e79fadb6 SHA512 9301962a0582f01944a7dddc8c3e6d3c986ac2896282a0d5c625064e5248370c4560ded93c11c41db89c9b0a6874f9a0f2cad8478ecdf01af103f497ad7ae379 WHIRLPOOL 95471d2b0efe2fdc4af67f4a292e29accfeb57f5418a80921914c4431c990d6d7f3e7eec6bdf9a11211dcdf358ad469f92a274e319e964c58d36a85737447347
+MISC ChangeLog 4150 SHA256 230b79145084992f49fed51d9e7cb14384d97d5cc889cf9b58a1a16fc102ec70 SHA512 c11ec56ee3481b5c6bf18ec9c506df4b16bd598d7f1071e502b90b614a68ad2d7bbcf199883e2713bad010b8a05db82426d477bd49335cd0c8b91f0642b6ac24 WHIRLPOOL 283689d96d9aa0ffb38dec5d14ae257ea51674724943a5134608707808608b9d3e7503e1451457ccc1a85c3bc3171a13fb8cfa7c8a32e7d15dc4fd0d0e254910
+MISC ChangeLog-2015 16109 SHA256 83d576cf6badd130b207158fb341560f0a752a4a4f0cf65cd1caf3234aac6a6b SHA512 6c46b52beeabfad2a33627b8ef20f081101a2d8ebe98bb4e2a631d5e7932f0ceca7e3f218e2c79173bfb77666f3a8095cfde77193c6ebf962bb2fa0f73167547 WHIRLPOOL ada19e3dc3e7effe72901b2f69d0353f55094601bf1408f6cb6175fdcb4e0980aada89c2a0db199ae4baa73e2843fcf90d4757e559fb1654e5af6a057e3594e3
+MISC metadata.xml 270 SHA256 d03f2548f8506e220358fc6d54a26ea7b07f66febe45457a2c82b501506a2427 SHA512 92c366ec57074ced42e6f9960f97d1cd1a022dba7450b51f3617a6a5e00c755496dfa84aa4ac259f4b00c676366b1eaa3ec30eeb9bcb0bf41253d1910005db2f WHIRLPOOL c1e0be867affa74e84315ab780163cc2843e4d66f305811b6ab2051525ba8f2995218f51b31799f97b4f26cbd684c67923d0c5e50efbf812d1bfdc3a1859bc12
diff --git a/x11-misc/notification-daemon/files/notification-daemon-0.5.0-libnotify-0.7.patch b/x11-misc/notification-daemon/files/notification-daemon-0.5.0-libnotify-0.7.patch
new file mode 100644
index 000000000000..63765ee79e69
--- /dev/null
+++ b/x11-misc/notification-daemon/files/notification-daemon-0.5.0-libnotify-0.7.patch
@@ -0,0 +1,28 @@
+--- src/capplet/notification-properties.c
++++ src/capplet/notification-properties.c
+@@ -27,6 +27,10 @@
+ #include <string.h>
+ #include <libnotify/notify.h>
+
++#ifndef NOTIFY_CHECK_VERSION
++#define NOTIFY_CHECK_VERSION(x,y,z) 0
++#endif
++
+ #include "stack.h"
+
+ #define GCONF_KEY_DAEMON "/apps/notification-daemon"
+@@ -402,8 +406,12 @@
+
+ dialog->preview = notify_notification_new (_("Notification Test"),
+ _("Just a test"),
+- "gnome-util",
+- NULL);
++ "gnome-util"
++#if NOTIFY_CHECK_VERSION (0, 7, 0)
++ );
++#else
++ , NULL);
++#endif
+
+ if (!notify_notification_show (dialog->preview, &error)) {
+ char *message;
diff --git a/x11-misc/notification-daemon/files/notification-daemon-0.5.0-underlinking.patch b/x11-misc/notification-daemon/files/notification-daemon-0.5.0-underlinking.patch
new file mode 100644
index 000000000000..306ffd9cf991
--- /dev/null
+++ b/x11-misc/notification-daemon/files/notification-daemon-0.5.0-underlinking.patch
@@ -0,0 +1,12 @@
+http://bugs.gentoo.org/468522
+
+--- configure.ac
++++ configure.ac
+@@ -98,6 +98,7 @@
+ dbus-1 >= $REQ_DBUS_VERSION, \
+ dbus-glib-1 >= $REQ_DBUS_VERSION, \
+ libcanberra-gtk >= $REQ_LIBCANBERRA_GTK_VERSION, \
++ gmodule-2.0, \
+ gconf-2.0, \
+ libwnck-1.0 \
+ x11 \
diff --git a/x11-misc/notification-daemon/metadata.xml b/x11-misc/notification-daemon/metadata.xml
new file mode 100644
index 000000000000..f843557871de
--- /dev/null
+++ b/x11-misc/notification-daemon/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>freedesktop-bugs@gentoo.org</email>
+ <name>Gentoo Freedesktop Project</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/x11-misc/notification-daemon/notification-daemon-0.5.0.ebuild b/x11-misc/notification-daemon/notification-daemon-0.5.0.ebuild
new file mode 100644
index 000000000000..c07fd3c8dd70
--- /dev/null
+++ b/x11-misc/notification-daemon/notification-daemon-0.5.0.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+GCONF_DEBUG=no
+GNOME2_LA_PUNT=yes
+GNOME_TARBALL_SUFFIX=bz2
+
+inherit autotools eutils gnome2
+
+DESCRIPTION="Notification daemon"
+HOMEPAGE="https://git.gnome.org/browse/notification-daemon/"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="sh"
+IUSE=""
+
+RDEPEND=">=dev-libs/glib-2
+ >=x11-libs/gtk+-2.18:2
+ >=gnome-base/gconf-2
+ >=dev-libs/dbus-glib-0.100
+ >=sys-apps/dbus-1
+ >=media-libs/libcanberra-0.4[gtk]
+ x11-libs/libnotify
+ x11-libs/libwnck:1
+ x11-libs/libX11
+ !x11-misc/notify-osd
+ !x11-misc/qtnotifydaemon"
+DEPEND="${RDEPEND}
+ >=dev-util/intltool-0.50
+ gnome-base/gnome-common
+ >=sys-devel/gettext-0.18
+ virtual/pkgconfig"
+
+DOCS="AUTHORS ChangeLog NEWS"
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}"/${P}-libnotify-0.7.patch \
+ "${FILESDIR}"/${P}-underlinking.patch
+
+ eautoreconf
+
+ gnome2_src_prepare
+}
+
+src_configure() {
+ gnome2_src_configure --disable-static
+}
diff --git a/x11-misc/notification-daemon/notification-daemon-3.14.1.ebuild b/x11-misc/notification-daemon/notification-daemon-3.14.1.ebuild
new file mode 100644
index 000000000000..4a213ca6f85c
--- /dev/null
+++ b/x11-misc/notification-daemon/notification-daemon-3.14.1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit gnome.org
+
+DESCRIPTION="Notification daemon"
+HOMEPAGE="https://git.gnome.org/browse/notification-daemon/"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 arm ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
+IUSE=""
+
+RDEPEND="
+ >=dev-libs/glib-2.28
+ >=x11-libs/gtk+-3.8:3
+ sys-apps/dbus
+ media-libs/libcanberra[gtk3]
+ >=x11-libs/libnotify-0.7
+ x11-libs/libX11
+ !x11-misc/notify-osd
+ !x11-misc/qtnotifydaemon
+"
+DEPEND="${RDEPEND}
+ dev-util/intltool
+ sys-devel/gettext
+ virtual/pkgconfig
+"
+
+DOCS=( AUTHORS ChangeLog NEWS )
+
+src_install() {
+ default
+
+ cat <<-EOF > "${T}"/org.freedesktop.Notifications.service
+ [D-BUS Service]
+ Name=org.freedesktop.Notifications
+ Exec=/usr/libexec/notification-daemon
+ EOF
+
+ insinto /usr/share/dbus-1/services
+ doins "${T}"/org.freedesktop.Notifications.service
+}
diff --git a/x11-misc/notification-daemon/notification-daemon-3.18.2.ebuild b/x11-misc/notification-daemon/notification-daemon-3.18.2.ebuild
new file mode 100644
index 000000000000..016909f27988
--- /dev/null
+++ b/x11-misc/notification-daemon/notification-daemon-3.18.2.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit gnome.org
+
+DESCRIPTION="Notification daemon"
+HOMEPAGE="https://git.gnome.org/browse/notification-daemon/"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
+IUSE=""
+
+RDEPEND="
+ >=dev-libs/glib-2.28:2
+ >=x11-libs/gtk+-3.15.2:3[X]
+ sys-apps/dbus
+ x11-libs/libX11
+ !x11-misc/notify-osd
+ !x11-misc/qtnotifydaemon
+"
+DEPEND="${RDEPEND}
+ dev-util/gdbus-codegen
+ >=sys-devel/gettext-0.19.4
+ virtual/pkgconfig
+"
+
+DOCS=( AUTHORS ChangeLog NEWS )
+
+src_install() {
+ default
+
+ cat <<-EOF > "${T}"/org.freedesktop.Notifications.service
+ [D-BUS Service]
+ Name=org.freedesktop.Notifications
+ Exec=/usr/libexec/notification-daemon
+ EOF
+
+ insinto /usr/share/dbus-1/services
+ doins "${T}"/org.freedesktop.Notifications.service
+}
diff --git a/x11-misc/notification-daemon/notification-daemon-3.20.0.ebuild b/x11-misc/notification-daemon/notification-daemon-3.20.0.ebuild
new file mode 100644
index 000000000000..693a3578679b
--- /dev/null
+++ b/x11-misc/notification-daemon/notification-daemon-3.20.0.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit gnome.org
+
+DESCRIPTION="Notification daemon"
+HOMEPAGE="https://git.gnome.org/browse/notification-daemon/"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
+IUSE=""
+
+RDEPEND="
+ >=dev-libs/glib-2.28:2
+ >=x11-libs/gtk+-3.19.5:3[X]
+ sys-apps/dbus
+ x11-libs/libX11
+ !x11-misc/notify-osd
+ !x11-misc/qtnotifydaemon
+"
+DEPEND="${RDEPEND}
+ dev-util/gdbus-codegen
+ >=sys-devel/gettext-0.19.4
+ virtual/pkgconfig
+"
+
+DOCS=( AUTHORS ChangeLog NEWS )
+
+src_install() {
+ default
+
+ cat <<-EOF > "${T}"/org.freedesktop.Notifications.service
+ [D-BUS Service]
+ Name=org.freedesktop.Notifications
+ Exec=/usr/libexec/notification-daemon
+ EOF
+
+ insinto /usr/share/dbus-1/services
+ doins "${T}"/org.freedesktop.Notifications.service
+}
diff --git a/x11-misc/notify-osd/Manifest b/x11-misc/notify-osd/Manifest
new file mode 100644
index 000000000000..ea0b10a8146f
--- /dev/null
+++ b/x11-misc/notify-osd/Manifest
@@ -0,0 +1,5 @@
+DIST notify-osd-0.9.34.tar.gz 635387 SHA256 12080deeaa5e1e10b420117351c2bd5db3421b0d1efcab8ee8052c808c3aaa3c SHA512 60ca63c2041f129d5139537242c2260908cedef633df977a608e19dcb01b75b2280ec80abe2b6da5eff76621107ee9d294742abfae301bc24eaa3aa855c56ce1 WHIRLPOOL 3a1aa26ed5276e6cfe2501585effb8825bfde56cadb7a264ebf084a60f520e423498073c86ecce6621599f8c7d383962d0a40f1096c5afb8830a91c5e821171e
+EBUILD notify-osd-0.9.34.ebuild 1439 SHA256 ea1c452c4f763eca5e79199f01ecec741b4b6018c53cdf2f19038403170e0657 SHA512 36760f312cc4d47a0489850c9066b19f823fe5884effc3b629c0634fa4c1874bee65f6e4c5273b9133d3369292d611186db60387edea776b1eb812877e28f0a2 WHIRLPOOL 477640bebca76021411c2e1d16fa8cd769d88c195a166ab03504b8525274c696ce685bb7ee5408bb14e325a1c7b988869d5bed5d357e268b5d927f105a6eb21a
+MISC ChangeLog 2779 SHA256 21a5ba0af6baaed473e2831bb0c371f876de9b2288dc3793651c9c70dc2d47a6 SHA512 c824ea9dbc363b0f99332d633820ca2d45b8613d403a64425a563255b964a582c914346a4ef522512864792bd07fbf5717c3ab4325303274a32e8e16628c3456 WHIRLPOOL bba3a90d588de8c1087fd1f15dcb239830cfa4f2850f9684ec3dd4a8830bc57ffbd7739a7a7ab04e313d5df7e873266e86adf9ccf067e00d2a8061624f51995d
+MISC ChangeLog-2015 2678 SHA256 5962ff5d1cff7b4d17f3a6844db5535cb15eb4828170b0a1edac3de95dfc06d7 SHA512 c5919d381fefab0b34994d9f5100f76ebea45ba83ac6ca5b84e2c5a28090da156b45f31c97bc28eaeb19ec687a482c107ed6872846210345b0236ae3e959199d WHIRLPOOL 85f844a1215128ca783278f2621cedd5878182fdd4f22c51fcda873ea3aed3a3c471e035c14814e25356bb62a9f19e23aba8dd6692b96c877acf042145f271ba
+MISC metadata.xml 250 SHA256 48fb02b37590edf483fe7a6f1ed0ef115f2b733f60f8f47feb0611f186f5f72b SHA512 0bed48908552a27396c77549264bbb7516677909afdecd967cce446529ea944c8f9ddf167241a033ca790123be27f8e3a4c503954100f9ea076f40b8ef5b0209 WHIRLPOOL fcbe7587883b0b286ed9d76b4c3628050009ec6be625a9ac000189f55929bbfc433599b950269814299155ac481f4b21a88392a6b45d445e63408c30ff85ddef
diff --git a/x11-misc/notify-osd/metadata.xml b/x11-misc/notify-osd/metadata.xml
new file mode 100644
index 000000000000..64dfa5cdb7f0
--- /dev/null
+++ b/x11-misc/notify-osd/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <upstream>
+ <remote-id type="launchpad">notify-osd</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/notify-osd/notify-osd-0.9.34.ebuild b/x11-misc/notify-osd/notify-osd-0.9.34.ebuild
new file mode 100644
index 000000000000..70ae583ebe58
--- /dev/null
+++ b/x11-misc/notify-osd/notify-osd-0.9.34.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+inherit autotools gnome2-utils multilib savedconfig
+
+DESCRIPTION="Canonical's on-screen-display notification agent"
+HOMEPAGE="https://launchpad.net/notify-osd"
+SRC_URI="https://launchpad.net/${PN}/precise/${PV}/+download/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="minimal"
+
+COMMON_DEPEND=">=dev-libs/dbus-glib-0.98
+ >=dev-libs/glib-2.16
+ >=x11-libs/gtk+-3.2:3
+ >=x11-libs/libnotify-0.7
+ >=x11-libs/libwnck-3
+ x11-libs/libX11
+ x11-libs/pixman
+ !x11-misc/notification-daemon
+ !x11-misc/qtnotifydaemon"
+RDEPEND="${COMMON_DEPEND}
+ !minimal? ( x11-themes/notify-osd-icons )"
+DEPEND="${COMMON_DEPEND}
+ virtual/pkgconfig
+ gnome-base/gnome-common
+ x11-proto/xproto"
+
+RESTRICT="test" # virtualx.eclass: 1 of 1: FAIL: test-modules
+
+DOCS=( AUTHORS ChangeLog NEWS README TODO )
+
+src_prepare() {
+ sed -i -e 's:noinst_PROG:check_PROG:' tests/Makefile.am || die
+ restore_config src/{bubble,defaults,dnd}.c #428134
+ eautoreconf
+}
+
+src_configure() {
+ econf --libexecdir=/usr/$(get_libdir)/${PN}
+}
+
+src_install() {
+ default
+ save_config src/{bubble,defaults,dnd}.c
+ rm -f "${ED}"/usr/share/${PN}/icons/*/*/*/README
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+ gnome2_schemas_savelist
+}
+pkg_postinst() {
+ gnome2_icon_cache_update
+ gnome2_schemas_update
+}
+pkg_postrm() {
+ gnome2_icon_cache_update
+ gnome2_schemas_update
+}
diff --git a/x11-misc/nts/Manifest b/x11-misc/nts/Manifest
new file mode 100644
index 000000000000..b46e0b596ce9
--- /dev/null
+++ b/x11-misc/nts/Manifest
@@ -0,0 +1,5 @@
+DIST nts-82.tar.gz 155819 SHA256 ffdb54ee6c607dfced534188ef212dd1ab41103af06a2e2ee26467fb574fadb4 SHA512 03ec801a550668c8654240823f63e4793d54d12630181e38031872f8d5e6cf01e151be1a5762c7013941701a679d361951f271e0f4cf0d90da54ed1db2ea61fd WHIRLPOOL 94b438add01a9ecc31c94d250a41e4c5ad20e6c7ba0b2489c365fb748a1f90d651e7c31238843f7d5a8eed9c160d2a669bafcfd4148ef37448b99c1a525292ad
+EBUILD nts-82-r1.ebuild 533 SHA256 b3f583afc18b6738561892f278d791acbe9441383c9abe9d2cc35a3133d50f8c SHA512 c625796516db8827736f37fc861c03d71ac21265285bff84b1b838cb7083d489d8db046a74e385f7106fd6b2f031aa914251e902c507a1ac1e20e94fccfb70e3 WHIRLPOOL a7e18893b3c5cb2a1cdcef922ea20d4652d10b16263be1288ce5f1a184f9e0624ca384a1f18fe881175965fc48cc97d3a652629f6a9cca6f4459c0ee191bac65
+MISC ChangeLog 3171 SHA256 f33c0815c0126f6715c60169de2e0562264cbc52e68d9aef650d4772bd78aabf SHA512 febd56d84ff45514738f565ebb0703eee7f9733efdf8089e2b8a161fc0a4e453253b03ab6e21a63c6ddab74b939ec987f30623325c5d003d5c512f28899884be WHIRLPOOL 2d1ead22d90206cee1f38eb9680e0f75c77e92c46d2b98356347f0f11736a4415b8fe81b8714b57e77e494372e96796469ae1d372337bc3b0ff8c705a3a4a45d
+MISC ChangeLog-2015 698 SHA256 09ec950c2d649ac465d548894faa2c7b517bfb14757e59822060da60eb0af6b6 SHA512 0c0ca6051bd7162926d8b3c8ff54b3003b31c2ee37bc83df033c964a3c25ab0d7bcc72353b7613f5d284340d2bfd6664792e704035cec36b15f33a142689b1d8 WHIRLPOOL 7ecd103dbd8de9f5b4ca28ebdf423f66b0d5dc127dba07512e8094342cb57d6eb5dd56489b67bb0efc33820c9f0804190afb07cfeef17e8a9cc009025425bcf5
+MISC metadata.xml 615 SHA256 e184738e8f4708418a17bfac3167639ec3e6b6ecfe899d8ddf8ddc95814c3b6c SHA512 8e52c5501a6dd3e2c941cab91635ef15dbd93287070b4b3bb6eca6fc2c250923e624269388d88a75737e7322ce40f71c2cc916f10cc365d3e65f42dcd8657404 WHIRLPOOL 02a053968259c05e1f424ef442c74e4713a415544128f715e43fe5350570fad77a6bd35c99e0782be051495ef350b74090fcdf4b3bd3294b92dcbe2f730fd10d
diff --git a/x11-misc/nts/metadata.xml b/x11-misc/nts/metadata.xml
new file mode 100644
index 000000000000..17a66d0a724b
--- /dev/null
+++ b/x11-misc/nts/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <longdescription lang="en">
+ nts is an acronym for Note Taking Simplified. It provides a simple,
+ intuitive format for using plain text files to store notes, a command
+ line interface for viewing notes in a variety of convenient ways and a
+ cross-platform, wx(python)-based GUI for creating and modifying notes as
+ well as viewing them. Displayed items can be grouped by path or tag and
+ can be filtered in various ways.
+ </longdescription>
+</pkgmetadata>
diff --git a/x11-misc/nts/nts-82-r1.ebuild b/x11-misc/nts/nts-82-r1.ebuild
new file mode 100644
index 000000000000..96a6ccd36825
--- /dev/null
+++ b/x11-misc/nts/nts-82-r1.ebuild
@@ -0,0 +1,20 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python2_7 )
+inherit distutils-r1
+
+DESCRIPTION="Note Taking made Simple, an intuitive note taking application"
+HOMEPAGE="http://www.duke.edu/~dgraham/NTS/"
+SRC_URI="${HOMEPAGE}/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ dev-python/wxpython:3.0[${PYTHON_USEDEP}]
+ dev-python/python-dateutil[${PYTHON_USEDEP}]
+ || ( dev-python/docutils[${PYTHON_USEDEP}] app-text/pandoc )
+"
diff --git a/x11-misc/numlockx/Manifest b/x11-misc/numlockx/Manifest
new file mode 100644
index 000000000000..ac36dec34f20
--- /dev/null
+++ b/x11-misc/numlockx/Manifest
@@ -0,0 +1,5 @@
+DIST numlockx-1.2.tar.gz 82703 SHA256 e468eb9121c94c9089dc6a287eeb347e900ce04a14be37da29d7696cbce772e4 SHA512 efaaa67e8b2723cb1e8461dde664f1f8e9b21f34edfe2e1135a6b756fa2843aed1a386f2f9d70bd62ddae9aedfeeff856a18da8b542f2cff440f93b38e5a853e WHIRLPOOL f71cacc0ff872acca97ca52b6516b12824e4330b2ef36a2de42ff07e342f96b7605ccb8cdccfa933f6bc3a73fb97e7d0ee1f8c0d7c345032dc8c5150c9c66272
+EBUILD numlockx-1.2.ebuild 699 SHA256 b70eea635884c5b9679d5632c69a064400ba49727a5f18c6210f7216cbc37427 SHA512 e041e26350318ac7e9d0f5a8d4e86a7492a3d141fadac510740d1947f410db1182256147b1a8852dba38359daa8cc2a917b791464ebb86dbd309ad4873572128 WHIRLPOOL ad6039127658008c5108209f51e045229704c4156783ab3dbdceeae5cc663daa651a2f1d7814c6ddf058ccdf82242b87e4aa93e58a39fcec0bca067dacf2b19c
+MISC ChangeLog 2595 SHA256 efc6c58da842bbb850b6fc182d3bf17c74771681e6c1e369720f8e3970cb0cf8 SHA512 e3f7c42e9b5367975e3396c0b7dfc61694e2771eaa468412709635f013940fc07028cb30ad49695acac44cead6928ddd0c299c931fd4f81f236143a699d0ace7 WHIRLPOOL d226b98b00b4241704472dc791a8e2b65ab213997344951203c4f8affdcc82f13263a58a14c86e29926fc52d632d459ea3bc4c07e2052254df92c32082009960
+MISC ChangeLog-2015 3956 SHA256 bf1a1ba5f78d9e5805f48a3878004d621a65c114587de5c3d68765bf085a43a0 SHA512 158424fe84d5b237d6d84ad027d4058b5c52fd9d58a0513286772429b72da85815173bc7df8a6eda8a37a167579ff10812b7288e586426f18e22961a13b1a8b2 WHIRLPOOL ebaa23309ca42ed41bd55930b2641abdc97c9c2c5e26409600067dbc4d2bccd14e9e638b4e169a2335d4bda02b65e00d05d2b4e77b7e3d263f5c46fff9f51299
+MISC metadata.xml 276 SHA256 437f3dba7deca9da3b3f8ecda9bb5e97253de0412cbb3095d876f39140f3ea98 SHA512 3497963f4fb51bb32521472b54a995091cb457d2cda65c786bd4b46e5af325caf8f6d5c969cefa0c09fe717df09fb015ec59b52f5571c3b2b9d4ea33e6c843ab WHIRLPOOL 8550fd604cf609511bf7c34245ebd6682dd6d058d8cbfa099a77c94d1afcf592909eb679a28a0806957ac0949c6cff350675e0182303ec5890a5e2c2c26d29c5
diff --git a/x11-misc/numlockx/metadata.xml b/x11-misc/numlockx/metadata.xml
new file mode 100644
index 000000000000..2ba8e9e851e4
--- /dev/null
+++ b/x11-misc/numlockx/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/x11-misc/numlockx/numlockx-1.2.ebuild b/x11-misc/numlockx/numlockx-1.2.ebuild
new file mode 100644
index 000000000000..d2799cdefcc8
--- /dev/null
+++ b/x11-misc/numlockx/numlockx-1.2.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit autotools
+
+DESCRIPTION="Turns on numlock in X"
+HOMEPAGE="https://home.kde.org/~seli/numlockx/"
+SRC_URI="mirror://gentoo/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="alpha amd64 ~arm ppc ppc64 sparc x86"
+IUSE=""
+
+RDEPEND="
+ x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXtst
+"
+DEPEND="
+ ${RDEPEND}
+ x11-proto/xextproto
+ x11-proto/xproto
+"
+
+src_prepare() {
+ sed -i \
+ -e '/^K_.*$/d' \
+ -e 's|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|g' \
+ configure.in || die
+ sed -i -e 's,@X_[_A-Z]\+@,,g' Makefile.am || die
+ eautoreconf
+}
+
+src_install() {
+ dobin ${PN}
+ dodoc AUTHORS README
+}
diff --git a/x11-misc/obconf-qt/Manifest b/x11-misc/obconf-qt/Manifest
new file mode 100644
index 000000000000..3c8ca9f45beb
--- /dev/null
+++ b/x11-misc/obconf-qt/Manifest
@@ -0,0 +1,5 @@
+DIST obconf-qt-0.9.0_p20150729.tar.gz 96660 SHA256 8419186b842c270be8ba03122f51aea20f2656369a7254c0dd4e88ad09b88aad SHA512 cb4318608fb49926212130de368b059af34c9731d5edf19fca4b05f583ec0d37ce7568f95a5a3f1533642503fd3c7f03fee65ca96796cbc0bb16e92f9890efe3 WHIRLPOOL 6aa7987420904f5b63e1bc3b1cbb63382c9a10cceb9e9831062c2dbd89bb9e3c380ae6c124a9c71e9dac867a74f7212c6d8863a479564ee5c0c4d28c273668d2
+EBUILD obconf-qt-0.9.0_p20150729.ebuild 814 SHA256 7f642bd74524533313a173bc81b8780823f7f308ec686834c488ebbe166ac199 SHA512 a4e6c705ff74865a18c6436ac5b1ffeb99818bc891058e2a93a5b9a4295b3eb4ace3534575b8cdb7372016d985c6e2cd357e3c771438ea75fde540785cfb497e WHIRLPOOL 3fc3750ca738077d5eb6a5a763f0bd0981d22d5b394b9b2554a8295ff26a589d5c046b0e7f20c98f3f8b8453293c9f48e8cc003b5008e1aef486c6ed891236c0
+MISC ChangeLog 2979 SHA256 838ce84f721f2afa58fd3e41c8445db2f8fe81f98e548686827a034a75d88ab0 SHA512 3e151b1b790ea04b002c4c81444047dca950b7bc9b504ce3229ef6905f03504a04cd8772ef282c20f94a737c84e27e2cdd1b7b5d8f1694a978c6a85363bc3f8b WHIRLPOOL 6dccdb0dd2b2c9a25b704ff2a156d3399f3fcf118d15ee1dc1a35845aa3b50b51fe9a122d59a6069b75b72abb77fd49d0da54bc127bea6dff9cae9089dec3734
+MISC ChangeLog-2015 1048 SHA256 ca2c80365fa1611a63eb94ac6f28583f3036129d90f5fbed1da112a87e569897 SHA512 30992da40b4841ec71c920fca16e7f225e909e3dd43f6677e4694618ee02a8a61e211ea7f01af4f6f8c95df996c42dbf72f56591ecedfb0006a56090b9a63899 WHIRLPOOL 650948e448d63d4972beecc55f026761719dcaab99b86037b51d404ace24c362624e724464b6534f29659750cfa100871e3290103568e1554b085b7e99ad7d1e
+MISC metadata.xml 240 SHA256 5c1b2e0fae64eabbb43582e437ece5c0df4f7e1c9b4587b919629b2b765aec6b SHA512 84f77a0e7d17d09eea1157217fcd22ae5fc98e1569879f85b5fc950d2b2ad00168b1ec9d5d8c1f964673c55bc91d509adb2d39b5983de21d83200ef6c58b9652 WHIRLPOOL 2bc375b8b743be2e84a38afe52329fcb6160906b0edbc054b9ab53aae30add6c8cac4de2a03c6f83e875b1e692c14f45369dcc2f8411ec9b858af228ba3ba163
diff --git a/x11-misc/obconf-qt/metadata.xml b/x11-misc/obconf-qt/metadata.xml
new file mode 100644
index 000000000000..a40a83a9c6a9
--- /dev/null
+++ b/x11-misc/obconf-qt/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>lxqt@gentoo.org</email>
+ <name>LXQt</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/x11-misc/obconf-qt/obconf-qt-0.9.0_p20150729.ebuild b/x11-misc/obconf-qt/obconf-qt-0.9.0_p20150729.ebuild
new file mode 100644
index 000000000000..80423a3721a8
--- /dev/null
+++ b/x11-misc/obconf-qt/obconf-qt-0.9.0_p20150729.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit cmake-utils
+
+DESCRIPTION="Openbox window manager configuration tool"
+HOMEPAGE="http://lxqt.org/"
+
+if [[ ${PV} = *9999* ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="git://git.lxde.org/git/lxde/${PN}.git"
+else
+ SRC_URI="https://dev.gentoo.org/~jauhien/distfiles/${P}.tar.gz"
+ KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+fi
+
+LICENSE="GPL-2 LGPL-2.1+"
+SLOT="0"
+
+RDEPEND="dev-libs/glib:2
+ dev-libs/libxml2
+ dev-qt/qtcore:5
+ dev-qt/qtdbus:5
+ dev-qt/qtgui:5
+ dev-qt/qtwidgets:5
+ dev-qt/qtx11extras:5
+ media-libs/fontconfig
+ media-libs/freetype
+ x11-wm/openbox:3
+ x11-libs/libICE
+ x11-libs/libSM
+ x11-libs/libX11
+ x11-libs/libXft
+ x11-libs/pango
+"
+DEPEND="${RDEPEND}
+ dev-qt/linguist-tools:5
+ virtual/pkgconfig"
diff --git a/x11-misc/obconf/Manifest b/x11-misc/obconf/Manifest
new file mode 100644
index 000000000000..6890c0f61781
--- /dev/null
+++ b/x11-misc/obconf/Manifest
@@ -0,0 +1,6 @@
+DIST obconf-2.0.4.tar.gz 456523 SHA256 71a3e5f4ee246a27421ba85044f09d449f8de22680944ece9c471cd46a9356b9 SHA512 b8cf6f363fa8c2f1d21142a3f79687a72f683f564285b05751c822ddf7a421b09c3440cbc5b08eb09d151601c6ada835ff5cc940bf5abeec2210cca26b552294 WHIRLPOOL 3ab648028deaa701e60c40eaa7512b9e61058995ef65f3bd3871a65352e8c9a88f82077a8bf28a59b3af07b9c66a77a046c525176e7b4831abfaf643265663e6
+EBUILD obconf-2.0.4.ebuild 833 SHA256 7dd8c59cd3f1b9803c388352956a82f4d195d005520d05f43a3bf33bac4f7fa0 SHA512 adcf82b95af89d829938293053d64e4fb9ad216f3e48f2c85bef8048291c5a876da749ae8c92602eb61ebc54e2fcc760ec7a82f173c85dbdda549d8d4e116e92 WHIRLPOOL 384ffb842ab78676cb4a2ef0357e48b20d68c2c0e81a05394fd564bbc4dff09b1c757518f68f1fc7a03e93abd1445fff17cb912daca051eea3446ad72ec3a67b
+EBUILD obconf-9999.ebuild 778 SHA256 54f50eeb5f23312ba573f07e71254e88e4be05f99a04ba2c108de7b94f889d77 SHA512 496db8493d8265b3c55d4b99e6770a27ee0a284ec1d7ff35f729074622df799a851112292272f17c012b67dca2858e18f681d8a572dd13d257054ba66192a8d5 WHIRLPOOL 1e2cd5c63d7c043e3b4cbac6910e9544c86b316e2916086398b006575af041d39df4eeb104efcfa4555b0728cec83f577f9de7d0b4ef9a7ca2ed31651d49f06c
+MISC ChangeLog 3078 SHA256 6a56d6132e81779fd6fefb911030f19e07062081216be84244a51849421a5357 SHA512 95b7c07e0e658d38869fc3e4360bf0f9bf067af7df4a011db86fda6ca50fe534b9871ceacab8c6f1ce22f3422c631025e130d365834b5055a5d5cc11e2d68394 WHIRLPOOL 82da3081b15af9c7e4e24f2ade1e2cf92f22b1155e2cb6a5ed33fc35c61462d92b04e5243ef6c25370b052689271888a0be4553ce1cfb3f3583e0aded9ec943f
+MISC ChangeLog-2015 14279 SHA256 49fe1ca87eb0111eb4372e5e3ae279a745cb40d2e66665ef16fb41ed1e39c407 SHA512 e45b8e9bc5c6906583e1c1ced53261701f2d60808a335ce4788cde36ed6c22101bc34e89a0c14e016b1651af03392a13ed521ca12dd1e496294ed43ace6cd481 WHIRLPOOL d2681b6b43bb6ff8bd241dbd1cbcfbc71c9d99af92e7f6d7ddf3d7233d27bf1bf40e788349101115cc30e6c5bcfca8242efb0d5234b0b10aaf03128243aa899a
+MISC metadata.xml 252 SHA256 ab7488948eaa1ea1c218227c7e5572daae3faa04362316007c5381e8db72efb1 SHA512 88682a5bace1a5e5f445a7677dff38ec94fe11168ad66f31c720c7794a98d4547999ee7b7c5edf042ce0d8781ab8455e2c093cfe773240280770f0645de56535 WHIRLPOOL d626a034e2ec280f07a78290baba5a703baa4b22eb64e189d6b69df2b8095d009d0f38b62f8388b4f31f98f8aae94fe0ed4b28abeb20650e117c075fb49629f4
diff --git a/x11-misc/obconf/metadata.xml b/x11-misc/obconf/metadata.xml
new file mode 100644
index 000000000000..92696b72e60a
--- /dev/null
+++ b/x11-misc/obconf/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>hwoarang@gentoo.org</email>
+ <name>Markos Chandras</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/x11-misc/obconf/obconf-2.0.4.ebuild b/x11-misc/obconf/obconf-2.0.4.ebuild
new file mode 100644
index 000000000000..4ee587cc3798
--- /dev/null
+++ b/x11-misc/obconf/obconf-2.0.4.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit fdo-mime
+
+DESCRIPTION="ObConf is a tool for configuring the Openbox window manager"
+HOMEPAGE="http://openbox.org/wiki/ObConf:About"
+SRC_URI="http://openbox.org/dist/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 arm ~arm64 hppa ~mips ppc ppc64 sparc x86 ~x86-fbsd ~arm-linux ~x86-linux"
+IUSE="nls"
+
+RDEPEND="gnome-base/libglade:2.0
+ x11-libs/gtk+:2
+ x11-libs/startup-notification
+ >=x11-wm/openbox-3.5.2"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ nls? ( sys-devel/gettext )"
+
+src_configure() {
+ econf \
+ $(use_enable nls)
+}
+
+pkg_postinst() {
+ fdo-mime_desktop_database_update
+ fdo-mime_mime_database_update
+}
+
+pkg_postrm() {
+ fdo-mime_desktop_database_update
+ fdo-mime_mime_database_update
+}
diff --git a/x11-misc/obconf/obconf-9999.ebuild b/x11-misc/obconf/obconf-9999.ebuild
new file mode 100644
index 000000000000..eb5947a313a2
--- /dev/null
+++ b/x11-misc/obconf/obconf-9999.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools fdo-mime git-r3
+
+DESCRIPTION="ObConf is a tool for configuring the Openbox window manager"
+HOMEPAGE="http://openbox.org/wiki/ObConf:About"
+EGIT_REPO_URI="git://git.openbox.org/dana/obconf.git"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS=""
+IUSE="nls"
+
+RDEPEND="x11-libs/gtk+:3
+ x11-libs/startup-notification
+ =x11-wm/openbox-9999"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ nls? ( sys-devel/gettext )"
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ econf $(use_enable nls)
+}
+
+pkg_postinst() {
+ fdo-mime_desktop_database_update
+ fdo-mime_mime_database_update
+}
+
+pkg_postrm() {
+ fdo-mime_desktop_database_update
+ fdo-mime_mime_database_update
+}
diff --git a/x11-misc/obmenu-generator/Manifest b/x11-misc/obmenu-generator/Manifest
new file mode 100644
index 000000000000..9756ef508fc4
--- /dev/null
+++ b/x11-misc/obmenu-generator/Manifest
@@ -0,0 +1,5 @@
+DIST obmenu-generator-0.66.tar.gz 19352 SHA256 6a2c8b2add2fd5bd31b40a67dd6e0920282019e3706f172ad67d6e466f82f769 SHA512 75da0f62f591f9a9678d93560826829c0555ba5de3359be90c2cb16c4b8d07a9f10cbbd53f4a08cf93f75d6df8cb68381fb9a975cdb8500bed4ec7b51615e287 WHIRLPOOL 62e52340a2fe83492d98baf1a1e2f18810b13b9c2d8440350e140af4dd86f138a2a015d14fcfd31027936c8b5d7472971366ba7b7472c8f598a4d4611ace12dd
+EBUILD obmenu-generator-0.66.ebuild 577 SHA256 9e414655a12ba5ee4fc092dcd5ffa0fcbe7c2bde224caf349b88ac16930ebf07 SHA512 2548ce8d28ef16a95c257fb9a886affa9a3c0f067827d386263da831ec4c16818b0bc61717747946fdca08b4de9fcc35b7ba5128c872a6b82901c507b1bb3f6a WHIRLPOOL 1e6982d7b981348d8bccee8f2f5b2296572d07b29c0d04b53973961223c197071a5ee4e5fac265a123805e28f9b7a83a504cd8a3cca142c7f2bf1de4b7f1a678
+MISC ChangeLog 2698 SHA256 e40d43b20d4f7e9fac3cb961730bac04bd6d458662bc05065d360f92eb59f5de SHA512 b8d4c8d2fc570ddfa62d9e07176473e59aafe4dd16e796b7d586d4c3dc76157145e306d965b2e8b0d479a1112b75cd3f816828650edf14eb949b354b2cdca36b WHIRLPOOL 131e36a4c26f93d667302d669dbe1c8afb4d9df705fb32a10b4e4869a2fd0e23db1063bac3b18fa6a81aa61b40d57ddad5ddd8de0e12491a824a37f0c140357d
+MISC ChangeLog-2015 2298 SHA256 dff1d66af363014320a2ee43a1f95becb8ea577bd8503415df2f2b7692bb3ed4 SHA512 56567aed95d126405a50f2472358290dfd44202486c8ae3ec30c635ef4d84cb2c366ba8abd71f20f94c92fc9fb7ca750b089c5ba7e43252d88efb50164ab5150 WHIRLPOOL b649206a112edc04a04c84a9fa154a7c0e767bb7a7ac2cb89c3c93d6be98c4c09cb714796257b822d5662dd073b7c5f72e060b608c22a605259a152824b18c5a
+MISC metadata.xml 340 SHA256 bdddaef27cdb359cffb8b464bc6e0b6fd87f81a91a55704a859a7e2cb226741b SHA512 733e0e63de409ce14eb860ed17818025152b405496cf50ff6c6f7ac5f0f1729bdb0dd03d66ee90477b37dfab6081fa758b51ab40b932b55799e773a7297db3ef WHIRLPOOL 1b0db89fa059fb3a0fcf0f9b279340befb8c5ebc6bdc6b63e33da1553a4cdee80ce2b1d5d17940aa0bec9083f534df16a1238bb71b8cf5e874ee9763c9ad22cb
diff --git a/x11-misc/obmenu-generator/metadata.xml b/x11-misc/obmenu-generator/metadata.xml
new file mode 100644
index 000000000000..94c5eee92475
--- /dev/null
+++ b/x11-misc/obmenu-generator/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <upstream>
+ <maintainer status="active">
+ <email>trizenx@gmail.com</email>
+ <name>Daniel Șuteu</name>
+ </maintainer>
+ <remote-id type="github">trizen/obmenu-generator</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/obmenu-generator/obmenu-generator-0.66.ebuild b/x11-misc/obmenu-generator/obmenu-generator-0.66.ebuild
new file mode 100644
index 000000000000..23597f915649
--- /dev/null
+++ b/x11-misc/obmenu-generator/obmenu-generator-0.66.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="A fast pipe/static menu generator for the Openbox Window Manager"
+HOMEPAGE="http://trizen.go.ro/"
+SRC_URI="https://github.com/trizen/obmenu-generator/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ dev-lang/perl
+ dev-perl/Data-Dump
+ >=dev-perl/Linux-DesktopFiles-0.90.0
+ x11-wm/openbox
+"
+
+src_install() {
+ dobin ${PN}
+ insinto /etc/xdg/obmenu-generator
+ doins schema.pl
+ newdoc README.md README
+}
diff --git a/x11-misc/obmenu/Manifest b/x11-misc/obmenu/Manifest
new file mode 100644
index 000000000000..28caabccbb2c
--- /dev/null
+++ b/x11-misc/obmenu/Manifest
@@ -0,0 +1,5 @@
+DIST obmenu-1.0.tar.gz 26375 SHA256 c9cea64d40d461a34ea3bdaec9867487c819d5f9814e1cc54db607d4d3c20e27 SHA512 64f36c5847c9e20ad989ba1e5a1fd780e420ad52ed3c188b06910a5bebb54373ad6b826621916fbcb1f900a34569f1d7c484094de99a227ed31cd2ff87ef78c5 WHIRLPOOL 3ffc97d147eaed207f19e09c16c9558878b84b426e31c72d568b1ff70eefbcdb60cfe5f31fe7ccb0c78e546dde005ea85cc506277ea54e455396878c088f1b55
+EBUILD obmenu-1.0-r1.ebuild 398 SHA256 351eb9f83c939e7d01ada8fd3874de48c60da8fc6f61050aad6d433786edecdf SHA512 03b7548f4657d4fddbdac58b8039a175095e9fa695f3b86fc30792e10aa17a6cff5c8967146a65e7adac51d055fe3010e85d29e803816e55cabcd9dd3a04f5c8 WHIRLPOOL d3900908c33cee34837d8a4fadb5a0f8a88a62a9af799022e1b88522141fd0243dfe3edb476ba3b7bc4920d698e809c89d388e207689c9fa44da7c991a62b99b
+MISC ChangeLog 2800 SHA256 19e64b15914b7126b5151e264f7e85276eedafaff7ef1cc48390c2f8e86e8cbf SHA512 8e3b457ffd1569eee7b4be1fd480f5a29ca6e51331059274dd2ac50fb2b65799be3220927d36e4a36eab2dc1006c9c6dd1c42ffc841a04cc7d7c79e25094c7d7 WHIRLPOOL 233e0ae2a757b663c33ee2a53dda34957156872164ba23aa8fb57a580be31689fd033868a80ca1699f2d21ece4b82d10b928789db2716273065d1bbe42c9e607
+MISC ChangeLog-2015 1522 SHA256 8183b1f87f87d4ed77537eec3c0fe8df3bf4a42121540dd9e62a92b7d50c0629 SHA512 e579aed80167a58e099eaa62aa18c70898487164a7b713f2e9fea67953fc8441ceaae8ca4987b48ba99ea4e17b2795c659bfbaac25d548825bb9d5a377c1689e WHIRLPOOL d04133c98b44cfefb1e732bba8e76ed0e05d20af38fb94d8022d84d241de9eac6d4afd1982c20db4e997aa11d6fdc64fb9bf97187eb5eb2c2d51099ffd5ebc27
+MISC metadata.xml 243 SHA256 e75243d169c5c3ab449db761eef529345ef2cd66eae6f39baa3e0469b8b83070 SHA512 f507a7ed16ad39c33a24e0d4ff7a310748064d9bc0b3352fb288aab198085810caa20187bf4d5504f8973c23e2625eb6c332bff668b0cbe0d639204cb3e247dd WHIRLPOOL f47fcba035d0c4828eca5f3525d1bfc5493634ee2f855ff9e7edeb1ebb289fd50c632283ad3fad9f91c372e5a91f3c1bc5c8c4949b7b7d4528eadcb81fba797e
diff --git a/x11-misc/obmenu/metadata.xml b/x11-misc/obmenu/metadata.xml
new file mode 100644
index 000000000000..3db4c15a38ec
--- /dev/null
+++ b/x11-misc/obmenu/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <upstream>
+ <remote-id type="sourceforge">obmenu</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/obmenu/obmenu-1.0-r1.ebuild b/x11-misc/obmenu/obmenu-1.0-r1.ebuild
new file mode 100644
index 000000000000..939832fa0877
--- /dev/null
+++ b/x11-misc/obmenu/obmenu-1.0-r1.ebuild
@@ -0,0 +1,16 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+PYTHON_COMPAT=( python2_7 )
+inherit distutils-r1
+
+DESCRIPTION="Menu editor designed for openbox"
+HOMEPAGE="http://obmenu.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc ppc64 x86 ~x86-fbsd"
+
+RDEPEND="dev-python/pygtk"
diff --git a/x11-misc/obtheme/Manifest b/x11-misc/obtheme/Manifest
new file mode 100644
index 000000000000..a88ada71d4e0
--- /dev/null
+++ b/x11-misc/obtheme/Manifest
@@ -0,0 +1,5 @@
+DIST obtheme-2013.2.20.2.tar.xz 25080 SHA256 3e183092c9340347628412b6af36e54eda863deb8f4e8d26f1a78f2f512fe685 SHA512 5e7d1d187c0d5f3e6851b3a09be9aeed3b2708277940abd19efba4a501bf3ab20e0307f51e4b63e33ba07d301abf41607cec7074b3e478c9c5e6b065b3773f77 WHIRLPOOL 4d2d053199b6987747037fc06700ce1ec066cc52fc85e247eecb366f9bbfccdb6088aaed1304cbd41ec77a279dab5a97f633867e8661569aac15c8ebf46b0178
+EBUILD obtheme-2013.2.20.2.ebuild 681 SHA256 559bbdae6a9f26b06889afda30108cc668a7e2a32279f6a645d7765e5efe7989 SHA512 1b79761e6f5bf6014668c3d5ff080c9ff971e42d91c7e68f0d4e465978778bb7ac9020969762d0c404897885a4dc7fc4fb5a26f3dffc842fe98a0965aba24ffb WHIRLPOOL 4bb34fbe2f567afc5475b24d28fdb1d35832602aa469225476f01fd15f4b83b55d9680d019d93332470a313f920ea017c53a3e4099669b61821f5efa1f956d65
+MISC ChangeLog 2832 SHA256 981ba9238cbf7fa72c59b5dc61bf0ccec5bfcf125808f28bf20fd4fd602e4717 SHA512 69e51c71a7d76b84a65ac929f1150b9109491b24f3252b2e6463a1ffa504d4f4306100da3b536a0c075e0d4759dc8748c488a2c6603e999fce2b3f33bdce971a WHIRLPOOL c27659e189b947be9e18d530e0ab795acfdb3c772f518ac7273eb14debbe0de1ac6da2305051473f25c153a9ca5665a282fcd57f09759a38d285636b499e134f
+MISC ChangeLog-2015 1299 SHA256 01c53c7024b25b6baf9434accb7a7501eb02e37fd9b58bd52d1f622e6f720f44 SHA512 4d79f275fef0dfbf4c65b9d02f24e5e00a0ebd6a18865cfba273d82b6fa45ec7be4bcbc332a16f059187b7192ba1eed29f4533724cf62429587453d14eb949fd WHIRLPOOL f46ba0df3288c97587887c1ea3f4f12f7739092c4d355b7df408e9f9cb796145792ce4e22a85166ca3c1568528e4fffa9bc5f806efd6cfe6059f02795d8672db
+MISC metadata.xml 276 SHA256 437f3dba7deca9da3b3f8ecda9bb5e97253de0412cbb3095d876f39140f3ea98 SHA512 3497963f4fb51bb32521472b54a995091cb457d2cda65c786bd4b46e5af325caf8f6d5c969cefa0c09fe717df09fb015ec59b52f5571c3b2b9d4ea33e6c843ab WHIRLPOOL 8550fd604cf609511bf7c34245ebd6682dd6d058d8cbfa099a77c94d1afcf592909eb679a28a0806957ac0949c6cff350675e0182303ec5890a5e2c2c26d29c5
diff --git a/x11-misc/obtheme/metadata.xml b/x11-misc/obtheme/metadata.xml
new file mode 100644
index 000000000000..2ba8e9e851e4
--- /dev/null
+++ b/x11-misc/obtheme/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/x11-misc/obtheme/obtheme-2013.2.20.2.ebuild b/x11-misc/obtheme/obtheme-2013.2.20.2.ebuild
new file mode 100644
index 000000000000..3913afadb960
--- /dev/null
+++ b/x11-misc/obtheme/obtheme-2013.2.20.2.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit eutils python-r1
+
+DESCRIPTION="A gui theme editor for openbox"
+HOMEPAGE="http://xyne.archlinux.ca/projects/obtheme/"
+SRC_URI="http://xyne.archlinux.ca/projects/obtheme/src/${P}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="
+ ${PYTHON_DEPS}
+ dev-python/pygobject:2[${PYTHON_USEDEP}]
+ dev-python/pygtk:2[${PYTHON_USEDEP}]
+ dev-python/fuse-python
+ x11-libs/gtk+:2
+"
+
+src_install() {
+ python_foreach_impl python_doscript ${PN}
+ domenu ${PN}.desktop
+ dodoc README CHANGELOG
+}
diff --git a/x11-misc/okindd/Manifest b/x11-misc/okindd/Manifest
new file mode 100644
index 000000000000..c5d4d12df5ae
--- /dev/null
+++ b/x11-misc/okindd/Manifest
@@ -0,0 +1,6 @@
+AUX okindd-0.6.1-gcc-4.7.patch 193 SHA256 3609c61aee676595997ea977ab30e459586d778f689b108f03e84155f9d65b66 SHA512 89eecfa9ca5ea1b0c209db41d929750ecebf7fc77cee17f2df8b2ee20c979fec9e48539ee432c28b6db6a9522bf83c8f71d178b12fe0dd40137f53099368c3ac WHIRLPOOL 21fe46ae90d397165ecfdf6c62c98428f774f37e43fe6c218e8a4d8a4f93f874d9f74ffdec70d928b577ad85ccfc2bcdda69458612f6cb441c739d96df67248d
+DIST okindd-0.6.1-23-20120304.tar.bz2 14778 SHA256 f99e48b56f312d9aa7f0d612eb926ee3a11cec1bec50538e4c3efa5e7df6a985 SHA512 107d59b96363faac0a9394ad217b3ace0ac7d6eb003c34ea7b96760cba7d8e9abb7ef4e22222ab260dfc425099c8b6733ebd002dea79857b9080a30e1bc2d682 WHIRLPOOL 6c24fb40d11728969d81727d7398a062eb8a425a1370632de066746ce8fbae7d8cd5db1dbefee146f8f5ca8a7963522e090b249f8a4448033b4be45f1a0c4cff
+EBUILD okindd-0.6.1.ebuild 944 SHA256 f7984726050e70eb5708077e8ad26afadaa2db49c1a69dc20c6e70df5b0d4eff SHA512 61082937ce7771a62bf4af0e241f9f344dc12cbd223018cf9ffe87d57d3af4659d40ea292460a4240f7a837ed26bccd94725779cf6e41fd70e10d831ebbc7676 WHIRLPOOL a0e9396d603e93989849c3e620225b9e6a52337727a4a60fda62fd60dc33ee9eb1c4dbaceb73d5b13602b014710d7c33312754e23e6b72ab29d500ea6efc2bbe
+MISC ChangeLog 2638 SHA256 13fb8a14a91d79b245f7541b0987851fb61bc7906aae012e454c5d89bb90fdb9 SHA512 a9e9925bdc0540e7634fa3456e9b8735363fafdc438614d01015461ab7bfdf12374b23c265f127a444b1146e14f2a3431dd499266653ba4fb99e3a4256fcfd28 WHIRLPOOL b13e632900f25d4513dcf1e78f1581971c9da92c6c132969378e79f75b17e4c468935078f15976418a606525b2fbdb6d9973bedd16d0e91a2b9198508f699e7e
+MISC ChangeLog-2015 1617 SHA256 2ceec298775270ebf5f87476ab4ec1bf8f20079766837803641266be701457d0 SHA512 4a63f2dc2c430f2562b0ab5c9ded22f71f4e7016f3067bf94d297d562c35b14d82df40b7d2535b542e465ab6c1a393f50db122de2d6d6b35427b8ce999017ca7 WHIRLPOOL ecb06f29c8a64b22d8b0b25e710862d19fb4646bb6c102a78d6a466854edc80f6505aedc4299f994f0b8fbf86866abfc8a88b47e82a3a7ae6031579c90559b2f
+MISC metadata.xml 247 SHA256 690d3e08cdd71b405f5361dfa3f33007ce9ec9d0ae7628e9271891da9e2bda92 SHA512 b43c8e84c3c753b49b203921a5aca792639a36d6efdbe16c069ff9abfbce0585718bb3824c03abdd7bd19ada13fb0a98a378c85ed369ac5fdc53ad3b3d5465d2 WHIRLPOOL dffc398d6bdbe8a8afc8863675a819a7bd69ae4d098ffbddad4c21ab8f1a850ab8ede71f98e34999b0605ad01ea93c8864cd681b50d3e153aa3d0901ddb10743
diff --git a/x11-misc/okindd/files/okindd-0.6.1-gcc-4.7.patch b/x11-misc/okindd/files/okindd-0.6.1-gcc-4.7.patch
new file mode 100644
index 000000000000..4cf7e4f20571
--- /dev/null
+++ b/x11-misc/okindd/files/okindd-0.6.1-gcc-4.7.patch
@@ -0,0 +1,10 @@
+--- src/okindd.h
++++ src/okindd.h
+@@ -9,6 +9,7 @@
+ #include "text.h"
+ #include "menu.h"
+ #include "global.h"
++#include <unistd.h>
+ #include <QApplication>
+ #include <QLabel>
+ #include <QtDBus>
diff --git a/x11-misc/okindd/metadata.xml b/x11-misc/okindd/metadata.xml
new file mode 100644
index 000000000000..17237689dcfd
--- /dev/null
+++ b/x11-misc/okindd/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>qt@gentoo.org</email>
+ <name>Gentoo Qt Project</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/x11-misc/okindd/okindd-0.6.1.ebuild b/x11-misc/okindd/okindd-0.6.1.ebuild
new file mode 100644
index 000000000000..43ae236466cc
--- /dev/null
+++ b/x11-misc/okindd/okindd-0.6.1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+
+inherit qt4-r2
+
+MY_P=${P}-23-20120304
+
+DESCRIPTION="On Screen Display (OSD) for KDE 4.x - works on any Qt desktop"
+HOMEPAGE="http://sites.kochkin.org/okindd/Home"
+SRC_URI="http://sites.kochkin.org/okindd/Home/${MY_P}.tar.bz2"
+
+LICENSE="GPL-3"
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+IUSE="debug"
+
+DEPEND="
+ dev-qt/qtcore:4
+ dev-qt/qtdbus:4
+ dev-qt/qtgui:4
+"
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}/${PN}
+
+DOCS="changelog"
+PATCHES=( "${FILESDIR}/${P}-gcc-4.7.patch" )
+
+src_install() {
+ qt4-r2_src_install
+
+ rm -rf "${ED}"usr/share/doc/${PN}
+ docinto examples
+ dodoc conf/okinddrc.{example,my} scripts/*
+ docompress -x /usr/share/doc/${PF}/examples
+}
+
+pkg_postinst() {
+ elog "You can find an example configuration file at"
+ elog " ${EROOT}usr/share/doc/${PF}/examples/okinddrc.example"
+ elog "It should be placed inside \${HOME}/.okindd/"
+}
diff --git a/x11-misc/openbox-menu/Manifest b/x11-misc/openbox-menu/Manifest
new file mode 100644
index 000000000000..7d6223080deb
--- /dev/null
+++ b/x11-misc/openbox-menu/Manifest
@@ -0,0 +1,6 @@
+AUX openbox-menu-0.5.0-build.patch 2004 SHA256 902e922f82bba5079c951c4b747e307a4004b0ce9f54ae46077664cb5a0c8af6 SHA512 52e425084837c1c198adbbb11b48ea59855ab5396159d45b01f55659bb2f506fd297ce4baebb544028df53063e8e9535129e049b47eff0f25917e81d20b93b97 WHIRLPOOL d92396834b9e64291d3bc6dc331c769f67ba5d1c8216506df6002b7e84560fee7ffca9b566a508690c0ed5aa3138ffaef78922ec4a784675fb6c93c7b0622077
+DIST openbox-menu-0.8.0.tar.bz2 24229 SHA256 14f1e0847c15112e9b48152a35e351500d31e79a514348b054c69f84ab5924c2 SHA512 955a5e16e7be001aec030358d3568aa6a3303d7138d6eb998494cd9ffa77de14ecf4bee163a9d49faf67939c85e303cbae51461f04f7eeaf44167a377c0f352d WHIRLPOOL 4f851b77c306de62eebad7f3c41b49e4ad784dc5ff92f3a079e60e0e420e284f72309556395c6db0014e8f24b1c9b5f3c83256b21d092b7c123f420def711f12
+EBUILD openbox-menu-0.8.0.ebuild 863 SHA256 1c450c7aba3ec30de7315ad84aa1477ed368efffe9f02e5c2873a0b0650c0bd0 SHA512 72e8228e4342dafc2d3f61f0e318c765e3c1687d31abab541fe8fb5c2045f9ac12cd4e7f19d921b1a5a8c98cacbec4b86b25534c58898ae4be9e4df86c354e3e WHIRLPOOL da93c86db8593885ce042395b5ff37a33c924064418be5c5356908b42314e12af684910df02cdf59fa9e98ca65eac943e09203548435de04eb72b4ff230eba9a
+MISC ChangeLog 3706 SHA256 378c28513b84a7c21c7428956c79864c4f436af12ceff0c0ee9436277d04e16e SHA512 d46c11a14692d408dad0c28f50516270257a5c4e0af06f5f978259be17a5916e317b02a0929c5a52839bf6793b9c678ffcdfbd103387c11fd40dd2077b1226af WHIRLPOOL de05c9450c75e4b0597e4349308ac80353982cf624474a433bededb58021dd819bff571c6f52770866c5d8397adf0bd8a86cd4c7ad74b5596f9172749cad173e
+MISC ChangeLog-2015 2029 SHA256 ffd971b069e775d39e58799595e27b457d6c7890c4f689a285b72a003cba35ee SHA512 edc44a4c6cb09f835a6f612256118124e3f164784850696681aacd3c303a4cca98aa437379d5a519f1f2a8e9672d3ec8c054e90a92d30babee8ae2b5e25fbc44 WHIRLPOOL 1c91403c47199a17da8e75cb863d90e8c48dbc569da9c938efc218f27b3dd54b0c3e366b444ff854151c4e8502773cd4601e31cabfd0c9b055297dd5565c6282
+MISC metadata.xml 674 SHA256 bd3a18126f9c36e90690df6ec69e3f693f375aff015909507c4e808c063c80d4 SHA512 bfc261259c62793a0feb740063a18bfc675d7f13745aedea341c0af7cb7e6673ebfe866d3285ecfa17ed4b00ae97bbeccb442bca506fd2e9f78a7880e1db2ed2 WHIRLPOOL 8fac5ec2b9fbcdae1b9fab49e6c0f3981609fc47ed5c7ab75bcc086d17c29a45faa84f6b5194b64c6465ef1145cb681a6d0a689e6b8c7f454306d4d437bb5b77
diff --git a/x11-misc/openbox-menu/files/openbox-menu-0.5.0-build.patch b/x11-misc/openbox-menu/files/openbox-menu-0.5.0-build.patch
new file mode 100644
index 000000000000..5750e982be10
--- /dev/null
+++ b/x11-misc/openbox-menu/files/openbox-menu-0.5.0-build.patch
@@ -0,0 +1,81 @@
+From: Julian Ospald <hasufell@gentoo.org>
+Date: Wed Aug 21 14:26:38 UTC 2013
+Subject: several QA fixes
+
+--- a/Makefile
++++ b/Makefile
+@@ -1,17 +1,27 @@
+-LIBS= `pkg-config --libs glib-2.0 gtk+-2.0 libmenu-cache`
+-CFLAGS+= -g -Wall `pkg-config --cflags glib-2.0 gtk+-2.0 libmenu-cache`
+-CC=gcc
++CC ?= gcc
++PKG_CONFIG ?= pkg-config
++
++CFLAGS ?= -O2 -g
++CFLAGS += -Wall $(shell $(PKG_CONFIG) --cflags glib-2.0 gtk+-2.0 libmenu-cache)
++LIBS += $(shell $(PKG_CONFIG) --libs glib-2.0 gtk+-2.0 libmenu-cache)
+ #-DG_DISABLE_DEPRECATED
+
+-# Comment this line if you don't want icons to appear in menu
+-CFLAGS+=-DWITH_ICONS
+-# Uncomment this line if Openbox can display SVG icons
+-# Check SVG support with '$ ldd /usr/bin/openbox | grep svg', librsvg must appear..
+-# CFLAGS+=-DWITH_SVG
+-
+-prefix= /usr/local
+-DESTDIR ?= $(prefix)
+-BINDIR= ${DESTDIR}/bin
++# set to 0 to turn off icons in menus
++ICONS=1
++
++# set to 0 to turn off svg icons in menus
++SVG_ICONS=1
++
++ifeq ($(SVG_ICONS),1)
++CPPFLAGS += -DWITH_SVG
++endif
++
++ifeq ($(ICONS),1)
++CPPFLAGS += -DWITH_ICONS
++endif
++
++prefix = /usr
++BINDIR = ${prefix}/bin
+
+ SRC= $(shell ls *.c 2> /dev/null)
+ OBJ= $(SRC:.c=.o)
+@@ -19,26 +29,29 @@
+ all: $(OBJ) openbox-menu
+
+ %.o: %.c
+- $(CC) $(CFLAGS) -c $< -o $@
++ $(CC) $(CFLAGS) $(CPPFLAGS) -c $< -o $@
+
+ openbox-menu: $(OBJ)
+- $(CC) $(OBJ) -o openbox-menu $(LDFLAGS) $(LIBS)
++ $(CC) $(CFLAGS) $(OBJ) -o openbox-menu $(LDFLAGS) $(LIBS)
+
+-.PHONY: clean install doc changelog check
++.PHONY: clean install install-strip doc changelog check
+
+ clean:
+ @rm -f *.o openbox-menu
+ @rm -rf doc
+
+ install:
++ @install -Dm 755 openbox-menu "$(DESTDIR)$(BINDIR)/openbox-menu"
++
++install-strip:
+ @strip -s openbox-menu
+- @install -Dm 755 openbox-menu $(BINDIR)/openbox-menu
++ @install -Dm 755 openbox-menu "$(DESTDIR)$(BINDIR)/openbox-menu"
+
+ doc:
+ robodoc --src . --doc doc/ --multidoc --index --html --cmode
+
+ check: openbox-menu
+- ./openbox-menu > test.xml
++ ./openbox-menu > test.xml
+ xmllint test.xml
+ rm test.xml
+
diff --git a/x11-misc/openbox-menu/metadata.xml b/x11-misc/openbox-menu/metadata.xml
new file mode 100644
index 000000000000..1636af995109
--- /dev/null
+++ b/x11-misc/openbox-menu/metadata.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+ <upstream>
+ <maintainer status="active">
+ <email>fabrice.thiroux@free.fr</email>
+ <name>Fabrice Thiroux</name>
+ </maintainer>
+ <doc lang="en">https://bitbucket.org/fabriceT/openbox-menu</doc>
+ <remote-id type="bitbucket">fabriceT/openbox-menu</remote-id>
+ </upstream>
+ <use>
+ <flag name="icons">Enable support for icons in menus</flag>
+ <flag name="svg">Support SVG icons</flag>
+ </use>
+</pkgmetadata>
diff --git a/x11-misc/openbox-menu/openbox-menu-0.8.0.ebuild b/x11-misc/openbox-menu/openbox-menu-0.8.0.ebuild
new file mode 100644
index 000000000000..e7513e44be67
--- /dev/null
+++ b/x11-misc/openbox-menu/openbox-menu-0.8.0.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Another dynamic menu generator for Openbox"
+HOMEPAGE="http://fabrice.thiroux.free.fr/openbox-menu_en.html"
+SRC_URI="https://bitbucket.org/fabriceT/${PN}/downloads/${P}.tar.bz2"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="+icons svg"
+REQUIRED_USE="svg? ( icons )"
+
+COMMON_DEPEND="
+ dev-libs/glib:2
+ lxde-base/menu-cache
+ x11-libs/gtk+:2
+"
+RDEPEND="
+ ${COMMON_DEPEND}
+ icons? ( x11-wm/openbox[imlib,svg?] )
+ !icons? ( x11-wm/openbox )
+"
+DEPEND="
+ ${COMMON_DEPEND}
+ virtual/pkgconfig
+"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-0.5.0-build.patch
+ epatch_user
+ tc-export CC PKG_CONFIG
+}
+
+src_compile() {
+ emake \
+ $(usex icons 'ICONS=1' 'ICONS=0') \
+ $(usex svg 'SVG_ICONS=1' 'SVG_ICONS=0')
+}
diff --git a/x11-misc/oroborus-deskmenu/Manifest b/x11-misc/oroborus-deskmenu/Manifest
new file mode 100644
index 000000000000..7b5683ddcc06
--- /dev/null
+++ b/x11-misc/oroborus-deskmenu/Manifest
@@ -0,0 +1,5 @@
+DIST deskmenu_1.4.5.tar.gz 127599 SHA256 a875ee1f7771233575d2662c94223a331985cf532843852ece1fd73f6a6c63f6 SHA512 a14ed2a346327be7eb8f80fecf808fa1a2abc8be13cae6d3948b29312120ef807be63776cbb6f8b6428bd84ac944fc2848daba30eaec51690f330fc7a2e0ed78 WHIRLPOOL ce9ca2fc305da12c1cce8062ae069a29864b802cb19fc71235cae7cdf6cb007e6c23e9d656b34d34fcb5f90504e59251997a9ae1e463f6355e7fd874e221db9e
+EBUILD oroborus-deskmenu-1.4.5-r1.ebuild 525 SHA256 24732904cc1a02713775ecda7d455477642de51f0f71e0d3a9b10ab6cdbeb07f SHA512 f415b72cdbc2e306e259bce7922171811ba9093a126ead2cfcd3f2cec25dea074671f1384a9cc382264fa784a65bfa01288f77979ef24899355835a12e2d8fb7 WHIRLPOOL 604f8a21f0f423671733acb66724c8e21fc11c241e388dc56c795706f0244f6d559985f50022b34b7c306bbf2d3d1f07ad730b75f91d0fdc9dcdcabf0bf250b6
+MISC ChangeLog 2552 SHA256 af7cf693de4c057864aa8749db1b50ae6675a3d88c2255d282b6c2fc99424dd2 SHA512 410b0dc0055401d718c981ecb615fc8730a4602745aaa8e098aee47fd810a9b5f6b5f7fef6243d58f736a85f19637ce61bf208864949ed4c4236c77c156d1606 WHIRLPOOL 8f4d1ddc0c0c11de55f802dc9d9f49d71ca021e105e2ae46783bc7df07617abaefd434a20235e891bc2029f76d7d5ad60d17ef17d7aa6af15a3e07a1f984fdf8
+MISC ChangeLog-2015 786 SHA256 daa812a9a4fd38fb34e90fcf0bc8511435341dfcdefae4f5afcf757324fd3543 SHA512 60bc55bc59ed940a429cf48c5496adfa9a091d3aab2c9e04018b6825e3514180f473f20de1326fdcd144565b634e6076e8efddf9f14e20a4e9c81f2636447b78 WHIRLPOOL 9cd03542d700875cb98f168ac84dee78e58253e80020ee33af15595424c8a8c4a47f1f2371b4869650e1cf045690d0d422211258413ec6f0dde641ad04c5a077
+MISC metadata.xml 442 SHA256 a64c97738d2d0083723132806cd847b0ab27a541c4682a6d06966bc1a3bac6e3 SHA512 3f004533a8c435ff70952071c88562528f4730c77d5cdb37948f368775b0e4bc71c165207dc66969fd99a8df0c78a79a3c91c272fbdd9657a090638449b8804b WHIRLPOOL 9f72c1377abd5bc4de50271e21312ff7fcb4442c10d9274d5a473ba0075657cc450056593604d2875d5918570ca5e55ae99f8257d51f4dcf1644291e738aac63
diff --git a/x11-misc/oroborus-deskmenu/metadata.xml b/x11-misc/oroborus-deskmenu/metadata.xml
new file mode 100644
index 000000000000..c546bdcab7d7
--- /dev/null
+++ b/x11-misc/oroborus-deskmenu/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<!-- maintainer-needed -->
+<longdescription>
+ DeskMenu is a root menu program which is activated by clicking the root window.
+ It is configured from a .deskmenurc file in your home directory. DeskMenu is
+ useful for window managers which do not provide a menu such as Oroborus.
+ </longdescription>
+</pkgmetadata>
diff --git a/x11-misc/oroborus-deskmenu/oroborus-deskmenu-1.4.5-r1.ebuild b/x11-misc/oroborus-deskmenu/oroborus-deskmenu-1.4.5-r1.ebuild
new file mode 100644
index 000000000000..460d8d55f097
--- /dev/null
+++ b/x11-misc/oroborus-deskmenu/oroborus-deskmenu-1.4.5-r1.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+MY_PN=${PN/oroborus-//}
+
+DESCRIPTION="root menu program for Oroborus"
+HOMEPAGE="http://www.oroborus.org"
+SRC_URI="mirror://debian/pool/main/d/${MY_PN}/${MY_PN}_${PV}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="=x11-libs/gtk+-2*
+ !x11-wm/oroborus-extras"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+S=${WORKDIR}/${MY_PN}-${PV}
+
+DOCS=( AUTHORS ChangeLog NEWS README TODO example_rc )
diff --git a/x11-misc/oroborus-keylaunch/Manifest b/x11-misc/oroborus-keylaunch/Manifest
new file mode 100644
index 000000000000..9c5caf66b467
--- /dev/null
+++ b/x11-misc/oroborus-keylaunch/Manifest
@@ -0,0 +1,5 @@
+DIST keylaunch_1.3.9.tar.gz 80286 SHA256 213da77e9263e6aa7edbb1204402ef55d5daff2cd66add2cacbf84a1206da1ef SHA512 9955bb913dec9c39aa4be86410229b2952738fca2c7a77f7d61d2750c880e4cbd59fd82979c441780b3a5aa5ce12b3a9863526f610feec5c5b30c65476c50c10 WHIRLPOOL c7b11a0422e78885559c989451149a02c9fe473085a8cead4eb04cc99f65eae18b5655f3a13f8dd296beb3e140cde46685c51b64ce23ae8ae791c55f3100be3d
+EBUILD oroborus-keylaunch-1.3.9-r1.ebuild 658 SHA256 64026b00d16c5fc6c5c3915e25613c3f43f4c0bee9d79151d8fb5394c698e239 SHA512 7e9d4ba391342fe9e9265cf25c513590209a272028d50c0863a68479e24c471e2d1269b999c1a457e02bf8c00401e00ea6de7a3a1d8fa24244fea29d6cc4c0b7 WHIRLPOOL 1c36f1cbb37beabcc38b5d69ec6d525d94aa490d6daf401576d9e995925cbb5af8ed8cece8694f4243160001eeca3cbdeb7be003da5fbbe245608e354fe758fb
+MISC ChangeLog 2555 SHA256 fe432b31271e905143c1987c1752bcaf29601e0115c1e5636b8a089846bfe1bf SHA512 8a8bb8dc009712da68b66aa8350d96ca3a4443b67dde3c0ead4a4209bf705ecc08dd7db7fab68c835e0b7d1ae8cde8251dc46a46bff27f759c37583e5371eae1 WHIRLPOOL a443cd025a9e0090841a29d72ffe172994d19ceec4bc2acb3b10998f194eb80669e4c2d8f604f8cd3d6d934b40e5e6f2c8066d2f785044e61afc622212f3e75d
+MISC ChangeLog-2015 805 SHA256 4c4819f2406c36c8dd99a9434b6a3c95d8c28265d79cfa3654ff372495dd5402 SHA512 9175338cd778937e5c6b13b3f47cb4ffe7623af19aca30ddecaf45b0669beda509d55ee48f896454bb4ecb171809f853a0b369e8ea994b3835c68ef6d2aafa98 WHIRLPOOL 4aa3df9124ea3dcaac20466d207a038754a138bdad421e56123ba6d54cfa8a495a09ea42f81e7a0062cee99d0f8490e8ebd533f5642e3a2f701bb5894fb70bc0
+MISC metadata.xml 408 SHA256 8f570b6248a07ffa993fb242f86028d1e2244196cd81dd8f71030619c82aaba4 SHA512 bb0f7d45a092d98e41860581daefc433d3d89e80acaf96c04240d6ee96288572a051f9deadcfad1d4d4c8ad0bbace7571ea59b57597ef68a542f9f08198a0aa0 WHIRLPOOL 95b3928015a708fd08dc77f6c5af0e435406322c28501cdc2cd4809a9255394d7b6951279e01b17f6af943b056d6369a5350cdf57488977f4bc7d7a92509d3f7
diff --git a/x11-misc/oroborus-keylaunch/metadata.xml b/x11-misc/oroborus-keylaunch/metadata.xml
new file mode 100644
index 000000000000..62de778f459e
--- /dev/null
+++ b/x11-misc/oroborus-keylaunch/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<!-- maintainer-needed -->
+<longdescription>
+ KeyLaunch is a small utility for binding commands to a hot key. It reads a configuration
+ file in ~/.keylaunchrc. KeyLaunch uses Ctrl, Alt and Shift as modifier keys,
+ the hotkey is up to the user.
+ </longdescription>
+</pkgmetadata>
diff --git a/x11-misc/oroborus-keylaunch/oroborus-keylaunch-1.3.9-r1.ebuild b/x11-misc/oroborus-keylaunch/oroborus-keylaunch-1.3.9-r1.ebuild
new file mode 100644
index 000000000000..b4f28a884834
--- /dev/null
+++ b/x11-misc/oroborus-keylaunch/oroborus-keylaunch-1.3.9-r1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+MY_PN=${PN/oroborus-//}
+
+DESCRIPTION="utility for binding keys in Oroborus"
+HOMEPAGE="http://www.oroborus.org"
+SRC_URI="mirror://debian/pool/main/k/${MY_PN}/${MY_PN}_${PV}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="x11-libs/libX11
+ !x11-wm/oroborus-extras"
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}/${MY_PN}-${PV}
+
+DOCS=( README docs/example_rc debian/changelog )
+
+src_prepare() {
+ default
+ sed -e "s: -g -O2 -Wall::" \
+ -e "/^install:/s/install-docs//" \
+ -i Makefile.in || die
+}
+
+src_compile() {
+ emake VERBOSE=1
+}
diff --git a/x11-misc/parcellite/Manifest b/x11-misc/parcellite/Manifest
new file mode 100644
index 000000000000..8c0107d07275
--- /dev/null
+++ b/x11-misc/parcellite/Manifest
@@ -0,0 +1,5 @@
+DIST parcellite-1.2.1.tar.gz 763956 SHA256 aba1c7c56c7607e219ce9855723eefa552c5376982891aefbfb5a2d3297ef046 SHA512 14b513e760e205666e00893dffb75ef3d42994aaeca3238b5adbed4af7495a7ed67cfabdcb163024fb9b0a7e832599bb31c54201217ac3fca88e0a4a22deb53d WHIRLPOOL 550faef0a810f9fcbc5d0a26355f9a47836b204a54be7e000d73a3e6193a3b5c1a8d04e31abdc7638bc5d5f4c43b305b292e0552c66e68a763876d0b0a7d65bd
+EBUILD parcellite-1.2.1.ebuild 902 SHA256 99dde2c5e6b750822732f142b1bd1fb46dab7689496625902d4378069fc41164 SHA512 d135a4a88af3a5f2da7c64b89e03406bd5f053f30ca168ccf8248e7e6c3468a9952796f973ea1c0a5182fd1e5df4ca4d283ef5e424660dadd859833e9a7e6a00 WHIRLPOOL 3a344ccc3d552b715f9eb667795f7cd906a080362ddeedb40f58ec686b8b0790b1a20da9a0b8524bbad1390eb0ac8907d96af16f079fcbd2a5637b6dde7fd46b
+MISC ChangeLog 2436 SHA256 53c54802f0ca1ee65480e70594616a05c0d595e9d02b5db8362207acf7a5e8ab SHA512 11c86714b383d46d457f2aee0b13411d4bdd5eb7c001d1fc3e79ae24fce6b5c69170ff770624b3335f1af5d2b2e9d3a617563ea2a34462ebd860a185e27ccf18 WHIRLPOOL 9935c5dddd515c8a3f0b811e7c1600ddc758daebe4469765265e6a140d322e48ab2e32d612d690a2897b45c2653133b630e08e2cdc801050cdaec28bcc308291
+MISC ChangeLog-2015 6299 SHA256 422d8b8c75bf7d1ea7c4fa51702ba55eb77a2ea271704d0f5ff1260b8c4ebfe3 SHA512 a5bffbbaafb9d6eaed79d43816705380893449c67b6cf75ab4caaa091fbc74e84125115e554021fa9b6c62ccbf13f18d79283e05eeb52ad66d27edd3254158dc WHIRLPOOL 27af2bacb9a0fb14e75fc0b7cd852eff236bb7a3a41b99f6c613ef02e394b9ec86b0455e545affbf32875528bd18ca344bcd01893a6c20db7f047a2cd1bc92b6
+MISC metadata.xml 356 SHA256 7ee6e2bbca246677894b6a5d08ed772ec0a6da33ba6358f1859057ca74180dc1 SHA512 fa6f71f1385257ab9df7e9236275f2f9fbe4c66828c9671a60ae40dae0d9c600113102f02de254c5c31ad99975e9738a2af50480822b9c3f9a7cb2be269a3385 WHIRLPOOL 13136e5e195036f17bf3527505cc4f1b6253df18fb3419f05e154695fc2a810dcb33312954bbb9258bd0124840f7a3e24e5e3468075d3d25ae7fa7041b4f4c4f
diff --git a/x11-misc/parcellite/metadata.xml b/x11-misc/parcellite/metadata.xml
new file mode 100644
index 000000000000..14527414d664
--- /dev/null
+++ b/x11-misc/parcellite/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">parcellite</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/parcellite/parcellite-1.2.1.ebuild b/x11-misc/parcellite/parcellite-1.2.1.ebuild
new file mode 100644
index 000000000000..8a87092b901d
--- /dev/null
+++ b/x11-misc/parcellite/parcellite-1.2.1.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit autotools eutils fdo-mime
+
+MY_P=${PN}-${PV/_}
+
+DESCRIPTION="A lightweight GTK+ based clipboard manager"
+HOMEPAGE="http://parcellite.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="nls"
+
+RDEPEND=">=dev-libs/glib-2.14
+ >=x11-libs/gtk+-2.10:2"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ nls? (
+ dev-util/intltool
+ sys-devel/gettext
+ )"
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ sed -i data/${PN}.desktop.in -e 's:Application;::g' || die
+
+ sed -i -e '/^ALL_LINGUAS=/d' configure.ac || die
+ strip-linguas -i po/
+ export ALL_LINGUAS="${LINGUAS}"
+
+ eautoreconf
+}
+
+src_configure() {
+ econf $(use_enable nls)
+}
+
+pkg_postinst() {
+ fdo-mime_desktop_database_update
+}
+
+pkg_postrm() {
+ fdo-mime_desktop_database_update
+}
diff --git a/x11-misc/pathfinder/Manifest b/x11-misc/pathfinder/Manifest
new file mode 100644
index 000000000000..40dea92ab69b
--- /dev/null
+++ b/x11-misc/pathfinder/Manifest
@@ -0,0 +1,5 @@
+DIST fox-1.7.49.tar.gz 5336321 SHA256 2435c56cde3ba6617c638af4f3bac39e8f4d5dd5a5c6d0805d274c7ba05c520c SHA512 da6c3478370f1e72091675e49f8458a6722eca4735bf89052b2b7ef02f4e74ee41f10c9fcc39a24a1571dd0bb1cdf779e9dea5bf15be20722ca783c9d59eb6e9 WHIRLPOOL 53ad3d34e57507702fc2ac9bd7b446021a99e3dff5b337cda090a670b06d4733abce2bbca88a7586e8af2d00f16ee84b0bd3c42f66fd6e430cc6d342bb76b1ff
+EBUILD pathfinder-1.7.49.ebuild 565 SHA256 1fbfe27f80444807b8e33126c80c796f28603228482937b47afc856d311f703a SHA512 33996f8d8b34cac1f25dddab363e124f57017de653c62af0812fbd28b9dbef6619247b8efe2fd0eb2678e5f59193a211598798e8868cebd156c8579ff4a28f15 WHIRLPOOL d8b96168863c34f1f93e7f58106ae05e82faa299cbeb39b79a9d1dc219b0efde8e9e2d78fd7f852c9c031aa337835786366d1a91ac835d49875018ea84151273
+MISC ChangeLog 3362 SHA256 e30dfbe4f780ee1c6780d758df0adf70cfe7aea1f38fbb1fac89c18989ca2ffb SHA512 cc41ddabcb2aae7d2fde3b9ed81a636ce1aced24e0cae8cf5baf182759883baf89877f798a9d43b1b2301a6d1f0d504542c316bac48080f74ae4b0ea7adf2dec WHIRLPOOL a82309ed9bb22db90e0fc7b68a4ba4c386311a627ee03ee7ee7a779cca6e855ecd2663f5facdfd74394000456ffd3ecbd41429d84bd3f923327d5d1c67996257
+MISC ChangeLog-2015 6363 SHA256 002830c369c881ea0f70bca3cf7cfa1ac17fd299795bc4e5de429ee24a4941da SHA512 c73d3a53c443fe9c8d35ecb2d40e5d24b62e8e0a57ca291c392b2dd289649083249f4cc693f8af1f18ad702987f595b2e0dcbcc409a92c99fb5fd39b98175463 WHIRLPOOL 1b8e63c6380c9e2d48b0cc152ac79b8582b1085293e167f0c25f9859b40f1df5cba359c72055af6af712b9dc691cd2882fbf5172fc0211608bba08523876188f
+MISC metadata.xml 139 SHA256 5cdc1888ebc8807b9a37b1d33429c61cabe7415a4f240e21a4c2ff8eca7a34ed SHA512 8be912ace7468a4396eb1da00a9785030a8ce35da4357a01591876a1056fd45e44da65de2af3e1eb0506ce6551714962c40c3ae5a3aefa2ad231de35af2519be WHIRLPOOL 620431014dd4fb752c3d46d11904ecb2c6d4525f5b4e30f4f778a3b74d3f7187ae4ccd856ebd7eabb48ce261b21849c732928fe647edce024a3fdc082d8f8630
diff --git a/x11-misc/pathfinder/metadata.xml b/x11-misc/pathfinder/metadata.xml
new file mode 100644
index 000000000000..097975e3adc2
--- /dev/null
+++ b/x11-misc/pathfinder/metadata.xml
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+</pkgmetadata>
diff --git a/x11-misc/pathfinder/pathfinder-1.7.49.ebuild b/x11-misc/pathfinder/pathfinder-1.7.49.ebuild
new file mode 100644
index 000000000000..2f71efdff41c
--- /dev/null
+++ b/x11-misc/pathfinder/pathfinder-1.7.49.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+inherit fox
+
+DESCRIPTION="File manager based on the FOX Toolkit"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha amd64 ~hppa ppc ~ppc64 ~sparc x86"
+IUSE="+jpeg +png +tiff"
+
+DEPEND="
+ x11-libs/fox:1.7
+ x11-libs/libICE
+ x11-libs/libSM
+ jpeg? ( virtual/jpeg )
+ png? ( media-libs/libpng:0 )
+ tiff? ( media-libs/tiff:0 )"
+
+RDEPEND="${DEPEND}"
+
+src_configure() {
+ FOXCONF="$(use_enable jpeg) \
+ $(use_enable png) \
+ $(use_enable tiff)" fox_src_configure
+}
diff --git a/x11-misc/pcmanfm-qt/Manifest b/x11-misc/pcmanfm-qt/Manifest
new file mode 100644
index 000000000000..9dd623104447
--- /dev/null
+++ b/x11-misc/pcmanfm-qt/Manifest
@@ -0,0 +1,7 @@
+DIST pcmanfm-qt-0.10.0.tar.xz 228540 SHA256 254c1da0d3fce2ab0a03b21861191b0875ce43382c74d3abbfa8f3dc88a080a4 SHA512 1b4ec2a746767e28a851f702a6a0897327cefe08b06cb25d63a1c9dddaed4aeefdbe25ee7d6431c94266e0071d5d25e3591c588c484ad097b10ce601e9a18201 WHIRLPOOL b7bc8bac83ed033869b4167638550f404b03604fa6d39b7b8ed01831a889b1ced64b8a78f360e3170f3fd00ede61d398f1cf73b26c09fc6d5ab3da8992c575e6
+DIST pcmanfm-qt-0.11.1.tar.xz 92916 SHA256 fd035da1f74506f2897fc94b874def521a88a2f4f82c7eea1eb406375a2571fa SHA512 860a0853b6c42e04ba6cdbe617d4c5f61e0033c9ae5483c5b8a457368fe23084af813feab5fa50accecc8d21055a5ef073731b94ea3eb4b3ca6eacb0dbe41450 WHIRLPOOL 08d1d30574e1b5a59550ef6da17bca73df203463322462dcf3cbd2cc63b0143fecfc29916dad313be081eb0a79095a20df7bd2e902dbb47af55d618a108f5dc4
+EBUILD pcmanfm-qt-0.10.0.ebuild 1208 SHA256 d66cfc2f68758f96161c3ce0ebe3f86d33c399cbf2731e6d0825a1a9a7755636 SHA512 48f4ae63e76eb8dfae42dcacd86a7d3c3a3f0092e087871278ebee01f43d3d95d31196fb416b967a51fa709fe9a83bea8b597f72297d1426693fae1747a0ce65 WHIRLPOOL 55bf233b499cefea58d17314de72fff9f690e5cf6690b81976599ce3be564dd6b94a7e10a81d143fc4e7e55bc181d559742644701b4e56c34b745248328c12ca
+EBUILD pcmanfm-qt-0.11.1.ebuild 973 SHA256 f518894ea9652e3a2de215c1076d18ee9b3a46c8d7d700099ed42480d3bd952b SHA512 97ab62dccf39d7ed714c71de41a164ca745f2d7c75b2ed47facf4af48ed7ad23140dca89a09901bd4e891295e45c6f8f77f2e2c39b823da6e1600689ce82dddf WHIRLPOOL 769c55c8e318ab0a07fcfbd7a09280783be7e69f0aaedb3e00a6e6e2fce87de369b4a526a961d955d0ccfcac8185a163f9611f7853dd059d1bba318aeed26afc
+MISC ChangeLog 4464 SHA256 b2999678e7de1a9df6b5449b977c2e2a4c102815b684e254711e46799c61f470 SHA512 77f83e1247c8e15ef48737e880051a157f653d1c5c455fc1976772c025adaa03e49e563a7d74c4c3b454e93851fb508adb99c66484c176c041e57ab3943c6416 WHIRLPOOL ac57c15da19f867614540e2efcb398e11ef3d0c7bad6f1eac64760ebcceb8fc99288bc5d3717d4e9b144ac238a94469bbb1d0dfc35ae7920ddf45f107c9a5aac
+MISC ChangeLog-2015 1449 SHA256 39541c960d97065df04038b3dc537b6d1713f807f8b2b203565a03be715f4cfe SHA512 8c6c2138879e37d339df221485c22837b592ce64a944cd109531973933006521800f4361be67ec91c46212778a8d5f9aa8ad40a03fbdc12a4000faf4527c70ef WHIRLPOOL 4c46ea09fabcb9460efdc1a3f72f5b63bb72ad92e9e7cb9364ed96bd377c0e678b47af040bb4a08ac367aa63d04880f72379ceaa28fc59d1aac73d79df6a3d1f
+MISC metadata.xml 380 SHA256 c4bd209ace427b82251f3dc101b74d5b34f98bfe72b76b7ee80a1ebf895428a6 SHA512 2e8cb06bf3dd84a80a12c072f3493b4cfd5a0f0d92a7809da89d059d71a012b536996e0a3ce6732e131f423fead8b93d413c090ce9cc439f812df5b3b32f77fd WHIRLPOOL d1a7ddc2ec33f4521e9a1b6b668af5dcfae40c5b298957086c12f7b96c7d945c384b83cac32338c6e6a0e78cfab2a0650b8b27778b9aa7cea882097846329296
diff --git a/x11-misc/pcmanfm-qt/metadata.xml b/x11-misc/pcmanfm-qt/metadata.xml
new file mode 100644
index 000000000000..5a72fc7c7f85
--- /dev/null
+++ b/x11-misc/pcmanfm-qt/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>lxqt@gentoo.org</email>
+ <name>LXQt</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">pcmanfm</remote-id>
+ <remote-id type="github">lxde/pcmanfm-qt</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/pcmanfm-qt/pcmanfm-qt-0.10.0.ebuild b/x11-misc/pcmanfm-qt/pcmanfm-qt-0.10.0.ebuild
new file mode 100644
index 000000000000..ab3cd6f7eb53
--- /dev/null
+++ b/x11-misc/pcmanfm-qt/pcmanfm-qt-0.10.0.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit cmake-utils multilib readme.gentoo
+
+if [[ "${PV}" == "9999" ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="git://git.lxde.org/git/lxde/${PN}"
+else
+ SRC_URI="https://downloads.lxqt.org/lxqt/${PV}/${P}.tar.xz"
+ KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+fi
+
+DESCRIPTION="Fast lightweight tabbed filemanager (Qt port)"
+HOMEPAGE="http://pcmanfm.sourceforge.net/"
+
+LICENSE="GPL-2 LGPL-2.1+"
+SLOT="0"
+
+CDEPEND=">=dev-libs/glib-2.18:2
+ dev-qt/qtcore:5
+ dev-qt/qtdbus:5
+ dev-qt/qtgui:5
+ dev-qt/qtwidgets:5
+ dev-qt/qtx11extras:5
+ >=lxde-base/menu-cache-0.4.1
+ >=x11-libs/libfm-1.2.0
+ x11-libs/libxcb:=
+"
+RDEPEND="${CDEPEND}
+ x11-misc/xdg-utils
+ virtual/eject
+ virtual/freedesktop-icon-theme"
+DEPEND="${CDEPEND}
+ dev-qt/linguist-tools:5
+ >=dev-util/intltool-0.40
+ sys-devel/gettext
+ virtual/pkgconfig"
+
+src_prepare() {
+ # fix multilib
+ sed -i -e "/LIBRARY\ DESTINATION/s:lib:$(get_libdir):" \
+ libfm-qt/CMakeLists.txt || die
+ cmake-utils_src_prepare
+}
+
+src_install() {
+ cmake-utils_src_install
+ DOC_CONTENTS="Be sure to set an icon theme in Edit > Preferences > User Interface"
+ readme.gentoo_src_install
+}
diff --git a/x11-misc/pcmanfm-qt/pcmanfm-qt-0.11.1.ebuild b/x11-misc/pcmanfm-qt/pcmanfm-qt-0.11.1.ebuild
new file mode 100644
index 000000000000..e8cf21ba1580
--- /dev/null
+++ b/x11-misc/pcmanfm-qt/pcmanfm-qt-0.11.1.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils
+
+if [[ "${PV}" == "9999" ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="git://git.lxde.org/git/lxde/${PN}"
+else
+ SRC_URI="https://github.com/lxde/${PN}/releases/download/${PV}/${P}.tar.xz"
+ KEYWORDS="~amd64 ~arm64 ~x86"
+fi
+
+DESCRIPTION="Fast lightweight tabbed filemanager (Qt port)"
+HOMEPAGE="https://wiki.lxde.org/en/PCManFM"
+
+LICENSE="GPL-2+"
+SLOT="0"
+
+CDEPEND=">=dev-libs/glib-2.18:2
+ dev-qt/qtcore:5
+ dev-qt/qtdbus:5
+ dev-qt/qtgui:5
+ dev-qt/qtwidgets:5
+ dev-qt/qtx11extras:5
+ >=x11-libs/libfm-1.2.0:=
+ x11-libs/libfm-qt:=
+ x11-libs/libxcb:=
+"
+RDEPEND="${CDEPEND}
+ x11-misc/xdg-utils
+ virtual/eject
+ virtual/freedesktop-icon-theme"
+DEPEND="${CDEPEND}
+ dev-qt/linguist-tools:5
+ >=dev-util/intltool-0.40
+ sys-devel/gettext
+ virtual/pkgconfig"
+
+src_configure() {
+ local mycmakeargs=(
+ -DPULL_TRANSLATIONS=NO
+ )
+
+ cmake-utils_src_configure
+}
diff --git a/x11-misc/pcmanfm/Manifest b/x11-misc/pcmanfm/Manifest
new file mode 100644
index 000000000000..e4e1986c5be6
--- /dev/null
+++ b/x11-misc/pcmanfm/Manifest
@@ -0,0 +1,9 @@
+AUX pcmanfm-1.2.5-CVE-2017-8934.patch 1451 SHA256 4ca770965b65ef2e9eca4432351bea7a53750fec2ff8f903306a2d79a6a8e645 SHA512 1ae582c72dbf4e57cda84df07348414567ed4c4f39b3b6df96a4732b926c502735bfc2c6c62e6e987efd63d21526cb63eb4665d00f0eb7338acd8de1684c36b4 WHIRLPOOL 130cc1195a8a58f12a22046245086d9c1b8a36db0f38002930793a5536c1a1b61040cee2505a87d351ad0068825bcbecabd7e703ca62403e55879a7ccf2c4fd9
+DIST pcmanfm-1.2.3.tar.xz 406756 SHA256 cfa8d82fc63be147045174bef074807e1e32ce8c6bf4dbd8fad49e260bcf6380 SHA512 b350566c3aee0fe857ed1f0df2ae7d2ce51caf1547b951b380145078ba60f2fe6e0490c4d4c19465c5b1e0a9966205db6f8fe4dafb7cb3e987b9157551df2b28 WHIRLPOOL b342745086bf00e294cf40115c08f63ee99bb67c7f4cb4a6527b56bc3c26f85f93953a4655d91c1186335872342ef05362530f56c865fe5e46d8220a02cc781a
+DIST pcmanfm-1.2.5.tar.xz 417808 SHA256 0c86cac028b705ff314c7464d814c2cf7ff604c17491c20aa204b1ef1a80ad67 SHA512 ce53315483f58361c5a7797bdca355dbbedc2cf3907d319c7c65be844ea74ed297497dc3183c903e06b8294f6301d19347f6b9871e34bf773c04ff4fb8ab32f3 WHIRLPOOL b1276442bd322fa9f0babcfe114e66df64f98a7140a9fca64a690bdd4076d1c1df96592542962c51f52d18f9cda03a794d17fcf46375ccfdfecb301b5f4fb663
+EBUILD pcmanfm-1.2.3.ebuild 1536 SHA256 743490609c547a17dc8a9fddcaba03ec96b433ad2371b5de4e202993792334d6 SHA512 9f7ae35619fabcfe21a50054dc98c5f0de11fbd920ff630661a369491cf34cacbde83e59fcee176f83353d174b82560342836309d1bba6db75a73edfe5ce4ca2 WHIRLPOOL f0fa88746b3b9a6f7caea9b45f2867118bacb551410a88070693a4b431736136035360be54eca8ff98d484932fe4b805c26e5dcc45dc8a4908ed322ce0d5e3de
+EBUILD pcmanfm-1.2.5.ebuild 1642 SHA256 3996172f0fc095a02846cffc8c3c3cf294c9a9f4463f643ca806bc859f2ff310 SHA512 13d97a6ad4cc4cd0c1729ff6748c35e8cca7945b93458623346f6a76af365d5fe19cd78312a06c2b8ab1809ef54d2705b245f0efc35f924f5750a6b19900b022 WHIRLPOOL 7a5806cc42d2bf72e62bbf7547514a8a1e384263e07587846618734e7962466a8bd42e42f51b95c32ad2562b30ae50499eabe21a03fb1ffbdda983912009f9fb
+EBUILD pcmanfm-9999.ebuild 1775 SHA256 0dd88f3817b6a2d8acce8daba8212e99bbc550dd764329c97bf547e466b79980 SHA512 26f93d3282f02f9616e3c49cb5105956130bbbeba6b9c12feb5c5caaea6883b8d180ff11b491c6b914063550d0153ee89ef1be58528b0b4615bd315a8d37ff2a WHIRLPOOL d9f69f176a2ecb0e03d59846924e6196f34c4cc8006f5ee87e0fd956c9459499963307ba938dba263f23c30237f7662410fbc96f1fb5d70134e62583fa891edd
+MISC ChangeLog 4139 SHA256 6ebf5cbd59429bfe4852506639014ecb8687d39614003b74978d05950a13a259 SHA512 0250ee4e231664786aac787afe9c2fdd29a7aec760a6063cf8567bd2149989954853b1c58b1b040b3ec5c725a1618cc483d38cfb03f5aa3b5df9fb43608b0e9d WHIRLPOOL d47d7d3dd7f1ecb63d06ce8af4d4d8b133fc9b799fe74cb152e48288252f5a73cf61b4976b06f8a0ea60a533de199bd010fed2fbf05d825f81b4eeb7466f7b55
+MISC ChangeLog-2015 16066 SHA256 6734fceb80706892f3eca15c8a5672b54081ff550925557eaf4c18a11a905b98 SHA512 a3fcbe8312e26f056c43dbbb10d5e546402498d178d2057c9c9f24fe2b1cad0f4cc171d518e32c5a0da2453117762899c96a7f2ca4aad2b53f1e91158da6805a WHIRLPOOL 5ee1b0d0a9fe939ee2bb6392eea4d16941746bd8f5f3c742576d4b61f5fcf13b4ae22a1797a2e19a16267d631ef04c891ae7623f64b2fe5468bec7f54b4318de
+MISC metadata.xml 455 SHA256 e531ea1e3d7ee39199a68aa08a19251a5081624465bb8ffc29449bb392e576f6 SHA512 41bcf6db377068ea7a0b678fb765cc33433e5d749e563f2bbe55edd02377cde79a5c15339f81ebb1609f1f14b50186a5d03d23ab100064cbc7841e26efee723d WHIRLPOOL c1ff8e4ad6d30d15aad2a99edbdc9d4e8749a28942ded818ea2d00aa7a038be3924f84287f6d44202b6c73f32a495d256dd6be06b70c2306e76279bb3c0756d7
diff --git a/x11-misc/pcmanfm/files/pcmanfm-1.2.5-CVE-2017-8934.patch b/x11-misc/pcmanfm/files/pcmanfm-1.2.5-CVE-2017-8934.patch
new file mode 100644
index 000000000000..2acd91bffe24
--- /dev/null
+++ b/x11-misc/pcmanfm/files/pcmanfm-1.2.5-CVE-2017-8934.patch
@@ -0,0 +1,40 @@
+# index 8c2049a..876f7f3 100644 (file)
+# --- a/NEWS
+# +++ b/NEWS
+# @@ -1,3 +1,7 @@
+# +* Fixed potential access violation, use runtime user dir instead of tmp dir
+# + for single instance socket.
+# +
+# +
+# Changes on 1.2.5 since 1.2.4:
+
+ * Removed options to Cut, Remove and Rename from context menu on mounted
+diff --git a/src/single-inst.c b/src/single-inst.c
+index 62c37b3..aaf84ab 100644 (file)
+--- a/src/single-inst.c
++++ b/src/single-inst.c
+@@ -2,7 +2,7 @@
+ * single-inst.c: simple IPC mechanism for single instance app
+ *
+ * Copyright 2010 Hong Jen Yee (PCMan) <pcman.tw@gmail.com>
+- * Copyright 2012 Andriy Grytsenko (LStranger) <andrej@rep.kiev.ua>
++ * Copyright 2012-2017 Andriy Grytsenko (LStranger) <andrej@rep.kiev.ua>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+@@ -404,11 +404,16 @@ static void get_socket_name(SingleInstData* data, char* buf, int len)
+ }
+ else
+ dpynum = 0;
++#if GLIB_CHECK_VERSION(2, 28, 0)
++ g_snprintf(buf, len, "%s/%s-socket-%s-%d", g_get_user_runtime_dir(),
++ data->prog_name, host ? host : "", dpynum);
++#else
+ g_snprintf(buf, len, "%s/.%s-socket-%s-%d-%s",
+ g_get_tmp_dir(),
+ data->prog_name,
+ host ? host : "",
+ dpynum,
+ g_get_user_name());
++#endif
+ }
diff --git a/x11-misc/pcmanfm/metadata.xml b/x11-misc/pcmanfm/metadata.xml
new file mode 100644
index 000000000000..1c94949f8700
--- /dev/null
+++ b/x11-misc/pcmanfm/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>hwoarang@gentoo.org</email>
+ <name>Markos Chandras</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>lxde@gentoo.org</email>
+ <name>Gentoo LXDE Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">pcmanfm</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/pcmanfm/pcmanfm-1.2.3.ebuild b/x11-misc/pcmanfm/pcmanfm-1.2.3.ebuild
new file mode 100644
index 000000000000..a15faa771fe8
--- /dev/null
+++ b/x11-misc/pcmanfm/pcmanfm-1.2.3.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+PLOCALES="ar be bg bn ca cs da de el en_GB es et eu fa fi fo fr gl he hr hu id
+is it ja kk km ko lg lt lv ms nl pa pl pt pt_BR ro ru si sk sl sr sr@latin sv
+te th tr tt_RU ug uk vi zh_CN zh_TW"
+PLOCALE_BACKUP="en_GB"
+
+inherit eutils fdo-mime l10n readme.gentoo
+
+MY_PV="${PV/_/}"
+MY_P="${PN}-${MY_PV}"
+
+DESCRIPTION="Fast lightweight tabbed filemanager"
+HOMEPAGE="https://wiki.lxde.org/en/PCManFM"
+SRC_URI="https://dev.gentoo.org/~hwoarang/distfiles/${MY_P}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha amd64 arm ~arm64 ~mips ppc x86"
+IUSE="debug"
+
+RDEPEND=">=dev-libs/glib-2.18:2
+ >=x11-libs/gtk+-2.16:2
+ >=lxde-base/menu-cache-0.3.2
+ x11-misc/shared-mime-info
+ >=x11-libs/libfm-${PV}:=[gtk(+)]
+ virtual/eject
+ virtual/freedesktop-icon-theme"
+DEPEND="${RDEPEND}
+ app-arch/xz-utils
+ >=dev-util/intltool-0.40
+ virtual/pkgconfig
+ sys-devel/gettext"
+
+S="${WORKDIR}"/${MY_P}
+
+DOCS=( AUTHORS )
+
+DOC_CONTENTS="PCmanFM can optionally support the menu://applications/
+ location. You should install lxde-base/lxmenu-data for that functionality."
+
+src_prepare() {
+ export LINGUAS="${LINGUAS:-${PLOCALE_BACKUP}}"
+ l10n_get_locales > "${S}"/po/LINGUAS
+ epatch_user
+}
+
+src_configure() {
+ econf --sysconfdir=/etc $(use_enable debug)
+}
+
+pkg_postinst() {
+ fdo-mime_desktop_database_update
+ fdo-mime_mime_database_update
+ readme.gentoo_print_elog
+}
+
+pkg_postrm() {
+ fdo-mime_desktop_database_update
+ fdo-mime_mime_database_update
+}
diff --git a/x11-misc/pcmanfm/pcmanfm-1.2.5.ebuild b/x11-misc/pcmanfm/pcmanfm-1.2.5.ebuild
new file mode 100644
index 000000000000..165284c0435a
--- /dev/null
+++ b/x11-misc/pcmanfm/pcmanfm-1.2.5.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PLOCALES="ar be bg bn ca cs da de el en_GB es et eu fa fi fo fr gl he hr hu id
+is it ja kk km ko lg lt lv ms nl pa pl pt pt_BR ro ru si sk sl sr sr@latin sv
+te th tr tt_RU ug uk vi zh_CN zh_TW"
+PLOCALE_BACKUP="en_GB"
+
+inherit eutils fdo-mime l10n readme.gentoo-r1
+
+MY_PV="${PV/_/}"
+MY_P="${PN}-${MY_PV}"
+
+DESCRIPTION="Fast lightweight tabbed filemanager"
+HOMEPAGE="https://wiki.lxde.org/en/PCManFM"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~mips ~ppc ~x86"
+IUSE="debug"
+
+RDEPEND=">=dev-libs/glib-2.18:2
+ >=x11-libs/gtk+-2.16:2
+ >=lxde-base/menu-cache-0.3.2
+ x11-misc/shared-mime-info
+ >=x11-libs/libfm-${PV}:=[gtk(+)]
+ virtual/eject
+ virtual/freedesktop-icon-theme"
+DEPEND="${RDEPEND}
+ app-arch/xz-utils
+ >=dev-util/intltool-0.40
+ virtual/pkgconfig
+ sys-devel/gettext"
+
+S="${WORKDIR}"/${MY_P}
+
+PATCHES=( "${FILESDIR}"/${PN}-1.2.5-CVE-2017-8934.patch )
+
+src_prepare() {
+ default
+
+ export LINGUAS="${LINGUAS:-${PLOCALE_BACKUP}}"
+ l10n_get_locales > po/LINGUAS || die
+}
+
+src_configure() {
+ econf \
+ --sysconfdir="${EPREFIX}"/etc \
+ $(use_enable debug)
+}
+
+src_install() {
+ default
+
+ local DOC_CONTENTS="PCmanFM can optionally support the menu://applications/
+ location. You should install lxde-base/lxmenu-data for that functionality."
+ readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+ fdo-mime_desktop_database_update
+ fdo-mime_mime_database_update
+ readme.gentoo_print_elog
+}
+
+pkg_postrm() {
+ fdo-mime_desktop_database_update
+ fdo-mime_mime_database_update
+}
diff --git a/x11-misc/pcmanfm/pcmanfm-9999.ebuild b/x11-misc/pcmanfm/pcmanfm-9999.ebuild
new file mode 100644
index 000000000000..d721dbfcaf5b
--- /dev/null
+++ b/x11-misc/pcmanfm/pcmanfm-9999.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PLOCALES="ar be bg bn ca cs da de el en_GB es et eu fa fi fo fr gl he hr hu id
+is it ja kk km ko lg lt lv ms nl pa pl pt pt_BR ro ru si sk sl sr sr@latin sv
+te th tr tt_RU ug uk vi zh_CN zh_TW"
+PLOCALE_BACKUP="en_GB"
+
+inherit autotools eutils fdo-mime l10n readme.gentoo-r1
+
+if [[ ${PV} == *9999* ]]; then
+ EGIT_REPO_URI="git://git.lxde.org/git/lxde/${PN}"
+ inherit git-r3
+ KEYWORDS=""
+else
+ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.xz"
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~mips ~ppc ~x86"
+fi
+
+MY_PV="${PV/_/}"
+MY_P="${PN}-${MY_PV}"
+
+DESCRIPTION="Fast lightweight tabbed filemanager"
+HOMEPAGE="https://wiki.lxde.org/en/PCManFM"
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="debug"
+
+RDEPEND=">=dev-libs/glib-2.18:2
+ >=x11-libs/gtk+-2.16:2
+ >=lxde-base/menu-cache-0.3.2
+ x11-misc/shared-mime-info
+ >=x11-libs/libfm-${PV}:=[gtk(+)]
+ virtual/eject
+ virtual/freedesktop-icon-theme"
+DEPEND="${RDEPEND}
+ app-arch/xz-utils
+ >=dev-util/intltool-0.40
+ virtual/pkgconfig
+ sys-devel/gettext"
+
+S="${WORKDIR}"/${MY_P}
+
+src_prepare() {
+ default
+
+ intltoolize --force --copy --automake || die
+ eautoreconf
+
+ export LINGUAS="${LINGUAS:-${PLOCALE_BACKUP}}"
+ l10n_get_locales > po/LINGUAS || die
+}
+
+src_configure() {
+ econf \
+ --sysconfdir="${EPREFIX}"/etc \
+ $(use_enable debug)
+}
+
+src_install() {
+ default
+
+ local DOC_CONTENTS="PCmanFM can optionally support the menu://applications/
+ location. You should install lxde-base/lxmenu-data for that functionality."
+ readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+ fdo-mime_desktop_database_update
+ fdo-mime_mime_database_update
+ readme.gentoo_print_elog
+}
+
+pkg_postrm() {
+ fdo-mime_desktop_database_update
+ fdo-mime_mime_database_update
+}
diff --git a/x11-misc/peksystray/Manifest b/x11-misc/peksystray/Manifest
new file mode 100644
index 000000000000..54d49f26fa5e
--- /dev/null
+++ b/x11-misc/peksystray/Manifest
@@ -0,0 +1,8 @@
+AUX peksystray-0.4.0-asneeded.patch 790 SHA256 e0e7d4101dccf80f081ccdda3d64a4a77de36be49a06dc6b68e02b6fdcc4b13b SHA512 024ca181bf0ee5a2577000f9951108e2021f10130064aa89dca48f77a058471e55b5ab8c46d3dc06a54e9d4fa269fb510f262d2b456510a687d9633558dc7b3c WHIRLPOOL 4cdc493c64ee9720ee07bc81f95fe55787250cf41697045c3320423322ff25dc8525c2765ee424a7835194930b5e9e665fcdab9843c79ead78086f6ac0f33b35
+DIST peksystray-0.2.1.tar.gz 70261 SHA256 1642322c50c893467c0e48ed0ced258e17e0df5c2f0415d6dcf4fe906f530793 SHA512 c52fa6b7c8d5c57831fba993e85eb153d9b03ec04149b4d081bdde4854b099ccb423bb2e6eb36420093918f57449d208ed20dcca17344115eb989a095b69cbb2 WHIRLPOOL 7497956238ff86ba6328896688941ec476e738809faafef83d97c032511e5dbde4e70e2fd7ca298a5cf2e7d12217a2c05cd12276380a40c8e1c35e5ef93aaf46
+DIST peksystray-0.4.0.tar.bz2 73810 SHA256 30733b349bc7919171a6fa31023c8704eaae9158084a5210d49aa3210123a778 SHA512 9dc5d1df630b7447575011e971a9657a5987bdd6098c81444b7579c46bfd7747f4df18fa00376e70b046c52ae7ca95d6cb66ce8a57070795f2f8d497fa025341 WHIRLPOOL b994c1da8168edccd1ca85178319d6b01760d389caa75c98b0e7fd90adfe9f0c6c3fd7929125544b186848783040313643d8272832a95ed4b5dc5e0740bf6f54
+EBUILD peksystray-0.2.1.ebuild 598 SHA256 ad16450a4ccbc5e7b99284c933e9d6dd27d1234d961d715de43d24c51021b861 SHA512 1f05fa97cdf9113ba1e8470303c08ada3732d6b2fcfb0fc7248ff5fc18104372a5496f53aa8fb6025fface70d4c7b4300d09a8ef48ba1821b959ad789dc32e5e WHIRLPOOL 228c8095390946930443859334ae1ecb56d31dc5cdd2d3b343971d513e6529c5e08b3f95e34c8c4756306ad9e25c301e6605c97d70e11f10190d0beabeb81578
+EBUILD peksystray-0.4.0.ebuild 599 SHA256 7938b665944d5af90f5ef221ec802b2b4a0e60cdbc0756ae3f3c7ced107f17fd SHA512 fbac0c6e86d06bff77f5134c7e05ac44e6a3125528cb6c99ee9b6793c1dfdd5f9976335a179235171a45067b15941f91f6a483b8ea89f7204c191626ecc214a2 WHIRLPOOL 43c234b32e606b3d3473fcce4efc44db01516cceaec2f3c6b79595e26d3fc1e0bdf3b14df6994429ef886e45da6977f99a6285521fb6ff4c0c1ea5e22e02e774
+MISC ChangeLog 3175 SHA256 5b34d5ff976cfe9208111dbf23f316a5b8a7a9b96b401a0658fb2c035443f30d SHA512 c4309d550dbbafa6b069bef407dcf5c2522f91006cb82f6146c6792711ac5f570b1c89cc3a887016473cc6d1deae411af3acbf56729c5e3580c5593eaaffb659 WHIRLPOOL b82da6f85f337c6f4036a3a403c875be0fd9c5d950323aaf11e43fb19a3133c3fa0c0e80dfe1a2b6037c9733cee6f8992a975c4fe4ef91e07d8ba313ffe30e7e
+MISC ChangeLog-2015 2791 SHA256 ef77d11ddb806b8cccffb9a05ea8b9e7ac9276b3bdddbb8eee3caeae6b3d01b2 SHA512 c5c0b7c8a8973be198aa0c8ff86e9e30d3251e101e60467159b869b964bff8197459ab5465d2ac8b2f008ccf366fb6905381065ffb40e6d75c55d31745f8a78d WHIRLPOOL 406465cd6afc7bb6b72097e1a999ec4852078ae41b888fcec035a949ac8e30f1847cef91f5d76aa2c2cef39ae3062249c68b104866ca05c9e4154ac79d076a97
+MISC metadata.xml 300 SHA256 13954d19eeea8bbabf6ebb7c95845e721296ad2b62435a3fafc3b1c2cb76c20d SHA512 9a298c4fd2d42e5f14b22502fc97899123eb6bfa42143a1efd7df086c2bd97030ab04a731839e787774b216e08cbf829d7c9802b15a0a9ed412e94455e52f484 WHIRLPOOL 83fb722a8ef855f85ab37d4af54396ad99fad1d5dcd5f8a9f7b7fee46fb0c12a5ab6747d54cb075c55dd5436802ceb0b11914554e69599e88289b3aa07fc165c
diff --git a/x11-misc/peksystray/files/peksystray-0.4.0-asneeded.patch b/x11-misc/peksystray/files/peksystray-0.4.0-asneeded.patch
new file mode 100644
index 000000000000..1fc376a8ac92
--- /dev/null
+++ b/x11-misc/peksystray/files/peksystray-0.4.0-asneeded.patch
@@ -0,0 +1,36 @@
+--- configure.in
++++ configure.in
+@@ -4,6 +4,7 @@
+ AM_INIT_AUTOMAKE(peksystray, 0.4.0)
+
+ AC_PROG_CC
++AC_PATH_X
+ AC_PATH_XTRA
+
+ dnl Are we going to enable the debugging output ??
+@@ -19,13 +20,7 @@
+ AC_DEFINE(DEBUG,,[Enable verbose debugging output])
+ fi
+
+-CFLAGS="$CFLAGS $X_CFLAGS"
+-#x_includes="-I$x_includes"
+-LDFLAGS="$LDFLAGS $X_LIBS $X_PRE_LIBS -lX11 $X_EXTRA_LIBS"
+-#x_libraries="$X_LIBS $X_PRE_LIBS -lX11 $X_EXTRA_LIBS"
+-
+-AC_SUBST(x_includes)
+-AC_SUBST(x_libraries)
++AC_CHECK_LIB([X11], [XOpenDisplay])
+
+ AC_OUTPUT([
+ Makefile
+--- src/Makefile.am
++++ src/Makefile.am
+@@ -1,7 +1,4 @@
+ bin_PROGRAMS = peksystray
+
+-INCLUDES = @x_includes@
+-
+-peksystray_LDADD = @x_libraries@
+-
+ peksystray_SOURCES = peksystray.c
++peksystray_LDADD = @X_PRE_LIBS@ @X_LIBS@ @X_EXTRA_LIBS@
diff --git a/x11-misc/peksystray/metadata.xml b/x11-misc/peksystray/metadata.xml
new file mode 100644
index 000000000000..4a233d3d903a
--- /dev/null
+++ b/x11-misc/peksystray/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <upstream>
+ <remote-id type="sourceforge">peksystray</remote-id>
+ <remote-id type="freshmeat">peksystray</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/peksystray/peksystray-0.2.1.ebuild b/x11-misc/peksystray/peksystray-0.2.1.ebuild
new file mode 100644
index 000000000000..b16024c518f6
--- /dev/null
+++ b/x11-misc/peksystray/peksystray-0.2.1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+inherit eutils multilib
+
+DESCRIPTION="A system tray dockapp for window managers supporting docking"
+HOMEPAGE="http://freshmeat.net/projects/peksystray"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha ~amd64 ppc x86"
+IUSE=""
+
+RDEPEND="x11-libs/libX11
+ x11-libs/libXt"
+DEPEND="${RDEPEND}"
+
+src_compile() {
+ econf --x-libraries=/usr/$(get_libdir) || die
+ emake || die
+}
+
+src_install() {
+ dobin src/peksystray
+ dodoc AUTHORS NEWS README THANKS TODO
+}
diff --git a/x11-misc/peksystray/peksystray-0.4.0.ebuild b/x11-misc/peksystray/peksystray-0.4.0.ebuild
new file mode 100644
index 000000000000..6d0c9e545da9
--- /dev/null
+++ b/x11-misc/peksystray/peksystray-0.4.0.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=2
+inherit autotools eutils
+
+DESCRIPTION="A system tray dockapp for window managers supporting docking"
+HOMEPAGE="http://peksystray.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ppc ~x86"
+IUSE=""
+
+DEPEND="x11-libs/libX11
+ x11-libs/libXt"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-asneeded.patch
+ eautoreconf
+}
+
+src_install() {
+ dobin src/peksystray || die
+ dodoc AUTHORS ChangeLog NEWS README REFS THANKS TODO
+}
diff --git a/x11-misc/piedock/Manifest b/x11-misc/piedock/Manifest
new file mode 100644
index 000000000000..ac99f01bc791
--- /dev/null
+++ b/x11-misc/piedock/Manifest
@@ -0,0 +1,7 @@
+AUX piedock-1.6.1-signals.patch 173 SHA256 9b06e34119ed255c7ab5bfcfafb2d4f0408de5c71b88143b4ee7484c29682f47 SHA512 c98aa7e22ce78fc60d778861e5bef12545553723c28bfa599b6a2d8b30c572b8d480f167b8730d84dad9c06c16cfb45f9e69665187f3e5c66053a0d4b35684fe WHIRLPOOL 8929c8410edc4e38d9a17e310996232c8691811cdd48c3582342f3803fc0004ef4144eb6d4ce65eee972ef8f5faec0d11760a75481e71d9bf525d87e0c540adc
+DIST piedock-1.6.6-gcc6.patch 134783 SHA256 6ab486f84283ffa825cb0313daddc5898381c56ee3981f1eefb14ea7d7c498ac SHA512 a9460400f4447fe8c38b2d994c083e7c564b32b9a2e77f0b3497ca0f704f6a650781c3e00b37d52bbc4e9c202b02dd6bb3dd442ab13ece173a7b18c0592379bc WHIRLPOOL 35ce0d0c9bc0779b9b64c989da9f2941e13dc7a0d19fe776d3c6dcb847a77b7f27da2fd9d08fd1f3148e3736113834ac2aafc439c9a785be70d0789d2c2a3b29
+DIST piedock-1.6.6.tar.bz2 254634 SHA256 1d0873b3b85d22edc1d28f6308ee70fd9054a6f34a8ae4fd9f6f161c18e32680 SHA512 4bad03387a21c75cf48b80ef2bf6ccc3553097fa41115a40689ec2c8e00ee9fadddbe43226f90012667eb8545e1209e5c9f6308f436bdf1d12d73de30764f1be WHIRLPOOL 1d605bb5c18f4e89f1dce3eb84b0f68bce80256f1ae125bb6753bd59d025e446b18b7889370e5477ba23399c8628c1f1bec1954160f4acfb90ddf750dd40fb84
+EBUILD piedock-1.6.6-r1.ebuild 965 SHA256 46f116508689430475de196a61c34b3fd853f0bf7a06d4c4895dbc10e453e402 SHA512 31188dec19bf29ada3048da86d71f7c54e4c3ebe9a1c2842aa9ca90315cc552835a6f2937ff5490bbab3e2d87adc30525b627d2c631dca8832d4eae8b1b044c7 WHIRLPOOL 8673434a69d6e310ddf7949d46ede85b71426d2de7165af0c0da71b30342b7a1fe0fb813c091fbd2cd819fe626912a5775bc3fa1b1fe238d0626c7d42a17e6b1
+MISC ChangeLog 2639 SHA256 1961c7d491db3a925bdfa2ab640de0ea3eb14a6a5813346232e4a436cfe6a8e4 SHA512 1b8420e775ec6cfa9994715b3c8e629408b031c74a7e59a926ab5394118719344ebc4777137e3f8e168e79acef9f918b8f7fc1c2a5a13d05f232fbff983d4537 WHIRLPOOL 40ce19cb1c2a2166bc8076fbbfa5849cff1b87276329abe002dd03b209ca352bb29432bc2b4a758ab9d0cd33a80ddcb6f2e07ac374f05d0210cba237cb7200af
+MISC ChangeLog-2015 4101 SHA256 033ab9daabf7424e67cff4437507c2a90205eb6d385d0fb4cf4e69278e939eb2 SHA512 f247ad00d022b383eea5fb5b3bd4ed89ff1245c47af32e09fe39fa82f59212c8f34ae1d65c581102859bdc5af0528d183cb1c2dfa330c2f75ae30529f22dddd5 WHIRLPOOL b50a02d8e17dd845b6ef56e8b79327175381eedf92900a5cb9a287e393127186f4fbfe867e0bd5d6cb81cfeaf29a01323766358c385922b96dfc95c3ae366761
+MISC metadata.xml 370 SHA256 f6003ec6df32b54c53580046c7c51c4a5275397d07ff1592a708866335be9c27 SHA512 553d2223b932228026bd4d239de39ad2b27a68cd0a940b0522f1cee28f0d146358c9422baabf15f8948b1783b7559e217a0e90acf068775832c51c5caa48515c WHIRLPOOL 746b5b100dd23378d413fb3e2f5b23199765dd5fa02007e272037cf22ff27c2a1ab8326b6e0fa3f6fd5abf06d85c9d5c3f1140b3b3a2cc6c0a02b11a1a504ecb
diff --git a/x11-misc/piedock/files/piedock-1.6.1-signals.patch b/x11-misc/piedock/files/piedock-1.6.1-signals.patch
new file mode 100644
index 000000000000..7ed5e9734c61
--- /dev/null
+++ b/x11-misc/piedock/files/piedock-1.6.1-signals.patch
@@ -0,0 +1,10 @@
+--- a/src/main.cpp
++++ b/src/main.cpp
+@@ -25,6 +25,7 @@
+ #include <stdlib.h>
+
+ #ifdef HAVE_GTK
++#undef signals // Collides with GTK symbols
+ #include <gtk/gtk.h>
+ #endif
+
diff --git a/x11-misc/piedock/metadata.xml b/x11-misc/piedock/metadata.xml
new file mode 100644
index 000000000000..8d6384de1b01
--- /dev/null
+++ b/x11-misc/piedock/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">markusfisch/PieDock</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/piedock/piedock-1.6.6-r1.ebuild b/x11-misc/piedock/piedock-1.6.6-r1.ebuild
new file mode 100644
index 000000000000..26e1db0a646a
--- /dev/null
+++ b/x11-misc/piedock/piedock-1.6.6-r1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="A little bit like the famous OS X dock but in shape of a pie menu"
+HOMEPAGE="http://markusfisch.de/PieDock"
+SRC_URI="http://markusfisch.de/downloads/${P}.tar.bz2
+ https://github.com/markusfisch/PieDock/commit/a7fda1896f1cc6966ba0fa8912e9b404c1b0be97.patch -> ${P}-gcc6.patch"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="gtk"
+
+RDEPEND="
+ media-libs/libpng:0=
+ x11-libs/libX11
+ x11-libs/libXft
+ x11-libs/libXmu
+ x11-libs/libXrender
+ gtk? (
+ dev-libs/atk
+ dev-libs/glib
+ x11-libs/gdk-pixbuf
+ x11-libs/gtk+:2
+ )
+"
+DEPEND="${RDEPEND}"
+
+DOCS=( res/${PN}rc.sample AUTHORS ChangeLog NEWS )
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.6.1-signals.patch
+ "${DISTDIR}"/${P}-gcc6.patch
+)
+
+src_configure() {
+ econf \
+ $(use_enable gtk) \
+ --disable-kde \
+ --bindir="${EPREFIX}"/usr/bin \
+ --enable-xft \
+ --enable-xmu \
+ --enable-xrender
+}
diff --git a/x11-misc/primus/Manifest b/x11-misc/primus/Manifest
new file mode 100644
index 000000000000..ccf9016fe6e3
--- /dev/null
+++ b/x11-misc/primus/Manifest
@@ -0,0 +1,4 @@
+DIST primus-0.2.tar.gz 26248 SHA256 beccce83d6e493ecb45589fd02d7b0b0e5b406b136f4ad62d20d4cbac9d54fec SHA512 4108f4e721c9cd8f8dc592a41706230b29bbcfcb8ba49e61d1f07f715c81304471e0d00407bc59a314568b3b42e19f0962ba1dbb8ef1996fe0d4ac13af2e3d2b WHIRLPOOL 13eec30fea2341bb2f35590a2122a406e181726bb2e5ed86078bc0643fe608c70e5d5677b74a301e2af0315f9e208156c3728a94106017f016a7e73ed1ad7eb5
+EBUILD primus-0.2.ebuild 919 SHA256 ba6a59deec57491cb3d8bd063db93bdecaec01b39b60c587299d08fb78fca110 SHA512 9c967343163ac52b2ef9e5e061b8ca6be8d3cb0b7be1e51ad0a913c8fd9953ee486fa70a697b41814440d5739eebf39f3d6b84f09d2c3cdbc4082a75ee7debe3 WHIRLPOOL edb87f15fad0f221908dd890fb319753013d584d0dd47ebe606f75dd930f20d4421b422eceb6ed41a578bfb626a048639b01c4f9de62ed912e795e49cc41931e
+MISC ChangeLog 318 SHA256 32a7ec37dfe7c53986b34919ca48046b3e14ea9447284258e509fa86fe30269b SHA512 ac51e646b6ba46fdf52e2999d58f386fe27947b64a715bdf6fbe56f5ccd9b2b1634df94a2fb8f7e3580ab88c3128aff49135f71852b1e94352d79637a57c59a0 WHIRLPOOL bca7e6eb6e27b45eb8f57943862ec7cbdca7b7aa8aa71b36cf8b45ae9ca70aa7c3c2694f3c72e4449f1e21384f80fed58f525b9a58d57f81e643fd6d9aafe340
+MISC metadata.xml 330 SHA256 8397d392f47b2e1b0dd80cd127e45e55e16fa91f4b6ada32f26a1bf1377125cf SHA512 1dc5d48fe52eeb8db3b6f369ce5acad4c7f03811d02cf4e6175aea37ffe117763e5601cc02124a3b7218d85d380504f5db6dddf18be6e04a469b4f6b27ded552 WHIRLPOOL 25deaf3bc37826cf6582397e6f80e87caa4e66002eed435fd6bdffba952c96b150f5e3187a814b9f1e373fb4f1c5accebd006a68a99b172a901c1cef790cdbbb
diff --git a/x11-misc/primus/metadata.xml b/x11-misc/primus/metadata.xml
new file mode 100644
index 000000000000..7eea5579ed48
--- /dev/null
+++ b/x11-misc/primus/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>zx2c4@gentoo.org</email>
+ <name>Jason A. Donenfeld</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">amonakov/primus</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/primus/primus-0.2.ebuild b/x11-misc/primus/primus-0.2.ebuild
new file mode 100644
index 000000000000..6cd89d1ee185
--- /dev/null
+++ b/x11-misc/primus/primus-0.2.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit multilib-build
+
+DESCRIPTION="Faster OpenGL offloading for Bumblebee"
+HOMEPAGE="https://github.com/amonakov/primus"
+SRC_URI="https://github.com/amonakov/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+EGIT_REPO_URI="https://github.com/amonakov/${PN}.git"
+
+LICENSE="ISC"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+ x11-misc/bumblebee
+ x11-drivers/nvidia-drivers[compat]
+"
+DEPEND="virtual/opengl"
+
+src_compile() {
+ export PRIMUS_libGLa='/usr/$$LIB/opengl/nvidia/lib/libGL.so.1'
+ mymake() {
+ emake LIBDIR=$(get_libdir)
+ }
+ multilib_parallel_foreach_abi mymake
+}
+
+src_install() {
+ sed -i -e "s#^PRIMUS_libGL=.*#PRIMUS_libGL='/usr/\$LIB/primus'#" primusrun
+ dobin primusrun
+ myinst() {
+ insinto /usr/$(get_libdir)/primus
+ doins "${S}"/$(get_libdir)/libGL.so.1
+ }
+ multilib_foreach_abi myinst
+}
diff --git a/x11-misc/ptbatterysystemtray/Manifest b/x11-misc/ptbatterysystemtray/Manifest
new file mode 100644
index 000000000000..998326cf173a
--- /dev/null
+++ b/x11-misc/ptbatterysystemtray/Manifest
@@ -0,0 +1,5 @@
+DIST ptbatterysystemtray-1.0.0_rc2.tar.gz 234884 SHA256 c28e43e9157df74c7e4599485c24fe8dc79201133c56d7d72f3e4eda5def12f4 SHA512 869eb71032691738277c1ba16b9e8d6e79ab25e8c533c2c12b4a69c6dbfee53d40bb471e4d28ce60b9e3dae19aea166953b5d5641ae0ba873ef55811fdd088e5 WHIRLPOOL 78dd6a7634563abd683ee389ba620fdf6db811df6b0a69773a5d249986ffd381d73f02377a2ae6dd6510e53449c7af4142232a875749a9ea851f391ac9582020
+EBUILD ptbatterysystemtray-1.0.0_rc2.ebuild 573 SHA256 3fa234de0f2b3fd7992af3feae3b872ea1655e41555c0e1e8dd83d3a14172fc0 SHA512 b18651104546a219aa0e7aea10f697bfa5363e97a647cf9b07c73decfb891097f14a3640db726fa71037c6f9fda8ec008d24725141a065965413db3ab1efb2d6 WHIRLPOOL 3fa5467976f8a8e63ef681dffaf37ec2d4dc3f0b4f868d599793fdf754283c8e1d5a8394a45ae1f4f2f6d117a7d14f835447976604f73bf333f7576b226b22cb
+MISC ChangeLog 2602 SHA256 0a766553f633b91e40002bae1b2d88ab4b8e8c466ecdedd6b71d8b6cae30c3ea SHA512 11cda10f5bfde16d6abbbea192ea9f19fd3dfb44db42a6d65ce312f04f51bffe7a7a864a9360eab9ef3e9e1e7f9109850f12dd75ba55d1e8ba90dd118cc15c26 WHIRLPOOL 2ac0c216252d28623ef81dfd6bfd4cc87e7fd8b53266a04bb31e35695b4799650dc57eb2db8ec26ae5a3e6f4c3fd43ea4e4b518b069e10b671c47e42c5a9469d
+MISC ChangeLog-2015 876 SHA256 7df029057a12bf96c877c7d26618adc2730d2275401f25f967cea83bc880bd00 SHA512 b4ede303fb2496770ff3193260509d14e707bca3981a9a6a5dc704a93dcb4ca1776cd42fcd4657075a5e7e684095dc5181042f427781f8314d5c34e7664df742 WHIRLPOOL d0b43b524e0030d25963adab1ba956a08ff299ccb4bd7aeaa12021b7c7ac868a6874629e907c7d3ddebf3295ecdd2b3490cb90181ae11bf9b74467c701463956
+MISC metadata.xml 167 SHA256 5fe493e76bba84455c54b3a46adfae5a1bfe01c764ef0d9e5f6d3e8a1d142188 SHA512 7c8decb24ee3a850e38186cf3c7f8933a28017426806870ad6ef9ceb2533be147a2681fc789b535a81cb528af8c29d90d3006e4f250aee23bd7dea4561294e33 WHIRLPOOL dc6c3dfc7fd7f0d76c97f0786cb76a55b8564f8437f96d4ccebf985817b9f6dcc4c61830aa5df80d725e4a54b281ea2e03d6b0859214af081112cba15025e64b
diff --git a/x11-misc/ptbatterysystemtray/metadata.xml b/x11-misc/ptbatterysystemtray/metadata.xml
new file mode 100644
index 000000000000..7a38bb900964
--- /dev/null
+++ b/x11-misc/ptbatterysystemtray/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+</pkgmetadata>
diff --git a/x11-misc/ptbatterysystemtray/ptbatterysystemtray-1.0.0_rc2.ebuild b/x11-misc/ptbatterysystemtray/ptbatterysystemtray-1.0.0_rc2.ebuild
new file mode 100644
index 000000000000..7d6fc320438b
--- /dev/null
+++ b/x11-misc/ptbatterysystemtray/ptbatterysystemtray-1.0.0_rc2.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit qt4-r2
+
+DESCRIPTION="A simple battery monitor in the system tray"
+HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage"
+SRC_URI="mirror://gentoo/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug"
+
+DEPEND="
+ dev-qt/qtcore:4
+ dev-qt/qtdbus:4
+ dev-qt/qtgui:4
+"
+RDEPEND="${DEPEND}"
+
+DOCS="AUTHORS ChangeLog README"
+
+src_unpack() {
+ default
+ mv ${PN}-${PN} "${S}" || die
+}
+
+src_configure() {
+ eqmake4 ${PN}.pro INSTALL_PREFIX=/usr
+}
diff --git a/x11-misc/py3status/Manifest b/x11-misc/py3status/Manifest
new file mode 100644
index 000000000000..b3809980532c
--- /dev/null
+++ b/x11-misc/py3status/Manifest
@@ -0,0 +1,5 @@
+DIST py3status-3.6.tar.gz 258793 SHA256 0f7af22643cbe0a1e2ba71aaae21d0d759f22062f528e1540c9830cb1900a5b1 SHA512 e0132e8d1f46a9975ead30c2b562cc86e6d7ad542c827bb2881513e2833025aa09facd8e4b4c3896a432b2dc30ff514db76548a4ed95e407ecd04c8314f5ad31 WHIRLPOOL c9033cc67134d943e78a2bab8fe10d005991cec7fcf26d013dddf0fe3681b1df1bdd5ca269e79452902943d9d18ccdf60b833038076f9349b52ea6018b8ded9e
+EBUILD py3status-3.6.ebuild 602 SHA256 cb2337514ff093930576b020a7f887440672aa621efc7735dc23893ee0be9142 SHA512 00bef21f396daaedc70bb22d3ed162e82908f0f1b3dd555172c6c9a2473117100d08ca6952b34c2cf0569b14d04a36809d4a905a611095fd9524b576fcde20ef WHIRLPOOL 13e0a54fd3fde997caefbdb5b385909605c10b64e061d4d3d029e43a3a69448367efb61ecaa4661cd86faa247739654321ea93c85e79c2d6d28177bb3b50d27e
+MISC ChangeLog 3858 SHA256 f2adef17746e6cc8e6c1a70feef680a34980e2ba1c698f6854db817903fc01bd SHA512 16b3ea7c2bb52d3ab8e41a144d608188ffcef88d8c337e0dca0f0af32344bc5e9ad747ca18a46486f43afc4822e6c31720cca5df67ccd889b1aad0cdd4b72b17 WHIRLPOOL 5fc5480e2bfe389091380d91cea75cdde2b34f53ea2c99e3b1aca5972b2e573b59eb557f407860b02aa04b891e7353439fff577a501f7eaaa53df2d360bd1b21
+MISC ChangeLog-2015 2444 SHA256 f4864a57c0923e2a2cadc4994a620c1bf34bc5e9fc3ed21073ee560dddc0f620 SHA512 2a19de0fe574f217027141e43c7426a1e9b9cb6c3b367c01173790dcaa10dad88e1d46ad02f36da4f0888b10a27e118ff1a3c827f24c2077933640a8c1217ff0 WHIRLPOOL 50fcee5361925b67ac3a5e82d1e7b94fe1e8be1c8b797bb467c628bbc94ee205f5363887c9b9b47b05b20389adc309332719afd1ca7906bdf5228acb60cf7422
+MISC metadata.xml 486 SHA256 4311d53e5833ef5d5a6fc21ab1bba93636c1f99da42d4921be153f8d3a234fdd SHA512 378bcd232d4250773cd0d0493f93a3c26e8323e3526d83467bfb835409a8037a970804e2d188bc71bff2712c979845d06ff5396b14a25b0b7fae67dc45e40fc0 WHIRLPOOL cd7db9c8bf5ca028ee4812e8de71a67d970b7c90f805df99c798f49a187db099c71d1cd672e4aef5ca32faa7658622968095b4210c79721abb79c617f965e037
diff --git a/x11-misc/py3status/metadata.xml b/x11-misc/py3status/metadata.xml
new file mode 100644
index 000000000000..afc1f98f7b9c
--- /dev/null
+++ b/x11-misc/py3status/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>ultrabug@gentoo.org</email>
+ <name>Alexys Jacob</name>
+ </maintainer>
+ <longdescription lang="en">py3status is an extensible
+ i3status wrapper written in python</longdescription>
+ <upstream>
+ <remote-id type="pypi">py3status</remote-id>
+ <remote-id type="github">ultrabug/py3status</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/py3status/py3status-3.6.ebuild b/x11-misc/py3status/py3status-3.6.ebuild
new file mode 100644
index 000000000000..02e5618947c4
--- /dev/null
+++ b/x11-misc/py3status/py3status-3.6.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
+
+SRC_URI="https://github.com/ultrabug/py3status/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+inherit distutils-r1
+
+MY_PN="py3status"
+MY_P="${MY_PN}-${PV/_/-}"
+
+DESCRIPTION="py3status is an extensible i3status wrapper written in python"
+HOMEPAGE="https://github.com/ultrabug/py3status"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="x11-misc/i3status"
+DEPEND="${RDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]"
+
+S=${WORKDIR}/${MY_P}
diff --git a/x11-misc/pypanel/Manifest b/x11-misc/pypanel/Manifest
new file mode 100644
index 000000000000..e092c976552d
--- /dev/null
+++ b/x11-misc/pypanel/Manifest
@@ -0,0 +1,5 @@
+DIST PyPanel-2.4.tar.gz 29857 SHA256 4e612b43c61b3a8af7d57a0364f6cd89df481dc41e20728afa643e9e3546e911 SHA512 acda16cbf4f725ee3f0e97e11f04177fc819f6c09d0bcc864c9de1fc0c1bc0bfe2593233e5b8b85399ad41bc07763ad87d7045bac4dece9dc15d6eaf3136895e WHIRLPOOL 79e64c13a20af9837d3b54b555adcfc477649a01d477f2adf7d82bd594a951dbd8f141d969fff17a93aec4a0e6a6381ca48230a73d6be6072c6b77e6309adbfa
+EBUILD pypanel-2.4-r2.ebuild 568 SHA256 11770f34ec925936b08d2b79cb9192f9c4121b35682382fa6870f94f9c1b1270 SHA512 ce66dfc3d7d612638aeeb353751ba54271ccb15a905767c21796cfba8b537482a80385faf2a9feb61fc91f010cc707278431252499b0ef3d1ed590ce6094b7e7 WHIRLPOOL 24782342d6222ad434e219d744fe3295173720458ce2a691d2ee4b399659e7108457ab9a989e0222698c0f639f0397cfc78a8fe77ba64e54ec5dc23b47994893
+MISC ChangeLog 2429 SHA256 337feec432311f47c54e995db702361a1cdadcb708099c6c4dcbf1d47fbce6c2 SHA512 273d853d21ed827036827118652db973ac7f74aed84a4cb9900ae40796d09a5eb3729faf11fbf0f316b65ebb0a27abbdbe021d48c8d6045ec9f7331638c81515 WHIRLPOOL cf74ce7ef85c1d6e05e763058821ea44ddfab6ec2ce0bc79bf3692a0328c0e173e1382ecb26d1b82dc4222173e3369abdcdd50cf025dcc0143f620a93580ef53
+MISC ChangeLog-2015 5445 SHA256 06d004c97712ae74c2d105f562276d33936d7be1f04609dc4c0c13f522a07a38 SHA512 7da0eab0224ca8ad947ad9a4cc08a02fc6b97f0748edd5ec0f72a26fd5b0bc02a0b9a9fb8a3bfb5874471879a92a1b40adf69db4c45e1319fde34a55fc18ed83 WHIRLPOOL 01a051f279d54057cdace31463e6b0f92c2839a40b83a377e8d828b3e2bda40c3436c992fe2286522142977c91449062aba143c8f95a5a299877428f57a3c1fc
+MISC metadata.xml 841 SHA256 38edb4854e3ed6cba51bbd5bfdfa96707bb8b1e9590df009abaac453ff4e0779 SHA512 b37b25700ac1fbaec3050a47fc8f2260b4611c3da72b5f192eff3a64f18a6e4aee8dfdf9a8203e12f7b8bfcaa912f64471bc874decf1324ef16f9d6e9fb88a08 WHIRLPOOL 28c3ba45a936b2dc9ef4a1b339c7a4e2c7bff11deaea0cf1f03b57ab259c2e537d4c02d6bfe8dab65f4a4ad7045aa69c56dd95e649d00ce13c280984ca45009a
diff --git a/x11-misc/pypanel/metadata.xml b/x11-misc/pypanel/metadata.xml
new file mode 100644
index 000000000000..b6a5bfce49f3
--- /dev/null
+++ b/x11-misc/pypanel/metadata.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+ <longdescription>
+PyPanel is a lightweight panel/taskbar for X11 window managers that can
+be easily customized to match any desktop theme or taste.
+
+Some of the customizable features include transparency w/ shading, panel
+dimensions and location, font type and colors, button events/actions,
+clock and workspace name display.
+
+PyPanel should work with any WM that supports the EWMH specification.
+The following have been tested: Kahakai, Openbox3, PekWM, WindowMaker.
+</longdescription>
+ <upstream>
+ <remote-id type="sourceforge">pypanel</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/pypanel/pypanel-2.4-r2.ebuild b/x11-misc/pypanel/pypanel-2.4-r2.ebuild
new file mode 100644
index 000000000000..c1c3381177d7
--- /dev/null
+++ b/x11-misc/pypanel/pypanel-2.4-r2.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit distutils-r1
+
+MY_PN=${PN/pyp/PyP}
+MY_P=${MY_PN}-${PV}
+
+DESCRIPTION="A lightweight panel/taskbar for X11 window managers"
+HOMEPAGE="http://pypanel.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc ~ppc64 x86"
+IUSE=""
+
+RDEPEND="x11-libs/libXft
+ dev-python/python-xlib[${PYTHON_USEDEP}]
+ media-libs/imlib2[X]"
+DEPEND="${RDEPEND}"
+
+S=${WORKDIR}/${MY_P}
diff --git a/x11-misc/qarma/Manifest b/x11-misc/qarma/Manifest
new file mode 100644
index 000000000000..8fbb7e207f3d
--- /dev/null
+++ b/x11-misc/qarma/Manifest
@@ -0,0 +1,4 @@
+DIST qarma-1.tar.gz 20688 SHA256 ebce381d2884e4109998bc4a966f1eb08cc549b2725b0f4c5525b30849754794 SHA512 011275b73df25a49e9810cabead8811d4c09fe20272c71e6208fb49b12ca59321d51c8dfb4fb32735c9e93c8ce7742122eea40fc14228904abb1447ef4d0f600 WHIRLPOOL 079be3ef073dd6d95197ca9a11b3997c59d3253461d9ee0d5afddb3c8ca2717640ef56801cea3a28f5f87005875ddfd6a58c095cfc873b7d9dee8d363b7049c3
+EBUILD qarma-1.ebuild 547 SHA256 56a6726780d50d69001c1fc69e21130acd03837accf36e1ad9cd957909dbc1f0 SHA512 e139418cce6783bcf90abbeb3188b311a0d34f7de69789c2d21c701c0f04cb4b2178d197aa587da3b047325b544c8ee65d568283e5091d105e50cbea6d0ee6b7 WHIRLPOOL d313450cda655fda8edf22303ec452facda64fc0461d41290b2ec3829bd79e356eb807471e7ec0d344d9fb6e8f5b3405339e701eb021060a86bde81f4692fdec
+MISC ChangeLog 420 SHA256 3be6c88bf7c0474310dd227097597d40f5756677e8e526eb2cec2d7b83e37a86 SHA512 18b6716fff92b5e2852df689adbb1bc44cf95bd749ef39d27bfaf312c81c6843d163b380af981c85c754669dc1236a903ff14743432c1b68af5691879bb0bac0 WHIRLPOOL 5242ecc03c9f46666ed5f9bccb9a1538c3bdb60916f2a9ac8431c27655fe835a0ed33472136afde214abb65004e8c82ab829b209f53e7aa4efe7bc12590dc8ed
+MISC metadata.xml 329 SHA256 e42eb6c89e0ae5c3e57a6b7a0ac829c042d048077d6595080cee53aa2824642f SHA512 3e4621a6d5076809f5e55dcb5260ee9124e89dcd30ecedfb30acb0997a3d8ffd41294a18e0fd5d51d38013fd9fe289eb65de05a1a0785055a5748a249ea34728 WHIRLPOOL 7726725b6533eafe9adf6263fbddf8a79f5745845b06d1468fcc250b296f3ab04a572db03a59cce706860be6d7793dcc41a3878216bff74bf56d6f585001c987
diff --git a/x11-misc/qarma/metadata.xml b/x11-misc/qarma/metadata.xml
new file mode 100644
index 000000000000..9e57ad8ce5f5
--- /dev/null
+++ b/x11-misc/qarma/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>zx2c4@gentoo.org</email>
+ <name>Jason A. Donenfeld</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">luebking/qarma</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/qarma/qarma-1.ebuild b/x11-misc/qarma/qarma-1.ebuild
new file mode 100644
index 000000000000..e1c4f05d258e
--- /dev/null
+++ b/x11-misc/qarma/qarma-1.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit qmake-utils
+
+DESCRIPTION="Zenity Clone for Qt5"
+HOMEPAGE="https://github.com/luebking/qarma"
+SRC_URI="https://github.com/luebking/qarma/archive/t${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="dev-qt/qtcore:5 dev-qt/qtgui:5 dev-qt/qtwidgets:5 dev-qt/qtx11extras:5"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${PN}-t${PV}"
+
+src_configure() {
+ eqmake5
+}
+
+src_install() {
+ dobin qarma
+}
diff --git a/x11-misc/qcomicbook/Manifest b/x11-misc/qcomicbook/Manifest
new file mode 100644
index 000000000000..271687143292
--- /dev/null
+++ b/x11-misc/qcomicbook/Manifest
@@ -0,0 +1,5 @@
+DIST qcomicbook-0.9.1.tar.gz 739887 SHA256 39bb6ba0e20569985c930b0e8bdb19ae9c5453f27e9f7c01c6d44f56fb204619 SHA512 87bd983c4442e220f1bc463e54e0ea583cddbc6becd9eec64801dc5e7e061cdac5805cba83167685ab454e41fcce329fa399d622d7f588940bf057ce4b1f423d WHIRLPOOL 2acebceb33ae273ce7cc7868dcde0cd20fde65a36d972719c995c3bb7fdecec4da06b5ae27c0d660e0d0043a5bf178effcfe518aa8fbdc2597cdc4297499797f
+EBUILD qcomicbook-0.9.1.ebuild 1546 SHA256 ab7cb0f3a46a99222881a4d01374b097dc0b7b950f85d51fad934d2b77e0fe87 SHA512 7fc3d37480ee9aa029dbf0dd9013f8ddbba76aef19f9c83690933bcfa1aa4447532c7b5fb012ef3083a4f3a23d795d21be5958323b2486834c2e00caa4da4d89 WHIRLPOOL 2da949042ea20486d112e3550b75f22ef2a407c4bfd61b076d750678c11be2b5bcc0069ac94666a923a6c9e9c4b61b84118b30b8a2bb1b799ba16edca4b5b357
+MISC ChangeLog 2442 SHA256 d4314cef5013cde912174d784b9a3478069e68291015ea1929cc2d93a06af23d SHA512 4bb7e96ee136eb8800f1411345029e9577325d5b0c51cc465a7edb799330b4906e15f20897728dc8d9092378a40acc484d129a9010723b5c5780ac20f78267b0 WHIRLPOOL 76f7e684b62a4ebd7b8e1a1dc1a503f4783182f1bfe9ee49b8678b90d45c465193929dbfcc03620464207699de07e6d88772e450bc64b197d9065e99d70ad956
+MISC ChangeLog-2015 7958 SHA256 87d4358336843e75cfd607e8e364d892c854776f086203463549ff0d73f43e53 SHA512 f997339d66dfce899e20e77b9d4b839ed7b53aa6a5bf113202f1848159a5054e53a53892e4a9dcd50e307c1f4801aa66b27eb0faa46f4700a9b3bd010b7c82a1 WHIRLPOOL 00de376ca584eae1a5bc6b8199bfd8d285498a0bbbe3109c08ef657a7ff6d0723dc07705404b04c788d67515068c8984f232809f83006c6fc585469bbf6f405b
+MISC metadata.xml 469 SHA256 5a1d4fc3c177a24514888b1eeed6d37f2e7fff186892b8ee082309af6e107deb SHA512 4c8f85cb1afed375e4b2c19e873c2c70ca7c11f139305af70a2b8556230ddd17f52753b1302c8d5547b4922e35c1922fdc001e62b420645f1c36097ebf5e855b WHIRLPOOL 08f8d7e0a7dd436fe108056326ebc31a05e01dae1475b4fa93739dc3ee5e747359e263a24386cc059b3a0a9a5f3ad2b33aa2591c331eafbf69174b2f9fd39caf
diff --git a/x11-misc/qcomicbook/metadata.xml b/x11-misc/qcomicbook/metadata.xml
new file mode 100644
index 000000000000..eccf315497a7
--- /dev/null
+++ b/x11-misc/qcomicbook/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>qt@gentoo.org</email>
+ <name>Gentoo Qt Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">stolowski/QComicBook</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/qcomicbook/qcomicbook-0.9.1.ebuild b/x11-misc/qcomicbook/qcomicbook-0.9.1.ebuild
new file mode 100644
index 000000000000..5e6676e31c60
--- /dev/null
+++ b/x11-misc/qcomicbook/qcomicbook-0.9.1.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+CMAKE_IN_SOURCE_BUILD=1
+PLOCALES="cs_CZ de_DE es_ES fi_FI fr_CA fr_FR it_IT ko_KR nl_NL pl_PL pt_BR ru_RU uk_UA zh_CN"
+inherit cmake-utils flag-o-matic l10n vcs-snapshot
+
+DESCRIPTION="A viewer for comic book archives containing jpeg/png images"
+HOMEPAGE="http://qcomicbook.org/"
+SRC_URI="https://github.com/stolowski/QComicBook/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~ppc x86"
+IUSE="debug"
+
+DEPEND="app-text/poppler[qt5]
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtprintsupport:5
+ dev-qt/qtwidgets:5
+ dev-qt/qtx11extras:5"
+RDEPEND="${DEPEND}"
+
+DOCS=( AUTHORS ChangeLog NEWS README THANKS TODO )
+
+src_prepare() {
+ rm_loc() {
+ rm "i18n/${PN}_${1}.ts" || die "removing ${1} locale failed"
+ }
+ rm "i18n/${PN}_en_EN.ts" || die 'removing redundant english locale failed'
+ l10n_find_plocales_changes "i18n" "${PN}_" ".ts"
+ l10n_for_each_disabled_locale_do rm_loc
+
+ # fix desktop file
+ sed -i \
+ -e '/^Encoding/d' \
+ -e '/^Icon/s/.png//' \
+ -e '/^Categories/s/Application;//' \
+ "data/${PN}.desktop" || die 'sed on desktop file failed'
+
+ cmake-utils_src_prepare
+}
+
+src_configure() {
+ use !debug && append-cppflags -DQT_NO_DEBUG_OUTPUT
+ cmake-utils_src_configure
+}
+
+pkg_postinst() {
+ elog "For using QComicBook with compressed archives you may want to install:"
+ elog " app-arch/p7zip"
+ elog " app-arch/unace"
+ elog " app-arch/unrar or app-arch/rar"
+ elog " app-arch/unzip"
+}
diff --git a/x11-misc/qlipper/Manifest b/x11-misc/qlipper/Manifest
new file mode 100644
index 000000000000..a1af3ca81a7d
--- /dev/null
+++ b/x11-misc/qlipper/Manifest
@@ -0,0 +1,6 @@
+AUX qlipper-5.0.0-build.patch 1690 SHA256 0878edbec5ec10cd5a536b29ab0f5cb2a413d9eacca12eb4fcec3f7740d65b4d SHA512 b3c137e2a5ff8f838f238431f5b187d205937662003004205565e0d7367faf269e01b069428fec64e05a7f955ca55fedd3617f1974fee519ce033af70ea51b4f WHIRLPOOL 1e198e4902f5f5857abf15188b5e3841b235a709ae724a62ffd2362090eab12f39f4f55c1ea5f80d4525c7fe0f39ebd4e29a1879143c2890d5a1b38c191529fc
+DIST qlipper-5.0.0.tar.gz 94281 SHA256 50a0876335ff19d804b42f1550c68272c707c1259c66a548c4192ab65f20dc77 SHA512 d2bd834f33531a175201244bdd6e9436da16c6f77e1fdc79616c8c3faef531ae50d4cc3b072074fd5efa494cc7be30ffe617912cf54494a66a72420095b0c642 WHIRLPOOL ca6e9542e14b4ec15e7e15d9b2bb88fee0b34913010e6c058ab122a01f3a8e1532764137f6ba42c2ebd72361ff5653983737f84cbb8a9f8b37b5400ee8da4c22
+EBUILD qlipper-5.0.0.ebuild 774 SHA256 d348f8a8e5bfe9caef870a406ff21295600bef1cfaad26f429f55202d2a7b6f5 SHA512 214ef740bea26e7646f77fee465aba7f25f566783503e5b66556e537cfb29cdca6588614a4de1645c01d84fb7fdfd6830d0285f77d1debf1c6c80e8f6dff0b51 WHIRLPOOL 7a23c56e26fb8fd880c770dbdf0daf5b37030422393f162c08aaa1a4c133ebf6c3a0c3fc8152101ba43c22788e9064cf46ad30e2f8152c53eb5d8f97d4ed13d2
+MISC ChangeLog 3668 SHA256 c6a9b5fdc95196d5364b395ddc9959282c049036ef24422b8db0155b326f571b SHA512 775d9bb99964cae4da8f45f11a9376767330845ff54cd50cd300ebc85511eac65b2539bbd5428c173399edf20ec06863fefbe7399f1b6e1fe47a4fc7237e1281 WHIRLPOOL bffc67237b15ced0a78c0e52f22b5e4a4175c6b8c2fbce6c6d273ebaf75037a3b8a5e89ab8132db78727ef185a9424fd4617f239f1c06e392d3df0b23fabb8f1
+MISC ChangeLog-2015 1392 SHA256 afa30c42a362fccb46d8f8da9e54da44010a0ce862e71292d4c2dc00358ff869 SHA512 b6396093cb02d803838662a8616f6df8b76d7991d0e1861bf9966ecd8619444128f34d6047b791eefed290a97fb8a27fa95161c9e056e3a9962e49fc35fe5bb5 WHIRLPOOL b3721efe4ac3cba1918fcb87081824af768b58f968a0b93e722466d5d1713928c9bfb2b1cd8c8c6729787c0794142edb664a0cbf84cf6995122e49bf7f13e7d5
+MISC metadata.xml 326 SHA256 19c7e5cd1660bc9d5c919bd6a1c3189f2759d1096b0f34deab72e342b0dc554e SHA512 5a8bfb530bd363777d529b7b70eec99ba70e6ee41ad9f6fb5ba7fd4c9259ffd381d4343d7a1c6dce34fc1566f5cab4fd474bc3726bbee49edc92d78250d87775 WHIRLPOOL 3d78d1a0afd61779c40cab2b87d36c2320cd079eaa7e0cd09bf2723776678380ba7006f2938cf5bc5cea510df860a47f1edab96ea38aa9dc99227e7afcc520db
diff --git a/x11-misc/qlipper/files/qlipper-5.0.0-build.patch b/x11-misc/qlipper/files/qlipper-5.0.0-build.patch
new file mode 100644
index 000000000000..20f6b35c56a1
--- /dev/null
+++ b/x11-misc/qlipper/files/qlipper-5.0.0-build.patch
@@ -0,0 +1,54 @@
+From b3cb6a08c82deacb905459b66f16eda35f0c3779 Mon Sep 17 00:00:00 2001
+From: Michael Palimaka <kensington@gentoo.org>
+Date: Wed, 9 Nov 2016 21:42:08 +1100
+Subject: [PATCH] Fix build with ENABLE_NETWORK_CLIPBOARD_SHARING enabled.
+
+qlippernetwork.cpp expects network-related variables to be available if
+ENABLE_NETWORK_CLIPBOARD_SHARING is defined, but qlippernetwork.h defined those
+variables if ENABLE_NETWORK_CLIPBOARD_SHARING was *un*defined.
+
+This also adds a missing include that is no longer available transitively via
+QtNetwork/QUdpSocket.
+---
+ src/qlippernetwork.h | 4 ++--
+ src/qlippertypes.h | 2 +-
+ 2 files changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/src/qlippernetwork.h b/src/qlippernetwork.h
+index 9163cf8..ce1ac9a 100644
+--- a/src/qlippernetwork.h
++++ b/src/qlippernetwork.h
+@@ -21,7 +21,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
+ #define QLIPPERNETWORK_H
+
+ #include <QtCore/QObject>
+-#ifndef ENABLE_NETWORK_CLIPBOARD_SHARING
++#ifdef ENABLE_NETWORK_CLIPBOARD_SHARING
+ #include <QtNetwork/QUdpSocket>
+ #endif
+ #include "qlippertypes.h"
+@@ -38,7 +38,7 @@ public slots:
+ void sendData(const ClipboardContent &value);
+
+ private:
+-#ifndef ENABLE_NETWORK_CLIPBOARD_SHARING
++#ifdef ENABLE_NETWORK_CLIPBOARD_SHARING
+ QUdpSocket *m_socket;
+ QString m_id;
+ #endif
+diff --git a/src/qlippertypes.h b/src/qlippertypes.h
+index b55f0e1..c97c311 100644
+--- a/src/qlippertypes.h
++++ b/src/qlippertypes.h
+@@ -2,7 +2,7 @@
+ #define QLIPPERTYPES_H
+
+ #include <QMetaType>
+-
++#include <QHashIterator>
+
+ typedef QHash<QString,QByteArray> ClipboardContent;
+ typedef QHashIterator<QString,QByteArray> ClipboardContentIterator;
+--
+2.7.3
+
diff --git a/x11-misc/qlipper/metadata.xml b/x11-misc/qlipper/metadata.xml
new file mode 100644
index 000000000000..bfc5032dd997
--- /dev/null
+++ b/x11-misc/qlipper/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>qt@gentoo.org</email>
+ <name>Gentoo Qt Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">pvanek/qlipper</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/qlipper/qlipper-5.0.0.ebuild b/x11-misc/qlipper/qlipper-5.0.0.ebuild
new file mode 100644
index 000000000000..ac11c2bd92c9
--- /dev/null
+++ b/x11-misc/qlipper/qlipper-5.0.0.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils gnome2-utils
+
+DESCRIPTION="Lightweight and cross-platform clipboard history applet"
+HOMEPAGE="https://github.com/pvanek/qlipper"
+SRC_URI="https://github.com/pvanek/qlipper/archive/5.0.0.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+# bundles x11-libs/libqxt but no qt5 system version is available yet
+RDEPEND="
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtwidgets:5
+ x11-libs/libX11
+"
+DEPEND="${RDEPEND}
+ dev-qt/linguist-tools:5
+"
+
+PATCHES=( "${FILESDIR}/${P}-build.patch" )
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}
diff --git a/x11-misc/qps/Manifest b/x11-misc/qps/Manifest
new file mode 100644
index 000000000000..fea16d98ce5b
--- /dev/null
+++ b/x11-misc/qps/Manifest
@@ -0,0 +1,7 @@
+DIST qps-1.10.16.tar.bz2 218323 SHA256 733b910fafbd07310fa4273e04aedbeaeaf3f8b9d0bbde3543e34bf83dcce39e SHA512 b1b7fa8840f0e50d9d0d3f22b59285e7a774d670f34245bf9eb04cfd0291373674216ba156cee6990e7fd2767d7e33bb8d3af55b4e52a5de9297f2f48eff33f5 WHIRLPOOL 71f2d67ff8aaa5ca7c229b34fdcb687ba04bb11a9340a38659734f76b69821ef21a1bf1b48ca954920bd1bf8d4262e5fa2fa2e0325c43963b1218a0ca4b0c497
+DIST qps-1.10.17.tar.xz 163212 SHA256 5142647be1bdee0ed4a4a1785a9aa79f817dbd9ae63c7cc7f42be6d0b4a4e3fe SHA512 81d4ef9cdd732edc6dd060998f10124663d26ec8250fc1de62eb020624111eb3ba595058bd74d5cee1bde84326f26579ab40c4ed7ef58f0aa44baca96921cfb5 WHIRLPOOL 73bc2d7853235c3baf41ed7db68bebc650f84c4dfe8b62d0ba7b435eab55c4cf11a2f67f2aca7d7e6b8113053d01fc53755468136cf0a7cfae2d617f31711eb2
+EBUILD qps-1.10.16-r1.ebuild 702 SHA256 63418f88a296e78217ac5029552f88f28cacb45517955d5bd7d7933e9bb6ba77 SHA512 29727124b8fc5390d432569b822679ae54e34dc6dafd30942b338891c6f23466f8624551b9d352c0f0a8377ad010b3544daac58f13d16dac2003abed0289506f WHIRLPOOL 11292cdd759b6e96a1cdfa3ac783d682490c98eb2007e6a3948a3b2d01c911efb37f40c2074ba31eb72c9d35c4ee7fc1fb918cd3f370024fac0f3105c82e4e96
+EBUILD qps-1.10.17.ebuild 639 SHA256 d606d8c6a822eb418f7a1ab05878306d9ceb5b8320aa3854e3609983f92bd3cb SHA512 27bca14ed93f0dadc1eb33406148fa105b30c60a4f909ced98d7cf2cb3ee82b89f6cd749cf0b62a59b38db14b4c453012e1c20f8bdc8e7d563ac6720a714c10c WHIRLPOOL 1120bbba3dbce0d3b4892b3fc6169dd4356f36a5bebc0f7104bc01ebece19ebc6afd182c4d39218f91bf05871a1488e063df989683776786f12c532d413f8305
+MISC ChangeLog 2593 SHA256 4ff22e7cdef096beb0f09b72ff71e0f87537830e0fc94a7ec9feca9e02053aa2 SHA512 88bcdd2752b20ac3c275d1e3c9b5ce774d01e0c9f5de277e8d21bf9c52189369a67e2383984f02d3ed5636b9542d2b501242463a327c6b052f9688b2f8e63059 WHIRLPOOL 85e19155777c6a73347ed5ae7113778d37b33cdff935984178ed2aba794de44eeee7f74e9057150637784e0a8b2166de73cb8395c629c453c8138414a4b89046
+MISC ChangeLog-2015 780 SHA256 717d91838fd1f80197c4b91783db38bf63a0de06f437647f62cebb174739244d SHA512 aaff09c78a5e20771dc13d4770e28a2bc78213c74718b750564581c1c9ce022ffac87d18366988fefbbbd99ccc28e0d585c74e32116e81d193c2bac277feedf0 WHIRLPOOL 139b69ae489c30e05ce2cd737f074f893cd1dcc4e62256a05a724e5199c55a8a4e138117cba3e55ced40bc1eec852c8b5bce6501a28d05a80e59d72addf68fd7
+MISC metadata.xml 247 SHA256 690d3e08cdd71b405f5361dfa3f33007ce9ec9d0ae7628e9271891da9e2bda92 SHA512 b43c8e84c3c753b49b203921a5aca792639a36d6efdbe16c069ff9abfbce0585718bb3824c03abdd7bd19ada13fb0a98a378c85ed369ac5fdc53ad3b3d5465d2 WHIRLPOOL dffc398d6bdbe8a8afc8863675a819a7bd69ae4d098ffbddad4c21ab8f1a850ab8ede71f98e34999b0605ad01ea93c8864cd681b50d3e153aa3d0901ddb10743
diff --git a/x11-misc/qps/metadata.xml b/x11-misc/qps/metadata.xml
new file mode 100644
index 000000000000..17237689dcfd
--- /dev/null
+++ b/x11-misc/qps/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>qt@gentoo.org</email>
+ <name>Gentoo Qt Project</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/x11-misc/qps/qps-1.10.16-r1.ebuild b/x11-misc/qps/qps-1.10.16-r1.ebuild
new file mode 100644
index 000000000000..432a06c3a2ae
--- /dev/null
+++ b/x11-misc/qps/qps-1.10.16-r1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils qmake-utils
+
+DESCRIPTION="Visual process manager - Qt version of ps/top"
+HOMEPAGE="https://kldp.net/qps/"
+SRC_URI="http://kldp.net/frs/download.php/5963/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug"
+
+DEPEND="dev-qt/qtcore:4
+ dev-qt/qtdbus:4
+ dev-qt/qtgui:4"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ default
+ sed -i -e '/strip/d' ${PN}.pro || die "sed failed"
+}
+
+src_configure() {
+ eqmake4 ${PN}.pro
+}
+
+src_install() {
+ dobin ${PN}
+ doman ${PN}.1
+ einstalldocs
+
+ newicon icon/icon.xpm ${PN}.xpm
+ make_desktop_entry ${PN} ${PN} ${PN} "System;"
+}
diff --git a/x11-misc/qps/qps-1.10.17.ebuild b/x11-misc/qps/qps-1.10.17.ebuild
new file mode 100644
index 000000000000..3087e09c52df
--- /dev/null
+++ b/x11-misc/qps/qps-1.10.17.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils gnome2-utils
+
+DESCRIPTION="Visual process manager - Qt version of ps/top"
+HOMEPAGE="https://github.com/QtDesktop/qps"
+SRC_URI="https://github.com/QtDesktop/${PN}/releases/download/${PV}/${P}.tar.xz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug"
+
+RDEPEND="
+ dev-qt/qtcore:5
+ dev-qt/qtdbus:5
+ dev-qt/qtgui:5
+ dev-qt/qtwidgets:5
+ dev-qt/qtx11extras:5
+"
+DEPEND="${RDEPEND}
+ dev-qt/linguist-tools:5
+"
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}
diff --git a/x11-misc/qsynergy/Manifest b/x11-misc/qsynergy/Manifest
new file mode 100644
index 000000000000..01bbb88ffa2e
--- /dev/null
+++ b/x11-misc/qsynergy/Manifest
@@ -0,0 +1,5 @@
+DIST qsynergy-0.9.1.tar.gz 158259 SHA256 3ae886f977cae04c2152cc9f0bdcf88b17bd6ebe6b003c3eba58c68b1eb24630 SHA512 90632fe2a360e455b93aee4725f0130426e842a574dd17b2a36b6a23a646ded4f7998781e48599edb3ad962b0cb32c7ae5ad3bd2275a1a421c143f9ea2cec55f WHIRLPOOL c93fe5c53d289fe2ce26818752b028686830e156b6cde7dffb5f754016072d9327f1f7088a9cd7d044fa3644fb3b2969c381713c74d069b38b843b335a989d2d
+EBUILD qsynergy-0.9.1-r1.ebuild 460 SHA256 966f89a4969f450f59c9f3c6e615f8b9b1d7fcf1780085fce73223f9e85de83c SHA512 18451b7bab00f94484f514453e412aba9b0ce1a1bb1a236e23bbf6d33494af4939e95f8e8651e08b32be2f2a18f102cd9c4f3e01a8e43299c6e6b3cd8f2d99bd WHIRLPOOL 5310b26dcb4f6b9164e64b8938bc4530fe2d366fe117252ebd3b333ea1203012a927b3cd0bce60c56798e4c69dc737db7a4b2a40345d8f1179e4de1cb4d1ef5b
+MISC ChangeLog 2436 SHA256 d05393c56c2b72c6a1162f96d33bdcaa4e969b26bedb8f8c9ba376c5212a0bce SHA512 e4988e0e37f8000b7faf9977c73186099a70381b6b5b13798425f5153db2a31e197af56a33ca7bbe017212bc264cf30a66516db3d360b5c553e5384d9204ca63 WHIRLPOOL 7825ad379513c146dcf5f187480ea1f878166dc9b7244776fb8dd8a3bf5d392d763bd0d7741b8778d25a7ba8ba9510bbb645b1d70d76269f28872837e5d540a6
+MISC ChangeLog-2015 1145 SHA256 6bdb6a6b0c0303896d0cd98b16d136b1d80299f755e46295fe6e851a565c7976 SHA512 ed1455ba336ced27bcf53de957c050506c4e22085c1e90f0bde77254faba804b24a97fd2baca1397077c14cbf32829f4a7ed430547b8f0d83e57d756b2860aab WHIRLPOOL 4a29c40d737d604e63897464e952509291a676e0c50c13670b71382f461ee51c925166a92675f69fbffbb25ae605ea30b75cd2728b57fe1fd0c191db248d7f02
+MISC metadata.xml 325 SHA256 bd224a2a13a99b9472aeaa369255c1e287300d35e1c02d1b641032fc255694ca SHA512 bcc1e93a079819fabc43579dd52f334ba3551a8484763584de34c9e6bd6e5c3e59dba8f0a760efe881da8411bd10930dbe1f576490d83c9eb469d5f485d252ab WHIRLPOOL c7707d3503563eda8aaec89e737513e3da9ab48e3a49acd6f71aa3a52b701389d031d2ef7fccc9efe246df3422c05850aba6efa92dd21ef71f60fb353ea05406
diff --git a/x11-misc/qsynergy/metadata.xml b/x11-misc/qsynergy/metadata.xml
new file mode 100644
index 000000000000..e45e4468f381
--- /dev/null
+++ b/x11-misc/qsynergy/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>qt@gentoo.org</email>
+ <name>Gentoo Qt Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">qsynergy</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/qsynergy/qsynergy-0.9.1-r1.ebuild b/x11-misc/qsynergy/qsynergy-0.9.1-r1.ebuild
new file mode 100644
index 000000000000..ecacdcad396d
--- /dev/null
+++ b/x11-misc/qsynergy/qsynergy-0.9.1-r1.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit qt4-r2
+
+DESCRIPTION="A comprehensive and easy to use graphical front end for Synergy"
+HOMEPAGE="http://www.volker-lanz.de/en/software/qsynergy/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug"
+
+DEPEND="dev-qt/qtgui:4"
+RDEPEND="${DEPEND}
+ x11-misc/synergy"
+
+DOCS=( README )
diff --git a/x11-misc/qt5ct/Manifest b/x11-misc/qt5ct/Manifest
new file mode 100644
index 000000000000..8bd5f46dc2de
--- /dev/null
+++ b/x11-misc/qt5ct/Manifest
@@ -0,0 +1,6 @@
+DIST qt5ct-0.31.tar.bz2 55724 SHA256 d5357768832a81e39aa9cd0a45d8144de9bd59302d8d122d8c2d1a231be2aba9 SHA512 9162106febf93b94b8ba847157d20386568bc898d15c6123636ef9d9c50bce3ca4706fbfbfd82053dccf545f91ca40d387d1e9a5bbb6773810a1d931417eaa4e WHIRLPOOL e63d91ea06956859abebef8990c3b697fddbda9656dcb092231fece95ed9f5ce8fe1597ca6b28468e63b76adcd311637b3591e7650ad0a1adb8a0f1958eafef4
+DIST qt5ct-0.33.tar.bz2 56448 SHA256 2e55484bdae7988ec8ce2629cfc252b226df8b07b2a0b6f8ee2fd10cc8e7c02f SHA512 670ec099978b569b7607d6a0af0c7e7b66b4b4a374041893c85a8749992ae6a931fa9678fa122baede8a672c0c9798fad8c30c60205c3f9d0ad3dd867e0753ba WHIRLPOOL f8ecb21aaa3aef538860fdd43095dc0b6b7aff72bb5ff6601f15783e5eb9bd398c4031e05139fda90800c0436606d8ac9f3fe66e09bb29f6ae8c704000d8b2b8
+EBUILD qt5ct-0.31.ebuild 1047 SHA256 061c5b3374c21a56dfe13ed848454521bb21323f0718f8e31e152d14e4a25812 SHA512 10584356810c53826c3f27b58981c251714a42423006590e174367b6e736388e2957877d75380f1ff9fcdb2c2f4e3d7bc19e610bf62d71e9a94bed72ad6daf17 WHIRLPOOL 5ee69883909f5398949d895ed6f0c567ae730abec7dc81a69753abe96da550ebf3db5a97c7e0d6f7d16807f6b56eb2df9de57e143b5fbfc841f8858e75cfcbb3
+EBUILD qt5ct-0.33.ebuild 1056 SHA256 edd714655422535c068e0c878ddb8cfd013e005a95ae67b87b7816796ebb30d1 SHA512 18841528248fdfb573df079b40c2a86c3e42e3266d419e26b904da159016e981131e3040e5aa85fa625c354cc3b3d1ef2df62f8e4b1402ca61c4cee131a18364 WHIRLPOOL 1a0046ce3bf77f1a4b91d1a4c938d149bea731bdea8fcbca478d1741490711bdae6dcfd561977b3f824609db110cef568a9c0fdbde7049b87f319693d340da7d
+MISC ChangeLog 2755 SHA256 b61e289700361a3fa898adfa4404393a71a912146ccfa7abf3a94b479a7071f3 SHA512 c2ed9842ca94eabbc69af07944b3a9dbf5e9ae02c9dfdc17108d912b86dfa65ceef913606fab683d215074aba3b92ed18161280c0bb0b632931bfd14867d679e WHIRLPOOL 7538055e8c648c53e41e720044f9391bfe0898a9b2a139222889bcb82d0a19ac5eacca375f2660f8ff238e72136912e3aa8d39057807b599c8fbea2d83a4652e
+MISC metadata.xml 742 SHA256 0c39a498ed4f7dde541f9e13da208011a631fc3fa6c2fd8c36c46d1f3cf4b5da SHA512 28cac81e8d22ee5fa6fd808dbeff31f33263145c72e101c0444fdb1ab4dfc4a32a872069729a83c1b55e80ee7683214e6845af11611ac89ba51bf7cd1f0b6f53 WHIRLPOOL 9a451c5388d4492c25f3d6aa26ec4d45c5727e4f693b13410f7b57890c5b5b08a88369dd6a4a68c14179cdae42372d11b7e6222b44296517284ca05d75b862ff
diff --git a/x11-misc/qt5ct/metadata.xml b/x11-misc/qt5ct/metadata.xml
new file mode 100644
index 000000000000..a5fe4940379c
--- /dev/null
+++ b/x11-misc/qt5ct/metadata.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>itumaykin+gentoo@gmail.com</email>
+ <name>Coacher</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <longdescription>
+ This program allows users to configure Qt5 settings (theme, font,
+ icons, etc.) under DE/WM without Qt5 integration.
+ </longdescription>
+ <use>
+ <flag name="dbus">Enable system tray and global menu support</flag>
+ <flag name="systray">Enable system tray support</flag>
+ </use>
+ <upstream>
+ <remote-id type="sourceforge">qt5ct</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/qt5ct/qt5ct-0.31.ebuild b/x11-misc/qt5ct/qt5ct-0.31.ebuild
new file mode 100644
index 000000000000..a774818defb1
--- /dev/null
+++ b/x11-misc/qt5ct/qt5ct-0.31.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit qmake-utils
+
+DESCRIPTION="Qt5 configuration tool, similar to qtconfig for Qt4"
+HOMEPAGE="https://sourceforge.net/projects/qt5ct/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="amd64"
+IUSE="+systray"
+
+RDEPEND="
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5=
+ dev-qt/qtwidgets:5
+ systray? ( dev-qt/qtgui:5[dbus] )
+"
+DEPEND="${RDEPEND}
+ dev-qt/linguist-tools:5
+"
+
+src_configure() {
+ eqmake5 DEFINES="$(usex systray '' QT_NO_SYSTEMTRAYICON)" ${PN}.pro
+}
+
+src_install() {
+ emake INSTALL_ROOT="${D}" install
+ einstalldocs
+
+ echo 'QT_QPA_PLATFORMTHEME=qt5ct' > "${T}"/98${PN} || die
+ doenvd "${T}"/98${PN}
+}
+
+pkg_postinst() {
+ if [[ -z ${REPLACING_VERSIONS} ]]; then
+ ewarn "qt5ct configuration won't be applied to the currently running sessions."
+ ewarn "Please relogin."
+ fi
+ if ! has_version 'dev-qt/qtsvg:5'; then
+ elog
+ elog "For SVG icon themes, please install 'dev-qt/qtsvg:5'."
+ elog
+ fi
+}
diff --git a/x11-misc/qt5ct/qt5ct-0.33.ebuild b/x11-misc/qt5ct/qt5ct-0.33.ebuild
new file mode 100644
index 000000000000..05b743dbdc0a
--- /dev/null
+++ b/x11-misc/qt5ct/qt5ct-0.33.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit qmake-utils
+
+DESCRIPTION="Qt5 configuration tool, similar to qtconfig for Qt4"
+HOMEPAGE="https://sourceforge.net/projects/qt5ct/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="+dbus"
+
+RDEPEND="
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5=
+ dev-qt/qtwidgets:5
+ dbus? (
+ dev-qt/qtdbus:5
+ >=dev-qt/qtgui-5.7:5[dbus]
+ )
+"
+DEPEND="${RDEPEND}
+ dev-qt/linguist-tools:5
+"
+
+src_configure() {
+ eqmake5 DEFINES="$(usex dbus '' QT_NO_DBUS)" ${PN}.pro
+}
+
+src_install() {
+ emake INSTALL_ROOT="${D}" install
+ einstalldocs
+
+ echo 'QT_QPA_PLATFORMTHEME=qt5ct' > "${T}"/98${PN} || die
+ doenvd "${T}"/98${PN}
+}
+
+pkg_postinst() {
+ if [[ -z ${REPLACING_VERSIONS} ]]; then
+ ewarn "qt5ct configuration won't be applied to the currently running sessions."
+ ewarn "Please relogin."
+ fi
+ if ! has_version 'dev-qt/qtsvg:5'; then
+ elog
+ elog "For SVG icon themes, please install 'dev-qt/qtsvg:5'."
+ elog
+ fi
+}
diff --git a/x11-misc/qterm/Manifest b/x11-misc/qterm/Manifest
new file mode 100644
index 000000000000..796a429320e4
--- /dev/null
+++ b/x11-misc/qterm/Manifest
@@ -0,0 +1,5 @@
+DIST qterm-0.7.1.tar.gz 901169 SHA256 7e760dc18afa8c6e20c7d5f0148c41b9a9273667c6ee7716f7cc87ee5eaa0d63 SHA512 94f4c3f7974572c29eabf98c45e962b9232a4b0fbd6710c7725e0d23e6ecc91456f52a8c112779cd3b4732cb2e4302629419f7365b2d359ccbf39578e6e67cdd WHIRLPOOL fd9cd74ec010e4d63b7e7ef6c3f756f7e67db58f96a932ef426136fbee1565199ed13c27d27586ef7f81fb89d79b7cde7a2d090903bc3c3e64fecf30e0188d52
+EBUILD qterm-0.7.1.ebuild 1214 SHA256 e88dee603f5882b958c5e4fbd4437167f798973baa6d8a3fef2825a8c31c43cd SHA512 26a0e6d47ba3785843cbf7c5e3f072398d0a3fd7222b4403c0aa3f77e12f86f58633a868cf7f61b259cb36e06cb685245fc503b2b097350ab16e726359695da9 WHIRLPOOL 3613ed4ebbd1eda6bdc0eed058d78155e6782c9e170a7dca87ae8596c98286aa485d8c2961210d96a1f758bebdce963a02f688bc0662b280ca03492a51e48548
+MISC ChangeLog 3858 SHA256 ea4e941eb3a4b392acb8819b7f69f9990c769179bce81af506d9cc98b6e9a3c4 SHA512 625d7a8bc43ff7b1633eaa9873ca8babbd2929e525f5a0aa894b1a19f31fdfbaafbe923d3d6c0f4518f93dfeb9fd1cebf2c597a6f643c16ce66533ecb1186ee9 WHIRLPOOL 2b23061eb60891c438393009a3c2a3364fe37f374ecf7ea992a2e11b92c1b84755285fb58dceeff89f2a194b959b70aeb42156027b6ad4119225aec23e895681
+MISC ChangeLog-2015 7531 SHA256 3967267059e0c134a894c8874e727939bfa24f2e0aa8fe98a02e26773acf6e7e SHA512 348fb9582accfe0aa98db90bbeb2e226cb00aa265321ad5727961d82f694ac192c39fbd45ad75d70619387920f9f17d2391ad9aca256bb52768bf651b8bfd5f1 WHIRLPOOL aa1ec3a802625cef939ed0012659f82d324dbb27c684289cc488ce9455387792fd0ca14354d15e97909bd500d442266d09dcd1e5142dfbae1527f9cdee5bce9b
+MISC metadata.xml 360 SHA256 9919196936327a6b21ceb05ff3a69e84c1d35f712121ee216331ca98f163b7a7 SHA512 ccdcf09d604e38d3059829a1cab9415900bc39ef126bb5d5825781713512eff75e99046a8133ad74bfe2407fae51ab4013ea5600efa0a65a70666ef98a1013ac WHIRLPOOL fcf0f16f6cdd10fc5010abfadae0171f9f87a0e3cce4a2f8743858b4a784cb503a598006c555d14028833b4f94b1a3d1bf29756c7ac94fb6a778b9f86226d013
diff --git a/x11-misc/qterm/metadata.xml b/x11-misc/qterm/metadata.xml
new file mode 100644
index 000000000000..d9de788cca8b
--- /dev/null
+++ b/x11-misc/qterm/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>cjk@gentoo.org</email>
+ <name>Cjk</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">qterm</remote-id>
+ <remote-id type="github">qterm/qterm</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/qterm/qterm-0.7.1.ebuild b/x11-misc/qterm/qterm-0.7.1.ebuild
new file mode 100644
index 000000000000..50c09addf91f
--- /dev/null
+++ b/x11-misc/qterm/qterm-0.7.1.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils gnome2-utils xdg-utils
+
+DESCRIPTION="A BBS client for Linux"
+HOMEPAGE="https://github.com/qterm/qterm"
+SRC_URI="https://github.com/qterm/qterm/archive/0.7.1.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="libressl"
+
+RDEPEND="
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtmultimedia:5
+ dev-qt/qtnetwork:5
+ dev-qt/qtprintsupport:5
+ dev-qt/qtscript:5[scripttools]
+ dev-qt/qtwidgets:5
+ dev-qt/qtxml:5
+ x11-libs/libX11
+ !libressl? ( dev-libs/openssl:0= )
+ libressl? ( dev-libs/libressl:= )
+"
+DEPEND="${RDEPEND}
+ dev-qt/linguist-tools:5
+ dev-qt/qthelp:5
+ x11-proto/xproto
+"
+
+DOCS=( README.rst RELEASE_NOTES TODO )
+
+src_prepare() {
+ cmake-utils_src_prepare
+
+ sed -i -e "s/Exec=qterm/Exec=QTerm/" src/${PN}.desktop || die
+}
+
+src_configure() {
+ xdg_environment_reset
+
+ local mycmakeargs=(
+ -DQT5=ON
+ )
+
+ cmake-utils_src_configure
+}
+
+src_install() {
+ cmake-utils_src_install
+ mv "${D}"/usr/bin/qterm "${D}"/usr/bin/QTerm || die
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}
diff --git a/x11-misc/qtfm/Manifest b/x11-misc/qtfm/Manifest
new file mode 100644
index 000000000000..ff74873a56fd
--- /dev/null
+++ b/x11-misc/qtfm/Manifest
@@ -0,0 +1,6 @@
+AUX qtfm-5.5-gcc6.patch 346 SHA256 fdfb2c7b1475b92359f0ec89dffc26f7eee9974e422c8a1bf13e524a37d4e5d9 SHA512 e73c2be9cd2b5f3410500b813865c34458ec51a8902c4bf85faa607e7eb98f7e2f9c393a570dc6761938e2081cb43267bb8ab0a2d7450e10098b8f8db05a8634 WHIRLPOOL 00a9161d548fae667fd24e4a0d70a810be58d93c4e8fa667aacb362260d00ce385e369918caf79d43556d955018de0d256657306eae2b1caf31d5555a62883cd
+DIST qtfm-5.5.tar.gz 149667 SHA256 845fc43800d12483fa1993c56a8c965ff8dc917b97f03d9ce2e24318806fb211 SHA512 0d592b482f35c76b424cc581394d34299bb93367f287f57718d640df256f352fef7e389a8370889d0d78ca8afb9868cdfb56ae15671614e279365b72f9e629e0 WHIRLPOOL d842f533bdc16886255bfffdb173697334c5e4ee22aea35ba0f72561858b32eb035ce881f031f027c40b7f2f8a3786f69161d4097a2304aea02858b1878013c9
+EBUILD qtfm-5.5-r1.ebuild 957 SHA256 9128414a070c7b4803aab606f7966d5b5d4f2555a00cba89610d6f80c9988b15 SHA512 d658f4f3aabd6f92786672b9985f89e061f2508d8d46ca81180578ba088c498a649335e8c6f28ac1f1ab80f198cc99542951911f1d05d54a1d9c4c60ff298f10 WHIRLPOOL dd9a491b4d767d228fbe8b2856865c20feb1db959ad4ec0811c52a7d798fee73673174c59735cddb17bfab3f47aab5a1d7936b2c969bd0d58fe6ade258a82fbf
+MISC ChangeLog 2414 SHA256 3697a141c2936f24adb8681b9ed95f496b130cdd32f3aa704f49f0fc70565715 SHA512 9d4f46620005d4d0492f0a7942af4ae6c062105a4e1e0bfed1b2724f804747adae7c0bbfb5169819f1db16abe0523509dd9a594f6242a154a4e504b356b4a09d WHIRLPOOL c4bce40dfacbc45aa7929c666e4fef1350003db10645c9992f6eb8b8dad0d62129824f8531f28ff731037ecbe2b143c33f4feca32d4934c398b8cbd57cc41b1b
+MISC ChangeLog-2015 1924 SHA256 aa1607e03e7aff531c0f20b6a5a70bd298482ee6b260b98dfddbef6188d68f53 SHA512 991ef86f06501b8bec53b78b21b32ee2cc77650f33deba667a860c5fb25da7d2d0afb6d868235af6dcd1b01721ce9079f8b533c22984ed15cdb87e55aa1341c0 WHIRLPOOL db7a38c2f7d785733b805ae411254ef4d24783765cd874864dbf7252c42cc498675b70d511d89afd32963bf641d7c6f625bce8062669f8ba423bb013ccc6574d
+MISC metadata.xml 376 SHA256 11cc26277313fc7605d3cb1b111e0636c6406f51f7b86af978eee83ddaf3b092 SHA512 dcf748d475de6eadfc319fdef1bcbcdf9e597f4f14dffe6df90ecc68f7825973ea84a56b1569950bf0d3793b5960c479b616c398b7b763dc73f06cd6b9dd435d WHIRLPOOL 354d028ac325878899a10f67648e424c7e5ce289d2edca8bf4c86456829e2bb3936e53a38c52db9496dc60999a3aeec288570711ad693fdbe59e0fb7c5659fbf
diff --git a/x11-misc/qtfm/files/qtfm-5.5-gcc6.patch b/x11-misc/qtfm/files/qtfm-5.5-gcc6.patch
new file mode 100644
index 000000000000..371ee6afa562
--- /dev/null
+++ b/x11-misc/qtfm/files/qtfm-5.5-gcc6.patch
@@ -0,0 +1,11 @@
+--- qtfm-5.5/src/mymodel.cpp.old 2012-05-27 20:05:45.000000000 -0400
++++ qtfm-5.5/src/mymodel.cpp 2017-03-17 15:41:37.136770140 -0400
+@@ -166,7 +166,7 @@
+
+ if(item) return item->absoluteFilePath();
+
+- return false;
++ return NULL;
+ }
+
+ //---------------------------------------------------------------------------------------
diff --git a/x11-misc/qtfm/metadata.xml b/x11-misc/qtfm/metadata.xml
new file mode 100644
index 000000000000..3e91ecae7c1c
--- /dev/null
+++ b/x11-misc/qtfm/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>qt@gentoo.org</email>
+ <name>Gentoo Qt Project</name>
+</maintainer>
+<maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+</maintainer>
+</pkgmetadata>
diff --git a/x11-misc/qtfm/qtfm-5.5-r1.ebuild b/x11-misc/qtfm/qtfm-5.5-r1.ebuild
new file mode 100644
index 000000000000..bab6abce4884
--- /dev/null
+++ b/x11-misc/qtfm/qtfm-5.5-r1.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit fdo-mime qmake-utils
+
+DESCRIPTION="A small, lightweight file manager for desktops based on pure Qt"
+HOMEPAGE="http://www.qtfm.org/"
+SRC_URI="http://www.qtfm.org/${P}.tar.gz?attredirects=0 -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+# file is for LIBS += -lmagic
+RDEPEND="sys-apps/file
+ dev-qt/qtgui:4"
+DEPEND="${RDEPEND}"
+
+PATCHES=( "${FILESDIR}"/${P}-gcc6.patch )
+
+src_prepare() {
+ default
+ sed -i \
+ -e "/^docs.path/s:qtfm:${PF}:" \
+ -e '/^docs.files/s: COPYING::' \
+ ${PN}.desktop || die
+ sed -i \
+ -e '/MimeType=/s|$|;|' \
+ -e '/Categories=/s|$|;System;FileTools;|' \
+ ${PN}.desktop || die
+}
+
+src_configure() {
+ eqmake4
+}
+
+src_install() {
+ emake INSTALL_ROOT="${D}" install
+ einstalldocs
+}
+
+pkg_postinst() {
+ fdo-mime_desktop_database_update
+}
+
+pkg_postrm() {
+ fdo-mime_desktop_database_update
+}
diff --git a/x11-misc/qtnotifydaemon/Manifest b/x11-misc/qtnotifydaemon/Manifest
new file mode 100644
index 000000000000..6f102cc77aa0
--- /dev/null
+++ b/x11-misc/qtnotifydaemon/Manifest
@@ -0,0 +1,6 @@
+AUX qtnotifydaemon-1.0.14-build.patch 702 SHA256 7051ab49f53c2fd16e202323ff78678a817599953045ee9fa22583c0ce6e6f8e SHA512 4d71408894f071433d70d0f305606402ecb780f1cb7857b2cb9715e3b0ac524fea3561c247da009bdf745e2e0284f2f7bd8ac15a38283f8c8cef4d7a811ec0f4 WHIRLPOOL fd6d4fb90957ea94d2351cf1401c458ddaae605246194d34b4ad30055783132661e9a88a634376dc556f7ed22d9922b8d920808b16f2b12449cdfaa9361d2537
+DIST qtnotifydaemon_1.0.14.orig.tar.gz 1136779 SHA256 1e5a91c8b1f4a9954842a69c2e41bf8fbccad4dcdc115797863098f800be54b5 SHA512 409f911be7d0e55f8a9f23db67ad6eefac1d215c598f54bab35bd704feee3a68ae21a3c416bd8848aacbdd82ca751ea1170c566d5615d4ac8a30adb87d487b8f WHIRLPOOL b73f19aa3e18dec8dd952768b14a0fb5defeee0c58c27fce50ca53bb5602c5fe8dfe15f79c5e727657ae35efae20e38e9720953e1f102c0c46717f475f830445
+EBUILD qtnotifydaemon-1.0.14.ebuild 720 SHA256 cbe93b7e1cac3f5e0d14d6af59be065a49c5cfde3f7f4eab371e9911f4d83b10 SHA512 b61b1bd3c9fd7bc7bac3bc0a41e012abe8d131220401883a53c13d308662ab4247a60dd41f36164dfae77f54fe6b34872de47089616bc2b011ed9cd6a0874d21 WHIRLPOOL dc90fc1f7cba7fe5cb557c831acdf1e88a3ad31f940061b88c6431ba9664545b8bada8dbb6755ee51f7060f471989d17db4a6b225eddcd62afb5411df87d40d3
+MISC ChangeLog 2868 SHA256 6e320d0b5589af1145a684d9729f5a5d3aa565f9dfc415bb8a8f0aa8e92effc0 SHA512 2bf00f5d6251a12417989c5ac17828c05b88292bef1f84881e594b88d03a42a80df06ff7124eee5c170643dfb5ee1fc6f61780ff20ff7c546ad4acd5a8d4baca WHIRLPOOL c497dd52f6a1d3b0ecd5b0f5a990052ebedb7bb416314cdc434bd213482fd18083279a4bb30c3e7ba790ff3176b0ecaa720b114cda391eb761dcbc667a4d040f
+MISC ChangeLog-2015 1041 SHA256 0145acdb26417062baa03a9816e13a0b858777f2479207316aed40cdb8c56762 SHA512 ffb372eb5a2dc3f9bf12b13cb648ac2109d3cfb26223428d55815b9a28a2a4a4bfd906faf123cd66d434075a8a57ee71d69df769578379b8dd45b9f336ce268b WHIRLPOOL a2fbffc60e7be4796631d7abbb8501db62c3d912d199d1373c626df44cfd74243bd73b5d0644deb71f94f7314d1439d70dae4301af2e5dfdfcf3d4e696f936fd
+MISC metadata.xml 370 SHA256 3940f49072fa8bda7a46394afc69c57faf67c85a5e8ecb4af708b1142d09c203 SHA512 a6b29318e28e1955a5d9edd58eaac7bf498a8836605572eeae61ed8a7ccf0009ff681a3f04b9d2b35bc092d47f187ef1ee0582e98021e5eabd2f2dbde9a48649 WHIRLPOOL 0e1b7c59e48b9a79d0f3ea859ba703f829072a09ba06e71d9333db197a705679daba6873fa68cf2cb4c8673d22d68da5475cfb6a606cc9048c3d6f9e1bc6f29d
diff --git a/x11-misc/qtnotifydaemon/files/qtnotifydaemon-1.0.14-build.patch b/x11-misc/qtnotifydaemon/files/qtnotifydaemon-1.0.14-build.patch
new file mode 100644
index 000000000000..0aebc851c727
--- /dev/null
+++ b/x11-misc/qtnotifydaemon/files/qtnotifydaemon-1.0.14-build.patch
@@ -0,0 +1,32 @@
+Fixes build with GCC 4.7, as well as the gold linker.
+
+--- main.cpp
++++ main.cpp
+@@ -22,6 +22,7 @@
+ #include <signal.h>
+ #include <sys/stat.h>
+ #include <pwd.h>
++#include <unistd.h>
+ #include "dbus.h"
+ #include "notifywidget.h"
+ #include "notifyarea.h"
+--- notifyarea.cpp
++++ notifyarea.cpp
+@@ -22,6 +22,7 @@
+ #include <QSystemTrayIcon> //alex
+ #include <QDesktopWidget>
+ #include <fstream>
++#include <unistd.h>
+ #include "notifyarea.h"
+ #include "notifywidget.h"
+ #include "dbus.h"
+--- qtnotifydaemon.pro
++++ qtnotifydaemon.pro
+@@ -13,6 +13,7 @@
+ INCLUDEPATH += .
+ QT += dbus
+ RESOURCES += images.qrc
++LIBS += -lX11
+
+ # Input
+ SOURCES += main.cpp notifywidget.cpp dbus.cpp notifyarea.cpp message.cpp
diff --git a/x11-misc/qtnotifydaemon/metadata.xml b/x11-misc/qtnotifydaemon/metadata.xml
new file mode 100644
index 000000000000..ca9e297c939d
--- /dev/null
+++ b/x11-misc/qtnotifydaemon/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">qtnotifydaemon</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/qtnotifydaemon/qtnotifydaemon-1.0.14.ebuild b/x11-misc/qtnotifydaemon/qtnotifydaemon-1.0.14.ebuild
new file mode 100644
index 000000000000..a210a436ee83
--- /dev/null
+++ b/x11-misc/qtnotifydaemon/qtnotifydaemon-1.0.14.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+inherit qt4-r2
+
+DESCRIPTION="A flexible and configurable notification daemon"
+HOMEPAGE="https://sourceforge.net/projects/qtnotifydaemon/"
+SRC_URI="mirror://sourceforge/${PN}/${PN}_${PV}.orig.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="x11-libs/libX11
+ dev-qt/qtdbus:4
+ dev-qt/qtgui:4
+ dev-qt/qt3support:4
+ !x11-misc/notification-daemon
+ !x11-misc/notify-osd"
+DEPEND="${RDEPEND}"
+
+S=${WORKDIR}
+
+PATCHES=( "${FILESDIR}/${P}-build.patch" )
+
+src_install() {
+ dobin ${PN}
+
+ insinto /usr/share/dbus-1/services
+ doins org.freedesktop.Notifications.service
+
+ doman debian/${PN}.1
+}
diff --git a/x11-misc/quitcount/Manifest b/x11-misc/quitcount/Manifest
new file mode 100644
index 000000000000..fe48194f13e8
--- /dev/null
+++ b/x11-misc/quitcount/Manifest
@@ -0,0 +1,4 @@
+DIST quitcount-3.1.3.tar.gz 403607 SHA256 d8c21bb0cf67d729d51a7921b86bb3ab75003253ba03b26d605ce5b48b33713a SHA512 92e088b8272657f14e60d91589963cfcefe84ead9f4d90aa3a77ac9612fe216f558e0378788edde7680a3dba131021bf72129fbc1291eca83cd232490f486f9f WHIRLPOOL 757deda35a4d8b9079dd5f333ce488e1f00b5c6af15da789cb1e210f61be2170b5509e34c899f4aecd6f745660fdcf7b1e4ee2244a071f7b512abd64078ef5c1
+EBUILD quitcount-3.1.3.ebuild 600 SHA256 dd3506f924690c07af03a31527893e74813c90cda90fa8612a63b63a5ca895af SHA512 7e24836f4705bb4329af46c23935c32dc19aeace94c76c6b1906f5384e0ddc625368c30b090b059510670907986129d3214b7d44b63054955cbde2bb70e23d67 WHIRLPOOL 7ef281bdb8d400f35a2f094102a566ccd3c2b4d1207e1fd2e4b6a8add84e9f91db1166d432f7cd573d219ca0ab8dc55644bf3cb92d4b44f9739c34ecc62ed5ab
+MISC ChangeLog 1524 SHA256 d4e5a7332f1f745a769cedffa225b188b408a01271eff89f909a8a518cacdcff SHA512 e1da117376ee3b3494484d9bd93f540130da184dba36c3012e480f4a4c70571dc3a04b8d146c9fa32eebe5ede66755fc7b47b01457c208ae411f5d6365c8a648 WHIRLPOOL 7f3fe2b306fab735c99342e02faf820dd7800b3d5dac82df32fd76d087c5d8794ac541381757a81e66c6cc6913bac1ad913e6b8bf7daea3109fc1668166e9e61
+MISC metadata.xml 520 SHA256 1e6d4e326b6fd6d10b3b616e0d1af4f16a7e639ac7b2f8042cfafec7d33ce1a7 SHA512 9d1f2a1ed7d713ee36eeb495f6f5c9604007fd458b774820e12ace2d1eabfd3efbde3380713cba4a8a40afe0d1e23685ef08b61a7f167fdc09a756261bacf147 WHIRLPOOL f3398db7a996885daee346ff312a54044e036e9f5a055e99d72a8f46379755f78cf69bcb86f392b274f47e67088d94c1421c525aa1620f6252a961d3c60175cc
diff --git a/x11-misc/quitcount/metadata.xml b/x11-misc/quitcount/metadata.xml
new file mode 100644
index 000000000000..6e290308a526
--- /dev/null
+++ b/x11-misc/quitcount/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>laurent@lamzi.com</email>
+ <name>Laurent Vivier</name>
+ <description>Proxied maintainer; set to assignee in all bugs</description>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">quitcount</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/quitcount/quitcount-3.1.3.ebuild b/x11-misc/quitcount/quitcount-3.1.3.ebuild
new file mode 100644
index 000000000000..36f0e61fa25d
--- /dev/null
+++ b/x11-misc/quitcount/quitcount-3.1.3.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit gnome2-utils
+
+# The string in SRC_URI doesn't follow standard naming convention
+MV="3.1"
+DESCRIPTION="A simple applet that shows what you saved since you quit smoking."
+HOMEPAGE="http://quitcount.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${MV}/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+DEPEND="x11-libs/gtk+:3
+ >=dev-libs/glib-2.6:2"
+
+RDEPEND="${DEPEND}"
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}
diff --git a/x11-misc/qxkb/Manifest b/x11-misc/qxkb/Manifest
new file mode 100644
index 000000000000..9beb3d0b9f4e
--- /dev/null
+++ b/x11-misc/qxkb/Manifest
@@ -0,0 +1,5 @@
+DIST qxkb-0.4.6.tar.gz 177857 SHA256 1ca093b568c5461a08e3fff8e17e1d9add1c22a65efdf4afa5ff1a098a482110 SHA512 8a6eae536291e0a0925d5b4ea47bdf74fb5809b892f3d204e7ec4ef6ce549f1f65693363dce0317d41e10739a1aa95aa200a706b40eb909c6e9baa96596e0da0 WHIRLPOOL d03d73d41a10e4293716d34733c7bb72d5f0af23be144df478d75c99eeecb32f789c63ddbcc7bc9dee4f4e7875f47a9e14f5ae1cf941a73236f22ecb2b196031
+EBUILD qxkb-0.4.6.ebuild 595 SHA256 fee4c2a1a0df867bd7140599e0a7d662ba529bae2408fbdca3eba720a19bfd20 SHA512 830c5116143ab8d83f05224e800d38cf02913d0ae3088587f14cb54857815033fa7116949138f0aafcc163fb9f109f3c96b2946633eaf81b8cbb2b35c473863b WHIRLPOOL 6030d7397dd618a92edfe97fffae1dbda47513812c52d7c73ef38e1d77a1d7c08464cdd1366bfd3595c137973120f6594aaf88866d78ea38e022f1dbd86cb907
+MISC ChangeLog 3551 SHA256 2d5beaf753553d818a02d4610e0d6557804413591d54bae1db296a49723224b1 SHA512 73d0f24681465551561b877f786d887cfb2fbc8c31c2f4659d0626cbd0e0817c3c7f2b35ecefd8a7e5a7a43b0a9361dd261b8a6c5bedd5b32462c0c0f550096a WHIRLPOOL 97bcbf372d037201ff2c89c1ae0b1a55fb66f6243434bdda6a0c3b0c7dde7b34cd2d2562085f5d60bf3cfbadfe665e58d2aa2b246352dc657cfd55ff9944d23c
+MISC ChangeLog-2015 990 SHA256 07886dce4afe05160b2e3c2335aa523a823043c6d740c44829fd8176126bf76c SHA512 e267519209af425713b6d28763a0bbda78e46af7072ad7a7daaafe70e94b2d2d7f284642412f7a97fdeb1b2c1e229e838706e268ec3c6c2385dfce539e3946d3 WHIRLPOOL 9869da264c1eeda6404aa9b482a03bde9a9f6b00d64d31380caa41ea49c8acd5caa235ad20e2cbfdae111971764f0d0709e9972157bc96f249b897143c4b8f54
+MISC metadata.xml 323 SHA256 2a14573d22efbda4f5af7a57a055ee5177c60729e1bd5d7cd6412ac2a2e94273 SHA512 57a0ffd3dd0fa5bfd23de1417c061bd7c2b21c7ded7ddedaf09cd807d9dac8708d3b868d20c0108aa94a228cf8296e45edd6562f7d520760cbf7ee0f25a93509 WHIRLPOOL 154107f83ff5a61096038f1d28be97c1052e0dd6f02c5a2c1ecc2d0bb9a5cb03abb519f74429c822775e225c8786c87bf57025e28ebb8637f3942ff24a0dc941
diff --git a/x11-misc/qxkb/metadata.xml b/x11-misc/qxkb/metadata.xml
new file mode 100644
index 000000000000..2a4969aacf84
--- /dev/null
+++ b/x11-misc/qxkb/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>qt@gentoo.org</email>
+ <name>Gentoo Qt Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">disels/qxkb</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/qxkb/qxkb-0.4.6.ebuild b/x11-misc/qxkb/qxkb-0.4.6.ebuild
new file mode 100644
index 000000000000..f9ae5509e25e
--- /dev/null
+++ b/x11-misc/qxkb/qxkb-0.4.6.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit cmake-utils
+
+DESCRIPTION="Qt4-based keyboard layout switcher"
+HOMEPAGE="https://github.com/disels/qxkb"
+SRC_URI="https://github.com/disels/qxkb/archive/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND="dev-qt/qtgui:4
+ dev-qt/qtsvg:4
+ x11-libs/libxkbfile"
+RDEPEND="${DEPEND}
+ x11-apps/setxkbmap"
+
+S=${WORKDIR}/${PN}-${P}
+
+src_prepare() {
+ sed -i -e 's:../language:${CMAKE_SOURCE_DIR}/language:' \
+ CMakeLists.txt || die
+
+ cmake-utils_src_prepare
+}
diff --git a/x11-misc/read-edid/Manifest b/x11-misc/read-edid/Manifest
new file mode 100644
index 000000000000..3968e0f4a173
--- /dev/null
+++ b/x11-misc/read-edid/Manifest
@@ -0,0 +1,7 @@
+DIST read-edid-1.4.2.tar.gz 84138 SHA256 c1b5d839fe6349efc183b3a3d33a8be1cd0dfea3c94015a86159d8aaeb6e9dd7 SHA512 b52c763a7713661a542f707d48251257c9540c4b1ad517b7ddbbc051edf919600cf27f93c13e32d5d6d148dd08327dc91f11eecc0b6db82179d044cef5b52550 WHIRLPOOL 8a64748f9976db385ea24a60fae86d55da2434e35b0d2cf46876680e7be6604bf3ab011226697cfd1b871ccf2fc7c1841f1228be54e8a9c55ba9d82bbc2972fa
+DIST read-edid-3.0.2.tar.gz 17508 SHA256 c7c6d8440f5b90f98e276829271ccea5b2ff5a3413df8a0f87ec09f834af186f SHA512 779ebe7f1ffb6e7952762b5f886e07974f2c0fe5fa9be0722b928559466b56aae450f741817bb91bb2e33ca66ab27af39cea3c7af220c99b85dae81734138aac WHIRLPOOL b86cf313046f766558986145e94fbcaaf6b3e643ec9d1b3778d836b2e7d050e22df259d7c35462569084ff30b890cab948af17740e13add4b5b3f0af68cb6943
+EBUILD read-edid-1.4.2.ebuild 440 SHA256 3f6b66d0b4fdf0153c2af2bd9d7c2c50c9c42d075b7b7ea38fb54ba04e4d57df SHA512 f70478551e95427e12a50b366647dc4dc170dffdd0969bb614e194b2f763b0e5f349eb724d692eb85c56d1d1b36609f1b31947758c3ca7da5e8001d49d1af4b4 WHIRLPOOL 15f20c523cb5a376633be2f7e2e3fe3c6d923e8784adb409e940411d8c4ee1cb7ada4d15aefef40d7ebcb8264525fb3066e4c99d018d4234ac5f732819fef14d
+EBUILD read-edid-3.0.2.ebuild 548 SHA256 2b6f20f6719e5fc8556417a33df504801f314d32bbc1ad6cc2ac4bd7620b400d SHA512 62a20ac04ba9abbb03b6c2699e92230ff2a97eaa83513ea0ccf237f377cbc87845bd48bab625315cb1766f07fcb09c015f8b39fc46f3a5a892dfe3f94305bb56 WHIRLPOOL ae9eb4864b74826a46a9429372a97287001743b70b4b102c217a697768b8fb4cefa43201676db070ee5c844726a5cca6dcc9ba36202e5f693af14ce53e82f57c
+MISC ChangeLog 2545 SHA256 219114ffcd982e96f15f45649b57ab5217424593b63b125d306b6cfbeae42723 SHA512 0ab4809403b6ea9a678d2e61288412615b48f3f6905e18d6093705ea7dbae11725c45d8c9c25da211744ca63b28dd5fd8011687550e5b76afe057d6d7c902c1a WHIRLPOOL 841fc574b1b78a2a47d36e0807e8f0db5f61813b57781c655f3060eb4115d05901a6a63904adfd48da4c82a88de9f7b083e40cba0ec4743f8823d50c920b5c30
+MISC ChangeLog-2015 5298 SHA256 1b7d9e68d47f9498a0d9238769aa6c8cee391b95bcd9f262241a53666cb6b10d SHA512 30e49a5da7175bbe7e866b21a72a8f0599c3de5dc911d22e27a54522a6bd013774d3fdd7797625db406e08c247c5f4e746d2cc7a1ca8f2336381c3d3205057f3 WHIRLPOOL 6aa54693715f11b1a94f25567b0f560568c1b16d7bd59ab32cd8655b731c30f11e8e35cf442ead618ce382b5c86da79b0a88ddba323cc4c4a1cce7e66bb8e224
+MISC metadata.xml 282 SHA256 ac9236162462e1562a26e596e7dd457a448f9367ff1a5a27ec3513ecade3026b SHA512 06c94ffb49c985c4344b170b902427ca9ce0c23b6d68330af227ab1771794f8e8b6d0ef75b5f69293c8ef0d3264c8799e1389ccdf8dfbe7c665c6477c07479e4 WHIRLPOOL 615c807081b4bef1734f1dbf9a182cb27b7de0e9bcdebd880c6b9c1ab01b95721076ddc4b4e75e93b8f777020bfd52459e9e4b1a9deb41baacc44f6cde05fd36
diff --git a/x11-misc/read-edid/metadata.xml b/x11-misc/read-edid/metadata.xml
new file mode 100644
index 000000000000..bc1b97e1eb76
--- /dev/null
+++ b/x11-misc/read-edid/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/x11-misc/read-edid/read-edid-1.4.2.ebuild b/x11-misc/read-edid/read-edid-1.4.2.ebuild
new file mode 100644
index 000000000000..057a1743fdc7
--- /dev/null
+++ b/x11-misc/read-edid/read-edid-1.4.2.ebuild
@@ -0,0 +1,18 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+DESCRIPTION="Get EDID information from a PnP monitor"
+HOMEPAGE="http://www.polypux.org/projects/read-edid/"
+SRC_URI="http://www.polypux.org/projects/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 ppc ~sparc x86"
+
+DOCS=( AUTHORS ChangeLog NEWS README )
+
+src_configure() {
+ econf --mandir=/usr/share/man
+}
diff --git a/x11-misc/read-edid/read-edid-3.0.2.ebuild b/x11-misc/read-edid/read-edid-3.0.2.ebuild
new file mode 100644
index 000000000000..7c9d0bb7c563
--- /dev/null
+++ b/x11-misc/read-edid/read-edid-3.0.2.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit cmake-utils
+
+DESCRIPTION="Program that can get information from a PnP monitor"
+HOMEPAGE="http://www.polypux.org/projects/read-edid/"
+SRC_URI="http://www.polypux.org/projects/${PN}/${P}.tar.gz"
+LICENSE="GPL-2"
+
+SLOT="0"
+KEYWORDS="-* amd64 x86"
+
+DEPEND=">=dev-libs/libx86-1.1"
+RDEPEND="$DEPEND"
+
+src_prepare() {
+ sed -i -e 's|COPYING||g;s|share/doc/read-edid|&-'"${PV}"'|g' \
+ CMakeLists.txt || die
+ cmake-utils_src_prepare
+}
diff --git a/x11-misc/redshift/Manifest b/x11-misc/redshift/Manifest
new file mode 100644
index 000000000000..52eb3164ee45
--- /dev/null
+++ b/x11-misc/redshift/Manifest
@@ -0,0 +1,5 @@
+DIST redshift-1.11.tar.gz 543804 SHA256 a89cee0dc822fa2bfda0703d8ecedeccc08da3aebdf1880593f28da81c3dc879 SHA512 bcdb4c120efec3955f4f91f1290db0679e987e25d6610bd90ee8540a96bb11338e36b10680736490ea0b7e9eca5bc195b51767a5badf0b80495dc3da44c4ed8c WHIRLPOOL c8bb70fde237bc7fc841d9272c029fe92c7ad564711a377a578cb6c126ae5a24d2756d3df3dc2de8053738301170040284c65a5e1da66fb29755a8e4a4bf5f17
+EBUILD redshift-1.11-r1.ebuild 1930 SHA256 ba603bd673955c5ff273e932ca49a98746d05d6894e971482194defbf9ad8787 SHA512 4ef6dd14ff5fc6ed77eaffde1d8ff31a3c8a3f042c5d3f21cd4a79424136397685d537780649f712755ff77a2a2a85a0c0d40f76f89afd563bdcd882cd11099f WHIRLPOOL b34c46968e997eafc3507542b395c4b351f5922bb19029bbc910b5e63ea1645349d98673ebac814ccb921082565912f029e07c4f66900de56d288995a7ec3fac
+MISC ChangeLog 3858 SHA256 eec83d4d1bd3db69c9a654c8093ab51c348d5b6b8720780d2342af8cbe0f2d1e SHA512 9f6c956392b872781e4a46808593fd50a5a703ae00315dc5ad6d337d2ab80c1fb0903904baa5ed05790cb67a6f55f750759c6c47f2b24546de11a124d327bcc0 WHIRLPOOL e88a7ccc0b4b3e149a4951d9faa39e9187b8d3f47983a4a2a373bdbd125fc6252cf1b93c853014170056e282205c436d17b2f95749772c18db352f669c8cf43c
+MISC ChangeLog-2015 5462 SHA256 1afe863ffd2837a7c818dc886beadf7f05051a1a270af53ea81c131fe304c126 SHA512 e456b75e9c8a68d7a71f37773f0d6c468bb5e51a6dd2e3d6d8f96a9550555909b8ebf10fdc6a0a57d6a05598d87861954ba27caae89b285ed75f7de1e8b51ac9 WHIRLPOOL 3f95cae2890b567b965046c4c49fe82272f4e90e8b6203a62c6a7b88eecb2c1a345caee48d15f02e7462774f6562b7a5e97e76a8256938071669f474202fdb76
+MISC metadata.xml 679 SHA256 ca6150279798b6b6f8f7995045e1fd31650624dcc958b40ee832fd53c76ce740 SHA512 45aa40561fbf6b96d68f46f1773eebfdfa60c07a6e3cb85272523f7e7663b10bfe55ede7c95a3377acee87e40dbb9a0c771c6c53352f9a81629e9bc6e30f56d7 WHIRLPOOL 0d72cce1090431f4b4e87cabb2c14470fed083f4294a6f0d18023bfd63ffb3f870e355fa3f0400cd6a18d351d0a92bc1ab335d2a49fbf7fa4e75293db5e0a409
diff --git a/x11-misc/redshift/metadata.xml b/x11-misc/redshift/metadata.xml
new file mode 100644
index 000000000000..53984fc30ef2
--- /dev/null
+++ b/x11-misc/redshift/metadata.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>sping@gentoo.org</email>
+ </maintainer>
+ <maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+ <use>
+ <flag name="appindicator">Enable usage of <pkg>dev-libs/libappindicator</pkg> to export menu options in to unity and KDE 5</flag>
+ <flag name="geoclue">Control dependency on <pkg>app-misc/geoclue</pkg></flag>
+ </use>
+ <upstream>
+ <remote-id type="github">jonls/redshift</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/redshift/redshift-1.11-r1.ebuild b/x11-misc/redshift/redshift-1.11-r1.ebuild
new file mode 100644
index 000000000000..f41d95dbc2ff
--- /dev/null
+++ b/x11-misc/redshift/redshift-1.11-r1.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python3_{4,5,6} )
+
+inherit systemd autotools eutils gnome2-utils python-r1
+
+DESCRIPTION="A screen color temperature adjusting software"
+HOMEPAGE="http://jonls.dk/redshift/"
+SRC_URI="https://github.com/jonls/redshift/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="appindicator geoclue gtk nls"
+
+COMMON_DEPEND=">=x11-libs/libX11-1.4
+ x11-libs/libXxf86vm
+ x11-libs/libxcb
+ x11-libs/libdrm
+ geoclue? ( app-misc/geoclue:2.0 dev-libs/glib:2 )
+ gtk? ( ${PYTHON_DEPS} )"
+RDEPEND="${COMMON_DEPEND}
+ gtk? ( dev-python/pygobject[${PYTHON_USEDEP}]
+ x11-libs/gtk+:3[introspection]
+ dev-python/pyxdg[${PYTHON_USEDEP}] )"
+DEPEND="${COMMON_DEPEND}
+ >=dev-util/intltool-0.50
+ nls? ( sys-devel/gettext )
+ appindicator? ( dev-libs/libappindicator )
+"
+REQUIRED_USE="gtk? ( ${PYTHON_REQUIRED_USE} )"
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ use gtk && python_setup
+
+ econf \
+ --disable-silent-rules \
+ $(use_enable nls) \
+ --enable-drm \
+ --enable-randr \
+ --enable-vidmode \
+ --disable-wingdi \
+ \
+ --disable-corelocation \
+ --disable-geoclue \
+ $(use_enable geoclue geoclue2) \
+ \
+ $(use_enable gtk gui) \
+ --with-systemduserunitdir="$(systemd_get_userunitdir)" \
+ --disable-quartz \
+ --disable-ubuntu
+}
+
+_impl_specific_src_install() {
+ emake DESTDIR="${D}" pythondir="$(python_get_sitedir)" \
+ -C src/redshift-gtk install
+}
+
+src_install() {
+ emake DESTDIR="${D}" UPDATE_ICON_CACHE=/bin/true install
+
+ if use gtk; then
+ python_foreach_impl _impl_specific_src_install
+ python_replicate_script "${D}"/usr/bin/redshift-gtk
+ dosym redshift-gtk /usr/bin/gtk-redshift
+ fi
+}
+
+pkg_preinst() {
+ use gtk && gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ use gtk && gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ use gtk && gnome2_icon_cache_update
+}
diff --git a/x11-misc/rendercheck/Manifest b/x11-misc/rendercheck/Manifest
new file mode 100644
index 000000000000..41b901d3ed2b
--- /dev/null
+++ b/x11-misc/rendercheck/Manifest
@@ -0,0 +1,5 @@
+DIST rendercheck-1.5.tar.bz2 143656 SHA256 00605679436d65ccf9a6f1f1cb206df7a2e8b28a7821e867922d2b14b009f1cc SHA512 ffa1abf317f85a8bcef3544e3f810b34567553524ac0a784d2a67470e0811854d7983af8600a04aadecf42871ccb83ad5c0e9e25179142fda2a8f5853a07f616 WHIRLPOOL 691babaa2d9c0562857be7cc60d80ef057667649f2a0efd8fe21367d67e6224e5e76b591af5ef2fb97ad92292013767091c910cbce5e8e3d15587d57b24e947d
+EBUILD rendercheck-1.5.ebuild 345 SHA256 e768c760bf76f5f30ecfc260f38758d9b3d86de33bd31cf5b7ae56434bb8d318 SHA512 37c5b8b56343b14eaca7aa6df41e54746841602f910cbb992689d74f9d4b4d5476449ee2fb21dc91424270acc41816b3d452c3e59663d136c7d07126fa596f93 WHIRLPOOL f9153516281e64a167c38256d93d086a5c3a32eda68cf5295cd2fc9ad0616ec1671466b16666626fead2e586ceee4f372db3d23b17c2bc8ed9636362fe79e79d
+MISC ChangeLog 3217 SHA256 3b78bd06e98ae1349f73b1dda16edd8706d55679eb714e81907df406a442b04e SHA512 eda6d3d53f19dea396c5eb6ad7c8d044bb6d6947ba112426e7d597036a70db5d40d6cc6bd9fc23fec6aa890687242e4e3d26c98ef406900f54c5874e3f9e8f49 WHIRLPOOL d48f0953f8cdc8c910308197b85536a2f64781dc42e28e088abf46155d58563497d981eeda5d975f638e1e9baab2259f1d2e96c6a7290303f7bd9e66db7437a1
+MISC ChangeLog-2015 3244 SHA256 dbb1361d9cba161b7a580773b4e0ed8aa3e40e4d08deac908319077831ef1f25 SHA512 9075ddae368e03b472e2b827eb537e91317137455f142e4d2a0b0275d107d69a5c3eba5e384d6a36ed84fb1a73c7aeb374a71f16fe756b6dbd82d3bd5ed0b464 WHIRLPOOL dc797e66187334137bb74ea1f49ace7e38ea0dee58578fa9ab92f6066fd31b0d307311adc82ab9e6560bbd77117988b434adcb5f2b5c69d322225476170c5719
+MISC metadata.xml 230 SHA256 677e4595d00a3098fde05ae33118b9ac05867dc5729c9cd579dc8badd1a28f68 SHA512 d7a2643abd1904cc5ff4d91cbb6f1baeb7f75fd1db542c5e14f19412f4f0bd4b903f8e703a7662ba7482c79dac5529057760b6427599d35e0842755fd946e057 WHIRLPOOL 4866c82c6428eae526c0a514c988e4119221f77b0e8bfb04fec713dd3ba516c69afc776a0c6f53c29abfd8507aa23801614db1ba544dd0a0dd4d6a9462c27306
diff --git a/x11-misc/rendercheck/metadata.xml b/x11-misc/rendercheck/metadata.xml
new file mode 100644
index 000000000000..e943b72b8a48
--- /dev/null
+++ b/x11-misc/rendercheck/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>x11@gentoo.org</email>
+ <name>X11</name>
+</maintainer>
+</pkgmetadata>
diff --git a/x11-misc/rendercheck/rendercheck-1.5.ebuild b/x11-misc/rendercheck/rendercheck-1.5.ebuild
new file mode 100644
index 000000000000..5171d61cedf0
--- /dev/null
+++ b/x11-misc/rendercheck/rendercheck-1.5.ebuild
@@ -0,0 +1,17 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+XORG_MODULE=app/
+XORG_STATIC=no
+inherit xorg-2
+
+DESCRIPTION="Tests for compliance with X RENDER extension"
+
+KEYWORDS="~alpha amd64 ppc ppc64 ~sparc x86"
+IUSE=""
+
+RDEPEND="x11-libs/libXrender
+ x11-libs/libX11"
+DEPEND="${RDEPEND}"
diff --git a/x11-misc/revelation/Manifest b/x11-misc/revelation/Manifest
new file mode 100644
index 000000000000..2682e2c1981e
--- /dev/null
+++ b/x11-misc/revelation/Manifest
@@ -0,0 +1,8 @@
+AUX revelation-0.4.14-random.patch 2127 SHA256 5a8bc38629c685bb755a949269f7a9c9ba12e8ca01ebe121b8f9490350ab0d71 SHA512 be5e805e58d04c0be29ad9c30a6aa867a869a4d0a8df31ce234fbe331d0191cc3bf7b82e11ec6a7c1c8306b68ddbc5ed29d9f5e8c9e3838b293896adb69c5d13 WHIRLPOOL 8a2ce3a68471950c27f61a7e94c7f3df83defccfd226fd75f6822f4291f4919e52dbf96d98f606a5af8d18a557f41bd526c7d6b95845d2c8788eb9082007a3bf
+AUX revelation-0.4.14-xor.patch 1874 SHA256 b90222a6f42718dbd550ced97965308f3d8eb021b92b2fdbcf1f13f371b02548 SHA512 c4b76a92f0b6e4e1856948e1c1d4bb118bc8f2383e9ec778515fd87949814b60dd51b8dc814a070665c0138111b3ffd9d8fdad03c43bdbb0320ad19ddea23ddc WHIRLPOOL 3f485f2d3568b06fae9a5004240a538e5de086c5449551190d67390e9064c731c95561ec1dbb613a6de28de913b1dac6a11602cd33198956b494cec77923bfe9
+DIST revelation-0.4.14.tar.xz 316096 SHA256 38a532e7c528076f82ef3564b5a75d0a37387492007cf49f2e4ef2c3eee9454d SHA512 0af5b7eea47a7706dd164f4f0a1da12fd2595e8add1455e4e4092e4b6aa1507faf2c94227dd838734bdc19fef9d268938362fca2d3cde59897580598eefa1145 WHIRLPOOL 5e65fa3e4e2ee1c13b5095ed00426987d74898113135e5ede878b206d01877bfa732eb145234a4a8889ca633a7b830a6d3621386dc8fa3579defdfbc66c3aeb8
+EBUILD revelation-0.4.14-r1.ebuild 957 SHA256 568d1b775a27f4f5bac29fa71fffc9665c35113cc998a7e9143ffbab81396d3b SHA512 379a283a17d3ca7bdf8349df7ceada185e2c86549c14eec45ad05c85cbf912eacf2da7c559d500563170223f8630c878a9987671a5d9eea72785bddf77975585 WHIRLPOOL 9a77f1363f69a303b1fbf6e4ddb46a744eb3bae73e82379c2d4d777a01259bbcc3761d4f14cf7e6f9e3eff2803c5a487e44951dc2de2648bed679dbecd42e890
+EBUILD revelation-0.4.14-r2.ebuild 1051 SHA256 a66b52346e4126b07f09e3530f039371116ad500c864909447c1692e09359396 SHA512 0548637f2932d677a9ec7c04fde0a53a470ed0612e74015df0e6a7254c8ee03436ea8f22df173d28ba7ef39c4185a2c6d60e3bd7f061d3caf2b197a20bc66aac WHIRLPOOL 6acfda30652181224180d2bf68da6128ffd70798eb6838fbeb330dff48b5e3620541724a65a921f2f14cd24767430a8cc3682c74132df60d9c0f8095ca13eb09
+MISC ChangeLog 2444 SHA256 934e2baba7401785361b98458b733e77001ec94c1c68f15da0823ba948c9bdd3 SHA512 392f3402b1b70d89045a3acbbb3c133c0f9b55cea1ddd1f477b151044280a8f8c96faeb4b1550a1915e806ff40c40b9b9179d2c1b5a4a28f908d5d109a97a19c WHIRLPOOL 21bcfc4166774cafb59e9391c21f00deb277df0cd2801743f097c6d2f1886f7a8824ccab8f6f180ed5cd19b3f586269bc50d455364c1851e4aa3f48a29064319
+MISC ChangeLog-2015 5157 SHA256 bc2341eac2c62e802ce2af059880d4b04fd94462c7466689650242214df54f37 SHA512 3751bc14000b5632120e91c19595745c11a6639a7882e88eb517f4aefe494e9d3df975d61ed96434cf17b6d0feab056268fa937ba664eac75b4d020c7f3e135d WHIRLPOOL 24178205010d960742f5783b5cb03c8b4a8bd980e7e0e24decbc238363a187d1cb87e57776c7e6dab277c5dbbdfdf27c753b5527a2c8177df871e5a34a0e1f7d
+MISC metadata.xml 221 SHA256 25ddec6716a967f6220d3a31887c10e94855eb9e33ad104acd3efa3404708f70 SHA512 9ca3dafa7e44ec0f210681f8f524549f103695d57d0f8463a9044ac9456e6bf99ad6c7448e62a672471b7e82535b76214b924e3b336f186bced032750e68754b WHIRLPOOL 8eecc5fb7722b5bdce6901dc19f6019c53a0b7ae1bc17c1ddb23027704064aaf29e7cbf6c1ad016fdcef58b95fcba16e29c107cf1a9c1ac81cdb07a4ae3a5c02
diff --git a/x11-misc/revelation/files/revelation-0.4.14-random.patch b/x11-misc/revelation/files/revelation-0.4.14-random.patch
new file mode 100644
index 000000000000..e54ac2bf0661
--- /dev/null
+++ b/x11-misc/revelation/files/revelation-0.4.14-random.patch
@@ -0,0 +1,73 @@
+--- src/bundle/AfSplitter.py.~1~ 2012-05-26 14:19:34.000000000 +0200
++++ src/bundle/AfSplitter.py 2017-07-15 10:10:57.817775246 +0200
+@@ -42,7 +42,7 @@
+
+ # will need changed to use Crypto.Random (now in python-crypt git)
+ # see: http://lists.dlitz.net/pipermail/pycrypto/2008q3/000020.html
+-from Crypto.Util.randpool import RandomPool
++from Crypto import Random
+ from Crypto.Cipher import XOR
+
+ def _xor(a, b):
+@@ -81,7 +81,7 @@
+
+ blockSize = len(data)
+
+- rand = RandomPool()
++ rand = Random.new()
+
+ bufblock = "\x00" * blockSize
+
+@@ -89,12 +89,7 @@
+ for i in range(0, stripes-1):
+
+ # Get some random data
+- rand.randomize()
+- rand.stir()
+- r = rand.get_bytes(blockSize)
+- if rand.entropy < 0:
+- print "Warning: RandomPool entropy dropped below 0"
+-
++ r = rand.rand(blockSize)
+ ret += r
+ bufblock = _xor(r, bufblock)
+ bufblock = _diffuse(bufblock, blockSize, digesttype)
+--- src/bundle/luks.py.~1~ 2012-05-26 14:19:34.000000000 +0200
++++ src/bundle/luks.py 2017-07-15 10:10:08.735052052 +0200
+@@ -65,7 +65,7 @@
+
+ # will need changed to use Crypto.Random (now in python-crypt git)
+ # see: http://lists.dlitz.net/pipermail/pycrypto/2008q3/000020.html
+-from Crypto.Util.randpool import RandomPool
++from Crypto import Random
+ from Crypto.Cipher import *
+ import PBKDFv2, AfSplitter
+
+@@ -178,13 +178,13 @@
+ self.keyBytes = masterSize
+ self.hashSpec = hashSpec
+
+- rand = RandomPool(self.SALT_SIZE + 16 + masterSize)
++ rand = Random.new()
+
+ # Generate the salt
+- self.mkDigestSalt = rand.get_bytes(self.SALT_SIZE)
++ self.mkDigestSalt = rand.read(self.SALT_SIZE)
+
+ # Generate a random master key
+- self.masterKey = rand.get_bytes(self.keyBytes)
++ self.masterKey = rand.read(self.keyBytes)
+ self.ivGen.set_key(self.masterKey)
+
+ # generate the master key digest
+@@ -263,8 +263,8 @@
+ key.passwordIterations = iterations
+
+ # Generate a random salt for this key
+- rand = RandomPool(self.SALT_SIZE)
+- key.passwordSalt = rand.get_bytes(self.SALT_SIZE)
++ rand = Random.new()
++ key.passwordSalt = rand.read(self.SALT_SIZE)
+
+ # Hash the key using PBKDFv2
+ pbkdf = PBKDFv2.PBKDFv2()
diff --git a/x11-misc/revelation/files/revelation-0.4.14-xor.patch b/x11-misc/revelation/files/revelation-0.4.14-xor.patch
new file mode 100644
index 000000000000..bac45c68b18b
--- /dev/null
+++ b/x11-misc/revelation/files/revelation-0.4.14-xor.patch
@@ -0,0 +1,59 @@
+--- src/bundle/AfSplitter.py.~1~ 2017-07-15 10:25:21.503324481 +0200
++++ src/bundle/AfSplitter.py 2017-07-15 10:26:39.589273253 +0200
+@@ -43,13 +43,7 @@
+ # will need changed to use Crypto.Random (now in python-crypt git)
+ # see: http://lists.dlitz.net/pipermail/pycrypto/2008q3/000020.html
+ from Crypto import Random
+-from Crypto.Cipher import XOR
+-
+-def _xor(a, b):
+- """Internal function to performs XOR on two strings a and b"""
+-
+- xor = XOR.new(a)
+- return xor.encrypt(b)
++from Crypto import Util
+
+ def _diffuse(block, size, digest):
+ """Internal function to diffuse information inside a buffer"""
+@@ -91,11 +85,11 @@
+ # Get some random data
+ r = rand.rand(blockSize)
+ ret += r
+- bufblock = _xor(r, bufblock)
++ bufblock = strxor(r, bufblock)
+ bufblock = _diffuse(bufblock, blockSize, digesttype)
+ rand.add_event(bufblock)
+
+- ret += _xor(bufblock, data)
++ ret += strxor(bufblock, data)
+ return ret
+
+ def AFMerge(data, stripes, digesttype='sha1'):
+@@ -108,7 +102,7 @@
+
+ bufblock = "\x00" * blockSize
+ for i in range(0, stripes - 1):
+- bufblock = _xor(data[i*blockSize:(i+1)*blockSize], bufblock)
++ bufblock = strxor(data[i*blockSize:(i+1)*blockSize], bufblock)
+ bufblock = _diffuse(bufblock, blockSize, digesttype)
+
+- return _xor(data[(stripes-1)*blockSize:], bufblock)
++ return strxor(data[(stripes-1)*blockSize:], bufblock)
+--- src/bundle/PBKDFv2.py.~1~ 2012-05-26 14:19:34.000000000 +0200
++++ src/bundle/PBKDFv2.py 2017-07-15 10:31:27.009731785 +0200
+@@ -32,7 +32,7 @@
+ """
+
+ import struct, string, math, hashlib, hmac # RFC2104
+-from Crypto.Cipher import XOR
++from Crypto import Util
+
+ ################ PBKDFv2
+ class PBKDFv2:
+@@ -145,5 +145,4 @@
+ if len(a) != len(b):
+ raise ValueError("ERROR: Strings are of different size! %s %s" % (len(a), len(b)))
+
+- xor = XOR.new(a)
+- return xor.encrypt(b)
++ return strxor(a, b)
diff --git a/x11-misc/revelation/metadata.xml b/x11-misc/revelation/metadata.xml
new file mode 100644
index 000000000000..8bf69628e798
--- /dev/null
+++ b/x11-misc/revelation/metadata.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>graaff@gentoo.org</email>
+ </maintainer>
+</pkgmetadata>
diff --git a/x11-misc/revelation/revelation-0.4.14-r1.ebuild b/x11-misc/revelation/revelation-0.4.14-r1.ebuild
new file mode 100644
index 000000000000..0a270428d9e1
--- /dev/null
+++ b/x11-misc/revelation/revelation-0.4.14-r1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+PYTHON_COMPAT=( python2_7 )
+GCONF_DEBUG="no"
+
+inherit python-single-r1 gnome2
+
+DESCRIPTION="A password manager for GNOME"
+HOMEPAGE="http://revelation.olasagasti.info/"
+SRC_URI="https://www.bitbucket.org/erikg/revelation/downloads/${P}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+
+IUSE=""
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RESTRICT="test"
+
+RDEPEND="${PYTHON_DEPS}
+ dev-python/pygtk[${PYTHON_USEDEP}]
+ dev-python/pycrypto[${PYTHON_USEDEP}]
+ dev-python/gconf-python[${PYTHON_USEDEP}]
+ dev-python/libgnome-python[${PYTHON_USEDEP}]
+ dev-python/dbus-python[${PYTHON_USEDEP}]
+ sys-libs/cracklib[python,${PYTHON_USEDEP}]
+"
+
+DEPEND="${RDEPEND}"
+
+src_configure() {
+ gnome2_src_configure \
+ --without-applet \
+ --disable-desktop-update \
+ --disable-mime-update
+}
+
+src_install() {
+ gnome2_src_install
+ python_fix_shebang "${ED}"
+}
diff --git a/x11-misc/revelation/revelation-0.4.14-r2.ebuild b/x11-misc/revelation/revelation-0.4.14-r2.ebuild
new file mode 100644
index 000000000000..b3589929fc21
--- /dev/null
+++ b/x11-misc/revelation/revelation-0.4.14-r2.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python2_7 )
+
+inherit python-single-r1 gnome2
+
+DESCRIPTION="A password manager for GNOME"
+HOMEPAGE="https://revelation.olasagasti.info/"
+SRC_URI="https://www.bitbucket.org/erikg/revelation/downloads/${P}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+IUSE=""
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RESTRICT="test"
+
+RDEPEND="${PYTHON_DEPS}
+ dev-python/pygtk[${PYTHON_USEDEP}]
+ dev-python/pycryptodome[${PYTHON_USEDEP}]
+ dev-python/gconf-python[${PYTHON_USEDEP}]
+ dev-python/libgnome-python[${PYTHON_USEDEP}]
+ dev-python/dbus-python[${PYTHON_USEDEP}]
+ sys-libs/cracklib[python,${PYTHON_USEDEP}]
+"
+
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ epatch "${FILESDIR}/${P}-random.patch" \
+ "${FILESDIR}/${P}-xor.patch"
+ eapply_user
+}
+
+src_configure() {
+ gnome2_src_configure \
+ --without-applet \
+ --disable-desktop-update \
+ --disable-mime-update
+}
+
+src_install() {
+ gnome2_src_install
+ python_fix_shebang "${ED}"
+}
diff --git a/x11-misc/rodent/Manifest b/x11-misc/rodent/Manifest
new file mode 100644
index 000000000000..8c2ab87a1e88
--- /dev/null
+++ b/x11-misc/rodent/Manifest
@@ -0,0 +1,5 @@
+DIST rodent-5.3.16.3.tar.bz2 10873231 SHA256 456ffaa4ef3b60af1a94dad0a35f1e3986235d81f00b257a3204074a2275f3d6 SHA512 83c85501d3fe49e84abe9bb61a23ca4ec86fb22abb2e9a01228b3180d114380ff085ee58f51b9ac47173214ab8323e0bde7cfca6fb9b7907d4b1551ad48326f5 WHIRLPOOL 2e8707d48b879209e225c8101f2919bb5cb327794da5d872ae5fa422bf2af39c2a828f0b81d359b9e7e06c18a5d8ff77d4249980293f62ea9833711c308360e5
+EBUILD rodent-5.3.16.3.ebuild 667 SHA256 263431918b650d40408c042ffabf03861fc3d23b151c0e48a56fc7582dcd0974 SHA512 c04d873eb8e4bb2eb476df679d71b18d31c98bd2cc209fb034699a08ac8e4618ca6110937e6d92b6b20e793c1b902f27102468038549b0f25eb98198b3d68735 WHIRLPOOL 69e647653eb3c8dbeab84d4a6c1e89bfec5283dffb7ed8428440bd1f2016bde88ab5b8339e90d0bcbd74df1ae93082ab7a29c1be7c754f1757e281738bcbd8c6
+MISC ChangeLog 2517 SHA256 6fb22fe3475236088daa54bd9e300e5c8cb40ab7b416e28792ec6e3099421cb1 SHA512 1ed016c80b73bd5bae5702b36c219ceb7f2c1d3e6a35e606810a6b16c8e97ee7eaa4ec9d0e96e72a8b3d571e71b97a9b12fe65f35b98d20354ac7c9b2f1a751a WHIRLPOOL c35e7ed55920543df68b4d0ab8377149077ed05aeca4874bb5b6bade6e95bbcaeb578cb5fbe61a9c8ba4673ac68c12c498be883ab7fdfc583fab41d643981c80
+MISC ChangeLog-2015 2369 SHA256 0757f4d05f5b9887a9d6136d7e0fb41dd72060e7d5ba9917a873169c0a8bcaac SHA512 a7088292d009550be42123d3fa02dce785a031279034b8c717c2a0409309cbbad3bc15f51bc9b0084895896a48cab7514f21cc3a855c45c7b8e858c9ddef791a WHIRLPOOL c30b1e71b9c880ea8d7e264f99678c29c37fcd14c8fafdef39ff2a50af9ae9a3f8b9b3a592f1e5cefa64cbf664b18e6c3d4a3cbd3cc37cbd042eac9528a955f9
+MISC metadata.xml 588 SHA256 5eddcd7e0e436421359d44ac87f35860ebecd7848661fe3d3df0e6abe237e5d8 SHA512 d7e8941ba7bb1e3a3f03e4f9c6e7a3ea0c7396701b6bd6688d6de1e8b4c6d57674ac837b4e5554a605f21acbafafae7a17276e59dc18f71b2b68cd991cd16ea7 WHIRLPOOL 5b6bf98339560a8e4f30f4004188e57decc7b40dd86c2a2cfd21b8cba1fd41a27333e707c604e42c01d7d20da5a7d5ac196f47773d4997bd77838774db2b7144
diff --git a/x11-misc/rodent/metadata.xml b/x11-misc/rodent/metadata.xml
new file mode 100644
index 000000000000..26d67cb425c3
--- /dev/null
+++ b/x11-misc/rodent/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>xfce@gentoo.org</email>
+ <name>XFCE Team</name>
+ </maintainer>
+ <longdescription lang="en">Rodent is fast, small and powerful file manager for the GNU operating system (but it also works in BSD). Rodent is *not* a filemanager for dummies. Emphasis is on ease of use for the advanced user, not the computer illiterate.</longdescription>
+ <upstream>
+ <remote-id type="sourceforge">xffm</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/rodent/rodent-5.3.16.3.ebuild b/x11-misc/rodent/rodent-5.3.16.3.ebuild
new file mode 100644
index 000000000000..af6c292d56e1
--- /dev/null
+++ b/x11-misc/rodent/rodent-5.3.16.3.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit autotools
+
+DESCRIPTION="A fast, small and powerful file manager and graphical shell"
+HOMEPAGE="http://xffm.org/"
+SRC_URI="mirror://sourceforge/xffm/${PV}/${P}.tar.bz2"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+RDEPEND=">=x11-libs/librfm-5.3.16.3"
+DEPEND="${RDEPEND}
+ dev-util/intltool
+ virtual/pkgconfig"
+
+pkg_setup() {
+ DOCS=( AUTHORS ChangeLog TODO )
+}
+
+src_prepare() {
+ pushd apps/rodent-pkg >/dev/null || die
+ sed -i -e "/^install-data-hook/d" \
+ -e "/rm -f/d" Build/Makefile.am || die
+ eautoreconf
+ popd >/dev/null || die
+}
diff --git a/x11-misc/rofi/Manifest b/x11-misc/rofi/Manifest
new file mode 100644
index 000000000000..335e304ed233
--- /dev/null
+++ b/x11-misc/rofi/Manifest
@@ -0,0 +1,8 @@
+AUX rofi-0.15.12-Werror.patch 437 SHA256 bfb72d16efefc1e063c2e14b3b9c362b4ab0fb0006a3eff7bb6552d6409d7f02 SHA512 b26d190bdaccca3cf761599a6e3f938a8f9106c9ee395c5f0bf3e58f5c151674621e66ad61891ec4e764424e42f315caa352761923d5c3b45ca326850e369ad9 WHIRLPOOL ebe826a74305a3b74b1a034ea16ba174d64ddaeeb0775acad14794e60a638616b683cc97ad21fce18da3dadab2bbc1dc789570a9d267e32d6c6606b854a7c080
+DIST rofi-1.3.1.tar.xz 211732 SHA256 b52cf1170f5c7c38f6399ee44f23ebbd87ac349d6a34f32f5d169966765c87e8 SHA512 a96c53ad268883277c4ff0ee3267ff7fab4d4a93a982019ce19ea82771b65c32d56216d777494853bffd18481400af72ed777f88cce4b26d7d1b8980a997f6c6 WHIRLPOOL 47ca4050853888fda4ae9dc203c3d4a47284780d8d1506b12f4bb14cb947a8a7e96b3674203b518ada6b9bbd0e5718d49a42f89a2ecbdf26b3fdacce9d9fee6f
+DIST rofi-1.4.1.tar.xz 337988 SHA256 90fbca9b4b4bc4eaf55a8d5115e880611137faaa44b0d929694cb40ef9face76 SHA512 3db3642819761bcfc99e7e8c6f09dde0c85d34be84541ac376ce09032a5c20aa7d64d6e12c9e21bfbee7d2db2611d24a12539548b662df6fb061d91cca1eb808 WHIRLPOOL 09bbb4d2fe1d9b046b7684636f296fcbf4c77c4ffc3bb04c54d949886b29d7c6d9632d6132677a35575671fec7e234df096f15a4d36892e8ffea5924d01335b0
+EBUILD rofi-1.3.1.ebuild 978 SHA256 192f91f16f04b148314efc5148c6f41391b42ebd2e899ef84e0928ede65b2897 SHA512 60e25a23f36fd83e33c7652cab9ca00c77bbc0f0b5956fdf8658f48e94591d32d34f4c33774bdf7f9565caa8345aaf3cdd6e8139b4e0ed7d8a6e92dee38fe74c WHIRLPOOL f2c3c59f38a37a86751a9602b874477154f8b15a4dff2032d03dc890c4fe06d4aa282e9d03942d7c4ce17a58fad6774f4bc059cfcefed607aa94abdde61f9342
+EBUILD rofi-1.4.1.ebuild 977 SHA256 fcc7103edd52d77e4992cf2273c017999a321099a0b5977ed8685951a9fc8ebf SHA512 62d15b96247d6c29d28d8d5540885d2b62224b875f455541249dea361985a04237c7a9c0fafc7d00334ecc2825c1a16357c97d348973b12607973b2ab6bf701e WHIRLPOOL 188e67cc79503cdf1e70fa4fed174d9191e1868ebfc29d20f394a3c0d422cc7f76449b13f5bdb69b5b44817b9fd20daad8369f6ade86b59dd83b4c983a60bf5f
+MISC ChangeLog 5408 SHA256 f2d5d4d7dbb53c7dcb55e9df661112610184474a8431d3a2d2b2ac7ccf759c57 SHA512 bd11ccec3cb8339035981e3e229ede1dd3fa2c87b35020bbcc07e783aea6a16433ab22a84b06bc96c78f3c98adffafa2de86216b9b01b84c093c24d7068e728a WHIRLPOOL b5a5a138b6a1c87726dc5e08fb269a82d6c7e333c65eb153b4c46dbecc32345bfc11e096dd3e36ab1d8260b2d5d3f5d3f0879f05d2bb19c1cc88a5e32bf23a77
+MISC ChangeLog-2015 1620 SHA256 3d10ef405d5f3ca489d980fa9490018b52a7fb2b2d5b63c19e95dbdf8c1ecfce SHA512 0d0006e13c4fb27dc3ce6bd0f0f799217931ad9b55b38ad40109cedc30056b9f4755cabd6de182fd8b3c25c5971c515e81ddad9289f4337ee361d939ef92cfb5 WHIRLPOOL ebcea0b5a4ff0483078b18fd8e85437384fc5fff4f2f9c97440f1a158d6b8940119ac02d017e87a24fa00303d83ba9ddd6dd848e7838983976729b3e7f23e806
+MISC metadata.xml 495 SHA256 b334ab8e45b8bc73af14035d9716ee106ee7d7eda9b786a3400526aa26d44fa0 SHA512 afcce018b90e20d190e8da510c57b27b92508a40972fc5e573c185561dd0daa3ce3fd57c689c2ec65902087aaec7d1273ed151abdc5c6be76706f694c1c9510f WHIRLPOOL 02f55aaf5e5b5d491b79abe5b13ff665189950c7f1bc6013aa15544085dad04e91cdac5c5d8f8ab088c017fd3386b3d8c6e6462ea53fff56fb1d9c4ede329208
diff --git a/x11-misc/rofi/files/rofi-0.15.12-Werror.patch b/x11-misc/rofi/files/rofi-0.15.12-Werror.patch
new file mode 100644
index 000000000000..89755ee4d0c5
--- /dev/null
+++ b/x11-misc/rofi/files/rofi-0.15.12-Werror.patch
@@ -0,0 +1,11 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -7,7 +7,7 @@
+ dnl Setup automake to be silent and in foreign mode.
+ dnl We want xz distribution
+ dnl ---------------------------------------------------------------------
+-AM_INIT_AUTOMAKE([-Wall -Werror foreign subdir-objects dist-xz])
++AM_INIT_AUTOMAKE([-Wall foreign subdir-objects dist-xz])
+ AM_SILENT_RULES([yes])
+
+ dnl ---------------------------------------------------------------------
diff --git a/x11-misc/rofi/metadata.xml b/x11-misc/rofi/metadata.xml
new file mode 100644
index 000000000000..d9dc616fbbc3
--- /dev/null
+++ b/x11-misc/rofi/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person">
+ <email>jer@gentoo.org</email>
+</maintainer>
+<maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+</maintainer>
+<use>
+ <flag name="windowmode">Enable normal window mode</flag>
+</use>
+<upstream>
+ <remote-id type="github">DaveDavenport/rofi</remote-id>
+</upstream>
+</pkgmetadata>
diff --git a/x11-misc/rofi/rofi-1.3.1.ebuild b/x11-misc/rofi/rofi-1.3.1.ebuild
new file mode 100644
index 000000000000..510e5d7b52f2
--- /dev/null
+++ b/x11-misc/rofi/rofi-1.3.1.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit autotools toolchain-funcs
+
+DESCRIPTION="A window switcher, run dialog and dmenu replacement"
+HOMEPAGE="https://davedavenport.github.io/rofi/"
+SRC_URI="https://github.com/DaveDavenport/${PN}/releases/download/${PV}/${P}.tar.xz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="windowmode"
+
+RDEPEND="
+ dev-libs/glib:2
+ media-libs/freetype
+ x11-libs/cairo[xcb]
+ x11-libs/libX11
+ x11-libs/libXft
+ x11-libs/libXinerama
+ x11-libs/libxcb
+ x11-libs/libxkbcommon[X]
+ x11-libs/pango[X]
+ x11-libs/startup-notification
+ x11-libs/xcb-util
+ x11-libs/xcb-util-wm
+ x11-libs/xcb-util-xrm
+"
+DEPEND="
+ ${RDEPEND}
+ virtual/pkgconfig
+ x11-proto/xineramaproto
+ x11-proto/xproto
+"
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.15.12-Werror.patch
+)
+
+src_prepare() {
+ default
+
+ eautoreconf
+}
+
+src_configure() {
+ tc-export CC
+ econf \
+ $(use_enable windowmode)
+}
+
+src_test() {
+ emake test
+}
diff --git a/x11-misc/rofi/rofi-1.4.1.ebuild b/x11-misc/rofi/rofi-1.4.1.ebuild
new file mode 100644
index 000000000000..5430effcf8c7
--- /dev/null
+++ b/x11-misc/rofi/rofi-1.4.1.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit autotools toolchain-funcs
+
+DESCRIPTION="A window switcher, run dialog and dmenu replacement"
+HOMEPAGE="https://github.com/DaveDavenport/rofi/"
+SRC_URI="${HOMEPAGE}/releases/download/${PV}/${P}.tar.xz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test windowmode"
+
+RDEPEND="
+ dev-libs/glib:2
+ media-libs/freetype
+ x11-libs/cairo[xcb]
+ x11-libs/libXft
+ x11-libs/libXinerama
+ x11-libs/libxcb
+ x11-libs/libxkbcommon[X]
+ x11-libs/pango[X]
+ x11-libs/startup-notification
+ x11-libs/xcb-util
+ x11-libs/xcb-util-wm
+ x11-libs/xcb-util-xrm
+"
+DEPEND="
+ ${RDEPEND}
+ virtual/pkgconfig
+ x11-proto/xineramaproto
+ x11-proto/xproto
+ test? ( >=dev-libs/check-0.11 )
+"
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.15.12-Werror.patch
+)
+
+src_prepare() {
+ default
+
+ eautoreconf
+}
+
+src_configure() {
+ tc-export CC
+
+ econf \
+ $(use_enable test check) \
+ $(use_enable windowmode)
+}
diff --git a/x11-misc/rss-glx/Manifest b/x11-misc/rss-glx/Manifest
new file mode 100644
index 000000000000..c274406d18ba
--- /dev/null
+++ b/x11-misc/rss-glx/Manifest
@@ -0,0 +1,9 @@
+AUX rss-glx-0.9.1-asneeded.patch 263 SHA256 c6079699d3faff582c311fc48b62f56812e886c03d759f9ebbca5d90ca3a21e0 SHA512 0e863458e14b97a1fcfb054cc0072ded458da4d9c9bf237fc91aa4937b41b207f024bdceca59dc1703c75405520afca8dd55ec9ef69259d52c9430bcdf3c045e WHIRLPOOL 9224ce6a98e3becd7b97faa548cfda16eb50d2ddfd0a305f74dff1a20e6fffb70d36c1cadfd6325d26af29079ceaf7acb483f637f8ae3d4484c1697e44566989
+AUX rss-glx-0.9.1-imagemagick-7.patch 5238 SHA256 4d40bef73e47cbbbe0bee99dcbd38c4de7a37cb0697b25202964729fcaca52e7 SHA512 706bc00bd5904c78bfc2858e7b6718b7288b401837ef9abf092ec7669eaf7f81def42e0684f28f3d9195abf00c5ec1ef0df617d2bcb0f55987f79e1914284b5d WHIRLPOOL 1ff7b6e4c3e3bb8c99257aeaf767a7929a57ff3a4c98e1abf93baa84779df8671e008da99b414b7fae1cb175e720a2af957ca6383d85b84792361f00c007cbce
+AUX rss-glx-0.9.1-quesoglc.patch 736 SHA256 ec50dbf7b0ffdd52ff7884afc216b7f679a3815352e99775bc3f0d0e3e3683d0 SHA512 9e71e5f15017593a15d72f005cd365a7bde5974fc0e7555b6d4a61c5ab019d92597952af7afef0cef8cc32782a1ac66ab74d11df3fcd4dcdb716d04d1bcb1b4a WHIRLPOOL 2a6e8f703c9138137dbe25b594d513c358972a0c71feb16e41f23a3924b2d24b99b063423e10d0406c7f080d5f452dcace7afac4e16cdfbb98d99d900d18a508
+DIST rss-glx_0.9.1.tar.bz2 5435799 SHA256 8f8d773864695fd57e6ff21f430994369ad74c69a5e66ce510bbba8ca55333aa SHA512 3293e6446d6f85e895f1ba8fa982a1ab1873f60714e0b351458ac12117af2427b7cc931185b9485a2af6dd86ea9ea5f2fca92eaae9c0dd5290b5108bc2360961 WHIRLPOOL 9acf336481697ef94f2929b766e805aa805f8e2ebb272a7301a46bbbd2236350245b3e699972a0fc969b3d03182cdb1e5c38454ca8f207ddc1ab9f5676bf0f7a
+EBUILD rss-glx-0.9.1-r1.ebuild 3731 SHA256 5969a3261298f13bfc58933652046327eb09e990d8dfb9ac2eef931376fb12d4 SHA512 7c649d45085a9dc92b4c696c2c8dcd8e8b6a7cf8e95b63a8419f694b66a0648dfb3bc9ad09a5c383ef565102aacc6f8138c7bf67df329b5026f8e30f42ce4795 WHIRLPOOL ff0bbbb9e0cce65306dbf1172c4eb2008aed5e7144c1a17a4784a7dc64bfc1b884a2cfc172cb8514c35ef0ed1c8029a3ac2d27511554939f5da44f9382ffd24c
+EBUILD rss-glx-0.9.1.ebuild 3690 SHA256 36e63447d182b7788637218570ba142a4cb8440f645091c3f2d9aa5fc2049409 SHA512 99a9d14a3c659ef635000df7cb67440a40ef6f5a73dbe1636c11a7bf1d3a23dcd0f637c09635c998d110fdaf07c3f5091e9fcc462f62e3dea33786459b389959 WHIRLPOOL 2265a49a0abba8acef4f4c624d60a377d8228d8ba841816ca8bedfe0aad01889bb7e5fbfa85e52cf436e66f5fe9c6145b1f7e09fdb1cd6dc93357d93f78c2cc5
+MISC ChangeLog 2503 SHA256 b81b9a06666d7b57afe079a4032dffe53065e0602fd342bb2df9cde7dd844bf4 SHA512 0f917590bdd393f35b97cca80f14c5b57ccc8dda52de3095a6cd6d2313e27edfe068feba39c6952f062a51ddbc7e9e8e470e3c164884a6bd22909567efb455ef WHIRLPOOL 6c96ab0892e4b535e0a77e3d162b41a703722ec8a88d6b23b45cdc2600b928d064896f3b43abdc892ea7c32930023b795b62baadf056f10d940ab0fb977428ab
+MISC ChangeLog-2015 13374 SHA256 4ea0ed828bca3587d9dd5903a77ab3fde0525ce3ff6b4bdce952144bf7e0d11c SHA512 84063c5dc6155e7e699af6849cc897e7e024981221cf1b9997dcea59d87336b8d1f24615bf810ab389c6e3f38b1dd154a0ffc67dc9523f4e614a83b1b16855b6 WHIRLPOOL 3cb2177c902b2c389b397bb17dad49ac95880fede544d180075af3409978bd81b73d840fdcd790b2362b9e6b899b713cd8fbd0d6b1ecd2e9fd6fc7e6460c3d43
+MISC metadata.xml 444 SHA256 327e41a47f1f53750eef7cec834cc8eafeec647722f628c07e5ab9ebb6534ae5 SHA512 05849c2a8dbfed55c72261d2d977ece92058ddfe14565eeb22edb7d57ba2fab707bf8d97948fcbafe6f53a0880dcb651a6f8b4caf8fcc6935415c94de9443e8d WHIRLPOOL 32fe597036907a24a50ce241647b3d2553b746005c18d20d99711800dfb8bbd143ce31d293457067df464075c66ea07eaf10ea54d1aa919c7eed10d942b7ee8e
diff --git a/x11-misc/rss-glx/files/rss-glx-0.9.1-asneeded.patch b/x11-misc/rss-glx/files/rss-glx-0.9.1-asneeded.patch
new file mode 100644
index 000000000000..e492183dcf9e
--- /dev/null
+++ b/x11-misc/rss-glx/files/rss-glx-0.9.1-asneeded.patch
@@ -0,0 +1,12 @@
+Fixing as-needed issue
+
+http://bugs.gentoo.org/313837
+
+--- a/src/PixelCity/Makefile.am
++++ b/src/PixelCity/Makefile.am
+@@ -23,3 +23,5 @@
+ Texture.cpp \
+ Visible.cpp \
+ World.cpp
++libPixelCity_la_LIBADD=@quesoglc_LIBS@
++libPixelCity_la_CFLAGS=@quesoglc_CFLAGS@
diff --git a/x11-misc/rss-glx/files/rss-glx-0.9.1-imagemagick-7.patch b/x11-misc/rss-glx/files/rss-glx-0.9.1-imagemagick-7.patch
new file mode 100644
index 000000000000..c92eb1e1d3cb
--- /dev/null
+++ b/x11-misc/rss-glx/files/rss-glx-0.9.1-imagemagick-7.patch
@@ -0,0 +1,178 @@
+--- a/configure.in
++++ b/configure.in
+@@ -38,6 +38,8 @@
+ AC_PROG_LIBTOOL
+ AC_PROG_LN_S
+
++PKG_PROG_PKG_CONFIG
++
+ # Checks for libraries.
+ AC_CHECK_LIB([m], [pow],,AC_MSG_ERROR(-lm was not found but required.))
+
+@@ -81,7 +83,15 @@
+ AC_CHECK_FUNCS(random_r nrand48)
+
+ # Check for ImageMagick.
+-PKG_CHECK_MODULES(Wand, Wand >= 6.4)
++PKG_CHECK_MODULES(Wand, [Wand >= 6.4],,
++ [PKG_CHECK_MODULES(Wand, MagickWand >= 6.4)]
++)
++
++old_CPPFLAGS="$CPPFLAGS"; CPPFLAGS="$Wand_CFLAGS"
++AC_CHECK_HEADERS([magick/api.h] [wand/magick-wand.h],,
++ AC_CHECK_HEADERS([MagickCore/MagickCore.h] [MagickWand/MagickWand.h])
++)
++CPPFLAGS="$old_CPPFLAGS"
+
+ if test -d src/skyrocket_sounds ; then
+ AC_ARG_ENABLE(sound, [ --disable-sound Don't compile with sound.])
+--- a/src/TexMgr.cpp
++++ b/src/TexMgr.cpp
+@@ -25,8 +25,19 @@
+ #endif
+ #include <cstdlib>
+
++#ifdef HAVE_MAGICK_API_H
++#ifdef HAVE_WAND_MAGICK_WAND_H
+ #include <magick/api.h>
+ #include <wand/magick-wand.h>
++#endif /* HAVE_WAND_MAGICK_WAND_H */
++#endif /* HAVE_MAGICK_API_H */
++#ifdef HAVE_MAGICKCORE_MAGICKCORE_H
++#ifdef HAVE_MAGICKWAND_MAGICKWAND_H
++#include <MagickCore/MagickCore.h>
++#include <MagickWand/MagickWand.h>
++#endif /* HAVE_MAGICKWAND_MAGICKWAND_H */
++#endif /* HAVE_MAGICKCORE_MAGICKCORE_H */
++
+ #include <dirent.h>
+ #include <sys/types.h>
+ #include <sys/stat.h>
+@@ -255,10 +266,18 @@
+ // Directory scanning + image loading code in a separate function callable either from loadNextImage or another thread if pthreads is available.
+ void TexMgr::loadNextImageFromDisk() {
+ MagickWand *magick_wand = NewMagickWand();
++#ifdef HAVE_MAGICKCORE_MAGICKCORE_H
++ ExceptionInfo *exception;
++#else
+ ExceptionInfo exception;
++#endif
+ int dirLoop = 0;
+
++#ifdef HAVE_MAGICKCORE_MAGICKCORE_H
++ exception = AcquireExceptionInfo ();
++#else
+ GetExceptionInfo (&exception);
++#endif
+
+ int imageLoaded = 0;
+ do {
+@@ -317,7 +336,11 @@
+ nextH = ohh;
+ }
+
++#ifdef HAVE_MAGICKCORE_MAGICKCORE_H
++ ExportImagePixels (GetImageFromMagickWand(magick_wand), 0, 0, oww, ohh, "RGBA", CharPixel, nextTex, exception);
++#else
+ ExportImagePixels (GetImageFromMagickWand(magick_wand), 0, 0, oww, ohh, "RGBA", CharPixel, nextTex, &exception);
++#endif
+
+ magick_wand = DestroyMagickWand (magick_wand);
+
+--- a/src/matrixview.c
++++ b/src/matrixview.c
+@@ -84,8 +84,19 @@
+ float *texcoords;
+ unsigned char *colors;
+
++#ifdef HAVE_MAGICK_API_H
++#ifdef HAVE_WAND_MAGICK_WAND_H
+ #include <magick/api.h>
+ #include <wand/magick-wand.h>
++#endif /* HAVE_WAND_MAGICK_WAND_H */
++#endif /* HAVE_MAGICK_API_H */
++#ifdef HAVE_MAGICKCORE_MAGICKCORE_H
++#ifdef HAVE_MAGICKWAND_MAGICKWAND_H
++#include <MagickCore/MagickCore.h>
++#include <MagickWand/MagickWand.h>
++#endif /* HAVE_MAGICKWAND_MAGICKWAND_H */
++#endif /* HAVE_MAGICKCORE_MAGICKCORE_H */
++
+ #include <dirent.h>
+ #include <sys/types.h>
+ #include <sys/stat.h>
+@@ -99,10 +110,18 @@
+ // Directory scanning + image loading code in a separate function callable either from loadNextImage or another thread if pthreads is available.
+ void loadNextImageFromDisk() {
+ MagickWand *magick_wand = NewMagickWand();
++#ifdef HAVE_MAGICKCORE_MAGICKCORE_H
++ ExceptionInfo *exception;
++#else
+ ExceptionInfo exception;
++#endif
+ int dirLoop = 0;
+
++#ifdef HAVE_MAGICKCORE_MAGICKCORE_H
++ exception = AcquireExceptionInfo ();
++#else
+ GetExceptionInfo (&exception);
++#endif
+
+ int imageLoaded = 0;
+ do {
+@@ -159,7 +178,11 @@
+ if (!next_pic)
+ next_pic = (unsigned char *)malloc (text_x * text_y);
+
++#ifdef HAVE_MAGICKCORE_MAGICKCORE_H
++ ExportImagePixels (GetImageFromMagickWand(magick_wand), 0, 0, text_x, text_y, "I", CharPixel, next_pic, exception);
++#else
+ ExportImagePixels (GetImageFromMagickWand(magick_wand), 0, 0, text_x, text_y, "I", CharPixel, next_pic, &exception);
++#endif
+
+ magick_wand = DestroyMagickWand (magick_wand);
+ }
+@@ -211,11 +234,19 @@
+ pthread_cond_signal(next_pic_cond);
+ }
+ } else {
++#ifdef HAVE_MAGICKCORE_MAGICKCORE_H
++ ExceptionInfo *exception;
++#else
+ ExceptionInfo exception;
++#endif
+ Image *image = NULL, *scaled_image;
+ ImageInfo *image_info;
+
++#ifdef HAVE_MAGICKCORE_MAGICKCORE_H
++ exception = AcquireExceptionInfo ();
++#else
+ GetExceptionInfo (&exception);
++#endif
+
+ if (!pics)
+ LOAD_TEXTURE (pics, cpics, cpics_compressedsize, cpics_size)
+@@ -227,6 +258,15 @@
+ image_info = CloneImageInfo ((ImageInfo *) NULL);
+ image_info->size = AcquireMagickMemory(sizeof("90x70"));
+ strcpy(image_info->size, "90x70");
++#ifdef HAVE_MAGICKCORE_MAGICKCORE_H
++ image = AcquireImage(image_info, exception);
++
++ ImportImagePixels(image, 0, 0, 90, 70, "I", CharPixel, (unsigned char *)(pics + ((random () & 15) * (90 * 70))), exception);
++
++ scaled_image = ScaleImage (image, text_x, text_y, exception);
++
++ ExportImagePixels (scaled_image, 0, 0, text_x, text_y, "I", CharPixel, pic, exception);
++#else
+ image = AcquireImage(image_info);
+
+ ImportImagePixels(image, 0, 0, 90, 70, "I", CharPixel, (unsigned char *)(pics + ((random () & 15) * (90 * 70))));
+@@ -234,6 +274,7 @@
+ scaled_image = ScaleImage (image, text_x, text_y, &exception);
+
+ ExportImagePixels (scaled_image, 0, 0, text_x, text_y, "I", CharPixel, pic, &exception);
++#endif
+
+ DestroyImage (image);
+ DestroyImage (scaled_image);
diff --git a/x11-misc/rss-glx/files/rss-glx-0.9.1-quesoglc.patch b/x11-misc/rss-glx/files/rss-glx-0.9.1-quesoglc.patch
new file mode 100644
index 000000000000..0aed3eabed63
--- /dev/null
+++ b/x11-misc/rss-glx/files/rss-glx-0.9.1-quesoglc.patch
@@ -0,0 +1,18 @@
+Removing automagic dependency on media-libs/quesoglc
+
+http://bugs.gentoo.org/313837
+
+--- a/configure.in
++++ b/configure.in
+@@ -200,7 +200,10 @@
+
+ AM_CONDITIONAL(INSTALL_KDE_CONFIG_FILES, test "$INSTALL_KDE_CONFIG_FILES" = "yes")
+
+-PKG_CHECK_MODULES(quesoglc, quesoglc >= 0.7, AC_DEFINE([HAVE_GLC], , [QuesoGLC is available for use.]), AC_DEFINE([MISSING_GLC], , [QuesoGLC not available.]))
++AC_ARG_WITH([quesoglc], AS_HELP_STRING([--with-quesoglc], [Build with QuusoGLC library (default: disabled)]))
++if test "x$with_quesoglc" = "xyes"; then
++ PKG_CHECK_MODULES(quesoglc, quesoglc >= 0.7, AC_DEFINE([HAVE_GLC], , [QuesoGLC is available for use.]), AC_DEFINE([MISSING_GLC], , [QuesoGLC not available.]))
++fi
+
+ AC_OUTPUT([
+ Makefile
diff --git a/x11-misc/rss-glx/metadata.xml b/x11-misc/rss-glx/metadata.xml
new file mode 100644
index 000000000000..bb438a9d8a3c
--- /dev/null
+++ b/x11-misc/rss-glx/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+ <use>
+ <flag name="quesoglc">Enable support for OpenGL Character Renderer</flag>
+ </use>
+ <upstream>
+ <remote-id type="sourceforge">rss-glx</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/rss-glx/rss-glx-0.9.1-r1.ebuild b/x11-misc/rss-glx/rss-glx-0.9.1-r1.ebuild
new file mode 100644
index 000000000000..c48ad9fefc1b
--- /dev/null
+++ b/x11-misc/rss-glx/rss-glx-0.9.1-r1.ebuild
@@ -0,0 +1,129 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit autotools eutils multilib
+
+MY_P=${PN}_${PV}
+
+DESCRIPTION="Really Slick OpenGL Screensavers for XScreenSaver"
+HOMEPAGE="http://rss-glx.sourceforge.net"
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="+bzip2 openal quesoglc"
+
+RDEPEND="
+ x11-libs/libX11
+ x11-libs/libXext
+ >=media-libs/glew-1.5.1:=
+ media-libs/mesa
+ >=media-gfx/imagemagick-6.4:=
+ >=x11-misc/xscreensaver-5.08-r2
+ bzip2? ( app-arch/bzip2 )
+ openal? ( >=media-libs/freealut-1.1.0-r1 )
+ quesoglc? ( media-libs/quesoglc )
+"
+DEPEND="
+ ${RDEPEND}
+ x11-proto/xextproto
+ virtual/pkgconfig
+ sys-apps/sed
+"
+
+DOCS="ChangeLog README*"
+S=${WORKDIR}/${MY_P}
+PATCHES=(
+ "${FILESDIR}"/${P}-quesoglc.patch
+ "${FILESDIR}"/${P}-asneeded.patch
+ "${FILESDIR}"/${P}-imagemagick-7.patch
+)
+
+src_prepare() {
+ default
+
+ sed -i \
+ -e '/CFLAGS=/s:-O2:${CFLAGS}:' \
+ -e '/CXXFLAGS=/s:-O2:${CXXFLAGS}:' \
+ -e 's|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|g' \
+ configure.in || die
+
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ $(use_enable bzip2) \
+ $(use_enable openal sound) \
+ $(use_with quesoglc) \
+ --bindir=/usr/$(get_libdir)/misc/xscreensaver \
+ --disable-dependency-tracking \
+ --enable-shared \
+ --with-configdir=/usr/share/xscreensaver/config
+}
+
+pkg_postinst() {
+ local xssconf="${ROOT}usr/share/X11/app-defaults/XScreenSaver"
+
+ if [ -f ${xssconf} ]; then
+ sed -e '/*programs:/a\
+ GL: \"Cyclone\" cyclone --root \\n\\\
+ GL: \"Euphoria\" euphoria --root \\n\\\
+ GL: \"Fieldlines\" fieldlines --root \\n\\\
+ GL: \"Flocks\" flocks --root \\n\\\
+ GL: \"Flux\" flux --root \\n\\\
+ GL: \"Helios\" helios --root \\n\\\
+ GL: \"Hyperspace\" hyperspace --root \\n\\\
+ GL: \"Lattice\" lattice --root \\n\\\
+ GL: \"Plasma\" plasma --root \\n\\\
+ GL: \"Pixelcity\" pixelcity --root \\n\\\
+ GL: \"Skyrocket\" skyrocket --root \\n\\\
+ GL: \"Solarwinds\" solarwinds --root \\n\\\
+ GL: \"Colorfire\" colorfire --root \\n\\\
+ GL: \"Hufos Smoke\" hufo_smoke --root \\n\\\
+ GL: \"Hufos Tunnel\" hufo_tunnel --root \\n\\\
+ GL: \"Sundancer2\" sundancer2 --root \\n\\\
+ GL: \"BioF\" biof --root \\n\\\
+ GL: \"BusySpheres\" busyspheres --root \\n\\\
+ GL: \"SpirographX\" spirographx --root \\n\\\
+ GL: \"MatrixView\" matrixview --root \\n\\\
+ GL: \"Lorenz\" lorenz --root \\n\\\
+ GL: \"Drempels\" drempels --root \\n\\\
+ GL: \"Feedback\" feedback --root \\n\\' \
+ -i ${xssconf} || die
+ fi
+}
+
+pkg_postrm() {
+ local xssconf="${ROOT}usr/share/X11/app-defaults/XScreenSaver"
+
+ if [ -f ${xssconf} ]; then
+ sed \
+ -e '/\"Cyclone\" cyclone/d' \
+ -e '/\"Euphoria\" euphoria/d' \
+ -e '/\"Fieldlines\" fieldlines/d' \
+ -e '/\"Flocks\" flocks/d' \
+ -e '/\"Flux\" flux/d' \
+ -e '/\"Helios\" helios/d' \
+ -e '/\"Hyperspace\" hyperspace/d' \
+ -e '/\"Lattice\" lattice/d' \
+ -e '/\"Plasma\" plasma/d' \
+ -e '/\"Pixelcity\" pixelcity/d' \
+ -e '/\"Skyrocket\" skyrocket/d' \
+ -e '/\"Solarwinds\" solarwinds/d' \
+ -e '/\"Colorfire\" colorfire/d' \
+ -e '/\"Hufos Smoke\" hufo_smoke/d' \
+ -e '/\"Hufos Tunnel\" hufo_tunnel/d' \
+ -e '/\"Sundancer2\" sundancer2/d' \
+ -e '/\"BioF\" biof/d' \
+ -e '/\"BusySpheres\" busyspheres/d' \
+ -e '/\"SpirographX\" spirographx/d' \
+ -e '/\"MatrixView\" matrixview/d' \
+ -e '/\"Lorenz\" lorenz/d' \
+ -e '/\"Drempels\" drempels/d' \
+ -e '/\"Feedback\" feedback/d' \
+ -i ${xssconf} || die
+ fi
+}
diff --git a/x11-misc/rss-glx/rss-glx-0.9.1.ebuild b/x11-misc/rss-glx/rss-glx-0.9.1.ebuild
new file mode 100644
index 000000000000..59f0d1afaf19
--- /dev/null
+++ b/x11-misc/rss-glx/rss-glx-0.9.1.ebuild
@@ -0,0 +1,119 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit autotools eutils multilib
+
+MY_P=${PN}_${PV}
+
+DESCRIPTION="Really Slick OpenGL Screensavers for XScreenSaver"
+HOMEPAGE="http://rss-glx.sourceforge.net"
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha amd64 ppc ~ppc64 sparc x86"
+IUSE="+bzip2 openal quesoglc"
+
+RDEPEND="x11-libs/libX11
+ x11-libs/libXext
+ >=media-libs/glew-1.5.1
+ media-libs/mesa
+ >=media-gfx/imagemagick-6.4
+ >=x11-misc/xscreensaver-5.08-r2
+ bzip2? ( app-arch/bzip2 )
+ openal? ( >=media-libs/freealut-1.1.0-r1 )
+ quesoglc? ( media-libs/quesoglc )"
+DEPEND="${RDEPEND}
+ x11-proto/xextproto
+ virtual/pkgconfig
+ sys-apps/sed"
+
+DOCS="ChangeLog README*"
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ sed -i \
+ -e '/CFLAGS=/s:-O2:${CFLAGS}:' \
+ -e '/CXXFLAGS=/s:-O2:${CXXFLAGS}:' \
+ -e 's|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|g' \
+ configure.in || die
+ epatch "${FILESDIR}"/${P}-quesoglc.patch \
+ "${FILESDIR}"/${P}-asneeded.patch
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ --bindir=/usr/$(get_libdir)/misc/xscreensaver \
+ --enable-shared \
+ --disable-dependency-tracking \
+ $(use_enable bzip2) \
+ $(use_enable openal sound) \
+ $(use_with quesoglc) \
+ --with-configdir=/usr/share/xscreensaver/config
+}
+
+pkg_postinst() {
+ local xssconf="${ROOT}usr/share/X11/app-defaults/XScreenSaver"
+
+ if [ -f ${xssconf} ]; then
+ sed -e '/*programs:/a\
+ GL: \"Cyclone\" cyclone --root \\n\\\
+ GL: \"Euphoria\" euphoria --root \\n\\\
+ GL: \"Fieldlines\" fieldlines --root \\n\\\
+ GL: \"Flocks\" flocks --root \\n\\\
+ GL: \"Flux\" flux --root \\n\\\
+ GL: \"Helios\" helios --root \\n\\\
+ GL: \"Hyperspace\" hyperspace --root \\n\\\
+ GL: \"Lattice\" lattice --root \\n\\\
+ GL: \"Plasma\" plasma --root \\n\\\
+ GL: \"Pixelcity\" pixelcity --root \\n\\\
+ GL: \"Skyrocket\" skyrocket --root \\n\\\
+ GL: \"Solarwinds\" solarwinds --root \\n\\\
+ GL: \"Colorfire\" colorfire --root \\n\\\
+ GL: \"Hufos Smoke\" hufo_smoke --root \\n\\\
+ GL: \"Hufos Tunnel\" hufo_tunnel --root \\n\\\
+ GL: \"Sundancer2\" sundancer2 --root \\n\\\
+ GL: \"BioF\" biof --root \\n\\\
+ GL: \"BusySpheres\" busyspheres --root \\n\\\
+ GL: \"SpirographX\" spirographx --root \\n\\\
+ GL: \"MatrixView\" matrixview --root \\n\\\
+ GL: \"Lorenz\" lorenz --root \\n\\\
+ GL: \"Drempels\" drempels --root \\n\\\
+ GL: \"Feedback\" feedback --root \\n\\' \
+ -i ${xssconf} || die "sed failed"
+ fi
+}
+
+pkg_postrm() {
+ local xssconf="${ROOT}usr/share/X11/app-defaults/XScreenSaver"
+
+ if [ -f ${xssconf} ]; then
+ sed \
+ -e '/\"Cyclone\" cyclone/d' \
+ -e '/\"Euphoria\" euphoria/d' \
+ -e '/\"Fieldlines\" fieldlines/d' \
+ -e '/\"Flocks\" flocks/d' \
+ -e '/\"Flux\" flux/d' \
+ -e '/\"Helios\" helios/d' \
+ -e '/\"Hyperspace\" hyperspace/d' \
+ -e '/\"Lattice\" lattice/d' \
+ -e '/\"Plasma\" plasma/d' \
+ -e '/\"Pixelcity\" pixelcity/d' \
+ -e '/\"Skyrocket\" skyrocket/d' \
+ -e '/\"Solarwinds\" solarwinds/d' \
+ -e '/\"Colorfire\" colorfire/d' \
+ -e '/\"Hufos Smoke\" hufo_smoke/d' \
+ -e '/\"Hufos Tunnel\" hufo_tunnel/d' \
+ -e '/\"Sundancer2\" sundancer2/d' \
+ -e '/\"BioF\" biof/d' \
+ -e '/\"BusySpheres\" busyspheres/d' \
+ -e '/\"SpirographX\" spirographx/d' \
+ -e '/\"MatrixView\" matrixview/d' \
+ -e '/\"Lorenz\" lorenz/d' \
+ -e '/\"Drempels\" drempels/d' \
+ -e '/\"Feedback\" feedback/d' \
+ -i ${xssconf} || die "sed failed"
+ fi
+}
diff --git a/x11-misc/safeeyes/Manifest b/x11-misc/safeeyes/Manifest
new file mode 100644
index 000000000000..2043777c606c
--- /dev/null
+++ b/x11-misc/safeeyes/Manifest
@@ -0,0 +1,5 @@
+DIST safeeyes-1.2.1.tar.gz 137676 SHA256 08a2915d50c9bef6b375d2bbeb0909b0745293115603764306c5da06c621a35e SHA512 a2a31fd1b0e31403a8e2bd938e19b317a5ebcee66ce1fa29d1b00e4ed9f7b78281bfac5fff1486166f4093211c515e5d06577d47251a711e9b92af24c56f6b5c WHIRLPOOL 04661393094c6f01e9ca0cc9c54bfd8938c8e907d31ecccfc7f2a110819a34e356666fb2de0f011a6f13d3a7a8453e4ae7289e26cba4caee6500878f9461aea9
+DIST safeeyes-1.2.2.tar.gz 146517 SHA256 ccd7a882239b70994e62a7ad06058a4fba9607a0c3340a2c7ece0a71d96f992c SHA512 3a693bd2976106c8b2e6e131acb1667a52610348c5f0cb6e76e9b1290bf633a0cbfe34632330163dd754df19f600a5781d5b2ef05102194dbcb0de4cc6a9869e WHIRLPOOL 9c2ea47c41f117a352e3d42ec3c4c2d00222ed89d77b9ca5a6b34201dca1130f78b2066ae099c977e7324d671c9cade068d0a8d355ef497ac66e6a8978d6d53e
+EBUILD safeeyes-1.2.1.ebuild 1014 SHA256 727bee6feacadcb6e770fb8a1379b00ebd72da3a3317100d94e3a22a73b2aaa3 SHA512 8b88eeca9b1541bc9fac7f683489b64d626b8f45a422e9999191b49f28702bd953a39d1d46e37e35fe06d8816f8331b2e051e175d55e7571f5bfc759f14c8e6d WHIRLPOOL 6bbf81bb5e74b202d14ee09c46791c86c9040955fc1bad43179f118d25ff5d12faa20b53b6e8818b8635e433754d8bd0df10f3e11cbd0eb33d9e9d392770f216
+EBUILD safeeyes-1.2.2.ebuild 1038 SHA256 b8c14accb15c9687fbfb0cabd500ba93a6c4ca4fcd7fd67a571360e549b5ea58 SHA512 4bababf472ae47210b15fbb841fb51ccd4accb409c9d61c88ed7ef0e5586d4462fdbc1dccfd08795e25f4beb6fac40bab0a5f4e1ab1c9dffe1cfe32ed85e9964 WHIRLPOOL 2fd15b735d69eed0634573db5ff370c37ae774cbc27fe14c677f0f74aa6b28496c5b514170360817d37ecc8df8a2b8724e81a4a41224ddfd6974f8a8e78a11b7
+MISC metadata.xml 346 SHA256 fce17a583a091f01b740d533a820d040cfdfce44cc48b09d8d11f13848488e58 SHA512 f73ca2191cf257ffe2fe79094187eee3cb8eb9eef4108f29e52713ab1e3ccab1148fb28a73e09c7cc723523fcf3b5fadd15528ca015864b38967207dcfb68609 WHIRLPOOL 60db5eb2ce5210f1a109945ca922843f3f5ea29d28e19f14f9cc263fc4f9ea51918f079a0919c6bce42ba1797af2410a727104536dc927d03aaac746d4cd0d64
diff --git a/x11-misc/safeeyes/metadata.xml b/x11-misc/safeeyes/metadata.xml
new file mode 100644
index 000000000000..8ff45602e151
--- /dev/null
+++ b/x11-misc/safeeyes/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>sping@gentoo.org</email>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">slgobinath/SafeEyes</remote-id>
+ <remote-id type="pypi">safeeyes</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/safeeyes/safeeyes-1.2.1.ebuild b/x11-misc/safeeyes/safeeyes-1.2.1.ebuild
new file mode 100644
index 000000000000..6305f53b5b4b
--- /dev/null
+++ b/x11-misc/safeeyes/safeeyes-1.2.1.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python3_{4,5,6} )
+inherit gnome2-utils xdg distutils-r1
+
+DESCRIPTION="Linux alternative to EyeLeo"
+HOMEPAGE="https://github.com/slgobinath/SafeEyes"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+CDEPEND="${PYTHON_DEPS}"
+DEPEND="${CDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ "
+RDEPEND="${CDEPEND}
+ dev-libs/libappindicator:3
+ dev-python/Babel[${PYTHON_USEDEP}]
+ dev-python/dbus-python[${PYTHON_USEDEP}]
+ dev-python/psutil[${PYTHON_USEDEP}]
+ dev-python/pyaudio[${PYTHON_USEDEP}]
+ dev-python/pygobject:3[${PYTHON_USEDEP}]
+ dev-python/python-xlib[${PYTHON_USEDEP}]
+ x11-apps/xprop
+ x11-misc/xprintidle
+ "
+
+DOCS=(
+ README.md
+)
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ xdg_desktop_database_update
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_desktop_database_update
+ gnome2_icon_cache_update
+}
diff --git a/x11-misc/safeeyes/safeeyes-1.2.2.ebuild b/x11-misc/safeeyes/safeeyes-1.2.2.ebuild
new file mode 100644
index 000000000000..98d9b9cc1123
--- /dev/null
+++ b/x11-misc/safeeyes/safeeyes-1.2.2.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python3_{4,5,6} )
+inherit gnome2-utils xdg distutils-r1
+
+DESCRIPTION="Linux alternative to EyeLeo"
+HOMEPAGE="https://github.com/slgobinath/SafeEyes"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="portaudio"
+
+CDEPEND="${PYTHON_DEPS}"
+DEPEND="${CDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ "
+RDEPEND="${CDEPEND}
+ dev-libs/libappindicator:3
+ dev-python/Babel[${PYTHON_USEDEP}]
+ dev-python/dbus-python[${PYTHON_USEDEP}]
+ dev-python/psutil[${PYTHON_USEDEP}]
+ portaudio? ( dev-python/pyaudio[${PYTHON_USEDEP}] )
+ dev-python/pygobject:3[${PYTHON_USEDEP}]
+ dev-python/python-xlib[${PYTHON_USEDEP}]
+ x11-apps/xprop
+ x11-misc/xprintidle
+ "
+
+DOCS=(
+ README.md
+)
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ xdg_desktop_database_update
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_desktop_database_update
+ gnome2_icon_cache_update
+}
diff --git a/x11-misc/screen-message/Manifest b/x11-misc/screen-message/Manifest
new file mode 100644
index 000000000000..e385e1baa193
--- /dev/null
+++ b/x11-misc/screen-message/Manifest
@@ -0,0 +1,7 @@
+DIST screen-message_0.24.orig.tar.gz 348147 SHA256 89d06c9a061ede527757b5f8128c64ee2139ce9e6c50c6faaf2e1c72725703ec SHA512 0553c43fc4357c756d2a6ce6dab7e8d3fa880faf90a4bee68b706a0cd8b2a0b92a2e77bd3930e473deaeca75afadcadd946cd3d5c9d116786a4bd0f5cee80506 WHIRLPOOL 3c41a1b082c382c2008e8c5774c499d18a59194f4e3453c46122f996b0212a0ad428dd7cb61460749424fe8bfb26bc9b06aa222dfc4b4f315f4f53f68d352996
+DIST screen-message_0.25.orig.tar.gz 348684 SHA256 60291a493a6e30714c8704c614b37ef94621a917c3a9fa290800df82712989d3 SHA512 30fb47fa0d0707c7219517df5384f559c4a56b5b259d2d1940b50e05834052142d97c8c776d9b22d52f2fe502b7bfe15ee5667f7d2aaa8dc3a29f5677560be41 WHIRLPOOL d5b96e3a28d47ee2dd7147f82da5744d77700831fe261dd1ace690b1d150d1b6df369e85ac6b965a72e72a925914263a8a76df8b534b3d9990c31b67b6a6afcd
+EBUILD screen-message-0.24.ebuild 671 SHA256 720692d986aa376ac2fc1103811b72f3b5162c28578330bb48f71797051994f9 SHA512 3edd9eb3be200f373e2c6e8ff3e3c6ec405e95e10bd709d1294457fbd95600218e63bdac84471a15415fd647d4665d6c605d57512d07c55d22cb1673fc1dac1e WHIRLPOOL b8b0bb66c3ea2c3ecb340f5102dc5fa4d5d5ca8f031e5bb9e564e7534329095a9351a33203cd6f003639b017f821f95f87b74515c3b3458b3e5a3ed34a71fe75
+EBUILD screen-message-0.25.ebuild 671 SHA256 609d4abbebea0de1e59378e1cfaff0e705e094bbd6589047f71bb292a66ffc0c SHA512 2ae71fa779273791ce566bc6e28428425b7ad3b23972f4675706370c4150993c6c49b8cc23af337287a6130973733a2bdd4f70a799c6e39bd15b6af398fc8dbe WHIRLPOOL 9b42705055eb3859b6dafe9de2723c7ed9e57607f18878e7c78a29865c0311a1a96c8d520554b312457d37bb3d300d9de0fb6aa19f02e082279e6b3e8c5b131b
+MISC ChangeLog 2405 SHA256 188e325ce753e8a800f8465161955faed7cd037268a5d29d038a07f00f4a60c5 SHA512 af153e59b56667b9288dec01cfd36b9e494dc007f7c4629d0e331e4409f41d9ccfec74dc362768451a944afc35dbf7398974e94c3c774d2090b6209e4297db28 WHIRLPOOL fcba25dea65a0c2c9eab9fa48616b4a766422594a54168f9ec2b2a776ee27138a2b7758a41545c29d747e65eff5e212776eaf3eeb9d70657f1a21e030e454a85
+MISC ChangeLog-2015 1466 SHA256 a16a4b981ed39129a87cdd40b0d54f5ffad15caa6497ee998d34a291822bc375 SHA512 6220e85548b45a7e90836bafd21aba8ba7e080c4e541d2babef70c63388257fb226dcb3cbf3cd87346c3a92d9f7c9493e7ef6041a50d660a1d5d982a4a8e2ed0 WHIRLPOOL df17bd75ecf7bffcc6b161ea323348887725a707b9e0c18a1236620a81efb2617bf3ce06188fa13fae1e77a737c3105a195effe488956cf413d6770394cd56aa
+MISC metadata.xml 249 SHA256 abaf8c3d7632caaacd242fc7f4d5b1377778c50c7bfa5c356b35773f377d4f69 SHA512 334ac61f9acc5c4917fd29afb3b420b1689b39be80cada419bed1db033e64130866d0995abe5f1c75eb1290f51734e9ad4c8d06fd8b49c288ecf617a0693d273 WHIRLPOOL cb6e12eeeb412f25a85ebc6322f4b22a14c7c23fc7d49a46e8168cdbf425e121a276fc4e915c4626ed9b64d7f7aef50ee11c428ed149126999d277adbea1f57f
diff --git a/x11-misc/screen-message/metadata.xml b/x11-misc/screen-message/metadata.xml
new file mode 100644
index 000000000000..6d2298876faa
--- /dev/null
+++ b/x11-misc/screen-message/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>sping@gentoo.org</email>
+ <name>Sebastian Pipping</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/x11-misc/screen-message/screen-message-0.24.ebuild b/x11-misc/screen-message/screen-message-0.24.ebuild
new file mode 100644
index 000000000000..bd4cac875867
--- /dev/null
+++ b/x11-misc/screen-message/screen-message-0.24.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+DESCRIPTION="Display a multi-line message large, fullscreen, black on white"
+HOMEPAGE="http://www.joachim-breitner.de/projects#screen-message"
+SRC_URI="mirror://debian/pool/main/s/${PN}/${PN}_${PV}.orig.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="x11-libs/gtk+:3
+ x11-libs/cairo
+ >=x11-libs/pango-1.16"
+RDEPEND="${DEPEND}
+ !<net-im/jabberd2-2.2.17-r1"
+
+src_install() {
+ default
+
+ dodir /usr/bin || die
+ mv "${D}"/usr/{games,bin}/sm || die
+ sed -i 's|Exec=/usr/games/sm||' "${D}"/usr/share/applications/sm.desktop || die
+}
diff --git a/x11-misc/screen-message/screen-message-0.25.ebuild b/x11-misc/screen-message/screen-message-0.25.ebuild
new file mode 100644
index 000000000000..a98b675cc3a1
--- /dev/null
+++ b/x11-misc/screen-message/screen-message-0.25.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+DESCRIPTION="Display a multi-line message large, fullscreen, black on white"
+HOMEPAGE="http://www.joachim-breitner.de/projects#screen-message"
+SRC_URI="mirror://debian/pool/main/s/${PN}/${PN}_${PV}.orig.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="x11-libs/gtk+:3
+ x11-libs/cairo
+ >=x11-libs/pango-1.16"
+RDEPEND="${DEPEND}
+ !<net-im/jabberd2-2.2.17-r1"
+
+src_install() {
+ default
+
+ dodir /usr/bin || die
+ mv "${D}"/usr/{games,bin}/sm || die
+ sed -i 's|Exec=/usr/games/sm||' "${D}"/usr/share/applications/sm.desktop || die
+}
diff --git a/x11-misc/screengrab/Manifest b/x11-misc/screengrab/Manifest
new file mode 100644
index 000000000000..d4ff52c8d980
--- /dev/null
+++ b/x11-misc/screengrab/Manifest
@@ -0,0 +1,5 @@
+DIST screengrab-1.2.1.tar.gz 156692 SHA256 48cdaf66e6eff3ef0db89cb09b7c5757f07b99dd1cd05321e33b04a14c670d3b SHA512 12892eaf33fe48875c1d0dccdc631cc64c246ba2ba10432539099b35e75c36f19c8ff8b97dee959575f214ea852d1afaa9cf46476f98e0978b379a05df101805 WHIRLPOOL dc2a41981a7a0b569d0dac55d1bc16531c64e0e2dbe69330a1ff5a6511b28b0e2b6f8330e50805bf5c5b432afa3ac05aab93bfd398a26d8ff729276d6ccb1bfb
+EBUILD screengrab-1.2.1-r1.ebuild 707 SHA256 a1fad1b4f3ae732cd5bdf0e365b0bd8bdea206f8f8401ef3b674ceaa533bdf23 SHA512 65cde44c9e4b59427eb1e612524ae6af87c666aac8e86cdc7ba7543e2f1e709a4563ffa60da2f08f91a67a4048fbadde5719d210ebef9271a9ebae84b0ac8b06 WHIRLPOOL b9ee6113b322c06c57b9c54ca74a4abfd6b851a6fe82a77afd20be95226debfb02d514ec7e239d6d3059f1a84899b09bbf4ef5e6a1c48ae3d47161cd44ad97ee
+MISC ChangeLog 4201 SHA256 67867bf5210af9ae8eff33ec78f0e163c8c6624e35f3039f9d80307ddf80db31 SHA512 b2234b7dba097396890288dccd6fd2bdf8fb13412f6c8d4dbe0c4c362dd0231bf8b000102ac7d47ca3cfcb61f591cdc38f2cc5e79ed6683c3c04d4ee2867ec6a WHIRLPOOL ca46a56d2974b89519ff005ba885f53025f7652e7fd2f6bd9a6346c478a2ded037ef5436321954d63e606c9e5afc40f01c302c5678b65fd6fe82de6776920756
+MISC ChangeLog-2015 4684 SHA256 8acde53f05a3fdc211e357322bb48a742268f18bdb58956d7f245008efca2395 SHA512 5eb2ffcbb174c732324188f5d56542577aef0df959fd5a48a85be225dfa3e8e33457cee41fc981a860f64e50ac50f318cfdb9332fd001d09360c4ee09162d84c WHIRLPOOL 6244149f3a3fa25687086749e73452de1932dd62151577cc5eaa82e383a32be485b0a949fa157504b1c8b464458927407c5b2bafc76331050a5cce33f82ef204
+MISC metadata.xml 503 SHA256 dbd78b99f81822055b282d1d0f0a72e852a317b3ce9903096cb3d281c5a062bb SHA512 f03ccfad2d43c959683124a2043e5fe67a173a05ce6037a1865dc9bb63d4cca85234146a8cbabc756b3c0f4361a97d6735adee85ea521d06a46a5ff105d80b25 WHIRLPOOL df1558d299887e01680c19f3982f5c0674c6ef2dc0dac72f6c609b0a8d9182f199aaf0875d14102962648f35fe56e645238a774fd36545a8befa5566fa10b719
diff --git a/x11-misc/screengrab/metadata.xml b/x11-misc/screengrab/metadata.xml
new file mode 100644
index 000000000000..62e04b5545b8
--- /dev/null
+++ b/x11-misc/screengrab/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>qt@gentoo.org</email>
+ <name>Gentoo Qt Project</name>
+ </maintainer>
+ <upstream>
+ <maintainer status="active">
+ <email>doomer3d@gmail.com</email>
+ <name>Artem Galichkin</name>
+ </maintainer>
+ <remote-id type="google-code">screengrab-qt</remote-id>
+ <remote-id type="github">DOOMer/screengrab</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/screengrab/screengrab-1.2.1-r1.ebuild b/x11-misc/screengrab/screengrab-1.2.1-r1.ebuild
new file mode 100644
index 000000000000..f74d9c2b1491
--- /dev/null
+++ b/x11-misc/screengrab/screengrab-1.2.1-r1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit cmake-utils
+
+DESCRIPTION="Qt application for getting screenshots"
+HOMEPAGE="http://screengrab.doomer.org"
+SRC_URI="https://github.com/DOOMer/screengrab/archive/1.2.1.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+DEPEND="
+ dev-qt/qtcore:4
+ dev-qt/qtgui:4
+ x11-libs/libqxt
+ x11-libs/libX11
+"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ sed -i -e "/LICENSE.txt/d" CMakeLists.txt || die
+ rm -r src/3rdparty || die
+
+ cmake-utils_src_prepare
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DSG_DOCDIR=${PF}
+ -DSG_USE_SYSTEM_QXT=ON
+ )
+
+ cmake-utils_src_configure
+}
diff --git a/x11-misc/sct/Manifest b/x11-misc/sct/Manifest
new file mode 100644
index 000000000000..7214368efe33
--- /dev/null
+++ b/x11-misc/sct/Manifest
@@ -0,0 +1,5 @@
+DIST sct-0.3.tar.gz 3679 SHA256 e8249e18cbc35fa106bfb90e715938b180f711d0e4f917636b340382ff2cf35c SHA512 515719e61afb7274749e28321f79adae4f7400e535e577cbada8453fe22c290aa50e5db8a5b93c7945d1759e08619ae75f3f33e9649cf31805b1c2ec82f711a1 WHIRLPOOL c77fd7e252528b12670a4fbb8a9e4c474d7fcad5d678b40fdf8c28d5308ba9be0d9d127a97f468a42433d18bfb9a99dd87422a9f75e9aec2a7287d3ade17aa48
+DIST sct-0.4.tar.gz 4560 SHA256 9b36ea3342eaad3077077176ac43105dfc8260d940fbeeb8827d5f1467faa764 SHA512 7a556c2d26cb2389a3e38e74de992d3fac96b29c637e20d1307e0ea0985c1119a3d05f2108d338612b407f5b5f5362bd3e5582722878d7ae62c568bdc9f46e65 WHIRLPOOL 459d2f5fcb0304c27134c92a61ddfe8a9f29ccacdd6c3252b8d35a4dfad65e7154cbf9e874b4e6d1cdbfcf148bd7c262f0d32649eeb094cae319de9581304296
+EBUILD sct-0.3.ebuild 513 SHA256 21c77563dca24c34bab62166389c31a5ec298d2810bddffd39e055d78b572cfc SHA512 920cc573034ce08ac247f1d6fb18c2f9a09d4a2291c12467c9374edc3d11d8a272a924c308cbf781eb03f47a0dbec863e076441db84a7ed5df15fad2a47f820b WHIRLPOOL bbb66631ac7e2073c69f08b057beebf0fddc09b413840d632ad10238ff63fa5d0aaf40b45b2a870067662be4b57204ef123744bf475eef3add711fe0da8cafbb
+EBUILD sct-0.4.ebuild 515 SHA256 5678bf5ec6f6dffa4c4105ef8a2eef36239ef4fddc0c4eadf4a1f973430c69f1 SHA512 9641f7857910711f82bb0d4890a3aefbadcebec7fe2e8a4a6e410f9bc7cc8de82e087a6ba890dccb23c4aa917330f7ed6fb5cc04bfa8c624305b8022fd8150ee WHIRLPOOL ecacca20c9912544719d4c45231f8eea16de5d36eda8ca2cb7f8343a4bf00bc29b81a2566fdf9fd064edf0de7f8085b8df6de3f41becdd309dbf8498f3d3f651
+MISC metadata.xml 251 SHA256 65fefc8f357a2115f90604fc64897190bd846e558d3e81cda31e1f435817e2a8 SHA512 e8203a24b5e739dcf0d94742215ee6ccdccbd00bb43001f9df58d27100fa427b01937065e1d7399e3552532b09179611e06099e3af14aac5fcf9ddc4ca5463da WHIRLPOOL dd811640d6aea5a34e2768fd7ffad5e505ef6a4bd4b22949d2c736016ab6d0175beb01d11308abe16125abb0d98c6c85a88fd218c78064f23b42beb2fbadd2f3
diff --git a/x11-misc/sct/metadata.xml b/x11-misc/sct/metadata.xml
new file mode 100644
index 000000000000..58c1077b82e4
--- /dev/null
+++ b/x11-misc/sct/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>monsieurp@gentoo.org</email>
+ <name>Patrice Clement</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/x11-misc/sct/sct-0.3.ebuild b/x11-misc/sct/sct-0.3.ebuild
new file mode 100644
index 000000000000..b0c3decf10ee
--- /dev/null
+++ b/x11-misc/sct/sct-0.3.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="Set color temperature of the screen"
+HOMEPAGE="https://www.umaxx.net/"
+SRC_URI="https://www.umaxx.net/dl/${P}.tar.gz"
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="amd64 x86"
+
+DEPEND="x11-libs/libXrandr"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ default
+ sed \
+ -e 's:_BSD_SOURCE:_DEFAULT_SOURCE:g' \
+ -i Makefile || die
+}
+
+src_install() {
+ dobin "${PN}"
+ doman "${PN}.1"
+ einstalldocs
+}
diff --git a/x11-misc/sct/sct-0.4.ebuild b/x11-misc/sct/sct-0.4.ebuild
new file mode 100644
index 000000000000..f7784edbf7b8
--- /dev/null
+++ b/x11-misc/sct/sct-0.4.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="Set color temperature of the screen"
+HOMEPAGE="https://www.umaxx.net/"
+SRC_URI="https://www.umaxx.net/dl/${P}.tar.gz"
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="x11-libs/libXrandr"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ default
+ sed \
+ -e 's:_BSD_SOURCE:_DEFAULT_SOURCE:g' \
+ -i Makefile || die
+}
+
+src_install() {
+ dobin "${PN}"
+ doman "${PN}.1"
+ einstalldocs
+}
diff --git a/x11-misc/sddm/Manifest b/x11-misc/sddm/Manifest
new file mode 100644
index 000000000000..96ee32199d96
--- /dev/null
+++ b/x11-misc/sddm/Manifest
@@ -0,0 +1,16 @@
+AUX sddm-0.12.0-respect-user-flags.patch 779 SHA256 3737a2de5c5cf765702af739445ff8ee8b8ee11c8dc1b69b082824a0baec1c46 SHA512 77e3f2ec4dff122e40428444055ed7cbbb177242c9c3c034b1934dda7a3ff2345dd8fcee4b927b797f66163bffc23a5760dd55c2fa24f2c614cd7dec88ffde88 WHIRLPOOL 920656d22e97f7c3cbaa676eb91be0e2cf7dd948bc3e1a46c2e80b6d682c3c8e74a32a89c43ccc7f4359abef05657ff12ae1a3212fd78a597c2dbf5ce0165844
+AUX sddm-0.13.0-pam_kwallet.patch 391 SHA256 dc46a0132cf0ea722a69cff45ed1ded3c93ade008e22fc90d1b797ca85ed535a SHA512 55375d2c91dad5478be14988e7889344eb8f0694300aefc7803d0f193f7160b5900647e4e35a604aa76119556304d055ff323c4892023664224dc36070c62b02 WHIRLPOOL 90bbfe187e4a327129c9a426c3c00de8d5ef15b3ec30bc4d3dfc6c8603514114f104762cb3053e25ab0b3274874351c94d1dc289cd129939dc46e345b1394070
+AUX sddm-0.14.0-avatars.patch 1470 SHA256 b091f02d6d5b2ddc9d5208b17213a181c6e8deae23e5633d694119e79b66d38b SHA512 09a2b487767c4d84e9bb1225d27e21a6716c7c299b5f3aff5fb4934d1ddc3659658eaffcf30dd60f2c83389a461b4fe91c23cab4646c740ef5eec658e14a1eac WHIRLPOOL e84ffc8ad6c6d40df7dad24ae60d5a7c0a387c5ad0dfa93d29cc307cedd541180398d7caf1925177e43fbff093dbc1fc36f872e40c57dcd80bf12ca2910355eb
+AUX sddm-0.14.0-consolekit.patch 322 SHA256 a998f8a2594cd1e81f402605f01075477a017269b0ac93a22f5faa7d355d18e0 SHA512 aa53338c3e154982388b2e98101cd49e607f1744acee28f46892e3a6848f06de4ba8a8bf204128da1a7b22df9efe5d95bb6ac1cd5dedb8a301f8587af381253a WHIRLPOOL f438b0ceb638a4d6fc0d2999771a1c6dad280f4dbb263d73d458e32c09bb6884b32efac24e92001b4abc324e4e347a3360b533beab82c06022cebeb6edc7d6c1
+AUX sddm-0.14.0-nsswitch_conf.patch 1158 SHA256 8b31740cdfcc540c81dba5e190482b1ccdb29dbf2c7d14225ddfda701c3730c8 SHA512 9449c0ddb984e685c6440a9b8537cc57410df8092d549851a8285546ee0541fd3ac2eae7a62fe57a670006e930fa2cc54bb9671ba373fef914f34a9b219d4529 WHIRLPOOL 2341cd5f142fcb76b4319fc05992da0e4055e273a433d47b7b040cd7f9a99584927b2ad07636e5b390e401a09262f147eca0dc3595ed1013f86af7f63c6fc30e
+AUX sddm-enable-elogind.patch 1754 SHA256 b216976029dc425bc05486ebe276ce65b8d188ebd142856f13f44904ed733a4c SHA512 457a49650b07df2edd836201f00858245b1567476e7e1f6cb4e74e80deea404588504d1895d050cab4278ed3273e71131d70226867e5cf8846a7472f98f23ffe WHIRLPOOL 6d88e1c7eb4bcff23805fffe5b164462f43727059b0058a22140a953dbdf3c153e526513c2ce656f9894cc58eab22c1914e2a30b209dfa75388c05e09373420e
+DIST sddm-0.14.0.tar.xz 3298360 SHA256 7e348258618b20f777767a98f9e377b48824b5cb5aad3a3f10f8482c1eb27778 SHA512 ae6f02e168dbb4ef1d5d360e6b26a2c45a9891fba9d53b73d41a5cc14906f3fcca3bde6d16d7bb109132d23e3e0e768c5976934fd2f59c23d919cc9f81fbd366 WHIRLPOOL d7d80c5d1e8eb5016fa6f5909026bb477293b4356b9caff92d741c936534504e35fdfe81feea8cb2312cdb53ed0e7cc5bda3af5fc4226d5a797baea97e431ecb
+DIST sddm-0.15.0.tar.gz 3520188 SHA256 a4211e5b66f674415e07bc1cc39c16f60ae6025418bcbaba1118cd51e57c3174 SHA512 4440acfc6f98ab8efe8e3a441e8dc9ee98615c3544f8adc899bc4f0334e4f1b0d37c1ef823b32cc466adc8fac942cd188b33eb49795e0468a136a959c65c7566 WHIRLPOOL 48d4ab7ac8d4527719d532e13956e59bdd6b94a094fdf83cb58f1c32d946b111f5ad9f2fefabe9fd6fac8bbccd2d4f8d63ef467d840b975b54d879d5f1b711f4
+DIST sddm-0.16.0.tar.gz 3523735 SHA256 f7f73c6dd6d544ec2c5e4657e181f60467ec31d84bf1b775c544dfe8748badbe SHA512 1efac1ae374ae6e6cba5ea3189f720f706aed8cc5ef2289dd55498b828584c2fa50c1b3374009b1ff5d400a9f9e3e379cfeb0a0411f8078cf618a2df77f0c59c WHIRLPOOL 1a51b2d53fa5427a6785070107152bf9c907a8ebf77dd0532820d9fbcca33d68d7dbc5bcacd863d1881c54d26617bf6986c276ae6d99806e1a2bce6920240733
+EBUILD sddm-0.14.0-r2.ebuild 2332 SHA256 1a0083b134f33feb4b1014a2c3a5227a569ac6a2904feeabf3a09e41564c223c SHA512 b67ed7c8582b205972ebe2847d87a08cd24c3c9c2d6f77bd81bc89503e49cc380c6fa7af6722639cf92df1414d96a21bafd4978b0b08127c37e2419651e6bd71 WHIRLPOOL 1dc114783af75071c4e174897eb1deaa0c0e0db45aaae378d4ccce83f61707e1885a0a8e915e1b40f30ebc28d15877ab810b530028a4f9d749eb66aa11e1ba60
+EBUILD sddm-0.14.0-r4.ebuild 2542 SHA256 58114e9adf0f20ccb18e573a02164c4c3a9745c83dad1f3b83655ffc440769f3 SHA512 2cc87d0c84fda296121afd7c8fefc8c237f8c4ce682e6f552d861f3dc6a318c105e0cfc6066c87fe9be1142cef9ad83125e9b393f0c17f0a51a81e31d82e39f9 WHIRLPOOL 5393d4e0510c45a8de9bbd5a39b287af11ae06697003664e7060e0e40b06a2e269aa20aa0bb84517bbea2da950b0e5fb7095658e95bd27eafdad520cef5d9489
+EBUILD sddm-0.15.0.ebuild 1578 SHA256 6e738dd5bf6f6439256555fdc1f1deef106852a5b4767ce6a7ba657cf2e41194 SHA512 1635e9649279e4a8899e7478d13fe4e63fdcf43ec0204685220eaaf1716dbdf4c4eaada9079b8b6bae302d0c10c412a47b5fd99b774f498746d0f46dc7a81dfd WHIRLPOOL 4b68be654dc880c1a71eeb1d029d324174d986cad5de4f3f06b29d254238fe2de41f1af320d4ee89bd09c9c17f81143e2a52ec4b6f4b5650df9bc184d4c3cb56
+EBUILD sddm-0.16.0.ebuild 1578 SHA256 6e738dd5bf6f6439256555fdc1f1deef106852a5b4767ce6a7ba657cf2e41194 SHA512 1635e9649279e4a8899e7478d13fe4e63fdcf43ec0204685220eaaf1716dbdf4c4eaada9079b8b6bae302d0c10c412a47b5fd99b774f498746d0f46dc7a81dfd WHIRLPOOL 4b68be654dc880c1a71eeb1d029d324174d986cad5de4f3f06b29d254238fe2de41f1af320d4ee89bd09c9c17f81143e2a52ec4b6f4b5650df9bc184d4c3cb56
+MISC ChangeLog 9132 SHA256 b3c4811eab359e67c259d59550832dcb14fb4ab3ddeb71d23edc2207bda83c15 SHA512 32fc4d222b2316a4247cee25798050094983b69873e3358611d908ec030ab7c5b43c64c92a59e88aa37ba2c3ce97556ff1e03d33c6f0b90a0fdcec0a9825c2dc WHIRLPOOL c427eb05f0f819c4d6cff7d007e8d9ab7816e1fe9462af81f688bac0f649028b2137798ef40553b69d2be032a3eff971ac7875065eaf2d73759bd23e29bcb390
+MISC ChangeLog-2015 3391 SHA256 3512268a5a75b764800ce67e516270f4482390a1f9ab958ec0627dc4403889e8 SHA512 3ec070987205570ba6efa11b7feca3fa42a96d2ae4997dab21c713eab043c883d9f6b7073c8572314fc6793374a6061dfa9c0eba812de21de7869c284e5b3a6d WHIRLPOOL 440c4354b7e61f5022f1f728d3a1346b8cea88eeeade570f9b3ba83a67faf26987e532e5566f272df49d3af30c7fc745983273b1cb8733625690e5fa1a6776a1
+MISC metadata.xml 943 SHA256 39b142d1f59af5862546ac9fba88ebfed56f1c68b52c432bf973dcb7f8b790ae SHA512 8a6b888910d68d5209c070c17e0c2e9dc5d64cf9d70cbf5ce945cfae763f864787fb998eb5544f4e6710c36b0045530780fb27f01944b60d71f60f09e8ecb516 WHIRLPOOL aa42f29410aefcf50c53516904020cbb698b07e023efa1d86e76dd8b9a0e1c30054bd0f453cd6e497fc4a9b6226e7d0576b8770fc63b940a41831a1b22fccdc3
diff --git a/x11-misc/sddm/files/sddm-0.12.0-respect-user-flags.patch b/x11-misc/sddm/files/sddm-0.12.0-respect-user-flags.patch
new file mode 100644
index 000000000000..fc450169792d
--- /dev/null
+++ b/x11-misc/sddm/files/sddm-0.12.0-respect-user-flags.patch
@@ -0,0 +1,26 @@
+diff -u CMakeLists.txt CMakeLists.txt
+--- a/CMakeLists.txt 2015-09-05 22:40:50.000000000 +0200
++++ b/CMakeLists.txt 2015-09-07 12:15:33.419530808 +0200
+@@ -35,22 +35,6 @@
+ # Definitions
+ add_definitions(-Wall -std=c++11 -DQT_NO_CAST_FROM_ASCII)
+
+-# Default build type
+-if(NOT CMAKE_BUILD_TYPE)
+- set(CMAKE_BUILD_TYPE Release)
+-endif()
+-
+-# Handle build type
+-if(CMAKE_BUILD_TYPE MATCHES [Dd]ebug)
+- message(STATUS "Debug build")
+- add_definitions(-DDEBUG)
+- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g -O0")
+-else()
+- message(STATUS "Release build")
+- add_definitions(-DNDEBUG)
+- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O2")
+-endif()
+-
+ # Default absolute paths
+ if(NOT DEFINED CMAKE_INSTALL_SYSCONFDIR)
+ set(CMAKE_INSTALL_SYSCONFDIR "/etc")
diff --git a/x11-misc/sddm/files/sddm-0.13.0-pam_kwallet.patch b/x11-misc/sddm/files/sddm-0.13.0-pam_kwallet.patch
new file mode 100644
index 000000000000..ff1c4d2dd409
--- /dev/null
+++ b/x11-misc/sddm/files/sddm-0.13.0-pam_kwallet.patch
@@ -0,0 +1,10 @@
+--- a/services/sddm.pam 2015-08-17 18:06:19.000000000 +0200
++++ b/services/sddm.pam 2016-02-21 19:54:08.654091951 +0100
+@@ -4,3 +4,7 @@
+ account include system-login
+ password include system-login
+ session include system-login
++-auth optional pam_kwallet.so kdehome=.kde4
++-auth optional pam_kwallet5.so
++-session optional pam_kwallet.so
++-session optional pam_kwallet5.so auto_start
diff --git a/x11-misc/sddm/files/sddm-0.14.0-avatars.patch b/x11-misc/sddm/files/sddm-0.14.0-avatars.patch
new file mode 100644
index 000000000000..d40f68c10a2e
--- /dev/null
+++ b/x11-misc/sddm/files/sddm-0.14.0-avatars.patch
@@ -0,0 +1,33 @@
+From ecb903e48822bd90650bdd64fe80754e3e9664cb Mon Sep 17 00:00:00 2001
+From: Bastian Beischer <bastian.beischer@gmail.com>
+Date: Fri, 2 Sep 2016 13:05:18 +0200
+Subject: [PATCH] Fix display of user avatars. (#684)
+
+QFile::exists("...") does not understand file:// URLs, at least in Qt
+5.7.0 and Qt 4.8.7.
+---
+ src/greeter/UserModel.cpp | 8 ++++----
+ 1 file changed, 4 insertions(+), 4 deletions(-)
+
+diff --git a/src/greeter/UserModel.cpp b/src/greeter/UserModel.cpp
+index 41a9f10..94c492d 100644
+--- a/src/greeter/UserModel.cpp
++++ b/src/greeter/UserModel.cpp
+@@ -107,13 +107,13 @@ namespace SDDM {
+ d->lastIndex = i;
+
+ if (avatarsEnabled) {
+- const QString userFace = QStringLiteral("file://%1/.face.icon").arg(user->homeDir);
+- const QString systemFace = QStringLiteral("file://%1/%2.face.icon").arg(facesDir).arg(user->name);
++ const QString userFace = QStringLiteral("%1/.face.icon").arg(user->homeDir);
++ const QString systemFace = QStringLiteral("%1/%2.face.icon").arg(facesDir).arg(user->name);
+
+ if (QFile::exists(userFace))
+- user->icon = userFace;
++ user->icon = QStringLiteral("file://%1").arg(userFace);
+ else if (QFile::exists(systemFace))
+- user->icon = systemFace;
++ user->icon = QStringLiteral("file://%1").arg(systemFace);
+ }
+ }
+ }
diff --git a/x11-misc/sddm/files/sddm-0.14.0-consolekit.patch b/x11-misc/sddm/files/sddm-0.14.0-consolekit.patch
new file mode 100644
index 000000000000..64ea0648286a
--- /dev/null
+++ b/x11-misc/sddm/files/sddm-0.14.0-consolekit.patch
@@ -0,0 +1,9 @@
+--- a/data/scripts/Xsession 2016-08-28 14:52:04.910181422 +0200
++++ b/data/scripts/Xsession 2016-08-28 14:53:07.157184480 +0200
+@@ -91,5 +91,5 @@
+ if [ -z "$@" ]; then
+ exec xmessage -center -buttons OK:0 -default OK "Sorry, $DESKTOP_SESSION is no valid session."
+ else
+- exec $@
++ exec ck-launch-session $@
+ fi
diff --git a/x11-misc/sddm/files/sddm-0.14.0-nsswitch_conf.patch b/x11-misc/sddm/files/sddm-0.14.0-nsswitch_conf.patch
new file mode 100644
index 000000000000..371df93e2b8d
--- /dev/null
+++ b/x11-misc/sddm/files/sddm-0.14.0-nsswitch_conf.patch
@@ -0,0 +1,27 @@
+From 1f39c7a91ea4bc9527628adb01cb49173f1e68be Mon Sep 17 00:00:00 2001
+From: Palo Kisa <palo.kisa@gmail.com>
+Date: Fri, 9 Jun 2017 10:13:01 +0200
+Subject: [PATCH] UserModel: Check for duplicates from getpwent()
+
+---
+ src/greeter/UserModel.cpp | 7 +++++++
+ 1 file changed, 7 insertions(+)
+
+diff --git a/src/greeter/UserModel.cpp b/src/greeter/UserModel.cpp
+index 94c492d0..33114d08 100644
+--- a/src/greeter/UserModel.cpp
++++ b/src/greeter/UserModel.cpp
+@@ -72,6 +72,13 @@ namespace SDDM {
+ if (mainConfig.Users.HideShells.get().contains(QString::fromLocal8Bit(current_pw->pw_shell)))
+ continue;
+
++ // skip duplicates
++ // Note: getpwent() makes no attempt to suppress duplicate information
++ // if multiple sources are specified in nsswitch.conf(5).
++ if (d->users.cend()
++ != std::find_if(d->users.cbegin(), d->users.cend(), [current_pw](const UserPtr & u) { return u->uid == current_pw->pw_uid; }))
++ continue;
++
+ // create user
+ UserPtr user { new User() };
+ user->name = QString::fromLocal8Bit(current_pw->pw_name);
diff --git a/x11-misc/sddm/files/sddm-enable-elogind.patch b/x11-misc/sddm/files/sddm-enable-elogind.patch
new file mode 100644
index 000000000000..d1277e9554f3
--- /dev/null
+++ b/x11-misc/sddm/files/sddm-enable-elogind.patch
@@ -0,0 +1,56 @@
+--- a/CMakeLists.txt 2016-11-10 09:27:03.866358608 +0100
++++ b/CMakeLists.txt 2016-11-10 10:28:25.384374766 +0100
+@@ -93,7 +93,7 @@
+ endif()
+
+ # systemd
+-if(NOT NO_SYSTEMD)
++if(NOT NO_SYSTEMD AND NOT USE_ELOGIND)
+ pkg_check_modules(SYSTEMD "systemd")
+ endif()
+
+@@ -127,12 +127,34 @@
+ set(REBOOT_COMMAND "/usr/bin/systemctl reboot")
+ else()
+ set(SYSTEMD_FOUND 0)
++endif()
++add_feature_info("systemd" SYSTEMD_FOUND "systemd support")
++add_feature_info("journald" JOURNALD_FOUND "journald support")
++
++# elogind
++if(NO_SYSTEMD AND USE_ELOGIND)
++ pkg_check_modules(ELOGIND "libelogind")
++endif()
++
++if(ELOGIND_FOUND)
++ add_definitions(-DHAVE_ELOGIND)
++ set(CMAKE_AUTOMOC_MOC_OPTIONS -DHAVE_ELOGIND)
++
++ set(MINIMUM_VT 7)
++ set(HALT_COMMAND "/usr/bin/loginctl poweroff")
++ set(REBOOT_COMMAND "/usr/bin/loginctl reboot")
++else()
++ set(ELOGIND_FOUND 0)
++endif()
++add_feature_info("elogind" ELOGIND_FOUND "elogind support")
++
++# Default behaviour if neither systemd nor elogind is used
++if (NOT ELOGIND_FOUND AND NOT SYSTEMD_FOUND)
+ set(MINIMUM_VT 7)
+ set(HALT_COMMAND "/sbin/shutdown -h -P now")
+ set(REBOOT_COMMAND "/sbin/shutdown -r now")
+ endif()
+-add_feature_info("systemd" SYSTEMD_FOUND "systemd support")
+-add_feature_info("journald" JOURNALD_FOUND "journald support")
++
+
+ # Set constants
+ set(DATA_INSTALL_DIR "${CMAKE_INSTALL_FULL_DATADIR}/sddm" CACHE PATH "System application data install directory")
+--- a/services/sddm-greeter.pam 2016-06-19 12:24:42.000000000 +0200
++++ b/services/sddm-greeter.pam 2016-11-02 09:48:18.990032363 +0100
+@@ -14,4 +14,5 @@
+
+ # Setup session
+ session required pam_unix.so
+ session optional pam_systemd.so
++session optional pam_elogind.so
diff --git a/x11-misc/sddm/metadata.xml b/x11-misc/sddm/metadata.xml
new file mode 100644
index 000000000000..c5bfbd1e394a
--- /dev/null
+++ b/x11-misc/sddm/metadata.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>lxqt@gentoo.org</email>
+ <name>LXQt</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>kde@gentoo.org</email>
+ <name>Gentoo KDE Project</name>
+ </maintainer>
+ <use>
+ <flag name="consolekit">Use ck-launch-session from sys-auth/consolekit by default in Xsession (no native support)</flag>
+ <flag name="elogind">Use <pkg>sys-auth/elogind</pkg> for session tracking.</flag>
+ </use>
+ <longdescription lang="en">
+ SDDM is a modern display manager for X11 aiming to be fast, simple
+ and beatiful. It uses modern technologies like QtQuick, which in
+ turn gives the designer the ability to create smooth, animated
+ user interfaces.
+ </longdescription>
+ <upstream>
+ <remote-id type="github">sddm/sddm</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/sddm/sddm-0.14.0-r2.ebuild b/x11-misc/sddm/sddm-0.14.0-r2.ebuild
new file mode 100644
index 000000000000..f3ac6dba4c95
--- /dev/null
+++ b/x11-misc/sddm/sddm-0.14.0-r2.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit cmake-utils systemd user
+
+DESCRIPTION="Simple Desktop Display Manager"
+HOMEPAGE="https://github.com/sddm/sddm"
+SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.xz"
+KEYWORDS="amd64 ~arm x86"
+
+LICENSE="GPL-2+ MIT CC-BY-3.0 CC-BY-SA-3.0 public-domain"
+SLOT="0"
+IUSE="consolekit +pam systemd"
+
+RDEPEND=">=dev-qt/qtcore-5.6:5
+ >=dev-qt/qtdbus-5.6:5
+ >=dev-qt/qtgui-5.6:5
+ >=dev-qt/qtdeclarative-5.6:5
+ >=dev-qt/qtnetwork-5.6:5
+ >=x11-base/xorg-server-1.15.1
+ x11-libs/libxcb[xkb(-)]
+ consolekit? ( >=sys-auth/consolekit-0.9.4 )
+ pam? ( sys-libs/pam )
+ systemd? ( sys-apps/systemd:= )
+ !systemd? ( || ( sys-power/upower sys-power/upower-pm-utils ) )"
+
+DEPEND="${RDEPEND}
+ dev-python/docutils
+ >=dev-qt/linguist-tools-5.6:5
+ >=dev-qt/qttest-5.6:5
+ kde-frameworks/extra-cmake-modules
+ virtual/pkgconfig"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-0.13.0-pam_kwallet.patch"
+ # fix for flags handling and bug 563108
+ "${FILESDIR}/${PN}-0.12.0-respect-user-flags.patch"
+ "${FILESDIR}/${P}-avatars.patch"
+)
+
+pkg_pretend() {
+ if [[ ${MERGE_TYPE} != binary && $(tc-getCC) == *gcc* ]]; then
+ if [[ $(gcc-major-version) -lt 4 || $(gcc-major-version) == 4 && $(gcc-minor-version) -lt 7 ]] ; then
+ die 'The active compiler needs to be gcc 4.7 (or newer)'
+ fi
+ fi
+}
+
+src_prepare() {
+ use consolekit && eapply "${FILESDIR}/${P}-consolekit.patch"
+
+ cmake-utils_src_prepare
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DENABLE_PAM=$(usex pam)
+ -DNO_SYSTEMD=$(usex '!systemd')
+ -DBUILD_MAN_PAGES=ON
+ -DDBUS_CONFIG_FILENAME="org.freedesktop.sddm.conf"
+ )
+
+ cmake-utils_src_configure
+}
+
+pkg_postinst() {
+ enewgroup ${PN}
+ enewuser ${PN} -1 -1 /var/lib/${PN} ${PN},video
+
+ systemd_reenable sddm.service
+
+ if use consolekit && use pam && [[ -e "${ROOT}"/etc/pam.d/system-login ]]; then
+ local line=$(grep "pam_ck_connector.*nox11" "${ROOT}"/etc/pam.d/system-login)
+ if [[ -z ${line} ]]; then
+ ewarn
+ ewarn "Erroneous /etc/pam.d/system-login settings detected!"
+ ewarn "Please restore 'nox11' option in the line containing pam_ck_connector:"
+ ewarn
+ ewarn "session optional pam_ck_connector.so nox11"
+ ewarn
+ ewarn "or 'emerge -1 sys-auth/pambase' and run etc-update."
+ ewarn
+ fi
+ fi
+}
diff --git a/x11-misc/sddm/sddm-0.14.0-r4.ebuild b/x11-misc/sddm/sddm-0.14.0-r4.ebuild
new file mode 100644
index 000000000000..f67abdc0bdcf
--- /dev/null
+++ b/x11-misc/sddm/sddm-0.14.0-r4.ebuild
@@ -0,0 +1,92 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit cmake-utils systemd user
+
+DESCRIPTION="Simple Desktop Display Manager"
+HOMEPAGE="https://github.com/sddm/sddm"
+SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.xz"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+
+LICENSE="GPL-2+ MIT CC-BY-3.0 CC-BY-SA-3.0 public-domain"
+SLOT="0"
+IUSE="consolekit elogind +pam systemd"
+
+REQUIRED_USE="?? ( elogind systemd )"
+
+RDEPEND=">=dev-qt/qtcore-5.6:5
+ >=dev-qt/qtdbus-5.6:5
+ >=dev-qt/qtgui-5.6:5
+ >=dev-qt/qtdeclarative-5.6:5
+ >=dev-qt/qtnetwork-5.6:5
+ >=x11-base/xorg-server-1.15.1
+ x11-libs/libxcb[xkb(-)]
+ consolekit? ( >=sys-auth/consolekit-0.9.4 )
+ elogind? ( sys-auth/elogind )
+ pam? ( sys-libs/pam )
+ systemd? ( sys-apps/systemd:= )
+ !systemd? ( || ( sys-power/upower sys-power/upower-pm-utils ) )"
+
+DEPEND="${RDEPEND}
+ dev-python/docutils
+ >=dev-qt/linguist-tools-5.6:5
+ >=dev-qt/qttest-5.6:5
+ kde-frameworks/extra-cmake-modules
+ virtual/pkgconfig"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-0.13.0-pam_kwallet.patch"
+ # fix for flags handling and bug 563108
+ "${FILESDIR}/${PN}-0.12.0-respect-user-flags.patch"
+ "${FILESDIR}/${P}-avatars.patch"
+ "${FILESDIR}/${PN}-enable-elogind.patch"
+ "${FILESDIR}/${P}-nsswitch_conf.patch" #627902
+)
+
+pkg_pretend() {
+ if [[ ${MERGE_TYPE} != binary && $(tc-getCC) == *gcc* ]]; then
+ if [[ $(gcc-major-version) -lt 4 || $(gcc-major-version) == 4 && $(gcc-minor-version) -lt 7 ]] ; then
+ die 'The active compiler needs to be gcc 4.7 (or newer)'
+ fi
+ fi
+}
+
+src_prepare() {
+ use consolekit && eapply "${FILESDIR}/${P}-consolekit.patch"
+
+ cmake-utils_src_prepare
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DENABLE_PAM=$(usex pam)
+ -DNO_SYSTEMD=$(usex '!systemd')
+ -DUSE_ELOGIND=$(usex 'elogind')
+ -DBUILD_MAN_PAGES=ON
+ -DDBUS_CONFIG_FILENAME="org.freedesktop.sddm.conf"
+ )
+
+ cmake-utils_src_configure
+}
+
+pkg_postinst() {
+ enewgroup ${PN}
+ enewuser ${PN} -1 -1 /var/lib/${PN} ${PN},video
+
+ systemd_reenable sddm.service
+
+ if use consolekit && use pam && [[ -e "${ROOT}"/etc/pam.d/system-login ]]; then
+ local line=$(grep "pam_ck_connector.*nox11" "${ROOT}"/etc/pam.d/system-login)
+ if [[ -z ${line} ]]; then
+ ewarn
+ ewarn "Erroneous /etc/pam.d/system-login settings detected!"
+ ewarn "Please restore 'nox11' option in the line containing pam_ck_connector:"
+ ewarn
+ ewarn "session optional pam_ck_connector.so nox11"
+ ewarn
+ ewarn "or 'emerge -1 sys-auth/pambase' and run etc-update."
+ ewarn
+ fi
+ fi
+}
diff --git a/x11-misc/sddm/sddm-0.15.0.ebuild b/x11-misc/sddm/sddm-0.15.0.ebuild
new file mode 100644
index 000000000000..acd5a8fc7556
--- /dev/null
+++ b/x11-misc/sddm/sddm-0.15.0.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils systemd user
+
+DESCRIPTION="Simple Desktop Display Manager"
+HOMEPAGE="https://github.com/sddm/sddm"
+SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.gz"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+
+LICENSE="GPL-2+ MIT CC-BY-3.0 CC-BY-SA-3.0 public-domain"
+SLOT="0"
+IUSE="consolekit elogind +pam systemd"
+
+REQUIRED_USE="?? ( elogind systemd )"
+
+RDEPEND="
+ >=dev-qt/qtcore-5.6:5
+ >=dev-qt/qtdbus-5.6:5
+ >=dev-qt/qtgui-5.6:5
+ >=dev-qt/qtdeclarative-5.6:5
+ >=dev-qt/qtnetwork-5.6:5
+ >=x11-base/xorg-server-1.15.1
+ x11-libs/libxcb[xkb]
+ consolekit? ( >=sys-auth/consolekit-0.9.4 )
+ elogind? ( sys-auth/elogind )
+ pam? ( sys-libs/pam )
+ systemd? ( sys-apps/systemd:= )
+ !systemd? ( sys-power/upower )"
+
+DEPEND="${RDEPEND}
+ dev-python/docutils
+ >=dev-qt/linguist-tools-5.6:5
+ >=dev-qt/qttest-5.6:5
+ kde-frameworks/extra-cmake-modules
+ virtual/pkgconfig"
+
+# fix for flags handling and bug 563108
+PATCHES=( "${FILESDIR}/${PN}-0.12.0-respect-user-flags.patch" )
+
+src_prepare() {
+ use consolekit && eapply "${FILESDIR}/${PN}-0.14.0-consolekit.patch"
+ cmake-utils_src_prepare
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DENABLE_PAM=$(usex pam)
+ -DNO_SYSTEMD=$(usex '!systemd')
+ -DUSE_ELOGIND=$(usex 'elogind')
+ -DBUILD_MAN_PAGES=ON
+ -DDBUS_CONFIG_FILENAME="org.freedesktop.sddm.conf"
+ )
+ cmake-utils_src_configure
+}
+
+pkg_postinst() {
+ enewgroup ${PN}
+ enewuser ${PN} -1 -1 /var/lib/${PN} ${PN},video
+
+ systemd_reenable sddm.service
+}
diff --git a/x11-misc/sddm/sddm-0.16.0.ebuild b/x11-misc/sddm/sddm-0.16.0.ebuild
new file mode 100644
index 000000000000..acd5a8fc7556
--- /dev/null
+++ b/x11-misc/sddm/sddm-0.16.0.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils systemd user
+
+DESCRIPTION="Simple Desktop Display Manager"
+HOMEPAGE="https://github.com/sddm/sddm"
+SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.gz"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+
+LICENSE="GPL-2+ MIT CC-BY-3.0 CC-BY-SA-3.0 public-domain"
+SLOT="0"
+IUSE="consolekit elogind +pam systemd"
+
+REQUIRED_USE="?? ( elogind systemd )"
+
+RDEPEND="
+ >=dev-qt/qtcore-5.6:5
+ >=dev-qt/qtdbus-5.6:5
+ >=dev-qt/qtgui-5.6:5
+ >=dev-qt/qtdeclarative-5.6:5
+ >=dev-qt/qtnetwork-5.6:5
+ >=x11-base/xorg-server-1.15.1
+ x11-libs/libxcb[xkb]
+ consolekit? ( >=sys-auth/consolekit-0.9.4 )
+ elogind? ( sys-auth/elogind )
+ pam? ( sys-libs/pam )
+ systemd? ( sys-apps/systemd:= )
+ !systemd? ( sys-power/upower )"
+
+DEPEND="${RDEPEND}
+ dev-python/docutils
+ >=dev-qt/linguist-tools-5.6:5
+ >=dev-qt/qttest-5.6:5
+ kde-frameworks/extra-cmake-modules
+ virtual/pkgconfig"
+
+# fix for flags handling and bug 563108
+PATCHES=( "${FILESDIR}/${PN}-0.12.0-respect-user-flags.patch" )
+
+src_prepare() {
+ use consolekit && eapply "${FILESDIR}/${PN}-0.14.0-consolekit.patch"
+ cmake-utils_src_prepare
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DENABLE_PAM=$(usex pam)
+ -DNO_SYSTEMD=$(usex '!systemd')
+ -DUSE_ELOGIND=$(usex 'elogind')
+ -DBUILD_MAN_PAGES=ON
+ -DDBUS_CONFIG_FILENAME="org.freedesktop.sddm.conf"
+ )
+ cmake-utils_src_configure
+}
+
+pkg_postinst() {
+ enewgroup ${PN}
+ enewuser ${PN} -1 -1 /var/lib/${PN} ${PN},video
+
+ systemd_reenable sddm.service
+}
diff --git a/x11-misc/seetxt/Manifest b/x11-misc/seetxt/Manifest
new file mode 100644
index 000000000000..8b6a8660be93
--- /dev/null
+++ b/x11-misc/seetxt/Manifest
@@ -0,0 +1,7 @@
+AUX 0.72-0001-fix-linking.patch 1182 SHA256 4722b378e5b21db77b20de4db7c8f20f6c4283d641a05317c93cab509c7c2e71 SHA512 c98c0bcd37475b187339a2b161b53005abcbe0aa5cf9533910bddb775e497099b20e95691197f5fcd1d872316b2882981c72a8b39cbbc0a4b3c7aac590781ad5 WHIRLPOOL 86705a6c5a541dfd468f631bb3bbd66213730ed24ffa02854faedc2315e087cb9aad5fae87dac9912be2b4f2409d9e738c134246415563455a46636f5c1b75a4
+AUX 0.72-0002-fix-shared-files-install.patch 1081 SHA256 3f02586712a59a0c31f5cbf2331dea01e8f165bfa905f62eefd67577bacf1cb1 SHA512 9d3fd3ef0e18274fac97408045de72b64a91daa9246e728e74810e70eef33150acc7d62a1e3a2eea5ec21c61866f2e5312bc219b09b7445d852e68516d049620 WHIRLPOOL 049ff7171ff5aa7d61957ddf5802f9c97c70c5503fa30146be7e877a9f29bf072f9d57d58f38aca05ac4564acac5ddb54579cb5f48176ea3827934248464b0a7
+DIST seetxt-0.72.tar.bz2 141695 SHA256 c38786057e3939f262235c68cf3b8a7d7ab1450ffe4508ec98ec10e16b396159 SHA512 3d6e604e3ee8b0d382dcf60a507c54162eb28d5a9d61edc631a40a95f550276bf4e505ea37966a50d7f38ba952408d8d06b91bc71a8eb32322cb047a4ffc27ea WHIRLPOOL 1bd4060d5a2d49e601b868a43aa3e24ea104ed953a96701c50ab7ded234eabf9f31683d14294914e517bd5df641e58f56d50c2b7898338032f3c4561df37d615
+EBUILD seetxt-0.72-r1.ebuild 767 SHA256 e534eaca0b0a469a2c0429a2dc802775b7b895670455ee728d50486a815e3b77 SHA512 57ae2bdd2a538d2300c5688b4d37f7782a4a78bb2dcf055eb7cabf2c489698776e3d12c3292f356238ee30607647dffd4d49f3028318fe5ca6bb0646092bf64d WHIRLPOOL 062fecd98adb5a3c37a5b28135dc18f7a7440ea92fa132efb4884b067a69a9fc9e3593e96aeb7fbc7f718871b336b3fd4d96537a9d6b24ff0a8fd3275a9f6da1
+MISC ChangeLog 3132 SHA256 c82ff93407055fefb203751a64253f7224b8380c2f879bb48f74b56d5050f7b1 SHA512 0708dbb64d6ab0229c35482490ae4d42f050d2eba48283951a41b7a77a6ff1cb9462b6c64faf8ed9c4556aa9027da33396b93cedca04c33c448aacc457b55342 WHIRLPOOL f1e6c646303494f5a6c8b52d43c10ab4fb2bd0b52d3f78833867d5f072239ec4d8fa9628a238c4c0a738c517a653d9e48a0bde459dad46958f1956936a5c3ea5
+MISC ChangeLog-2015 1293 SHA256 cd42638368dfd026840cacc4a80dd7dfe0a398fe31d2129581fe9298adb12170 SHA512 b20001c43e093e568bee2d14f8c94ce9f573fa8e94df68547ea23c3e00fc2570853fea4d8d1ed194629314c94a3ebffbd84a5d1bee19342150be666866a7a28c WHIRLPOOL 15a89db0e269ce95035ccf39eae3117d7b90b73c6b9ef95ae0f36fe6a5a9dea149e9a9c3086d5c17c8d15818a5c6a6453df6ff91b91596f9f4127d37f9ddce32
+MISC metadata.xml 377 SHA256 7650a410d9f57d775fc21f69c5c7573f2411e01ae8f317a48a5af8f8296cd868 SHA512 049289ae46dc53942d53d3a5782296f93c7be610986ee8f28b81d27287a56d10a01de80df81983daf1fe16a2f4431a43419fe906f374ada06b5eaacb88ca427b WHIRLPOOL 5ea2fd5ef18cf91b484909981803483afba3547df1cc3feb72ef85cdcd9994bec1cb9963c23a462f8572789893e67e4beeee8bae4ea0783ada7d8a5634ac0f4c
diff --git a/x11-misc/seetxt/files/0.72-0001-fix-linking.patch b/x11-misc/seetxt/files/0.72-0001-fix-linking.patch
new file mode 100644
index 000000000000..b21e05592933
--- /dev/null
+++ b/x11-misc/seetxt/files/0.72-0001-fix-linking.patch
@@ -0,0 +1,39 @@
+From 0eb39c4c08e7e3787d411a36e4997ae144e2bed5 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Tiziano=20M=C3=BCller?= <tm@dev-zero.ch>
+Date: Tue, 9 Apr 2013 07:23:19 +0200
+Subject: [PATCH 1/2] Fix linking.
+
+---
+ configure.ac | 2 +-
+ src/Makefile.am | 4 +++-
+ 2 files changed, 4 insertions(+), 2 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index 3a1aa30..f1d3f30 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -13,7 +13,7 @@ AM_PROG_CC_C_O
+ AC_PROG_LN_S # for ln -s (mandatory)
+
+ # Checks for libraries.
+-GTK_REQUIRED_VERSION=2.12.0
++PKG_CHECK_MODULES([DEPS], [gtk+-2.0 >= 2.12.0])
+
+ # Checks for header files.
+ AC_CHECK_HEADERS([dirent.h errno.h fcntl.h pthread.h stdlib.h string.h regex.h sys/socket.h sys/time.h time.h unistd.h])
+diff --git a/src/Makefile.am b/src/Makefile.am
+index 2c8a24d..fca6504 100644
+--- a/src/Makefile.am
++++ b/src/Makefile.am
+@@ -1,5 +1,7 @@
++AM_CPPFLAGS = $(DEPS_CFLAGS)
++
+ bin_PROGRAMS = seetxt
+ seetxt_CFLAGS = -D SDIR=\"$(datadir)/seetxt-runtime\"
+-seetxt_LDFLAGS = `pkg-config --libs gtk+-2.0` -lpthread
++seetxt_LDADD = $(DEPS_LIBS) -lpthread
+ INCLUDES = `pkg-config --cflags gtk+-2.0`
+ seetxt_SOURCES = see.c server.c util.c
+--
+1.8.1.5
+
diff --git a/x11-misc/seetxt/files/0.72-0002-fix-shared-files-install.patch b/x11-misc/seetxt/files/0.72-0002-fix-shared-files-install.patch
new file mode 100644
index 000000000000..e4f488a32d48
--- /dev/null
+++ b/x11-misc/seetxt/files/0.72-0002-fix-shared-files-install.patch
@@ -0,0 +1,32 @@
+From a1137a02237df31e063af622be0dc76c2ab3e45a Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Tiziano=20M=C3=BCller?= <tm@dev-zero.ch>
+Date: Tue, 9 Apr 2013 07:24:45 +0200
+Subject: [PATCH 2/2] Fix shared files install
+
+---
+ Makefile.am | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/Makefile.am b/Makefile.am
+index 691c0f1..404d743 100644
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -1,13 +1,13 @@
+ SUBDIRS = src
+ buildextra = @builddir@/extra
+-pkgdatadir = $(DESTDIR)$(datadir)/seetxt-runtime
++pkgdatadir = $(datadir)/seetxt-runtime
+
+ install-data-am:
+ -install --mode=644 $(buildextra)/seetxt.1 $(DESTDIR)$(mandir)/man1/
+ @echo " "
+ @echo "Installing some additional files in $(DESTDIR)$(pkgdatadir)..."
+ @echo " "
+- -mkdir $(pkgdatadir)
++ -mkdir -p $(DESTDIR)$(pkgdatadir)
+ -install --mode=644 $(buildextra)/seeon.png $(buildextra)/seeoff.png $(buildextra)/.seeconfig $(buildextra)/COPYING.images $(DESTDIR)$(pkgdatadir)
+ -install --mode=666 $(buildextra)/filelist $(DESTDIR)$(pkgdatadir)
+ -cd $(DESTDIR)$(mandir)/man1; ln -s seetxt.1 seeman.1
+--
+1.8.1.5
+
diff --git a/x11-misc/seetxt/metadata.xml b/x11-misc/seetxt/metadata.xml
new file mode 100644
index 000000000000..d0df61afb9e5
--- /dev/null
+++ b/x11-misc/seetxt/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>dev-zero@gentoo.org</email>
+ <name>Tiziano Müller</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="google-code">seetxt</remote-id>
+ <remote-id type="sourceforge">seetxt</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/seetxt/seetxt-0.72-r1.ebuild b/x11-misc/seetxt/seetxt-0.72-r1.ebuild
new file mode 100644
index 000000000000..a61c7e234474
--- /dev/null
+++ b/x11-misc/seetxt/seetxt-0.72-r1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit autotools eutils
+
+DESCRIPTION="Clever, lightweight GUI text file and manual page viewer for X windows"
+HOMEPAGE="https://code.google.com/p/seetxt/ http://seetxt.sourceforge.net/"
+SRC_URI="https://seetxt.googlecode.com/files/${P}.tar.bz2"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+RDEPEND="x11-libs/gtk+:2"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}/${PV}-0001-fix-linking.patch" \
+ "${FILESDIR}/${PV}-0002-fix-shared-files-install.patch"
+ eautoreconf
+}
+
+src_install() {
+ dodir /usr/share/man/man1
+ default
+ sed -i -e 's|local/||' "${D}/usr/share/seetxt-runtime/filelist" || die "sed failed"
+}
diff --git a/x11-misc/sent/Manifest b/x11-misc/sent/Manifest
new file mode 100644
index 000000000000..89811890fa85
--- /dev/null
+++ b/x11-misc/sent/Manifest
@@ -0,0 +1,7 @@
+DIST sent-0.2.tar.gz 13479 SHA256 53b961f9d92a277a6408df7025b4a6deae6b655a797383c93442290e45391076 SHA512 22c1e1e1bb7dbdaacb75a71a34ab533ca17b632e505ff96a351a907b861009b748502f7ad2934397f40842bef11e3072e814952a6abb141d470d0bb2e34a1540 WHIRLPOOL d8f83dc259722b0a20d90e76ae77d5013ebc91974848c7b53a520e3ace563844a6fcf5a81c4664e35cae6a9dd8199a9425699f8817d52d05ba882c8154ca78dd
+DIST sent-1.tar.gz 15285 SHA256 7bf3de9311ce291ff36adf5315b78fa72373e3ab80ca71387fb5884bcbd7be33 SHA512 4797468bf949de507662253eac1ec80f566553051f407a55a88ccdd6544532c0d8d0f51bb11b88bdff78e6630519558049569ac0c9d3d8279f243882653ef1c0 WHIRLPOOL 55ac265f934ca66b858671781bfd917b973a67711a7336052d2dd324f789da69c6df4765fc2008b384097446c78a142809e0b9c84fc323bb426d9882fc4ecc6e
+EBUILD sent-0.2.ebuild 702 SHA256 b228d5c469f76547c285f667ae550d4bd5dc9751e752d7578c10d3f329b7e08e SHA512 af2e3a329548c1e70b6cf0c27252f3b6e7e9176761e264bfcb19d41ec1621d82962e6d5931946105d9ccc6eedd55e2df4e04f321076b2eba37a26f2ab5b31c4f WHIRLPOOL 135fb82c3f8228e19728a03e2578adb4b667ac286880b245c7374ec5d6f3421763b7ed8143de36bb0453163ce591846b6f23031db8addf3cc17831d0d6bc0b79
+EBUILD sent-1.ebuild 739 SHA256 a9c441a4a7380ceabef0574d92415675688d4ae6ce69dfd4b47f6cfd6e8ead00 SHA512 f912328c9cf3fddaa34ecb4c472c687081b2c8c488820e2bdb7d6cc817310228a098fd73f0871b3d97b4662c5466fe28ae631ea58c034fe4f358183be919a795 WHIRLPOOL db030ec17684019c1022a8b4e6aaa289ee8fad068677d2c8bad9d0f30946db9a23a03f0d4785463789178b1263448819783ec2f6b33d651cb659bfe8bcbc0a7c
+EBUILD sent-9999.ebuild 722 SHA256 afd249478f35674f58566390b6c18327a90423024483ba79618efdaa6a26b5c8 SHA512 27fde10261bb22b1caaaaa312da8900b7fe6e671f9969d15792497eb9b18171c23407211b1ab798e08e5a64e555a3ddbb371f4497765747206d1dc2756d13c0c WHIRLPOOL d3c740180ff2acab223c28a2a0c5023ab49c213182c1ae0ca00b54eac18405601cec00360d6fc4744ef529d91f0663282d02050332066edeb6fa26f1708dc8de
+MISC ChangeLog 1112 SHA256 ce8f354fcefbe7eb4c8c2ce2afdb4293cef0e56735c8db61e131862278746edd SHA512 54109464732f797bddf1fc023655f572e224f12be197a0a7a147b6b3fe7a90e31703476b46128ce219a5a7a9af65ee42b9ecbc06621207b38739fdedfaecc606 WHIRLPOOL 7d34c661e927cb93c2cb3234caf9c7fe440f907c3724162fd562eb9e3e6aa1b0f181f6aaa7300bf60dcd526143d811f8134742a653e7656d4dddb74b8613780b
+MISC metadata.xml 385 SHA256 484d3221fa69cc195842a3933c9561d13a5fc4ab9de68b524ce6336ee9a196d0 SHA512 33686894bc0fd21279a825a7a505106da89f92a881c90b4e7ea1f6f1d7ce6632fa2976c211db3c6aeabc999146c863d193adb27b0fefee8b6fb0b536a613db26 WHIRLPOOL 7a89a8f47358649303b57ffa260b66b2024058c6bf0449c9fd3977d6dcf897621e06bef42d5077e53a516b70b4566dec03e4f1865ecd847dd6cc560e5e74deab
diff --git a/x11-misc/sent/metadata.xml b/x11-misc/sent/metadata.xml
new file mode 100644
index 000000000000..87b4ee7d7109
--- /dev/null
+++ b/x11-misc/sent/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person">
+<email>jer@gentoo.org</email>
+<name>Jeroen Roovers</name>
+</maintainer>
+<use>
+<flag name="savedconfig">Without a saved config.h, this package depends on <pkg>media-gfx/farbfeld</pkg> for image conversions</flag>
+</use>
+</pkgmetadata>
diff --git a/x11-misc/sent/sent-0.2.ebuild b/x11-misc/sent/sent-0.2.ebuild
new file mode 100644
index 000000000000..156215e99e2f
--- /dev/null
+++ b/x11-misc/sent/sent-0.2.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit savedconfig toolchain-funcs
+
+DESCRIPTION="Simple plaintext presentation tool"
+HOMEPAGE="https://tools.suckless.org/sent/"
+SRC_URI="https://dl.suckless.org/tools/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+ media-libs/fontconfig
+ media-libs/libpng:*
+ x11-libs/libX11
+ x11-libs/libXft
+"
+
+DEPEND="
+ ${RDEPEND}
+
+"
+
+src_prepare() {
+ sed -i \
+ -e 's|^ @| |g' \
+ -e 's|@${CC}|$(CC)|g' \
+ -e '/^ echo/d' \
+ Makefile || die
+
+ restore_config config.def.h
+}
+
+src_compile() {
+ emake CC=$(tc-getCC)
+}
+
+src_install() {
+ emake DESTDIR="${D}" PREFIX="/usr" install
+}
diff --git a/x11-misc/sent/sent-1.ebuild b/x11-misc/sent/sent-1.ebuild
new file mode 100644
index 000000000000..f8352a8d5281
--- /dev/null
+++ b/x11-misc/sent/sent-1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit savedconfig toolchain-funcs
+
+DESCRIPTION="Simple plaintext presentation tool"
+HOMEPAGE="https://tools.suckless.org/sent/"
+SRC_URI="https://dl.suckless.org/tools/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+DEPEND="
+ media-libs/fontconfig
+ x11-libs/libX11
+ x11-libs/libXft
+"
+RDEPEND="
+ ${DEPEND}
+ !savedconfig? ( media-gfx/farbfeld )
+"
+S=${WORKDIR}
+
+src_prepare() {
+ default
+
+ sed -i \
+ -e 's|^ @| |g' \
+ -e 's|@${CC}|$(CC)|g' \
+ -e '/^ echo/d' \
+ Makefile || die
+
+ restore_config config.def.h
+}
+
+src_compile() {
+ emake CC=$(tc-getCC)
+}
+
+src_install() {
+ emake DESTDIR="${D}" PREFIX="/usr" install
+}
diff --git a/x11-misc/sent/sent-9999.ebuild b/x11-misc/sent/sent-9999.ebuild
new file mode 100644
index 000000000000..5f42528d0e67
--- /dev/null
+++ b/x11-misc/sent/sent-9999.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit git-r3 savedconfig toolchain-funcs
+
+DESCRIPTION="Simple plaintext presentation tool"
+HOMEPAGE="https://tools.suckless.org/sent/"
+EGIT_REPO_URI="https://git.suckless.org/sent/"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS=""
+
+DEPEND="
+ media-libs/fontconfig
+ x11-libs/libX11
+ x11-libs/libXft
+"
+RDEPEND="
+ ${DEPEND}
+ !savedconfig? ( media-gfx/farbfeld )
+"
+
+src_prepare() {
+ default
+
+ sed -i \
+ -e 's|^ @| |g' \
+ -e 's|@${CC}|$(CC)|g' \
+ -e '/^ echo/d' \
+ Makefile || die
+
+ restore_config config.def.h
+}
+
+src_compile() {
+ emake CC=$(tc-getCC)
+}
+
+src_install() {
+ emake DESTDIR="${D}" PREFIX="/usr" install
+}
diff --git a/x11-misc/set_opacity/Manifest b/x11-misc/set_opacity/Manifest
new file mode 100644
index 000000000000..f0acd7fc4ec8
--- /dev/null
+++ b/x11-misc/set_opacity/Manifest
@@ -0,0 +1,6 @@
+DIST set_opacity-1.0.tar.gz 5115 SHA256 b3aac6b47107840866f1968e346f59963de2548d7d583a919c95144cb7aae105 SHA512 cfe702d5c48968fd283c63420d8cbbfb7a9783a339c962bd10818caaa3754bf5a044c81d4670421ceb13fe697ef461bceed0647be45a4682c8fe0a210bf98ddd WHIRLPOOL d1e2d5c511176bff7b76013c42ecda09c03c3f33a7a501a8cef12373f90339564d0a656651aec55fc2761254e3f4dbfe58ee504c6ea01cfb1af8c028a28337d1
+EBUILD set_opacity-1.0.ebuild 661 SHA256 1b2f5664a6639d9f3bc08e654c9ca590dbb4d2c3c23884bafa25ad4fd6d67404 SHA512 e04563645cb27100a125dc25acaa6726fa8965e5cc355111c3e49cf029a5d6f70139106e69aedde2873070cc1d2f45e14e8c8e91fe810518b41c3ba74ad3a4e5 WHIRLPOOL 264259d8d1cdcd1a791bf8011c3d38a8fe3179788e74ed1194bef5b3ef5078c537d56a62c7b315de528b0647f9abf152405f5526951ac597dea745560d693999
+EBUILD set_opacity-9999.ebuild 605 SHA256 98609096f49c81f80fd9c18853db00990ca2130bdce48471f5ac53b78b5dd87e SHA512 f475d939ef777a2db37cf4498ed853325d835363efe5cfbf1e0b3a4daef67e2e5defe68365f23ecbf7f7f8ea93ed24d8c02b71b6c7093d2eef58851278b273b8 WHIRLPOOL b3d0ae0aa2d1ff212e9674b1290dc7c211ac3b3f80e6fe45b967081a7498bd512c01564f625c4e87da5b03d4da55ac15fd353990a2c96dcfe26738616d600f00
+MISC ChangeLog 3298 SHA256 62a9a1fd373005d77243307de06bbbbd1f793b148e08aa266e3eb6bf68417260 SHA512 ac41b54e8ad3d1c5999d6bc6cffc7755a1b14566bbb9f6f5eccb00292aa3f6c37b362156c50a77a0a4fb20b44e4e52fc68e0adc84453d6e8bf0a356295f0e6aa WHIRLPOOL 968e7545bfee669f4f7ca99f188946915141448a7e2e34a8629d1bb45a9e361780253b9b03a503f024325913eac621720978d23fda7b362b4ca2c244c97bbef0
+MISC ChangeLog-2015 1084 SHA256 6effe715d7fb0f505961bd585b758d7b7f8369f080f77ae125c5a0a8d066dbe3 SHA512 c2d06459fe001b16d36eeb6c9f6c7c11b429ce451e31b8d088761bdeacf2f01b4613090aa7d0838cc9a1cb4befbbdb7fe2f371f82096a5c2499e7d6b66f4b310 WHIRLPOOL 8ad4af8961d8c8346923686641bbc89d6b7660a95a8405d187dde1d8d15036389d11d35998a2615ffcacd68bfafc127c7122e62aec14dacf04dea615ae7687bd
+MISC metadata.xml 433 SHA256 3f53fa6fc4f6e9f5803793ee17ad3e033f2a1f4cf3d88ca93d5a7a2a4512aa1b SHA512 4b7e482d143aa59e044ae37007de7b08aa44f0628ee8b854e75c522eee240e54cfdd21eb6e6a02dbe0ace43baa0159403344320c6698edee878d721204ca6941 WHIRLPOOL 9d1bfc9433f65cc913f77fdda1a4ac6659a568e2c9cddccdbccbf4a6c2340768ca083be01bd2407afe513416e2ee3615081f39bb4fd859eb678c5253fcd1e0c5
diff --git a/x11-misc/set_opacity/metadata.xml b/x11-misc/set_opacity/metadata.xml
new file mode 100644
index 000000000000..a3e23a3c6ecb
--- /dev/null
+++ b/x11-misc/set_opacity/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>pinkbyte@gentoo.org</email>
+ <name>Sergey Popov</name>
+ </maintainer>
+ <upstream>
+ <maintainer>
+ <email>anton.kochkov@gmail.com</email>
+ <name>Anton Kochkov</name>
+ </maintainer>
+ <remote-id type="github">XVilka/set_opacity</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/set_opacity/set_opacity-1.0.ebuild b/x11-misc/set_opacity/set_opacity-1.0.ebuild
new file mode 100644
index 000000000000..6f014ba2556d
--- /dev/null
+++ b/x11-misc/set_opacity/set_opacity-1.0.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="4"
+
+inherit toolchain-funcs
+
+DESCRIPTION="Tool for set real compositing for windows through window's id, process' pid etc."
+HOMEPAGE="https://github.com/XVilka/set_opacity"
+SRC_URI="https://github.com/XVilka/set_opacity/archive-tarball/${PV} -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="x11-libs/libXdamage
+ x11-libs/libXcomposite
+ x11-libs/libXfixes
+ x11-libs/libXrender"
+RDEPEND=${DEPEND}
+
+S="${WORKDIR}/x11-tools-set_opacity"
+
+src_compile() {
+ emake CC="$(tc-getCC)"
+}
+
+src_install() {
+ dobin set_opacity
+}
diff --git a/x11-misc/set_opacity/set_opacity-9999.ebuild b/x11-misc/set_opacity/set_opacity-9999.ebuild
new file mode 100644
index 000000000000..5d3a926a7b19
--- /dev/null
+++ b/x11-misc/set_opacity/set_opacity-9999.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+EGIT_REPO_URI="https://github.com/XVilka/set_opacity.git"
+
+inherit git-r3 toolchain-funcs
+
+DESCRIPTION="Tool for set real compositing for windows through window's id, process' pid etc."
+HOMEPAGE="https://github.com/XVilka/set_opacity"
+SRC_URI=""
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE=""
+
+DEPEND="x11-libs/libXdamage
+ x11-libs/libXcomposite
+ x11-libs/libXfixes
+ x11-libs/libXrender"
+RDEPEND=${DEPEND}
+
+KEYWORDS=""
+
+src_compile() {
+ emake CC="$(tc-getCC)"
+}
+
+src_install() {
+ dobin set_opacity
+}
diff --git a/x11-misc/shared-mime-info/Manifest b/x11-misc/shared-mime-info/Manifest
new file mode 100644
index 000000000000..6fd9f0e63f04
--- /dev/null
+++ b/x11-misc/shared-mime-info/Manifest
@@ -0,0 +1,9 @@
+DIST shared-mime-info-1.4.tar.xz 537916 SHA256 bbc0bd023f497dfd75e1ca73441cbbb5a63617d9e14f2790b868361cc055b5b1 SHA512 ac643a5360c1e4811b2df8e3c52434e5ee48f8e62a01ede3fb0895d30721b58b5b26c0edc43f779576ff899bd1a8b181699a08dbbb1e956394555f6ca983a582 WHIRLPOOL 32cb301cd54140b83af8c321b7ebc571b87b07ca86bfc68e6760e4dd3551188a092a96087042b13f1278c11cd88c261879fc816d0c2efcbee473211d929194bf
+DIST shared-mime-info-1.8.tar.xz 589444 SHA256 2af55ef1a0319805b74ab40d331a3962c905477d76c086f49e34dc96363589e9 SHA512 e3fd57898ca85033a29f17d075b9a18a6ebee14db5f996183fd1183a6c6382c3d10c74cd1863563cd031359937ab95c886909ba6f9d7ecc8f2056464673b5fff WHIRLPOOL e54c9f8728b78bef89fdc8b71a3e42db1669dac247b2fa1180cc73acb397ee7030235dc7cb2631af62fc4633f2ca290d2863c10e1a03127f77b43917f4fe6164
+DIST shared-mime-info-1.9.tar.xz 607648 SHA256 5c0133ec4e228e41bdf52f726d271a2d821499c2ab97afd3aa3d6cf43efcdc83 SHA512 b4ab7bfec4cbc827fe0d459040967afb714c073ad27ec9ad46e51ebc49c56b2a85501a3c8c5c199b4cb5359fc46580d6f2dfdb49da1670216d5d2b56758de491 WHIRLPOOL d2b81eb694df5376c727c5060a390282b3519197e284ef99e093a3af8ee25d70e66a0090743de9cac6a8bb8a59e9467abf1be184cc37d9f1b17f39679af37156
+EBUILD shared-mime-info-1.4.ebuild 1456 SHA256 524458bed8628e87bf26ae56b53385b65ddcf5b9877cf6b6a2c4d90adbaff791 SHA512 67fba704d60ff0cb1a4e69be76e6d71075a920ea0823f25df8c90c8a90ffdfbd13e9158031dcaff7d03771c61a017d07cc123391847c95e4d089d34f4c202834 WHIRLPOOL 5ebe294f0a913149a0adef59b8e8c229f0934680415061e3208fa0b0ac0ad7c655a82eb642fbf1fe1916c683de91d38f117514fffefb9b0bede51b08f1199ae3
+EBUILD shared-mime-info-1.8.ebuild 1505 SHA256 9408fa218f48c706c5cb23d2faf916d792ecf9e99ab2864c0bbc98ca43c2f3b6 SHA512 b34cd63e350ce9ac08c79f3ef487e768580747c04c225fe3ec01c43ebe722221a21cf4c8ee9e044be825d93039f4ef2f273b6533645cde240b781907cf011775 WHIRLPOOL d421cab2526a67f38e41522205cd647e60ce6fb743f1a50ef7920fce6a5bca35daf3bcd76b768a4d307533f1b44e2c4df0ab9769c4f5f0d8ea6af527d2ee0754
+EBUILD shared-mime-info-1.9.ebuild 1481 SHA256 a5e8a1ba6d76fa1c01179fe0bc9392194edb406acf22fcc4d3ac9c700408a80f SHA512 6389e223d355679afa6424bcd319ea740316a835dd59923ee210a409e74c32e5b94ca5c1cd9eaeed88f9a7e5f4f7007b2a05ba81e53fdd76d9273650dc555c2b WHIRLPOOL 630b374ba2c0252a4d8ea8ab5bcae26b81adbd1658cb943b3a34afdb2cefe4527173ce448f7c2de4b9c928c4283cfbadce9a8b5d3c19807d48bdbaf414635317
+MISC ChangeLog 4392 SHA256 9a61a1823587c9b053a6132f54cb845af38506896826fe2719fe083c7eb8d963 SHA512 a67cc5f1f727102131356cc50e8130e592ab0a8d63f661097eb2c312f077969af4063b23d2c29a868d776dad409a661bae794d494b9baa58d34bcb6549d54807 WHIRLPOOL a1f0864a23062e6afb6e98ea868e0bb135018af57387741581e5db28531020e52887f1082c6f3081d5c518ebf859560af39c3c75c6cc787f8ad948bb0ff6ee5d
+MISC ChangeLog-2015 28652 SHA256 4ad1023f5b832d51f28c73ce593c2da5ab2041a7dfafe63deb4b50fb9219a232 SHA512 7190999b15dd0dbb1e47e64043916204ffdffb1179850b6dff534e4131399c7fbbf947727faec23f3e35f06847026ec5fdd135f22a5c62ed0d0239ccd369da57 WHIRLPOOL 33fecc93ce8e51e6f569a216ff63d1a1af9a1a4ae121cf45e099d56289df0f990d3790ea985b055b75b4c285e9debf51c23bbdad9e5ee7b73a6c1485f19c929e
+MISC metadata.xml 228 SHA256 a3c8fb486cd4bec96195197f2974a236066bd02c05d29ace05a844a43bbfd66e SHA512 4f5e63f918a0f8790db49c5b12173c673f86935f00796a04acfed573f618379b73b05b1869941e11f881fe69d4958f5287ce815fd710eadb6ac9f2680894caae WHIRLPOOL 4690b7b1591c1f8a8b55f8693dbd5172642a2d377c2f12f3b20dca75a6befc9eeac6eeb7e83ba2332b760d64b5c6fd0ac0000b5a40c416eaeec05f49eb6de750
diff --git a/x11-misc/shared-mime-info/metadata.xml b/x11-misc/shared-mime-info/metadata.xml
new file mode 100644
index 000000000000..95e86c12108a
--- /dev/null
+++ b/x11-misc/shared-mime-info/metadata.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>freedesktop-bugs@gentoo.org</email>
+ </maintainer>
+</pkgmetadata>
diff --git a/x11-misc/shared-mime-info/shared-mime-info-1.4.ebuild b/x11-misc/shared-mime-info/shared-mime-info-1.4.ebuild
new file mode 100644
index 000000000000..21f9b12cdba5
--- /dev/null
+++ b/x11-misc/shared-mime-info/shared-mime-info-1.4.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit eutils fdo-mime
+
+DESCRIPTION="The Shared MIME-info Database specification"
+HOMEPAGE="https://freedesktop.org/wiki/Software/shared-mime-info"
+SRC_URI="https://people.freedesktop.org/~hadess/${P}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="test"
+
+RDEPEND=">=dev-libs/glib-2
+ dev-libs/libxml2"
+DEPEND="${RDEPEND}
+ dev-util/intltool
+ sys-devel/gettext
+ virtual/pkgconfig"
+
+DOCS=( ChangeLog HACKING NEWS README )
+
+src_configure() {
+ export ac_cv_func_fdatasync=no #487504
+
+ econf \
+ $(use_enable test default-make-check) \
+ --disable-update-mimedb
+}
+
+src_compile() {
+ # FIXME: 0.91 fails with -j9 every second time like:
+ # update_mime_database-update-mime-database.o: file not recognized: File truncated
+ # collect2: ld returned 1 exit status
+ emake -j1
+}
+
+src_install() {
+ default
+
+ # in prefix, install an env.d entry such that prefix patch is used/added
+ if use prefix; then
+ echo "XDG_DATA_DIRS=\"${EPREFIX}/usr/share\"" > "${T}"/50mimeinfo
+ doenvd "${T}"/50mimeinfo
+ fi
+}
+
+pkg_postinst() {
+ use prefix && export XDG_DATA_DIRS="${EPREFIX}"/usr/share
+ fdo-mime_mime_database_update
+}
diff --git a/x11-misc/shared-mime-info/shared-mime-info-1.8.ebuild b/x11-misc/shared-mime-info/shared-mime-info-1.8.ebuild
new file mode 100644
index 000000000000..b6f816edb722
--- /dev/null
+++ b/x11-misc/shared-mime-info/shared-mime-info-1.8.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit eutils fdo-mime
+
+DESCRIPTION="The Shared MIME-info Database specification"
+HOMEPAGE="https://freedesktop.org/wiki/Software/shared-mime-info"
+SRC_URI="https://people.freedesktop.org/~hadess/${P}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 arm ~arm64 ~hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="test"
+
+RDEPEND=">=dev-libs/glib-2
+ dev-libs/libxml2"
+DEPEND="${RDEPEND}
+ dev-util/intltool
+ sys-devel/gettext
+ virtual/pkgconfig"
+
+DOCS=( ChangeLog HACKING NEWS README )
+
+src_prepare() {
+ epatch_user
+}
+
+src_configure() {
+ export ac_cv_func_fdatasync=no #487504
+
+ econf \
+ $(use_enable test default-make-check) \
+ --disable-update-mimedb
+}
+
+src_compile() {
+ # FIXME: 0.91 fails with -j9 every second time like:
+ # update_mime_database-update-mime-database.o: file not recognized: File truncated
+ # collect2: ld returned 1 exit status
+ emake -j1
+}
+
+src_install() {
+ default
+
+ # in prefix, install an env.d entry such that prefix patch is used/added
+ if use prefix; then
+ echo "XDG_DATA_DIRS=\"${EPREFIX}/usr/share\"" > "${T}"/50mimeinfo
+ doenvd "${T}"/50mimeinfo
+ fi
+}
+
+pkg_postinst() {
+ use prefix && export XDG_DATA_DIRS="${EPREFIX}"/usr/share
+ fdo-mime_mime_database_update
+}
diff --git a/x11-misc/shared-mime-info/shared-mime-info-1.9.ebuild b/x11-misc/shared-mime-info/shared-mime-info-1.9.ebuild
new file mode 100644
index 000000000000..4a80c6a5def7
--- /dev/null
+++ b/x11-misc/shared-mime-info/shared-mime-info-1.9.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit xdg-utils
+
+DESCRIPTION="The Shared MIME-info Database specification"
+HOMEPAGE="https://freedesktop.org/wiki/Software/shared-mime-info"
+SRC_URI="https://people.freedesktop.org/~hadess/${P}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="test"
+
+RDEPEND=">=dev-libs/glib-2
+ dev-libs/libxml2"
+DEPEND="${RDEPEND}
+ dev-util/intltool
+ sys-devel/gettext
+ virtual/pkgconfig"
+
+DOCS=( ChangeLog HACKING NEWS README )
+
+src_configure() {
+ export ac_cv_func_fdatasync=no #487504
+
+ econf \
+ $(use_enable test default-make-check) \
+ --disable-update-mimedb
+}
+
+src_compile() {
+ # FIXME: 0.91 fails with -j9 every second time like:
+ # update_mime_database-update-mime-database.o: file not recognized: File truncated
+ # collect2: ld returned 1 exit status
+ emake -j1
+}
+
+src_install() {
+ default
+
+ # in prefix, install an env.d entry such that prefix patch is used/added
+ if use prefix; then
+ echo "XDG_DATA_DIRS=\"${EPREFIX}/usr/share\"" > "${T}"/50mimeinfo || die
+ doenvd "${T}"/50mimeinfo
+ fi
+}
+
+pkg_postinst() {
+ use prefix && export XDG_DATA_DIRS="${EPREFIX}"/usr/share
+ xdg_mimeinfo_database_update
+}
diff --git a/x11-misc/shutter/Manifest b/x11-misc/shutter/Manifest
new file mode 100644
index 000000000000..f3bd55bf0913
--- /dev/null
+++ b/x11-misc/shutter/Manifest
@@ -0,0 +1,8 @@
+AUX shutter-0.90-goocanvas.patch 581 SHA256 d1696e992427d01202beb23df819050990b4c54b92942cf77bff34635fec963d SHA512 2f3e0fbfbc86740efc4aa9ed7a31caf66560948003e3afc5b9dfba9f0935fffe4de5a217fb322ef9135b981030ef79ce964b1de0a28ad28bc36e58e2261f83e5 WHIRLPOOL 058ddcaa38dd516131885b43d227016eda9e6c4023ced297883224f88d4e1d7261f08280439abbfa472aacd667042514a1369f34f85c79c1b813f88e3f18127a
+AUX shutter-0.90-webphoto.patch 640 SHA256 c5d3fed669f447156214bf9a66f8be1b25449714fb25af5aae005e4572eb08d7 SHA512 710c6009f9f9a0a75c5358538f8f396e1ba796fb1090048295b07ea0855c392691f3b2b2639e295b235180abe0f374af03339d0b6c0be898a1247683ce46b08a WHIRLPOOL 382e6b4a26e3dbfc8167bb1820ee43dc9f5a59ed750195ac9fa31717d8ef9023d967012e2259cbf1eb4430489d2b67f85be87d6f9dc77f6bd9fdf39d12e7aae2
+AUX shutter-0.93.1-insecure_use_of_system.patch 887 SHA256 8850349fdfcfd1910f487c35565210def7a42b41cf7e2f729dfc47cbe3adfe45 SHA512 0a4f1f50dba2b25899484d56205349b42d4a5c3f01fe30c90c4cfca67d2d0936e70489ef220ab820439b57ebf3e72820b01efa57d30dde3931f197e81727681a WHIRLPOOL bfcfc48059e7de464bb1bf03752c9d7e755b03b0301c3e9624fa9e72beeeaa659d3084462f0a6fcc95aaa68a977fbc9fa06c2a87796133b6fed3fadbdcb484be
+DIST shutter-0.93.1.tar.gz 3432204 SHA256 536d1f7bc69fff518bf5a6a040d6a2d65beb2eecd5429967c71c25cf991e9625 SHA512 50a635fdf73454b15351a7e2c4507bf0f9fd816273affbed412f42b1032087304ecf1fb4a4b655bc056820f267b98214ff5104f4fcd9e843f78e70ac4a7a4a04 WHIRLPOOL e81f5970850638c711ae958365edde5f7f2b9678d292ce666c89a6611a30ce143440de5db47916b6e84b737bf3416bbed164e79954d8210382ff3f4546a840ad
+EBUILD shutter-0.93.1-r3.ebuild 2676 SHA256 773bdc83d8372619c265de1cbf9d4b4c9ba6ee31be0a2bfc49d1fa8b9bcc1298 SHA512 7ad986250d29414ba93b93e8afc0f1920eac8847fb2ada6eab7bfdef6c0cc337a0f487ab6c7b52b54f72e587d1ae5eeb94d5b08cb28301f30769102a728ca075 WHIRLPOOL ad0cbc1964b530f255f197c517cac3419215792d147b9378d21aab7d810a92f112b3488105aca2ff035e4fa08fbe19323639444bf70605e3908b59d77742f5ea
+MISC ChangeLog 4413 SHA256 9398f3008c148a76cd77b022c8d2298b06bda602ecc3628ba929a70dc65b1516 SHA512 679bdf72c598f9e1061f84b67104699194b0977e823f064215c8617c5acfc50580b4dd259ea6e94d282a4b5d9653b9e161d6d18e03dc5a4f40149cd86f8c34dc WHIRLPOOL 6b20c7bf2c642a1d0bce67e521d3e35ba2867c9ad67a224c6168960b9187fab7f9bf7df890fff6458a187bce46e6b362b58a5655ff9be2ee39919a5078e93a7e
+MISC ChangeLog-2015 6149 SHA256 d84c795b262e0c83a4cef9e30725f18babce5a2d6330f6dae36e13beba13d46a SHA512 ce85cb59f6a868d8200faccdbd3b012a9ec045c75c32e162991186b68d62e8483a1570e3fc49c8c7aeaeff420364b4a03e669df2bc047ccf800f259a7109cb03 WHIRLPOOL 924db23c8d1daf36496276bdb8824788509674416fbe88d0556fcd5d36f9c1643aa002a820c3b2a6efaae1437d390c5bdae4b79ba4c93c56641486b38168da40
+MISC metadata.xml 423 SHA256 ead2ff3ce2a76ef230479b19a1b98415befb8edd4585ad9eb7601cace6a93024 SHA512 f73d7c5164611e4f899ca2196863517583aed64ef2dfa26854b8c264ab9e89fee583bddff232e95a7f0c27d79b6c7d3901f1cea84edc36d6b91e3981ffffa425 WHIRLPOOL 1e579b76d58af4edb1745336bba1307422fd3ef3ed75e8795dacce63e52f2e7e8a06d0a4131c25ce8dc85fe169e5485b7dfc8e03cd4e8a0543adf8eb380e5add
diff --git a/x11-misc/shutter/files/shutter-0.90-goocanvas.patch b/x11-misc/shutter/files/shutter-0.90-goocanvas.patch
new file mode 100644
index 000000000000..3a811635a988
--- /dev/null
+++ b/x11-misc/shutter/files/shutter-0.90-goocanvas.patch
@@ -0,0 +1,18 @@
+Index: shutter-0.90/bin/shutter
+===================================================================
+--- shutter-0.90.orig/bin/shutter
++++ shutter-0.90/bin/shutter
+@@ -9407,12 +9407,7 @@ else {
+ $nautilus_sendto = FALSE;
+ }
+
+- #goocanvas
+- eval { require Goo::Canvas };
+- if ($@) {
+- warn "WARNING: Goo::Canvas/libgoo-canvas-perl is missing --> drawing tool will be disabled!\n\n";
+- $goocanvas = FALSE;
+- }
++ $goocanvas = FALSE;
+
+ #net-dbus-glib-perl
+ eval { require Net::DBus::GLib };
diff --git a/x11-misc/shutter/files/shutter-0.90-webphoto.patch b/x11-misc/shutter/files/shutter-0.90-webphoto.patch
new file mode 100644
index 000000000000..647e53aa5e04
--- /dev/null
+++ b/x11-misc/shutter/files/shutter-0.90-webphoto.patch
@@ -0,0 +1,17 @@
+Index: shutter-0.90/bin/shutter
+===================================================================
+--- shutter-0.90.orig/bin/shutter
++++ shutter-0.90/bin/shutter
+@@ -9396,11 +9396,7 @@ else {
+ die "ERROR: imagemagick is missing --> aborting!\n\n";
+ }
+
+- #gnome-web-photo
+- unless ( File::Which::which('gnome-web-photo') ) {
+- warn "WARNING: gnome-web-photo is missing --> screenshots of websites will be disabled!\n\n";
+- $gnome_web_photo = FALSE;
+- }
++ $gnome_web_photo = FALSE;
+
+ #nautilus-sendto
+ unless ( File::Which::which('nautilus-sendto') ) {
diff --git a/x11-misc/shutter/files/shutter-0.93.1-insecure_use_of_system.patch b/x11-misc/shutter/files/shutter-0.93.1-insecure_use_of_system.patch
new file mode 100644
index 000000000000..e71a44f21c08
--- /dev/null
+++ b/x11-misc/shutter/files/shutter-0.93.1-insecure_use_of_system.patch
@@ -0,0 +1,19 @@
+Description: Fix insecure use of system()
+Author: Luke Faraone <lfaraone@debian.org>
+Bug: https://bugs.launchpad.net/shutter/+bug/1495163
+Debian-Bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=798862
+
+Index: shutter/share/shutter/resources/modules/Shutter/App/HelperFunctions.pm
+===================================================================
+--- shutter.orig/share/shutter/resources/modules/Shutter/App/HelperFunctions.pm 2015-11-05 21:34:34.222313258 -0500
++++ shutter/share/shutter/resources/modules/Shutter/App/HelperFunctions.pm 2015-11-05 21:35:37.299461116 -0500
+@@ -53,7 +53,8 @@
+
+ sub xdg_open {
+ my ( $self, $dialog, $link, $user_data ) = @_;
+- system("xdg-open $link");
++ my @args = ("xdg-open", $link);
++ system(@args);
+ if($?){
+ my $response = $self->{_dialogs}->dlg_error_message(
+ sprintf( $self->{_d}->get("Error while executing %s."), "'xdg-open'"),
diff --git a/x11-misc/shutter/metadata.xml b/x11-misc/shutter/metadata.xml
new file mode 100644
index 000000000000..82b7d46a1d34
--- /dev/null
+++ b/x11-misc/shutter/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person">
+<email>hwoarang@gentoo.org</email>
+<name>Markos Chandras</name>
+</maintainer>
+<maintainer type="project">
+ <email>graphics@gentoo.org</email>
+ <name>Gentoo Graphics Project</name>
+</maintainer>
+<use>
+ <flag name="drawing">Enables drawing tool</flag>
+</use>
+</pkgmetadata>
diff --git a/x11-misc/shutter/shutter-0.93.1-r3.ebuild b/x11-misc/shutter/shutter-0.93.1-r3.ebuild
new file mode 100644
index 000000000000..56732b72603c
--- /dev/null
+++ b/x11-misc/shutter/shutter-0.93.1-r3.ebuild
@@ -0,0 +1,85 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit eutils
+
+DESCRIPTION="Feature-rich screenshot program"
+HOMEPAGE="http://shutter-project.org/"
+SRC_URI="http://shutter-project.org/wp-content/uploads/releases/tars/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="drawing"
+
+RDEPEND="dev-lang/perl
+ drawing? ( dev-perl/Goo-Canvas )
+ dev-perl/libxml-perl
+ dev-perl/gnome2-canvas
+ dev-perl/gnome2-perl
+ dev-perl/gnome2-wnck
+ dev-perl/Gtk2-Unique
+ dev-perl/Gtk2-ImageView
+ dev-perl/File-DesktopEntry
+ dev-perl/File-HomeDir
+ dev-perl/File-Which
+ dev-perl/JSON
+ dev-perl/File-Copy-Recursive
+ dev-perl/File-MimeInfo
+ dev-perl/Locale-gettext
+ dev-perl/Net-DBus
+ dev-perl/Proc-Simple
+ dev-perl/Proc-ProcessTable
+ dev-perl/Sort-Naturally
+ dev-perl/WWW-Mechanize
+ dev-perl/X11-Protocol
+ dev-perl/XML-Simple
+ dev-perl/libwww-perl
+ virtual/imagemagick-tools[perl]"
+
+src_prepare() {
+ default
+
+ eapply "${FILESDIR}"/${PN}-0.90-webphoto.patch
+ use drawing || eapply "${FILESDIR}"/${PN}-0.90-goocanvas.patch
+
+ # 560426
+ eapply "${FILESDIR}"/${P}-insecure_use_of_system.patch
+
+ #Fix tray icon because it doesn't pick the right icon using various themes
+ sed -i -e "/\$tray->set_from_icon_name/s:set_from_icon_name:set_from_file:" \
+ -e "s:shutter-panel:/usr/share/icons/hicolor/scalable/apps/&.svg:" \
+ bin/shutter || die "failed to fix trayicon"
+}
+
+src_install() {
+ dobin bin/${PN} || die "dobin failed"
+ insinto /usr/share/${PN}
+ doins -r share/${PN}/* || die "doins failed"
+ dodoc README || die "dodoc failed"
+ domenu share/applications/${PN}.desktop
+ # Man page is broken. Reconstruct it.
+ gunzip share/man/man1/${PN}.1.gz || die "gunzip failed"
+ doman share/man/man1/${PN}.1 || die "doman failed"
+ doicon share/pixmaps/${PN}.png
+ doins -r share/locale || die "doins failed"
+ insinto /usr/share/icons/hicolor
+ doins -r share/icons/hicolor/* || die "doins failed"
+ find "${D}"/usr/share/shutter/resources/system/plugins/ -type f ! -name '*.*' -exec chmod 755 {} \; \
+ || die "failed to make plugins executables"
+ find "${D}"/usr/share/shutter/resources/system/upload_plugins/upload -type f \
+ -name "*.pm" -exec chmod 755 {} \; || die "failed to make upload plugins executables"
+}
+
+pkg_postinst() {
+ elog ""
+ elog "The following optional dependencies can be used to provide"
+ elog "additional functionality:"
+ elog ""
+ elog "- media-libs/exiftool : Writing Exif information"
+ elog "- dev-libs/libappindicator : Status icon support for Unity"
+ elog "- dev-perl/{Net-OAuth,Path-Class}: Dropbox support"
+ elog "- dev-perl/JSON-XS : vgy.me image hosting support"
+ elog""
+}
diff --git a/x11-misc/shutterbug/Manifest b/x11-misc/shutterbug/Manifest
new file mode 100644
index 000000000000..50cc2f4182ea
--- /dev/null
+++ b/x11-misc/shutterbug/Manifest
@@ -0,0 +1,5 @@
+DIST fox-1.7.49.tar.gz 5336321 SHA256 2435c56cde3ba6617c638af4f3bac39e8f4d5dd5a5c6d0805d274c7ba05c520c SHA512 da6c3478370f1e72091675e49f8458a6722eca4735bf89052b2b7ef02f4e74ee41f10c9fcc39a24a1571dd0bb1cdf779e9dea5bf15be20722ca783c9d59eb6e9 WHIRLPOOL 53ad3d34e57507702fc2ac9bd7b446021a99e3dff5b337cda090a670b06d4733abce2bbca88a7586e8af2d00f16ee84b0bd3c42f66fd6e430cc6d342bb76b1ff
+EBUILD shutterbug-1.7.49.ebuild 571 SHA256 a4b68a77150ac83357fdeaedff1e348acda7b6f8296192c07c5c1a3e0a1b4636 SHA512 1ca55aa86a6139571c461cc26e7a36f83743c4efe361bd1c6adfb26c674084c2d154acd3c97b206c056d32c0884cae671be323f25a722062fffe505eaddab818 WHIRLPOOL b054a3deeac5e29003e96391df5091e7107dc5e4f37106adbee7be57936d3531719d4997487198747e69c8b7162d58088cf92d79366fa82a937871cc25e45c5e
+MISC ChangeLog 3280 SHA256 b8a794374dfe406f3aeae6140b22bbfc0625b6e9db2ff6ffb16441dd547c1131 SHA512 0cc0766a2f7a3ed966044b2deb3f277325edff3ebeabf9f30269038582dce40354083987ea3af99198d2375962f48b692eecf7281cc1b01e304f93c04ffd2569 WHIRLPOOL 75a0950b1bc27d20784beab5313694909545a6aaea828778a1e25da6a844757331bf2eafff37f3b679268ef3f51c48242138a84f9ab2720fa3e514eeefea84bb
+MISC ChangeLog-2015 6085 SHA256 cdf227e2883d7c53f7eecbf6be20301f5e0b12409d2b1dbadef9483a876f6a64 SHA512 8ac414e651a2a0bcb1d2b7ce553c5a2c3da7c52f5c0629915149a4bc0f2ab7951a5885101eb153351b76f1d7534bc72f0c12cb123457adcc7c1358e1b2083688 WHIRLPOOL 1d865d5e65f86ccd268825962ed39e83105be55653cb7f64371baf2da419516b014a341cbbfc9a928df3e3a2734fc7d993211739747621a880ba1c5954a64bc6
+MISC metadata.xml 139 SHA256 5cdc1888ebc8807b9a37b1d33429c61cabe7415a4f240e21a4c2ff8eca7a34ed SHA512 8be912ace7468a4396eb1da00a9785030a8ce35da4357a01591876a1056fd45e44da65de2af3e1eb0506ce6551714962c40c3ae5a3aefa2ad231de35af2519be WHIRLPOOL 620431014dd4fb752c3d46d11904ecb2c6d4525f5b4e30f4f778a3b74d3f7187ae4ccd856ebd7eabb48ce261b21849c732928fe647edce024a3fdc082d8f8630
diff --git a/x11-misc/shutterbug/metadata.xml b/x11-misc/shutterbug/metadata.xml
new file mode 100644
index 000000000000..097975e3adc2
--- /dev/null
+++ b/x11-misc/shutterbug/metadata.xml
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+</pkgmetadata>
diff --git a/x11-misc/shutterbug/shutterbug-1.7.49.ebuild b/x11-misc/shutterbug/shutterbug-1.7.49.ebuild
new file mode 100644
index 000000000000..97de0d1eef96
--- /dev/null
+++ b/x11-misc/shutterbug/shutterbug-1.7.49.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+inherit fox
+
+DESCRIPTION="Screenshot utility based on the FOX Toolkit"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha amd64 ~hppa ppc ~ppc64 ~sparc x86"
+IUSE="+jpeg +png +tiff"
+
+DEPEND="
+ x11-libs/fox:1.7
+ x11-libs/libICE
+ x11-libs/libSM
+ jpeg? ( virtual/jpeg )
+ png? ( media-libs/libpng:0 )
+ tiff? ( media-libs/tiff:0 )"
+
+RDEPEND="${DEPEND}"
+
+src_configure() {
+ FOXCONF="$(use_enable jpeg) \
+ $(use_enable png) \
+ $(use_enable tiff)" fox_src_configure
+}
diff --git a/x11-misc/simple-ccsm/Manifest b/x11-misc/simple-ccsm/Manifest
new file mode 100644
index 000000000000..2190e006ca6d
--- /dev/null
+++ b/x11-misc/simple-ccsm/Manifest
@@ -0,0 +1,4 @@
+DIST simple-ccsm-0.8.4.tar.bz2 62423 SHA256 15b24408be48f1e3c69735362dd65ea6b3ddded80e63b87ec40268e2f0f652a3 SHA512 f60a689e18fcea494eacc4eaa8718d77b846af6790cb5de056ecd432fd8b5190ebd4ce6669744b3da408e492f68012503f420e28e66be83b747b2e532b152158 WHIRLPOOL 32cd613ac9ed2e82eb6aa61291824d782a3b3fd7758b36e13cbe0ec28007f3633a95cdaa0fce00db720795039cd73b7244f1100f80ad933a67e21cd498f6f421
+EBUILD simple-ccsm-0.8.4-r2.ebuild 1162 SHA256 d90bf8b77feafc2764bcf0e6732309ec4c2606eed50e47d7faffb72bd87f1fe0 SHA512 af4243ea4764b5d1ef52a7eecd062badf2518d816f224be184e1331f0bf53b2a684964a153ff2450a8faa7f2e72877c60c0fcffe091d71cb8d9a9d3de322a3d3 WHIRLPOOL a991ceb1b7e014b03c6d60e283af9be36c4da89f9bbc5c8658e4620ae0839c05671d24364041f36f8f7a87023099b2f2f539b5e21c4ad3ca92d43ccd799a3d6c
+MISC ChangeLog 605 SHA256 71789525201436efe6200a12eede5936d91d47f81dcace1c56b8256f93cd7065 SHA512 eac491d9b73ec0117d4f7f78c80215d66ce09fe90dbad1e162a57c0b80c08573bdc08417405baf681f4a4009fb2577663a7104e5dbb4e7e71378ec789d8e7078 WHIRLPOOL e043c220ed9df9973fccc9a28add2ace07a69857f18d90eae1d1b8b79efb94e2efdb040034f2f15a430436251222320edd8b242bc2b6f5f8e9b3bd839335b817
+MISC metadata.xml 255 SHA256 6a2cf8d68f5964b583b83dff0ad8092c996ef28e9fa34a7ec8f2f47731e8a3cb SHA512 aebbe0fa1825be6065600fc5289c5751d3d8a16b07d83201b772bb6561114e5d2b1d1d5e53488a55e3458272723a28374cdd1221a87d585161e09ed5d71a6e9d WHIRLPOOL 0a3a92cd06094e1793490977b0dfb0ca5a8ee00f097baacdec3618c46e94936a039d154e5271f31c877be3cda0ab406bcf42f79e2ac5ea87dd5f27fd7f661dd4
diff --git a/x11-misc/simple-ccsm/metadata.xml b/x11-misc/simple-ccsm/metadata.xml
new file mode 100644
index 000000000000..173985d43602
--- /dev/null
+++ b/x11-misc/simple-ccsm/metadata.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <longdescription lang="en">Simplified Compizconfig Settings Manager.</longdescription>
+</pkgmetadata>
diff --git a/x11-misc/simple-ccsm/simple-ccsm-0.8.4-r2.ebuild b/x11-misc/simple-ccsm/simple-ccsm-0.8.4-r2.ebuild
new file mode 100644
index 000000000000..a56e4fee0107
--- /dev/null
+++ b/x11-misc/simple-ccsm/simple-ccsm-0.8.4-r2.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+PYTHON_COMPAT=( python2_7 )
+DISTUTILS_IN_SOURCE_BUILD=1
+inherit distutils-r1 gnome2-utils
+
+DESCRIPTION="Simplified Compizconfig Settings Manager"
+HOMEPAGE="http://www.compiz.org/"
+SRC_URI="http://releases.compiz.org/${PV}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+
+DEPEND="
+ dev-util/intltool
+ virtual/pkgconfig"
+RDEPEND="
+ >=dev-python/compizconfig-python-${PV}[${PYTHON_USEDEP}]
+ >=dev-python/pygtk-2.10:2[${PYTHON_USEDEP}]
+ >=x11-misc/ccsm-${PV}[${PYTHON_USEDEP}]
+"
+
+python_prepare_all() {
+ # return error if wrong arguments passed to setup.py
+ sed -i -e 's/raise SystemExit/\0(1)/' setup.py || die 'sed on setup.py failed'
+ # fix desktop file
+ sed -i \
+ -e '/Categories/s/Compiz/X-\0/' \
+ -e '/Encoding/d' \
+ "${PN}".desktop.in || die "sed on ${PN}.desktop.in failed"
+
+ distutils-r1_python_prepare_all
+}
+
+python_configure_all() {
+ mydistutilsargs=( build --prefix=/usr )
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}
diff --git a/x11-misc/simpleswitcher/Manifest b/x11-misc/simpleswitcher/Manifest
new file mode 100644
index 000000000000..d69817932396
--- /dev/null
+++ b/x11-misc/simpleswitcher/Manifest
@@ -0,0 +1,4 @@
+EBUILD simpleswitcher-9999.ebuild 599 SHA256 78251fc292fbc450cf49a6fb01e22b253920b6114aa71ed59ba3717ef71e3c36 SHA512 a08c9d24324e04499a27a3daa747396c3460ea240420a285ab946922bd323717a4af6de50ec96f78586cf72e1bd6f1f6b770ba46136ba3c96c5121f74da1074b WHIRLPOOL 74ab85610d656197a541df1eab15370b10e8ea6111648ad7412a3e1726475646e4a06a418208edd54c92e4b55223c46b8e8931876aa7a5d135b725145325bda6
+MISC ChangeLog 2195 SHA256 475bef99d9d387ee531b98fd428c71a18a8a1ac2a55fcf9bb652bb725c565fd4 SHA512 447173dea2c83f62e948a660323b991352c7a1bef4fced67541ed705433893b73fef16eab35fbdd778bf157be1ad342fa2d1e9560801e4ec000604d67b2b925a WHIRLPOOL 6a302572ca3f662873ece2f377a69a7b3f7e03d4a60c2821f20533255f5935bb68b6ef7b78a64ddab302c0a5ffaed4ac8e066b63b38ac718f7d3cf0c72eafc95
+MISC ChangeLog-2015 526 SHA256 0f2750bc5b6721ad8adcd61429034d7498a609a46f59739ea5d078425eade055 SHA512 fff9132ecae2545f8a270a847f4f0515b8f2cf2819920449c967918d6718f01f366a038082ffea9e9da4aaf84cbdd2a4ab8eaba74d5584318bdd401ac2082edf WHIRLPOOL 6da0957da4e5e63885af418166f3ad7965d8ecec21ba88b0631a7826f365b514216b117fd8f5af7c55113eb70a8c93ec86ffbe24813709406c988edea051c80a
+MISC metadata.xml 334 SHA256 d9990e03e71f1082362bfdd29c13b3981ffb146b6a5851eef8521c0d810b55ad SHA512 05d87c23a4b55b20983bb0dd89b681e5dd8bdadfb33d94581c9bfe53017d2d7a465124e9387298984bd44314a72c4d1dfc7d1699d9dcb8934fcac13768946aff WHIRLPOOL fdf56bbfc048609d23d9c49235c87faaebda9c569d78dc87900450952dfb7a0d0047e0c8d73610b72f8e777eed0a6d43ef6fdba99a1e7ba41f457f4c1a0745a5
diff --git a/x11-misc/simpleswitcher/metadata.xml b/x11-misc/simpleswitcher/metadata.xml
new file mode 100644
index 000000000000..992914752003
--- /dev/null
+++ b/x11-misc/simpleswitcher/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>xmw@gentoo.org</email>
+ <name>Michael Weber</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">seanpringle/simpleswitcher</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/simpleswitcher/simpleswitcher-9999.ebuild b/x11-misc/simpleswitcher/simpleswitcher-9999.ebuild
new file mode 100644
index 000000000000..c1f66e461b21
--- /dev/null
+++ b/x11-misc/simpleswitcher/simpleswitcher-9999.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit git-r3 toolchain-funcs
+
+DESCRIPTION="lightweight EWMH window switcher with features and looks of dmenu"
+HOMEPAGE="https://github.com/seanpringle/simpleswitcher"
+EGIT_REPO_URI="https://github.com/seanpringle/simpleswitcher"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS=""
+IUSE=""
+
+RDEPEND="x11-libs/libX11
+ x11-libs/libXft
+ x11-libs/libXinerama
+ x11-libs/libXres"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_compile() {
+ tc-export CC
+ default
+}
+
+src_install() {
+ default
+ doman ${PN}.1
+}
diff --git a/x11-misc/sisctrl/Manifest b/x11-misc/sisctrl/Manifest
new file mode 100644
index 000000000000..d1d488cf6b36
--- /dev/null
+++ b/x11-misc/sisctrl/Manifest
@@ -0,0 +1,6 @@
+AUX sisctrl-0.0.20051202-no-xv.patch 301 SHA256 9d8172e644a4d0bc0d89a02f55e057a58945186131dec89ac59e7e989eb4d5af SHA512 494efc2f8505a3af3b829e9f7b653ca674b3d7668fdf68fc5b587cf83421755303041bc9fc881226839bce39e324147516e06106bc2730aab43de9c559b61c96 WHIRLPOOL 55cf03f01dd1d76ff86ac7774dfa5de99c611e7823106f6fb965292870a10d34b2fd71e2224532842e66085f8fabcbeb01d3a995f874dceb3141dcee3f037e1b
+DIST sisctrl-0.0.20051202.tar.gz 666749 SHA256 76855a8ff4631418374261613a273b082e0f56f29aa083a2197c5350688611f1 SHA512 26fe6561c2c14ff6cf952b89b8089b4fbdbc0c142bbcbf1358afe610b219a05dcf4d0bc835365cd0cf13558fed142b8aa2a0aa91c4fec8f40f0fc82590feabd1 WHIRLPOOL ec5dcf2b2286b99716cea4625d2124490e56c8ab743f0d068811b9a63f59533eaf924606b0fca3741b3abccbe91050c8ea7b2e66f40a70f256669ac981cbeda7
+EBUILD sisctrl-0.0.20051202.ebuild 712 SHA256 a5b75b5278f281915e390271dfecc80974fead7650f20ca7615dbf91f989502f SHA512 c8e32564b6263dafb8628692f84e3d6d5460b6e9a6219d379100209a20dfcbd1b8495f89e290368b3edc2c678aeac9a227f835bd10524056a5b5616216561a78 WHIRLPOOL 356218fb514530110f8ec586c80761197a90137cbdc6c40a450946e7759b67a056a2827465bc17a37038c377e56a8a09b6354917d71d7500a2a31a2063303a64
+MISC ChangeLog 2484 SHA256 3d8650c4b951b5bd0fb0d7b77f4a8de52b5fec56df6276d6815449ee7a2cd25d SHA512 af6ac02e2906597808ef55b0c748809e79251e96ec18d92b392019d6eb961143b5778a0e738512fba3278e9ff47903d14539490085b871055b2534a3ba2a079c WHIRLPOOL 1e6f2829615daa9bc95d9e86d05d160714b505613f48668d91f5c9c702d019aa0a6bdabefa25e15ad9e014b6b9a57c31aa161ff70ca85a986871a5fc6660d420
+MISC ChangeLog-2015 2742 SHA256 76977b250c2b9425a39092419f0ef254b92d16f179457fd55d982339911b6a18 SHA512 583d5fb13d4f1fcfc56dfff5bb9e58c3b7bc77569af6ddd64cf58a0bdcfaf6029d8b4545461fd6913a17cdfe4f57bdbd9c3e08ef7ac7918765bba2bc76736ddf WHIRLPOOL 8529cbc172326dda56561a91e29545beb68268e7ba6a1d00c60d7d5423e14e105e56fa488a30cbf5bd6bb4a3acfd8ed7513fc99404a0f0996f7358a957455ed3
+MISC metadata.xml 318 SHA256 218a00bda7df7396b1c9db4fea27cc69073dd039cb1db1e55d34cfd004209500 SHA512 7d56445a5c7fffdc1104633cdd30eafa17588079b8a1f4cb226984b1aad4e41fe84320608681143dc01c5f1ac5f104cf0717e8183164031644220f9c61086a3b WHIRLPOOL 15d65bcdc3289c77c194a26721b45e700d54a771e5a63d29a52d431b1ac8922ee7ddd7ca11b10dbbb72ba3fd70daa5fba7dba875de04362ab9c489e70d9fb895
diff --git a/x11-misc/sisctrl/files/sisctrl-0.0.20051202-no-xv.patch b/x11-misc/sisctrl/files/sisctrl-0.0.20051202-no-xv.patch
new file mode 100644
index 000000000000..6c61b8485bc2
--- /dev/null
+++ b/x11-misc/sisctrl/files/sisctrl-0.0.20051202-no-xv.patch
@@ -0,0 +1,12 @@
+--- a/src/sisctrl.c
++++ b/src/sisctrl.c
+@@ -4067,7 +4067,9 @@
+ ( (!(sc.sdflags & SiS_SD_SUPPORT2OVL)) || (sc.sd2flags & SiS_SD2_SUPPORT760OO) ) ) ?
+ 1 : 0;
+
++#ifdef USEXV
+ gl.noxvdemo = (sc.noxvdemo) ? 1 : 0;
++#endif
+
+ #ifdef USE_STRAY
+ gl.dontusesystemtray = sc.dontusesystemtray;
diff --git a/x11-misc/sisctrl/metadata.xml b/x11-misc/sisctrl/metadata.xml
new file mode 100644
index 000000000000..66187a0f4213
--- /dev/null
+++ b/x11-misc/sisctrl/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/x11-misc/sisctrl/sisctrl-0.0.20051202.ebuild b/x11-misc/sisctrl/sisctrl-0.0.20051202.ebuild
new file mode 100644
index 000000000000..8382ae2c2094
--- /dev/null
+++ b/x11-misc/sisctrl/sisctrl-0.0.20051202.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit eutils flag-o-matic
+
+DESCRIPTION="tool that allows you to tune SiS drivers from X"
+HOMEPAGE="http://www.winischhofer.net/linuxsispart1.shtml#sisctrl"
+SRC_URI="http://www.winischhofer.net/sis/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 x86"
+IUSE=""
+
+RDEPEND="dev-libs/glib:2
+ x11-libs/gtk+:2
+ x11-libs/libXrender
+ x11-libs/libXv
+ x11-libs/libXxf86vm"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ x11-proto/xf86vidmodeproto"
+
+DOCS="AUTHORS ChangeLog NEWS README"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-no-xv.patch
+ sed -i -e 's,/X11R6,,g' configure || die
+ append-flags -lm
+}
diff --git a/x11-misc/skippy/Manifest b/x11-misc/skippy/Manifest
new file mode 100644
index 000000000000..6634bdeac3e0
--- /dev/null
+++ b/x11-misc/skippy/Manifest
@@ -0,0 +1,7 @@
+AUX skippy-0.5.0-Makefile.patch 972 SHA256 d93dbb9beae0a44d0b76f16f91f78fa230b59050a37a87bf3506f8db0b3bb3cb SHA512 c94db12a8b21016923968ac179d43b6d57cc1a9cfc1fa45e3c2432aa7f8fa223a1aae41467b1756c309a209280667190c4b26c512430f5398e36e8af6d5b7150 WHIRLPOOL b3598d69811b6875beaf76ce0e5136fa154043dfc4a3c7d893137be5e2b16c59af34e7730a5d9b682b5bac95d49b8a47037638e5ad375b378e573a8d3c4a4cc8
+AUX skippy-pointer-size.patch 208 SHA256 887d36912e0ff95afcc579e1cc5dbffede6a716f6ec4b93c0056ad0c7cea231b SHA512 b922e816ec7f2ba672cc528a3ca5adfbb8af9ca8744deb6a2f6bfd40928a62e0937c4f453f046a87e23bc34f5a67ca9109cc46076c12454ab7097591059c847e WHIRLPOOL 3dee43759b7cccfb9969995f7c0bfcc3b986c9ee8ba402cc30b9ef11a808a33a820269f71db609541dffbc15681ff96080d4cc86f9b19fc1453830261dd9f9f2
+DIST skippy-0.5.0.tar.bz2 23722 SHA256 8f0f15f34a9fcfacb36cc8dc156d0d10c62020bbdd45edc348af67d861b74a99 SHA512 516e648e23a6a92e37f4d712b36f65ad640e299bd18677e30d4aa565929629c7749e64124b97da590d947daaa4e0de819cdcc3aec99c524833dea4c7955a7770 WHIRLPOOL 027264c9b51f193e839b926923319b5724d5b4e7d89208f04714a7c44c0ef2cd7e89ac42e0b95df75960b84eb7095672b9bb334381562398d0554274a7cd9a0b
+EBUILD skippy-0.5.0-r1.ebuild 967 SHA256 1347e2823e1625b2b4451b35ae60e4160d21fd9f936448ae02561cdc7503fcef SHA512 6da59ce10da775b110400061efae103396790abe0aaea28633a61a4a3a01312906022916f85e61672c284b7b8fbc490471945cc0e291579057134a64edcde742 WHIRLPOOL 0a9e43198022b8d4e80958ec483bd5f4806f1697da49ae78699882a967c8ae1ae068b6feefee0875eba5a5761cb6d249e1e1f3e6c56f6cba229d148ca10edff3
+MISC ChangeLog 2496 SHA256 17784829e5d955206d45dbb86423e4a2926f024f8b651755aa40d4d5324eed41 SHA512 2a2dd9f6a8a58a40c5168fc599c8354e5dadf4d4015adfdceb218298b9a6650de54b36292efab636cc85075849f701ecf68489db6675287bd56e1ce9fdb64844 WHIRLPOOL e9ea5c1c356133a60cff850c4f353470191067c27a6dd3e869d4951f1222702288445b26b0a5f16c1f1ca8e3976e6fad48087a8e7440bc8063e746c8496e68fa
+MISC ChangeLog-2015 2005 SHA256 4f9c12ecc9ca87348a37dc2dfdd38e778ac8327bf0ec9131da4cdbdeed00e181 SHA512 79c32171424f6be918ba1238aaa53e2198dc3581eab85d761888281eecf8d10dccb46f900877f6be7879a91f9350caee036157aeae6b4f3737b510fb1fdeffbd WHIRLPOOL 294a9e2f160d5d34d3faff3cfc0808dade6c38152f34c1fab5d1f3ea1863edb4fb7581a8c3a78a14a7b3a09f3efd98716a9b2bf9870a0dea4e44fd993297b144
+MISC metadata.xml 276 SHA256 437f3dba7deca9da3b3f8ecda9bb5e97253de0412cbb3095d876f39140f3ea98 SHA512 3497963f4fb51bb32521472b54a995091cb457d2cda65c786bd4b46e5af325caf8f6d5c969cefa0c09fe717df09fb015ec59b52f5571c3b2b9d4ea33e6c843ab WHIRLPOOL 8550fd604cf609511bf7c34245ebd6682dd6d058d8cbfa099a77c94d1afcf592909eb679a28a0806957ac0949c6cff350675e0182303ec5890a5e2c2c26d29c5
diff --git a/x11-misc/skippy/files/skippy-0.5.0-Makefile.patch b/x11-misc/skippy/files/skippy-0.5.0-Makefile.patch
new file mode 100644
index 000000000000..5c8c64b632f9
--- /dev/null
+++ b/x11-misc/skippy/files/skippy-0.5.0-Makefile.patch
@@ -0,0 +1,32 @@
+Don't use LDFLAGS to pass libraries.
+
+--- a/Makefile
++++ b/Makefile
+@@ -1,14 +1,12 @@
+-PREFIX = /usr/local
++PREFIX = /usr
+ BINDIR = ${PREFIX}/bin
+
+-X11PREFIX = /usr/X11R6
+-
+-CFLAGS += -I${X11PREFIX}/include `imlib2-config --cflags` `pkg-config xft --cflags` -g -pedantic -Wall
+-LDFLAGS += -L${X11PREFIX}/lib -lX11 -lm `imlib2-config --libs` `pkg-config xft --libs`
++CFLAGS += `imlib2-config --cflags` `pkg-config xft --cflags` -pedantic -Wall
++LDLIBS = -lX11 -lm `imlib2-config --libs` `pkg-config xft --libs`
+
+ # Comment these out to disable Xinerama support
+ CFLAGS += -DXINERAMA
+-LDFLAGS += -lXext -lXinerama
++LDLIBS += -lXext -lXinerama
+
+ # Uncomment this for Xinerama debugging
+ #CFLAGS += -DDEBUG
+@@ -21,7 +19,7 @@
+ all: skippy${EXESUFFIX}
+
+ skippy${EXESUFFIX}: Makefile ${SOURCES} ${HEADERS}
+- gcc ${CFLAGS} -o skippy${EXESUFFIX} ${SOURCES} ${LDFLAGS}
++ ${CC} ${LDFLAGS} ${CFLAGS} -o skippy${EXESUFFIX} ${SOURCES} ${LDLIBS}
+
+ clean:
+ rm -f skippy${EXESUFFIX}
diff --git a/x11-misc/skippy/files/skippy-pointer-size.patch b/x11-misc/skippy/files/skippy-pointer-size.patch
new file mode 100644
index 000000000000..7f5971179102
--- /dev/null
+++ b/x11-misc/skippy/files/skippy-pointer-size.patch
@@ -0,0 +1,11 @@
+--- a/wm.c
++++ b/wm.c
+@@ -258,7 +258,7 @@
+ return 0;
+
+ for(i = 0; i < items_read; i++)
+- l = dlist_add(l, (void*)((CARD32*)data)[i]);
++ l = dlist_add(l, (void*)((void**)data)[i]);
+
+ XFree(data);
+
diff --git a/x11-misc/skippy/metadata.xml b/x11-misc/skippy/metadata.xml
new file mode 100644
index 000000000000..2ba8e9e851e4
--- /dev/null
+++ b/x11-misc/skippy/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/x11-misc/skippy/skippy-0.5.0-r1.ebuild b/x11-misc/skippy/skippy-0.5.0-r1.ebuild
new file mode 100644
index 000000000000..e2823f2dfb16
--- /dev/null
+++ b/x11-misc/skippy/skippy-0.5.0-r1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit toolchain-funcs
+
+DESCRIPTION="A full-screen task-switcher providing Apple Expose-like functionality"
+HOMEPAGE="http://thegraveyard.org/skippy.php"
+SRC_URI="http://thegraveyard.org/files/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE=""
+
+RDEPEND="media-libs/imlib2[X]
+ x11-libs/libXext
+ x11-libs/libX11
+ x11-libs/libXinerama
+ x11-libs/libXmu
+ x11-libs/libXft"
+DEPEND="${RDEPEND}
+ x11-proto/xproto
+ x11-proto/xineramaproto
+ virtual/pkgconfig"
+
+PATCHES=( "${FILESDIR}"/${PN}-pointer-size.patch
+ "${FILESDIR}"/${P}-Makefile.patch
+)
+
+DOCS=( CHANGELOG skippyrc-default )
+
+src_compile() {
+ tc-export CC
+ default
+}
+
+pkg_postinst() {
+ elog
+ elog "You should copy skippyrc-default from /usr/share/doc/${PF} to"
+ elog "~/.skippyrc and edit the keysym used to invoke skippy."
+ elog "Use x11-apps/xev to find out the keysym."
+ elog
+}
diff --git a/x11-misc/slim/Manifest b/x11-misc/slim/Manifest
new file mode 100644
index 000000000000..042c70c401ff
--- /dev/null
+++ b/x11-misc/slim/Manifest
@@ -0,0 +1,21 @@
+AUX Xsession-r3 4045 SHA256 5eaa3c03278443f27a8477397dd0bcaa5f95e7d0cf99448f028bf0165ce089af SHA512 6c0bfba4c3f00b75d6b5fb0e0e8a492fa262b2d0f3c6382861d7f3a8c657e803151a2060e181439952649fd2acf6fa71b75811565f1156018027ec14a761f7d0 WHIRLPOOL 4808e5a3303bf4e8aff965cf1e77e4ca45413468f54dfa163ced9e848a53d19f705b203054002729f05d2efcc303b8456fd76644de8c1fb28613a43599c815cb
+AUX slim-1.3.5-arm.patch 289 SHA256 95c7be21f8a176ce649e2dd804b8c2fa019e5e206a2532233f8b76bdbf201fba SHA512 1d3a3a387433c8bfc9bff6ac3779e70e0e0ca5f65e6120dd83fb51d59dfa47facc6d31c6e955b737e41ebf760416015f7f12dc749e710957cbef274aa5d1d308 WHIRLPOOL 54cb1cff534d30c157460a729a054cb4089b39dbf950b7d78462f6cc8f1dcc1770b6943fe0e24198ad0313cd2c359e0684d35e99155e3945fc19e14638986437
+AUX slim-1.3.5-disable-ck-for-systemd.patch 3303 SHA256 e309716a177bcff758f2e5b807a99380d503ae08a819048cacd01f1010a40791 SHA512 64205963f8f56f012dd16c2aea18e2e4f4e155093d44222a512b242061b334b7faa9c3abdd1acc011213f0fed9007cf232da8c61e6cedc30c710b149fa841f04 WHIRLPOOL cc3e45fe35e5b178213f261f22e3f54e4175e501a6bd7b3a042206d14713d9f038238f531d1dd872abe15a8d118d5ccd0edec83028e49ad8df3ba1d77c55812c
+AUX slim-1.3.6-config.diff 2934 SHA256 5f7f1fcd6d0d28a4060b2360fdbd0489dd3884087596786ce3f31615098d1840 SHA512 afee976f30f563ed97187f40cdd618159545d7850e8af15bd5b30306c347cf8e5276c6c16938ce094bb589dcab8d88d5c368f7267dbe3f794a18f734f69ddf10 WHIRLPOOL caf3eac08c415e6370a1e0c4077137ccf4763c761a91d130648d9edbbcbb2ced2723c4a5dc4498fff4b3f410b7b6bb21b6f0c3882043aa25ce0941d37a5905cd
+AUX slim-1.3.6-drop-zlib.patch 309 SHA256 d90ead30ef02aa4e0f6fcc9b23c248522409749338972c8d343880e66478ac8b SHA512 2aa62e5b7ad67df47009e4cff0b34b8ff6116e9d3d23194c8199ec06356fbf0660df6b807e530075d3dc5aa8e04dda29e7a6e1337212b58e3bae09e9543c0c22 WHIRLPOOL b16da43ede2991bc14af3063d187301e93c29deb96c336a7558caeabcc5ba92bf425512252e170ee45f48dcbb2837e0c46dd7c828ad1943e65b3100df3dd18b0
+AUX slim-1.3.6-envcpy-bad-pointer-arithmetic.patch 583 SHA256 8965ea24c0864881713a4548fe10bd24e885e94a441c17ddbf94fbe2872fb1ea SHA512 cec2a82cc57a3dc3eb67a40becb9ef562d1fc0c2e962cb0cdddf978d776c8139f616647e3ab25255a616d3b17ff3f67ecaf4d7d92fa6af8aaec3ccf30efdde9c WHIRLPOOL c9df1bd8d5b1fffebaf3f4cf8f729b2ce07e5e02fcf9866a8f16c3da311811fa3fb1fdb87546a5e4a39fde88499af3c0fb5b04eda6ebf92c260bba83af2a700e
+AUX slim-1.3.6-fix-slimlock-nopam-v2.patch 839 SHA256 7ee18c47e3159145be99b16bc2a8c56543043be17ff4527e581cf033a0b4d42e SHA512 2251cd96801e593b387037d79014ea86fdec223d8910628fbfd0e9c5eafbe79c27ffb7f08123c89b635d33dc2bf9cf76e2964f5293352784c1e08c7b1c7427c0 WHIRLPOOL ec303bf8a764e0445726df941d1e09b94d0aaae522f43146dc3a5fef4ad197f0bd654d081489f51a7ed0cbbf30fe8954abb1f5ff5066e4ca69bbb04e21373c54
+AUX slim-1.3.6-freetype.patch 426 SHA256 8bf59d9d4ebbf629f524331fa0389937ccbe1074a5e7d8eb1cfed4264986669b SHA512 e7181993d305b5dd2d27c9c44ffa944c07a5fc9342c70a12f2f8283dff61db7ee3dc8aac50a566104dfb50ae06777b52835a4a2c3e19ad0e82b22a9487cd71aa WHIRLPOOL cd96fa2d38f55b470571d42e67d22f4a5660d5ff7b77e9e934c613a5141424305297a7dca5d03ea3a5cc4de60a339e7b9a63e3861e664642301e3e342ed46dc3
+AUX slim-1.3.6-honour-cflags.patch 499 SHA256 7a19c872c2f3a290a74df246cdd3f08126f7ce46e63fb5074a326b81adb805bf SHA512 bbc99d396d30e034100e468d8d5a69cee3bc26eb6029793bdb95f29bd6364f680baec13e12e9ca7dcf01d84de3d8d45712462de36f6f729c7f8c232865a71a7a WHIRLPOOL 96941218006cd2d91efca231f9f2917431a1aa4e0afd31137809a90efb4e69122addf5257aff76b2b345606fa44b8593d9b3bb9d01125a83f751ea6f5945dc48
+AUX slim-1.3.6-libslim-cmake-fixes.patch 852 SHA256 9565d206e0e34000975e59afbd2bc3de74fd3f590afdd9e34d0125cb3f12c75a SHA512 457e23e193c6b9ecb5335accad444470ffb2e0109550d041385bba2b6036fdfac8d48e031574e4229d8b8768a7a86f6d6c191b214540f1156a2a13e5a9f3451f WHIRLPOOL e712e7b829da0cc3113a7cc69364045467c89fa05a52b36ccc2393a708840f36108088088500485e251c9765eefd0485462876fb14ca15db09c49a7f63a81cad
+AUX slim-1.3.6-session-chooser.patch 3994 SHA256 3ee06061b10f42925cbd33ca25af1e870d4462be54c34e409fbe7b8f3bafa20e SHA512 7227fa0210d7870971870409da2d86d9f239ae285dde116e2b2d817318339fb51324bd11d04dc4c26a2ca3c1e5a0f0686987eab7042265389fb2f60cc7d37a45 WHIRLPOOL 594651c89d95210b28e8db7b7da547ab3009678be8312d8f94f79c71008aa7d4c3f2f02b71ce0624f400e84399a779b4544ac5523529255209c8e2f9a27b8f1c
+AUX slim-1.3.6-strip-systemd-unit-install.patch 474 SHA256 01e02399cad7f223233e70c255956aff809aa16d416c3e1428d171e0a810c576 SHA512 377b1443c700ab6697b2087affed8486d9661de8794355e134a78125695a22e966927f26296e6330b8f4e7a600e9d21bca034dbc2d5445171e05618a2bfad55a WHIRLPOOL 5aef1e500930710b3cfe042078c3916d361800c61aac9813c56cd64d654786afb67a9f9357c0e1ffede6f5a65068c837767aca8f6fdddeb7935bdcd5e4b4ca9f
+AUX slim-1.3.6-systemd-session.patch 820 SHA256 1cb2b5f322ae975cd5a5a9ccca45854c642497638aa1707234d8595e58adee3e SHA512 df653a31bd2b0d3bb5b09d700d89d6b4c444b3ef49dc6d5a0646cab5480841a76ecb1c3bcd45b602eb0d2000971a5ef576eac63de67907769ea23b6925329635 WHIRLPOOL 7557d7afd65ad3dd232656f05f1da7735668c1bb55125b1c833c55f9e4ea1411dcbfd8a104cba0d4d0f94aecd29a9f36d56c06515464e78da772e2ee304019db
+AUX slim-9999-config.diff 2480 SHA256 e3005e301c54d370cea3911ce1f3dc96f3dae579fc4ec91e7c4581b197084ceb SHA512 6018c5eadd0c63e86b07ad8662ffc046fd1f586c101dc84bc9452295a9a11ed1a82a6a8a228bf8d5e064cc5d17b1bcea8662f957b831c96f8ba21c0f55a0d216 WHIRLPOOL 1479e9e37ba520cd95f63920d68c76910a7390b7f9ab7677e6eea91f60ae21437f1e0f1d481fe39758c923db53cd3ac7cd6f2d17577af2da8dd0cb3539a42467
+AUX slim.logrotate 102 SHA256 d0559cf7764147f601f2bab8077fd956b1171adad4872c0d324279f6a978264a SHA512 b49ce2dc1a1943c5f8eea8e6394cc27b014832e2d9908220f32ffd21fbe69442ec45b18f6e435430c6cbed074e5983e2136ebade10218bb073bb13106716f5b2 WHIRLPOOL 9e940bd1d88613e46ac4a333afa0f02cd16c583a1b34f509c4409321f7d5c5e14ec86e38e9743a6176187a72e403683127fbaf293abbef678e23873c428613c1
+DIST slim-1.3.6.tar.gz 232547 SHA256 21defeed175418c46d71af71fd493cd0cbffd693f9d43c2151529125859810df SHA512 345b1dee5d6f0c3716dfa7c5c16274adbf18586bdaaa6af4f310e24c5a61f79a297ffac921a5ba545523317e9fe120916df226c36b9c9b49c2ac9c1ca21dee0c WHIRLPOOL 473fa2f3752ec0c1bd2410ff3110649ce792c2e904928694b5fb8a43de619945276282e4a9de86198b9f38cdd74d1f9dc9cbcc754cc97989002b368ef26a8429
+EBUILD slim-1.3.6-r5.ebuild 4192 SHA256 1482c46164fcd85f5545d441943cf99c2ae03a3590e9810569a9799efcae90b6 SHA512 30666fddd7b6d85ea19a5cee3a6cca3eddaa08a488ba149fa38a9efd54d018d0e6d6d707d2a43c3247ed0d0c55212eda97dd7823e964f94b887e1d645e6aefed WHIRLPOOL 1fb5583b5dfeacf0c41a63fd1d08f6a990f9bff5858048e49669eadbd04c4ffdf02c2104aebc3373668376035796df960905d21f717176e28b1472f7769f651f
+EBUILD slim-9999.ebuild 4018 SHA256 468982fc85e8e793d661081f53abd5c384cc7b1d06c1bb6e8709bb81efe551ab SHA512 0c19543e3e0a17dcd57077e3a434d78844059d9c019ad0fec3c4807eeb7b84065e445aaf4f31949012f0d375eac6bc7b3a2cc4b3f009e0e1fa9d8c0da065f7a4 WHIRLPOOL 6bc8bd5a0ae21316c68da51deda870dbbcdb6e5abd94cf63ef0838de81e56b0e18453b3cce22202c52566cd035def1dadae4360d979a98bb44232799b2144580
+MISC ChangeLog 5333 SHA256 f9c57c79c9c3ba95f341184696aadc7687a54aacfdddc52dcf68706d51cc7d99 SHA512 534536b3c01ddd5f7eecfbb6f6dfcd73b351a4f7aea514a4af3fde846deb83c68320b4aac07ef519d619090a9ba0bdb2c368da73e445161f294032669ba1aa10 WHIRLPOOL 052878a509d34f34576d1b7be013efffc77c33d27eb8796e4b5dda6c5a5bbee497d2a771381b80f4a9983b663b1a156b8d3f02bd83bb1d603e3e722d0e6c6a5d
+MISC ChangeLog-2015 22739 SHA256 1e67ee4595a1e8158ecd11793aee571869c36ac957cbfcee33568fe3322567c2 SHA512 b4b057c02f75ce35393919f66b30bdab9e022ec3b4c84a3f2b1df8326cff73544242a7f8e89573158f4c3900de3445bca7cadc04e7711238ab5671d93ddbaf9b WHIRLPOOL f14e454abea01516a1fd930fa599077b09e0f53984fa377070e2ee706cc44392622793a7fb351d492cc7a6d89dec11b78293dbd0fba3f21e174aa55d43515097
+MISC metadata.xml 514 SHA256 8096ec96a71df42b3dad271816d305140ad3dc67321778a300a8d3876a4fcb0e SHA512 28f99f92bda5c50f97a164aa53915ecc458dfd84e6c3dbfb9dbfd6e64d0a98b7de9bfc202949506b2af91cb716a8b681f1db07b974d3d3776f15e2cdf5129950 WHIRLPOOL 695802103c841ee6ae60fe8225e6eefbbeae6ed65d7dcf51b249a77c3ef1339e485f29c60ddd4f392aa9e524fe97e5e9a7ed519c262b62fd67b52d0836265e60
diff --git a/x11-misc/slim/files/Xsession-r3 b/x11-misc/slim/files/Xsession-r3
new file mode 100644
index 000000000000..237fb3630661
--- /dev/null
+++ b/x11-misc/slim/files/Xsession-r3
@@ -0,0 +1,158 @@
+#!/bin/sh
+#
+# Slim login manager Xsession script
+#
+
+command="$@"
+
+# this will go into slim.log along with all other echo's
+# good for debugging where things go wrong
+echo "$0: Beginning session setup..."
+
+# First read /etc/profile and .profile
+test -f /etc/profile && . /etc/profile
+test -f "$HOME/.profile" && . "$HOME/.profile"
+# Second read /etc/xprofile and .xprofile for X specific setup
+test -f /etc/xprofile && . /etc/xprofile
+test -f "$HOME/.xprofile" && . "$HOME/.xprofile"
+
+# wrap possible arguments to determine whether to treat special or not
+if [ "x$command" = "xcustom" ] || [ "x$command" = "xCustom" ] || [ "x$command" = "xdefault" ] || [ "x$command" = "xDefault" ]; then
+ command="Xsession"
+fi
+if [ "x$command" = "x" ]; then
+ # no default specified, check if Xsession will complete
+ # and if not then assign XSESSION to command
+ if [ -x "$HOME/.xsession" ] || [ -x "$HOME/.Xclients" ] || [ -x /etc/X11/xinit/Xclients ] || [ -x /etc/X11/Xclients ]; then
+ command="Xsession"
+ else
+ command=$XSESSION
+ fi
+fi
+
+# most of this is from /etc/X11/chooser.sh
+sessionscript=""
+if [ -n "${command}" ]; then
+ # find a match for $command in /etc/X11/Sessions
+ for x in /etc/X11/Sessions/* ; do
+ if [ "`echo ${x##*/} | awk '{ print toupper($1) }'`" = "`echo ${command} | awk '{ print toupper($1) }'`" ]; then
+ sessionscript=${x}
+ break
+ fi
+ done
+ if [ -n "${sessionscript}" ]; then
+ if [ -x "${sessionscript}" ]; then
+ command="${sessionscript}"
+ else
+ command="/bin/sh ${sessionscript}"
+ fi
+ else
+
+ # find an executable for $command
+ x=""
+ y=""
+
+ for x in "${command}" "`echo ${command} | awk '{ print toupper($1) }'`" "`echo ${command} | awk '{ print tolower($1) }'`"
+ do
+ # Fall through ...
+ if [ -x "`which ${x} 2>/dev/null`" ]; then
+ y="`which ${x} 2>/dev/null`"
+ break
+ fi
+ done
+ # note , if the command could not be found then $command will be empty
+ command="$y"
+ unset x
+ unset y
+ fi
+fi
+
+# call xrdb and xmodmap and such, since $command is not a session script
+if [ -z "${sessionscript}" ]; then
+ userresources="$HOME/.Xresources"
+ usermodmap="$HOME/.Xmodmap"
+ userxkbmap="$HOME/.Xkbmap"
+
+ sysresources=/etc/X11/Xresources
+ sysmodmap=/etc/X11/Xmodmap
+ sysxkbmap=/etc/X11/Xkbmap
+
+ rh6sysresources=/etc/X11/xinit/Xresources
+ rh6sysmodmap=/etc/X11/xinit/Xmodmap
+
+ # merge in defaults
+ if [ -f "$rh6sysresources" ]; then
+ xrdb -merge "$rh6sysresources"
+ fi
+
+ if [ -f "$sysresources" ]; then
+ xrdb -merge "$sysresources"
+ fi
+
+ if [ -f "$userresources" ]; then
+ xrdb -merge "$userresources"
+ fi
+
+ # merge in keymaps
+ if [ -f "$sysxkbmap" ]; then
+ setxkbmap `cat "$sysxkbmap"`
+ XKB_IN_USE=yes
+ fi
+
+ if [ -f "$userxkbmap" ]; then
+ setxkbmap `cat "$userxkbmap"`
+ XKB_IN_USE=yes
+ fi
+
+ #
+ # Eeek, this seems like too much magic here
+ #
+ if [ -z "$XKB_IN_USE" -a ! -L /etc/X11/X ]; then
+ if grep '^exec.*/Xsun' /etc/X11/X > /dev/null 2>&1 && [ -f /etc/X11/XF86Config ]; then
+ xkbsymbols=`sed -n -e 's/^[ ]*XkbSymbols[ ]*"\(.*\)".*$/\1/p' /etc/X11/XF86Config`
+ if [ -n "$xkbsymbols" ]; then
+ setxkbmap -symbols "$xkbsymbols"
+ XKB_IN_USE=yes
+ fi
+ fi
+ fi
+
+ # xkb and xmodmap don't play nice together
+ if [ -z "$XKB_IN_USE" ]; then
+ if [ -f "$rh6sysmodmap" ]; then
+ xmodmap "$rh6sysmodmap"
+ fi
+
+ if [ -f "$sysmodmap" ]; then
+ xmodmap "$sysmodmap"
+ fi
+
+ if [ -f "$usermodmap" ]; then
+ xmodmap "$usermodmap"
+ fi
+ fi
+
+ unset XKB_IN_USE
+fi
+unset sessionscript
+
+# start failsafe session
+if [ -z "${command}" ]; then
+ echo "$0: Failed to find a command to start the session, so starting a failsafe xterm."
+ exec xterm -geometry 80x24+0+0
+fi
+
+# run all system xinitrc shell scripts which will update command
+if [ -d /etc/X11/xinit/xinitrc.d ]; then
+ for i in /etc/X11/xinit/xinitrc.d/* ; do
+ if [ -x "$i" ]; then
+ . "$i"
+ fi
+ done
+ unset i
+fi
+
+echo "$0: Setup done, will execute: $command"
+exec $command
+
+# vim:ts=4
diff --git a/x11-misc/slim/files/slim-1.3.5-arm.patch b/x11-misc/slim/files/slim-1.3.5-arm.patch
new file mode 100644
index 000000000000..9438ce4a1caf
--- /dev/null
+++ b/x11-misc/slim/files/slim-1.3.5-arm.patch
@@ -0,0 +1,11 @@
+--- a/Ck.cpp 2012-06-26 04:20:14.000000000 -0400
++++ b/Ck.cpp 2012-10-05 13:25:29.000000000 -0400
+@@ -91,7 +91,7 @@
+
+ vt = *((long *)return_value);
+
+- std::snprintf(device, 32, "/dev/tty%ld", vt);
++ std::sprintf(device, "/dev/tty%ld", vt);
+
+ if(return_value)
+ XFree(return_value);
diff --git a/x11-misc/slim/files/slim-1.3.5-disable-ck-for-systemd.patch b/x11-misc/slim/files/slim-1.3.5-disable-ck-for-systemd.patch
new file mode 100644
index 000000000000..f7e361767615
--- /dev/null
+++ b/x11-misc/slim/files/slim-1.3.5-disable-ck-for-systemd.patch
@@ -0,0 +1,122 @@
+diff -Naur slim-1.3.5/app.cpp slim-1.3.5.new/app.cpp
+--- slim-1.3.5/app.cpp 2012-12-31 08:03:42.000000000 -0500
++++ slim-1.3.5.new/app.cpp 2013-08-22 14:16:37.994854259 -0400
+@@ -138,11 +138,14 @@
+ daemonmode = false;
+ force_nodaemon = false;
+ firstlogin = true;
++#ifdef USE_CONSOLEKIT
++ consolekit_support_enabled = true;
++#endif
+ Dpy = NULL;
+
+ /* Parse command line
+ Note: we force a option for nodaemon switch to handle "-nodaemon" */
+- while((tmp = getopt(argc, argv, "vhp:n:d?")) != EOF) {
++ while((tmp = getopt(argc, argv, "vhsp:n:d?")) != EOF) {
+ switch (tmp) {
+ case 'p': /* Test theme */
+ testtheme = optarg;
+@@ -163,6 +166,11 @@
+ std::cout << APPNAME << " version " << VERSION << endl;
+ exit(OK_EXIT);
+ break;
++#ifdef USE_CONSOLEKIT
++ case 's': /* Disable consolekit support */
++ consolekit_support_enabled = false;
++ break;
++#endif
+ case '?': /* Illegal */
+ logStream << endl;
+ case 'h': /* Help */
+@@ -171,6 +179,9 @@
+ << " -d: daemon mode" << endl
+ << " -nodaemon: no-daemon mode" << endl
+ << " -v: show version" << endl
++#ifdef USE_CONSOLEKIT
++ << " -s: start for systemd, disable consolekit support" << endl
++#endif
+ << " -p /path/to/theme/dir: preview theme" << endl;
+ exit(OK_EXIT);
+ break;
+@@ -559,6 +570,7 @@
+ #endif
+
+ #ifdef USE_CONSOLEKIT
++ if (consolekit_support_enabled) {
+ /* Setup the ConsoleKit session */
+ try {
+ ck.open_session(DisplayName, pw->pw_uid);
+@@ -567,6 +579,7 @@
+ logStream << APPNAME << ": " << e << endl;
+ exit(ERR_EXIT);
+ }
++ }
+ #endif
+
+ /* Create new process */
+@@ -578,6 +591,7 @@
+ char** child_env = pam.getenvlist();
+
+ # ifdef USE_CONSOLEKIT
++ if (consolekit_support_enabled) {
+ char** old_env = child_env;
+
+ /* Grow the copy of the environment for the session cookie */
+@@ -590,6 +604,7 @@
+ memcpy(child_env, old_env, sizeof(char*)*n+1);
+ child_env[n - 1] = StrConcat("XDG_SESSION_COOKIE=", ck.get_xdg_session_cookie());
+ child_env[n] = NULL;
++ }
+ # endif /* USE_CONSOLEKIT */
+ #else
+
+@@ -611,6 +626,7 @@
+ child_env[n++]=StrConcat("MAIL=", maildir.c_str());
+ child_env[n++]=StrConcat("XAUTHORITY=", xauthority.c_str());
+ # ifdef USE_CONSOLEKIT
++ if (consolekit_support_enabled)
+ child_env[n++]=StrConcat("XDG_SESSION_COOKIE=", ck.get_xdg_session_cookie());
+ # endif /* USE_CONSOLEKIT */
+ child_env[n++]=0;
+@@ -656,12 +672,14 @@
+ }
+
+ #ifdef USE_CONSOLEKIT
++ if (consolekit_support_enabled) {
+ try {
+ ck.close_session();
+ }
+ catch(Ck::Exception &e) {
+ logStream << APPNAME << ": " << e << endl;
+ };
++ }
+ #endif
+
+ #ifdef USE_PAM
+diff -Naur slim-1.3.5/app.h slim-1.3.5.new/app.h
+--- slim-1.3.5/app.h 2012-12-31 08:03:42.000000000 -0500
++++ slim-1.3.5.new/app.h 2013-08-22 14:12:45.536850016 -0400
+@@ -108,6 +108,10 @@
+ char *testtheme;
+ bool testing;
+
++#ifdef USE_CONSOLEKIT
++ bool consolekit_support_enabled;
++#endif
++
+ std::string themeName;
+ std::string mcookie;
+
+diff -Naur slim-1.3.5/slim.service slim-1.3.5.new/slim.service
+--- slim-1.3.5/slim.service 2012-12-31 08:03:42.000000000 -0500
++++ slim-1.3.5.new/slim.service 2013-08-22 14:15:39.186853186 -0400
+@@ -3,7 +3,7 @@
+ After=systemd-user-sessions.service
+
+ [Service]
+-ExecStart=/usr/bin/slim -nodaemon
++ExecStart=/usr/bin/slim -nodaemon -s
+
+ [Install]
+ Alias=display-manager.service
diff --git a/x11-misc/slim/files/slim-1.3.6-config.diff b/x11-misc/slim/files/slim-1.3.6-config.diff
new file mode 100644
index 000000000000..9da6795cccfa
--- /dev/null
+++ b/x11-misc/slim/files/slim-1.3.6-config.diff
@@ -0,0 +1,77 @@
+--- slim.conf.orig 2010-08-25 11:52:23.000000000 -0400
++++ slim.conf 2010-08-25 11:58:58.000000000 -0400
+@@ -2,7 +2,7 @@
+ # Note: -xauth $authfile is automatically appended
+ default_path /bin:/usr/bin:/usr/local/bin
+ default_xserver /usr/bin/X
+-#xserver_arguments -dpi 75
++xserver_arguments -nolisten tcp -br -deferglyphs 16 vt07
+
+ # Commands for halt, login, etc.
+ halt_cmd /sbin/shutdown -h now
+@@ -18,7 +18,7 @@
+
+
+ # Activate numlock when slim starts. Valid values: on|off
+-# numlock on
++numlock on
+
+ # Hide the mouse cursor (note: does not work with some WMs).
+ # Valid values: true|false
+@@ -33,7 +33,8 @@
+ # to adjust the command according to your preferred shell,
+ # i.e. for freebsd use:
+ # login_cmd exec /bin/sh - ~/.xinitrc %session
+-login_cmd exec /bin/bash -login ~/.xinitrc %session
++# login_cmd exec /bin/bash -login ~/.xinitrc %session
++login_cmd exec /bin/bash -login /usr/share/slim/Xsession %session
+
+ # Commands executed when starting and exiting a session.
+ # They can be used for registering a X11 session with
+@@ -41,20 +42,30 @@
+ #
+ # sessionstart_cmd some command
+ # sessionstop_cmd some command
++sessionstart_cmd /usr/bin/sessreg -a -l :0.0 %user
++sessionstop_cmd /usr/bin/sessreg -d -l :0.0 %user
+
+ # Start in daemon mode. Valid values: yes | no
+ # Note that this can be overriden by the command line
+ # options "-d" and "-nodaemon"
+-# daemon yes
++daemon yes
+
+-# Available sessions (first one is the default).
+-# The current chosen session name is replaced in the login_cmd
++# Available sessions:
++# The current chosen session name replaces %session in the login_cmd
+ # above, so your login command can handle different sessions.
++# If no session is chosen (via F1), %session will be an empty string.
+ # see the xinitrc.sample file shipped with slim sources
+-sessions xfce4,icewm-session,wmaker,blackbox
++#sessions xfce4,icewm-session,wmaker,blackbox
++# Alternatively, read available sessions from a directory of scripts:
++#sessiondir /etc/X11/Sessions
++# Or, read available sessions from the xsessions desktop files --
++# note that this may provide a full path to the session executable!
++sessiondir /usr/share/xsessions
+
+-# Executed when pressing F11 (requires imagemagick)
++# Executed when pressing F11 (requires media-gfx/imagemagick for import)
++# Alternative is media-gfx/scrot. See Gentoo bug 252241 for more info.
+ screenshot_cmd import -window root /slim.png
++#screenshot_cmd scrot /root/slim.png
+
+ # welcome message. Available variables: %host, %domain
+ welcome_msg Welcome to %host
+@@ -83,8 +91,8 @@
+ # randomly choose from
+ current_theme default
+
+-# Lock file
+-lockfile /var/run/slim.lock
++# Lock file, /etc/init.d/xdm expects slim.pid
++lockfile /run/slim.pid
+
+ # Log file
+ logfile /var/log/slim.log
diff --git a/x11-misc/slim/files/slim-1.3.6-drop-zlib.patch b/x11-misc/slim/files/slim-1.3.6-drop-zlib.patch
new file mode 100644
index 000000000000..cf2106a8a8eb
--- /dev/null
+++ b/x11-misc/slim/files/slim-1.3.6-drop-zlib.patch
@@ -0,0 +1,10 @@
+--- a/CMakeLists.txt 2014-02-28 10:38:48.655262163 -0500
++++ b/CMakeLists.txt 2014-02-28 10:47:01.671271162 -0500
+@@ -96,7 +96,6 @@
+ find_package(Freetype REQUIRED)
+ find_package(JPEG REQUIRED)
+ find_package(PNG REQUIRED)
+-find_package(ZLIB REQUIRED)
+
+ # Fontconfig
+ set(FONTCONFIG_DIR ${CMAKE_MODULE_PATH})
diff --git a/x11-misc/slim/files/slim-1.3.6-envcpy-bad-pointer-arithmetic.patch b/x11-misc/slim/files/slim-1.3.6-envcpy-bad-pointer-arithmetic.patch
new file mode 100644
index 000000000000..b3787dd58459
--- /dev/null
+++ b/x11-misc/slim/files/slim-1.3.6-envcpy-bad-pointer-arithmetic.patch
@@ -0,0 +1,15 @@
+--- a/app.cpp 2015-09-14 12:00:00.460481656 -0400
++++ b/app.cpp 2015-09-14 14:41:10.970536588 -0400
+@@ -606,9 +606,9 @@
+
+ n++;
+
+- child_env = static_cast<char**>(malloc(sizeof(char*)*n));
+- memcpy(child_env, old_env, sizeof(char*)*n+1);
+- child_env[n - 1] = StrConcat("XDG_SESSION_COOKIE=", ck.get_xdg_session_cookie());
++ child_env = static_cast<char**>(malloc(sizeof(char*)*(n+1)));
++ memcpy(child_env, old_env, sizeof(char*)*n);
++ child_env[n-1] = StrConcat("XDG_SESSION_COOKIE=", ck.get_xdg_session_cookie());
+ child_env[n] = NULL;
+ }
+ # endif /* USE_CONSOLEKIT */
diff --git a/x11-misc/slim/files/slim-1.3.6-fix-slimlock-nopam-v2.patch b/x11-misc/slim/files/slim-1.3.6-fix-slimlock-nopam-v2.patch
new file mode 100644
index 000000000000..d5fc4db4838d
--- /dev/null
+++ b/x11-misc/slim/files/slim-1.3.6-fix-slimlock-nopam-v2.patch
@@ -0,0 +1,26 @@
+--- a/CMakeLists.txt 2013-10-27 21:24:21.193802669 -0400
++++ b/CMakeLists.txt 2013-10-27 21:26:54.127806951 -0400
+@@ -220,7 +220,6 @@
+ ####### install
+ # slim
+ install(TARGETS slim RUNTIME DESTINATION bin)
+-install(TARGETS slimlock RUNTIME DESTINATION bin)
+
+ if (BUILD_SHARED_LIBS)
+ set_target_properties(libslim PROPERTIES
+@@ -235,8 +234,14 @@
+
+ # man file
+ install(FILES slim.1 DESTINATION ${MANDIR}/man1/)
+-install(FILES slimlock.1 DESTINATION ${MANDIR}/man1/)
+ # configure
+ install(FILES slim.conf DESTINATION ${SYSCONFDIR})
++
++#slimlock
++if(BUILD_SLIMLOCK)
++install(TARGETS slimlock RUNTIME DESTINATION bin PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE SETUID)
++install(FILES slimlock.1 DESTINATION ${MANDIR}/man1/)
++endif(BUILD_SLIMLOCK)
++
+ # themes directory
+ subdirs(themes)
diff --git a/x11-misc/slim/files/slim-1.3.6-freetype.patch b/x11-misc/slim/files/slim-1.3.6-freetype.patch
new file mode 100644
index 000000000000..8cefc0bf0998
--- /dev/null
+++ b/x11-misc/slim/files/slim-1.3.6-freetype.patch
@@ -0,0 +1,12 @@
+diff -up ./CMakeLists.txt.orig ./CMakeLists.txt
+--- ./CMakeLists.txt.orig 2014-11-11 20:38:40.706121207 +0100
++++ ./CMakeLists.txt 2014-11-11 20:39:34.206120264 +0100
+@@ -165,7 +165,7 @@ include_directories(
+ ${X11_Xft_INCLUDE_PATH}
+ ${X11_Xrender_INCLUDE_PATH}
+ ${X11_Xrandr_INCLUDE_PATH}
+- ${FREETYPE_INCLUDE_DIR_freetype2}
++ ${FREETYPE_INCLUDE_DIRS}
+ ${X11_Xmu_INCLUDE_PATH}
+ ${ZLIB_INCLUDE_DIR}
+ ${JPEG_INCLUDE_DIR}
diff --git a/x11-misc/slim/files/slim-1.3.6-honour-cflags.patch b/x11-misc/slim/files/slim-1.3.6-honour-cflags.patch
new file mode 100644
index 000000000000..8335e0fe9e75
--- /dev/null
+++ b/x11-misc/slim/files/slim-1.3.6-honour-cflags.patch
@@ -0,0 +1,14 @@
+--- CMakeLists.txt 2013-10-01 18:38:05.000000000 -0400
++++ CMakeLists.txt.new 2013-10-15 11:33:18.975741094 -0400
+@@ -42,11 +42,6 @@
+ set(SLIM_DEFINITIONS ${SLIM_DEFINITIONS} "-DPKGDATADIR=\"${PKGDATADIR}\"")
+ set(SLIM_DEFINITIONS ${SLIM_DEFINITIONS} "-DSYSCONFDIR=\"${SYSCONFDIR}\"")
+
+-# Flags
+-set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -g -O2")
+-set(CMAKE_CPP_FLAGS "${CMAKE_CPP_FLAGS} -Wall -g -O2")
+-set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -g -O2")
+-
+ # source
+ set(slim_srcs
+ main.cpp
diff --git a/x11-misc/slim/files/slim-1.3.6-libslim-cmake-fixes.patch b/x11-misc/slim/files/slim-1.3.6-libslim-cmake-fixes.patch
new file mode 100644
index 000000000000..11e39dc97628
--- /dev/null
+++ b/x11-misc/slim/files/slim-1.3.6-libslim-cmake-fixes.patch
@@ -0,0 +1,33 @@
+--- a/CMakeLists.txt 2013-10-15 11:35:16.688739802 -0400
++++ b/CMakeLists.txt 2013-10-15 11:53:46.185727620 -0400
+@@ -115,6 +115,7 @@
+ message("\tPAM Found")
+ set(SLIM_DEFINITIONS ${SLIM_DEFINITIONS} "-DUSE_PAM")
+ target_link_libraries(${PROJECT_NAME} ${PAM_LIBRARY})
++ target_link_libraries(libslim ${PAM_LIBRARY})
+ target_link_libraries(slimlock ${PAM_LIBRARY})
+ include_directories(${PAM_INCLUDE_DIR})
+ else(PAM_FOUND)
+@@ -173,7 +174,10 @@
+ )
+
+ target_link_libraries(libslim
+- ${JPEG_LIBRARIES}
++ ${RT_LIB}
++ ${X11_Xft_LIB}
++ ${X11_Xrandr_LIB}
++ ${JPEG_LIBRARIES}
+ ${PNG_LIBRARIES}
+ )
+
+@@ -228,8 +228,8 @@
+ SOVERSION ${SLIM_VERSION})
+
+ install(TARGETS libslim
+- LIBRARY DESTINATION lib
+- ARCHIVE DESTINATION lib
++ LIBRARY DESTINATION lib${LIB_SUFFIX}
++ ARCHIVE DESTINATION lib${LIB_SIFFUX}
+ )
+ endif (BUILD_SHARED_LIBS)
+
diff --git a/x11-misc/slim/files/slim-1.3.6-session-chooser.patch b/x11-misc/slim/files/slim-1.3.6-session-chooser.patch
new file mode 100644
index 000000000000..b43c9a307605
--- /dev/null
+++ b/x11-misc/slim/files/slim-1.3.6-session-chooser.patch
@@ -0,0 +1,115 @@
+--- a/cfg.cpp 2013-10-01 18:38:05.000000000 -0400
++++ b/cfg.cpp 2013-10-24 12:12:20.584103253 -0400
+@@ -274,14 +274,14 @@
+ while (true) {
+ string::const_iterator begin = s;
+ while (*s != c && s != str.end()) { ++s; }
+- tmp = string(begin, s);
+- if (useEmpty || tmp.size() > 0)
++ tmp = string(begin, s);
++ if (useEmpty || tmp.size() > 0)
+ v.push_back(tmp);
+ if (s == str.end()) {
+ break;
+ }
+ if (++s == str.end()) {
+- if (useEmpty)
++ if (useEmpty)
+ v.push_back("");
+ break;
+ }
+@@ -289,6 +289,7 @@
+ }
+
+ void Cfg::fillSessionList(){
++ string strSessionList = getOption("sessions");
+ string strSessionDir = getOption("sessiondir");
+
+ sessions.clear();
+@@ -307,29 +308,29 @@
+ struct stat oFileStat;
+
+ if (stat(strFile.c_str(), &oFileStat) == 0) {
+- if (S_ISREG(oFileStat.st_mode) &&
+- access(strFile.c_str(), R_OK) == 0){
+- ifstream desktop_file( strFile.c_str() );
+- if (desktop_file){
+- string line, session_name = "", session_exec = "";
+- while (getline( desktop_file, line )) {
+- if (line.substr(0, 5) == "Name=") {
+- session_name = line.substr(5);
+- if (!session_exec.empty())
+- break;
+- } else
+- if (line.substr(0, 5) == "Exec=") {
+- session_exec = line.substr(5);
+- if (!session_name.empty())
+- break;
+- }
+- }
+- desktop_file.close();
+- pair<string,string> session(session_name,session_exec);
+- sessions.push_back(session);
+- cout << session_exec << " - " << session_name << endl;
+- }
+-
++ if (S_ISREG(oFileStat.st_mode) &&
++ access(strFile.c_str(), R_OK) == 0){
++ ifstream desktop_file( strFile.c_str() );
++ if (desktop_file){
++ string line, session_name = "", session_exec = "";
++ while (getline( desktop_file, line )) {
++ if (line.substr(0, 5) == "Name=") {
++ session_name = line.substr(5);
++ if (!session_exec.empty()) break;
++ } else if (line.substr(0, 5) == "Exec=") {
++ session_exec = line.substr(5);
++ if (!session_name.empty()) break;
++ }
++ }
++ desktop_file.close();
++ if (!session_name.empty() && !session_exec.empty()) {
++ pair<string,string> session(session_name,session_exec);
++ sessions.push_back(session);
++ } else if (access(strFile.c_str(), X_OK) == 0) {
++ pair<string,string> session(string(pDirent->d_name),strFile);
++ sessions.push_back(session);
++ }
++ }
+ }
+ }
+ }
+@@ -338,8 +339,18 @@
+ }
+
+ if (sessions.empty()){
+- pair<string,string> session("","");
+- sessions.push_back(session);
++ if (strSessionList.empty()) {
++ pair<string,string> session("","");
++ sessions.push_back(session);
++ } else {
++ // iterate through the split of the session list
++ vector<string> sessit;
++ split(sessit,strSessionList,',',false);
++ for (vector<string>::iterator it = sessit.begin(); it != sessit.end(); ++it) {
++ pair<string,string> session(*it,*it);
++ sessions.push_back(session);
++ }
++ }
+ }
+ }
+
+--- a/app.cpp 2013-10-24 12:16:59.870111072 -0400
++++ b/app.cpp 2013-10-24 12:29:59.899132910 -0400
+@@ -377,10 +377,6 @@
+ LoginPanel->SetName(cfg->getOption("default_user") );
+ }
+
+- if (firstloop) {
+- LoginPanel->SwitchSession();
+- }
+-
+ if (!AuthenticateUser(focuspass && firstloop)){
+ panelclosed = 0;
+ firstloop = false;
diff --git a/x11-misc/slim/files/slim-1.3.6-strip-systemd-unit-install.patch b/x11-misc/slim/files/slim-1.3.6-strip-systemd-unit-install.patch
new file mode 100644
index 000000000000..f116c5ebc976
--- /dev/null
+++ b/x11-misc/slim/files/slim-1.3.6-strip-systemd-unit-install.patch
@@ -0,0 +1,13 @@
+--- CMakeLists.txt 2013-10-15 12:02:13.463722050 -0400
++++ CMakeLists.txt.new 2013-10-17 09:41:41.602917345 -0400
+@@ -238,10 +238,6 @@
+ install(FILES slimlock.1 DESTINATION ${MANDIR}/man1/)
+ # configure
+ install(FILES slim.conf DESTINATION ${SYSCONFDIR})
+-# systemd service file
+-if (${CMAKE_SYSTEM_NAME} MATCHES "Linux")
+- install(FILES slim.service DESTINATION ${LIBDIR}/systemd/system)
+-endif (${CMAKE_SYSTEM_NAME} MATCHES "Linux")
+ # themes directory
+ subdirs(themes)
+
diff --git a/x11-misc/slim/files/slim-1.3.6-systemd-session.patch b/x11-misc/slim/files/slim-1.3.6-systemd-session.patch
new file mode 100644
index 000000000000..0639aeb5f185
--- /dev/null
+++ b/x11-misc/slim/files/slim-1.3.6-systemd-session.patch
@@ -0,0 +1,29 @@
+--- a/app.cpp 2013-10-23 16:19:57.074100282 -0400
++++ b/app.cpp 2013-10-23 16:33:13.302122574 -0400
+@@ -829,8 +829,13 @@
+
+ StopServer();
+ RemoveLock();
+- while (waitpid(-1, NULL, WNOHANG) > 0); /* Collects all dead childrens */
+- Run();
++ if (force_nodaemon) {
++ delete LoginPanel;
++ exit(ERR_EXIT); /* use ERR_EXIT so that systemd's RESTART=on-failure works */
++ } else {
++ while (waitpid(-1, NULL, WNOHANG) > 0); /* Collects all dead childrens */
++ Run();
++ }
+ }
+
+ void App::KillAllClients(Bool top) {
+--- a/slim.service 2013-10-23 16:19:57.074100282 -0400
++++ b/slim.service 2013-10-23 16:45:14.901142776 -0400
+@@ -4,6 +4,7 @@
+
+ [Service]
+ ExecStart=/usr/bin/slim -nodaemon -s
++Restart=on-failure
+
+ [Install]
+ Alias=display-manager.service
+Common subdirectories: slim-1.3.6/themes and slim-1.3.6.new/themes
diff --git a/x11-misc/slim/files/slim-9999-config.diff b/x11-misc/slim/files/slim-9999-config.diff
new file mode 100644
index 000000000000..81f0feea43f1
--- /dev/null
+++ b/x11-misc/slim/files/slim-9999-config.diff
@@ -0,0 +1,70 @@
+diff --git a/slim.conf b/slim.conf
+index 2c72255..7af4adb 100644
+--- a/slim.conf
++++ b/slim.conf
+@@ -2,7 +2,7 @@
+ # Note: -xauth $authfile is automatically appended
+ default_path /bin:/usr/bin:/usr/local/bin
+ default_xserver /usr/bin/X
+-#xserver_arguments -dpi 75
++xserver_arguments -nolisten tcp -br -deferglyphs 16 vt07
+
+ # Commands for halt, login, etc.
+ halt_cmd /sbin/shutdown -h now
+@@ -18,7 +18,7 @@ authfile /var/run/slim.auth
+
+
+ # Activate numlock when slim starts. Valid values: on|off
+-# numlock on
++numlock on
+
+ # Hide the mouse cursor (note: does not work with some WMs).
+ # Valid values: true|false
+@@ -33,19 +33,20 @@ authfile /var/run/slim.auth
+ # to adjust the command according to your preferred shell,
+ # i.e. for freebsd use:
+ # login_cmd exec /bin/sh - ~/.xinitrc %session
+-login_cmd exec /bin/bash -login ~/.xinitrc %session
++# login_cmd exec /bin/bash -login ~/.xinitrc %session
++login_cmd exec /bin/bash -login /usr/share/slim/Xsession %session
+
+ # Commands executed when starting and exiting a session.
+ # They can be used for registering a X11 session with
+ # sessreg. You can use the %user variable
+ #
+-# sessionstart_cmd some command
+-# sessionstop_cmd some command
++sessionstart_cmd /usr/bin/sessreg -a -l :0.0 %user
++sessionstop_cmd /usr/bin/sessreg -d -l :0.0 %user
+
+ # Start in daemon mode. Valid values: yes | no
+ # Note that this can be overriden by the command line
+ # options "-d" and "-nodaemon"
+-# daemon yes
++daemon yes
+
+ # Available sessions:
+ # The current chosen session name replaces %session in the login_cmd
+@@ -63,7 +64,10 @@ login_cmd exec /bin/bash -login ~/.xinitrc %session
+ sessiondir /usr/share/xsessions
+
+ # Executed when pressing F11 (requires imagemagick for 'import')
+-screenshot_cmd import -window root /slim.png
++# Alternative: media-gfx/scrot. See Gentoo bug 252241 for more info.
++screenshot_cmd import -window root /tmp/slim.png
++#screenshot_cmd scrot /tmp/slim.png
++
+
+ # welcome message. Available variables: %host, %domain
+ welcome_msg Welcome to %host
+@@ -92,8 +96,8 @@ reboot_msg The system is rebooting...
+ # randomly choose from
+ current_theme default
+
+-# Lock file
+-lockfile /var/run/slim.lock
++# Lock file, /etc/init.d/xdm expects slim.pid
++lockfile /run/slim.pid
+
+ # Log file
+ logfile /var/log/slim.log
diff --git a/x11-misc/slim/files/slim.logrotate b/x11-misc/slim/files/slim.logrotate
new file mode 100644
index 000000000000..89015306ff50
--- /dev/null
+++ b/x11-misc/slim/files/slim.logrotate
@@ -0,0 +1,9 @@
+/var/log/slim.log {
+ compress
+ rotate 4
+ weekly
+ delaycompress
+ copytruncate
+ missingok
+ notifempty
+}
diff --git a/x11-misc/slim/metadata.xml b/x11-misc/slim/metadata.xml
new file mode 100644
index 000000000000..8f38f154c1b0
--- /dev/null
+++ b/x11-misc/slim/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>axs@gentoo.org</email>
+ </maintainer>
+ <maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+ <use>
+ <flag name="consolekit">Enable native consolekit support</flag>
+ </use>
+ <upstream>
+ <remote-id type="sourceforge">slim.berlios</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/slim/slim-1.3.6-r5.ebuild b/x11-misc/slim/slim-1.3.6-r5.ebuild
new file mode 100644
index 000000000000..6663621cf77b
--- /dev/null
+++ b/x11-misc/slim/slim-1.3.6-r5.ebuild
@@ -0,0 +1,140 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit cmake-utils pam eutils systemd versionator
+
+DESCRIPTION="Simple Login Manager"
+HOMEPAGE="https://sourceforge.net/projects/slim.berlios/"
+SRC_URI="mirror://sourceforge/project/${PN}.berlios/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 arm ~mips ppc ppc64 sparc x86 ~x86-fbsd"
+IUSE="branding pam consolekit"
+REQUIRED_USE="consolekit? ( pam )"
+
+RDEPEND="x11-libs/libXmu
+ x11-libs/libX11
+ x11-libs/libXpm
+ x11-libs/libXft
+ x11-libs/libXrandr
+ media-libs/libpng:0=
+ virtual/jpeg:=
+ x11-apps/sessreg
+ consolekit? ( sys-auth/consolekit
+ sys-apps/dbus )
+ pam? ( virtual/pam
+ !x11-misc/slimlock )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ x11-proto/xproto"
+PDEPEND="branding? ( >=x11-themes/slim-themes-1.2.3a-r3 )"
+
+src_prepare() {
+ # Our Gentoo-specific config changes
+ epatch "${FILESDIR}"/${P}-config.diff \
+ "${FILESDIR}"/${PN}-1.3.5-arm.patch \
+ "${FILESDIR}"/${P}-honour-cflags.patch \
+ "${FILESDIR}"/${P}-libslim-cmake-fixes.patch \
+ "${FILESDIR}"/${PN}-1.3.5-disable-ck-for-systemd.patch \
+ "${FILESDIR}"/${P}-strip-systemd-unit-install.patch \
+ "${FILESDIR}"/${P}-systemd-session.patch \
+ "${FILESDIR}"/${P}-session-chooser.patch \
+ "${FILESDIR}"/${P}-fix-slimlock-nopam-v2.patch \
+ "${FILESDIR}"/${P}-drop-zlib.patch \
+ "${FILESDIR}"/${P}-freetype.patch \
+ "${FILESDIR}"/${P}-envcpy-bad-pointer-arithmetic.patch
+
+ if use elibc_FreeBSD; then
+ sed -i -e 's/"-DHAVE_SHADOW"/"-DNEEDS_BASENAME"/' CMakeLists.txt \
+ || die
+ fi
+
+ if use branding; then
+ sed -i -e 's/ default/ slim-gentoo-simple/' slim.conf || die
+ fi
+
+ epatch_user
+}
+
+src_configure() {
+ mycmakeargs=(
+ $(cmake-utils_use pam USE_PAM)
+ $(cmake-utils_use consolekit USE_CONSOLEKIT)
+ )
+
+ cmake-utils_src_configure
+}
+
+src_install() {
+ cmake-utils_src_install
+
+ if use pam ; then
+ pamd_mimic system-local-login slim auth account session
+ pamd_mimic system-local-login slimlock auth
+ fi
+
+ systemd_dounit slim.service
+
+ insinto /usr/share/slim
+ newins "${FILESDIR}/Xsession-r3" Xsession
+
+ insinto /etc/logrotate.d
+ newins "${FILESDIR}/slim.logrotate" slim
+
+ dodoc xinitrc.sample ChangeLog README TODO THEMES
+}
+
+pkg_postinst() {
+ # massage ${REPLACING_VERSIONS} to come up with whether or not it's a new install
+ # or if it's older than 1.3.2-r7
+ # Note - there should only ever be zero or one version as this package isn't slotted,
+ # so the logic doesn't worry about what happens if there's two, due to the case where
+ # a previous emerge attempt failed in the middle of qmerge.
+ local rv=none
+ for rv in ${REPLACING_VERSIONS} ; do
+ if version_is_at_least "1.3.2-r7" "${rv}" ; then
+ rv=newer
+ break;
+ fi
+ if version_is_at_least "1.0" "${rv}" ; then
+ rv=older
+ break;
+ fi
+ done
+
+ if [[ ${rv} == none ]]; then
+ elog
+ elog "The configuration file is located at /etc/slim.conf."
+ elog
+ elog "If you wish ${PN} to start automatically, set DISPLAYMANAGER=\"${PN}\" "
+ elog "in /etc/conf.d/xdm and run \"rc-update add xdm default\"."
+ fi
+ if [[ ${rv} != newer ]]; then
+ elog
+ elog "By default, ${PN} is set up to do proper X session selection, including ~/.xsession"
+ elog "support, as well as selection between sessions available in"
+ elog "/etc/X11/Sessions/ at login by pressing [F1]."
+ elog
+ elog "The XSESSION environment variable is still supported as a default"
+ elog "if no session has been specified by the user."
+ elog
+ elog "If you want to use .xinitrc in the user's home directory for session"
+ elog "management instead, see README and xinitrc.sample in"
+ elog "/usr/share/doc/${PF} and change your login_cmd in /etc/slim.conf"
+ elog "accordingly."
+ elog
+ ewarn "Please note that slim supports consolekit directly. Please do not use any "
+ ewarn "old work-arounds (including calls to 'ck-launch-session' in xinitrc scripts)"
+ ewarn "and enable USE=\"consolekit\" instead."
+ ewarn
+ fi
+ if ! use pam; then
+ elog "You have merged ${PN} without USE=\"pam\", this will cause ${PN} to fall back to"
+ elog "the console when restarting your window manager. If this is not desired, then"
+ elog "please remerge ${PN} with USE=\"pam\""
+ elog
+ fi
+}
diff --git a/x11-misc/slim/slim-9999.ebuild b/x11-misc/slim/slim-9999.ebuild
new file mode 100644
index 000000000000..1b8b9a68b1c8
--- /dev/null
+++ b/x11-misc/slim/slim-9999.ebuild
@@ -0,0 +1,137 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit cmake-utils pam eutils systemd versionator
+
+if [[ ${PV} = 9999* ]]; then
+ EGIT_REPO_URI="https://github.com/axs-gentoo/slim-git.git"
+ inherit git-r3
+ KEYWORDS=""
+else
+ SRC_URI="mirror://sourceforge/project/${PN}.berlios/${P}.tar.gz"
+ KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+fi
+
+DESCRIPTION="Simple Login Manager"
+HOMEPAGE="https://sourceforge.net/projects/slim.berlios/"
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="branding pam consolekit"
+REQUIRED_USE="consolekit? ( pam )"
+
+RDEPEND="x11-libs/libXmu
+ x11-libs/libX11
+ x11-libs/libXpm
+ x11-libs/libXft
+ x11-libs/libXrandr
+ media-libs/libpng:0=
+ virtual/jpeg:=
+ x11-apps/sessreg
+ consolekit? ( sys-auth/consolekit
+ sys-apps/dbus )
+ pam? ( virtual/pam
+ !x11-misc/slimlock )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ x11-proto/xproto"
+PDEPEND="branding? ( >=x11-themes/slim-themes-1.2.3a-r3 )"
+
+src_prepare() {
+ # Our Gentoo-specific config changes
+ epatch "${FILESDIR}"/${P}-config.diff
+
+ if use elibc_FreeBSD; then
+ sed -i -e 's/"-DHAVE_SHADOW"/"-DNEEDS_BASENAME"/' CMakeLists.txt \
+ || die
+ fi
+
+ if use branding; then
+ sed -i -e '/current_theme/s/default/slim-gentoo-simple/' slim.conf \
+ || die
+ fi
+}
+
+src_configure() {
+ mycmakeargs=(
+ $(cmake-utils_use pam USE_PAM)
+ $(cmake-utils_use consolekit USE_CONSOLEKIT)
+ )
+
+ cmake-utils_src_configure
+}
+
+src_install() {
+ cmake-utils_src_install
+
+ if use pam ; then
+ pamd_mimic system-local-login slim auth account session
+ pamd_mimic system-local-login slimlock auth
+ fi
+
+ systemd_dounit build_files/slim.service
+
+ insinto /usr/share/slim
+ newins "${FILESDIR}/Xsession-r3" Xsession
+
+ insinto /etc/logrotate.d
+ newins "${FILESDIR}/slim.logrotate" slim
+
+ dodoc xinitrc.sample README THEMES
+}
+
+pkg_postinst() {
+ # massage ${REPLACING_VERSIONS} to come up with whether or not it's a new install
+ # or if it's older than 1.3.2-r7
+ # Note - there should only ever be zero or one version as this package isn't slotted,
+ # so the logic doesn't worry about what happens if there's two, due to the case where
+ # a previous emerge attempt failed in the middle of qmerge.
+ local rv=none
+ for rv in ${REPLACING_VERSIONS} ; do
+ if version_is_at_least "1.3.2-r7" "${rv}" ; then
+ rv=newer
+ break;
+ fi
+ if version_is_at_least "1.0" "${rv}" ; then
+ rv=older
+ break;
+ fi
+ done
+
+ if [[ ${rv} == none ]]; then
+ elog
+ elog "The configuration file is located at /etc/slim.conf."
+ elog
+ elog "If you wish ${PN} to start automatically, set DISPLAYMANAGER=\"${PN}\" "
+ elog "in /etc/conf.d/xdm and run \"rc-update add xdm default\"."
+ fi
+ if [[ ${rv} != newer ]]; then
+ elog
+ elog "By default, ${PN} is set up to provide X session selection based on the"
+ elog ".desktop entries in /usr/share/xsessions/ that are installed by each"
+ elog "DE, including ~/.xsession support via the 'Xsession' session. Sessions"
+ elog "are selected at login by pressing [F1]. As per the Xorg guide, each"
+ elog "user's default session can be specified by adding the name from"
+ elog "/etc/X11/Sessions to ~/.xsession."
+ elog
+ elog "The XSESSION environment variable is still supported as a default"
+ elog "if no session has been specified by the user."
+ elog
+ elog "If you want to use .xinitrc in the user's home directory for session"
+ elog "management instead, see README and xinitrc.sample in"
+ elog "/usr/share/doc/${PF} and change your login_cmd in /etc/slim.conf"
+ elog "accordingly."
+ elog
+ ewarn "Please note that slim supports consolekit directly. Please do not use any "
+ ewarn "old work-arounds (including calls to 'ck-launch-session' in xinitrc scripts)"
+ ewarn "and enable USE=\"consolekit\" instead."
+ ewarn
+ fi
+ if ! use pam; then
+ elog "You have merged ${PN} without USE=\"pam\", this will cause ${PN} to fall back to"
+ elog "the console when restarting your window manager. If this is not desired, then"
+ elog "please remerge ${PN} with USE=\"pam\""
+ elog
+ fi
+}
diff --git a/x11-misc/slock/Manifest b/x11-misc/slock/Manifest
new file mode 100644
index 000000000000..43b2e46ae01c
--- /dev/null
+++ b/x11-misc/slock/Manifest
@@ -0,0 +1,5 @@
+DIST slock-1.4.tar.gz 6889 SHA256 b53849dbc60109a987d7a49b8da197305c29307fd74c12dc18af0d3044392e6a SHA512 ad285360dd3f16a225159abaf2f82fabf2c675bd74478cf717f68cbe5941a6c620e3c88544ce675ce3ff19af4bb0675c9405685e0f74ee4e84f7d34c61a0532f WHIRLPOOL cc8527da479dd4703634877619fd2a8e6c30ef087bb0e70f94f97635152592ac011dfda8d82199701c9fe3f1c757de384101e27f45b9109142b5c1d591fc9e13
+EBUILD slock-1.4.ebuild 1183 SHA256 a7e07f1cf82cd70e12c10114d92d7aaf6b38fd3f2817bba47f80fd3e33db2728 SHA512 75842d5f76b851b2e28e9eebbf770e0b8cf444fbf49461127b71638b8e9aa3a4d7eb74953f22227ab05ebdb388dbad53cd465cfebe5b4607af2d7de85aa3f39c WHIRLPOOL 0b6d33774a1a8506b3ecf6337ebc520830737b337f1311593e4bf19b8a02bbd8aac228efd41781a7628f10bfb49b2ecdab2754f439a6761f4a911813fe3cadcd
+MISC ChangeLog 4841 SHA256 263a0f09ba7a0d317aaedd7c86f9056fef3fc4a8766925334bbeb048ab80f8ec SHA512 2e39a1842f62cda7e064352aa09c512c0b1f1e75787d92e522d3702d2c3842726443dc98a54a29d8698e07ecd058b58884b5a75e41410f684bd4cec74e01496b WHIRLPOOL ce616d64e3e91e9c6fbe79543dbbf796959ae6b4417d1460efc6cd7e5af7a97fc1338538c98d269b6ff5169815d0939b7af6274b1970c61f39860e5fd7c9a5f8
+MISC ChangeLog-2015 5843 SHA256 4a2d93c7667aa458fd2bc90de24644fba379f2ccca06d33c1cd3a112446e5dd0 SHA512 05f3262b319f5f637765d5e600d919adedc3f9f54b3fa6e5d7152b118dcba6e11d7543d04dfe407505ae2fedf481ff9dadd716240ab8875baf27b6d3a49c7d82 WHIRLPOOL 5075bcaf5ff501948dfcdd0ae7e03b603ab836446882da4f3a51b26b9789f527f1d02b4ac3130ceb3d0fdc13ff3cb895acecfa06ce70408a4175e5752e29eb93
+MISC metadata.xml 347 SHA256 6034af9559cb591c5284b431db57e7d1e3c10f9e322acdc4c05d699c479589a6 SHA512 5939bd8c1055a98efc2987fce141841116bb531301b8666d85c7018ff8fd0bcdb21d5fa8eb5d39ccb384666a3c53834700cfa442262624714a4633aa0ac49545 WHIRLPOOL 23054e4af9f7f212faf56f307a028c4ecb8eb51b30c1236c4b28124ca551c71cf115a6b96afe1b4a3e975b4923a3406e952fe715a5584c07e4b39a5a1cbf613e
diff --git a/x11-misc/slock/metadata.xml b/x11-misc/slock/metadata.xml
new file mode 100644
index 000000000000..807835d750ec
--- /dev/null
+++ b/x11-misc/slock/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person">
+ <email>jer@gentoo.org</email>
+</maintainer>
+<maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+</maintainer>
+</pkgmetadata>
diff --git a/x11-misc/slock/slock-1.4.ebuild b/x11-misc/slock/slock-1.4.ebuild
new file mode 100644
index 000000000000..b6a698a98bc6
--- /dev/null
+++ b/x11-misc/slock/slock-1.4.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit fcaps savedconfig toolchain-funcs
+
+DESCRIPTION="simple X display locker"
+HOMEPAGE="https://tools.suckless.org/slock"
+SRC_URI="https://dl.suckless.org/tools/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="amd64 hppa x86 ~x86-fbsd"
+
+RDEPEND="
+ x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXrandr
+"
+DEPEND="
+ ${RDEPEND}
+ x11-proto/randrproto
+ x11-proto/xproto
+"
+
+src_prepare() {
+ default
+
+ sed -i \
+ -e '/^CFLAGS/{s: -Os::g; s:= :+= :g}' \
+ -e '/^CC/d' \
+ -e '/^LDFLAGS/{s:-s::g; s:= :+= :g}' \
+ config.mk || die
+ sed -i \
+ -e 's|@${CC}|$(CC)|g' \
+ Makefile || die
+
+ if use elibc_FreeBSD; then
+ sed -i -e 's/-DHAVE_SHADOW_H//' config.mk || die
+ fi
+
+ restore_config config.h
+
+ tc-export CC
+}
+
+src_compile() { emake slock; }
+
+src_install() {
+ dobin slock
+ save_config config.h
+}
+
+pkg_postinst() {
+ # cap_dac_read_search used to be enough for shadow access
+ # but now slock wants to write to /proc/self/oom_score_adj
+ # and for that it needs:
+ fcaps \
+ cap_dac_override,cap_setgid,cap_setuid,cap_sys_resource \
+ /usr/bin/slock
+
+ savedconfig_pkg_postinst
+}
diff --git a/x11-misc/slop/Manifest b/x11-misc/slop/Manifest
new file mode 100644
index 000000000000..450a70f99afc
--- /dev/null
+++ b/x11-misc/slop/Manifest
@@ -0,0 +1,9 @@
+AUX slop-4.3.21-no-cppcheck.patch 790 SHA256 501353afd4a5268ddfd2595ee23faaab797328beb6ce01c2e641d0f063c8087f SHA512 0cfef93fdad5c9b739032388698e2a2fb997774f95590573f7a1807a219435282b9d0e4daddf6ea79547c54cdfcd76b7545eb5009d1dc4b06ab81636beed29a5 WHIRLPOOL c628d63db9ab5dbff9868a70aef6b91bd5792e92451316aad2656dee19e93ece9fcc6c39801859584b3f32ac0892058bc670c3e93e9df3e01a1fb1080ac0300c
+AUX slop-4.3.21-no-gengetopt.patch 2109 SHA256 2247410ffc167f82bfd7bf5cf585ccddb8cb2766033c5d42b8e9400c69f47bc4 SHA512 f345eaa42463dce37da6368b6f2e0d343c0af8a639e59a031f95f66cf3d4c99b6af3c4ed09b38408268b327334bf835e2e6207e8fdd12dbf106ca67552a545f7 WHIRLPOOL a6a63d8d51785dbc16dd63ecc42eef85120e7a06e3d9a2a46fa503497bd7f47c8bfe6afa54195a9ee383f34b60092d98a8d4d72b5cec07dc2061c4e725d6b215
+AUX slop-4.3.21-no-librt.patch 1099 SHA256 1eb06b618b33261aa2d93a099067b50d129d08d42a7290247ce8a5c5954cf75f SHA512 aca2ee7b8ceab74e7add153692884ee29ec787f3b0df5627a825a1c090be59406df7f9ed2fed1301a2ef28d15d0f9cbdf4fa221f5a4734e7582868f02fe65c2b WHIRLPOOL 033a7415a3906123180878b8c80051fad365972cac20dfdf6382d0bef6c282b7e87e5978ee4cd6deff50379f7c4302fc0f1c9f9f5ff3f711114355e35faceefe
+AUX slop-4.3.21-no-opengl.patch 1201 SHA256 a2438b2a5bfed26f7faa32db2dd41784df0df9fe71cd4d23c770176a80222a70 SHA512 df03f77d1a812e02070c4a44ad74c373ce0cf739a847a2ddd2dbab591488bd31da21544db0d6818f456a0b0c2cc0f092a055b1d1f869868b6f12418c02cfdcb5 WHIRLPOOL b656382441b1e86833b23d8c2a5765f9622b7a88ef7b36b54e8f53ba1752a5abf1fc2da9866e3f126c42b44825ebbf653e1e0132979ba72620c765a027cd2712
+DIST slop-4.3.21.tar.gz 488238 SHA256 352eb367a8d11686adb182c7dbddf65d55b0ee4d5a2257a07486d5728722177c SHA512 4489a108883b785eb5dda368a06ea0b7c61e3afeefdeb421f211e01e3cb7eb20836200197abc755be653f086fcd3b8647a460dacf15062fe2cd44438b4f54b68 WHIRLPOOL 651d5c736fd4a8431fd9967280181c8512a4948c9534d73cc8c035cf9a925dffc22e966ffed79421ec2e1fae1c6008af4e6cac7413a8efe45a8f5f2e8f6113e2
+DIST slop-6.3.46.tar.gz 89391 SHA256 228ef2bf5d4824af5c22c87ce040080f0ce7385d0538bf2641dcd6ce70486e1a SHA512 9f44bbb8e14e71a17858711d8da902cb9cf5dc65ed47284be15122f2d1793544deab7f0700517bd07e44613662bfbc7f0991f3d36dcf74af6f90de5fbbd79558 WHIRLPOOL 72bdefd6657df687ea5af038f9635c3a1033fcf67d316b1983a55ce86e067f21733a8c2a752281ce59e15ada562ce001eded09dcb87e8ec989cc2325fdb904c4
+EBUILD slop-4.3.21.ebuild 998 SHA256 34b5c2d41a1cc86cf1eca64d39af06a5f33435499f1143d3ded15795a3ec0f3f SHA512 6885b852092d53097338ecb21e5c15c022afa203513f0699de9bfae3268a5414773f3511435ea7d410115792ec080d17fecf4d4df889f334abaee67414030ad4 WHIRLPOOL d29f735570117d849b03256101e5e299e6538137c5acd537f0fbb2d6526f1d30303c0da7d582f7e3f8acf64bfb591a853addf2a480b0e0a89c0a3905a6dc288b
+EBUILD slop-6.3.46.ebuild 538 SHA256 8eb49c964918b6ebc6bad83cdd06c0afe72f6b6a17205f3223b115bc0d239cf5 SHA512 d912f801f8d79024246bcb564171aeb268bd82ddeff2039ba215693690a731a872c73c5b7737fa9954f2f0be25f993c22b81e8eaa5a757438706d5c25ecf0d44 WHIRLPOOL ea20e8955eff3e3d808b62cbbfb67ccf1d7691e84ceb6fcce7db9195b66f32e5fe976de7d6c1d7648d674f07ebadfc954f0b5ec15fecc17f8fa6379a4c4bead7
+MISC metadata.xml 834 SHA256 daf540caa5dfd445230e74f3f3a161d8662e0acf3733be4794e06b29ad35f5ff SHA512 d3048ec19bdb9d9cc6a0c6f47d751ae29718a754b3c2ea90cb015787c491d536857b50eaa8b98c17fce83738e15200a96909d7fee48186a9cfd7267e1f6b5277 WHIRLPOOL fc6b8c5ac9d612c540bb93800e9be82c51a314556f0b4304b72e00b1e99330b2456bce6bdd8d777fa16ad1115a9dd47f0de97e1e27f012ac1f8c145e012f293b
diff --git a/x11-misc/slop/files/slop-4.3.21-no-cppcheck.patch b/x11-misc/slop/files/slop-4.3.21-no-cppcheck.patch
new file mode 100644
index 000000000000..f92c57f977df
--- /dev/null
+++ b/x11-misc/slop/files/slop-4.3.21-no-cppcheck.patch
@@ -0,0 +1,20 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 361f930..0982647 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -33,15 +33,6 @@ else()
+ message( FATAL_ERROR "Your operating system isn't supported yet! CMake will now exit." )
+ endif()
+
+-# Add a check target for our makefile.
+-find_program( CPPCHECK_EXECUTABLE cppcheck
+- DOC "A tool for static C/C++ code analysis." )
+-if (CPPCHECK_EXECUTABLE)
+- add_custom_target( "check"
+- COMMAND "${CPPCHECK_EXECUTABLE}" "--enable=all" "*"
+- WORKING_DIRECTORY src VERBATIM )
+-endif()
+-
+ # Here we generate some of our code if we can. I package it pre-generated
+ # so nobody has to go find and install gengetopt if they don't want to.
+ find_program( GENGETOPT_EXECUTABLE gengetopt
diff --git a/x11-misc/slop/files/slop-4.3.21-no-gengetopt.patch b/x11-misc/slop/files/slop-4.3.21-no-gengetopt.patch
new file mode 100644
index 000000000000..13f79eef2110
--- /dev/null
+++ b/x11-misc/slop/files/slop-4.3.21-no-gengetopt.patch
@@ -0,0 +1,33 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -33,29 +33,6 @@ else()
+ message( FATAL_ERROR "Your operating system isn't supported yet! CMake will now exit." )
+ endif()
+
+-# Here we generate some of our code if we can. I package it pre-generated
+-# so nobody has to go find and install gengetopt if they don't want to.
+-find_program( GENGETOPT_EXECUTABLE gengetopt
+- DOC "A tool to generate code to grab command line options." )
+-find_program( SED_EXECUTABLE sed )
+-if ( GENGETOPT_EXECUTABLE AND SED_EXECUTABLE )
+- message( "-- Regenerating cmdline.in" )
+- # gengetopt generates cmdline.h, then we move it to cmdline.in.
+- execute_process( COMMAND "${GENGETOPT_EXECUTABLE}" "--input=options.ggo"
+- WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/src" )
+- file( RENAME "${CMAKE_CURRENT_SOURCE_DIR}/src/cmdline.h" "${CMAKE_CURRENT_SOURCE_DIR}/src/cmdline.in" )
+- # Due to a bug in gengetopt, we have to manually insert some code.
+- # Replace the first instance of REPLACEME with some text.
+- # Eight backslashes = two in the code because of how many instances of escaping is happening.
+- execute_process( COMMAND "${SED_EXECUTABLE}" "-i" "0,/REPLACEME/{s/REPLACEME/X=%x\\\\\\\\nY=%y\\\\\\\\nW=%w\\\\\\\\nH=%h\\\\\\\\nG=%g\\\\\\\\nID=%i\\\\\\\\nCancel=%c\\\\\\\\n/}" "cmdline.c"
+- WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/src" )
+- # Then replace remaining instances.
+- execute_process( COMMAND "${SED_EXECUTABLE}" "-i" "s/REPLACEME/X=%x\\\\nY=%y\\\\nW=%w\\\\nH=%h\\\\nG=%g\\\\nID=%i\\\\nCancel=%c\\\\n/" "cmdline.c"
+- WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/src" )
+-else()
+- message( "Warning: Command gengetopt or sed not found! Won't regenerate command line code. (If you're just compiling this doesn't matter.)" )
+-endif()
+-
+ # By default our src/options.ggo has our cmake versions variables for
+ # the 'version ""' line. We replace them here.
+ # The ${CMAKE_SOURCE_DIR} is there to fix problems with OpenBSD's out-of-source build black magic.
diff --git a/x11-misc/slop/files/slop-4.3.21-no-librt.patch b/x11-misc/slop/files/slop-4.3.21-no-librt.patch
new file mode 100644
index 000000000000..0b95b833ffda
--- /dev/null
+++ b/x11-misc/slop/files/slop-4.3.21-no-librt.patch
@@ -0,0 +1,37 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -75,10 +75,6 @@ find_package( GLX REQUIRED )
+ find_package( XRender REQUIRED )
+ find_package( XRandr REQUIRED )
+ find_package( GLEW REQUIRED )
+-# This library is needed only for Ubuntu it seems, some platforms don't even
+-# ship with it. I couldn't find a way to do a test compile to check if librt
+-# was needed, so instead I just didn't mark it as REQUIRED.
+-find_package( RT )
+
+ set( CMAKE_CXX_FLAGS
+ "${CMAKE_CXX_FLAGS} ${CMAKE_IMLIB2_CXX_FLAGS}" )
+@@ -96,10 +92,6 @@ include_directories( "${IMLIB2_INCLUDE_DIR}"
+ ${XRENDER_INCLUDE_DIRS} )
+ endif()
+
+-if ( RT_INCLUDE_DIR )
+- include_directories( ${RT_INCLUDE_DIR} )
+-endif()
+-
+ # Executable
+ add_executable( "${BIN_TARGET}" ${source} )
+
+@@ -119,11 +111,6 @@ if ( CMAKE_OPENGL_SUPPORT )
+ endif()
+
+
+-if ( RT_LIBRARY )
+- target_link_libraries( "${BIN_TARGET}"
+- "${RT_LIBRARY}" )
+-endif()
+-
+ install( TARGETS ${BIN_TARGET}
+ DESTINATION "${CMAKE_INSTALL_PREFIX}/bin" )
+
diff --git a/x11-misc/slop/files/slop-4.3.21-no-opengl.patch b/x11-misc/slop/files/slop-4.3.21-no-opengl.patch
new file mode 100644
index 000000000000..2f596b65e992
--- /dev/null
+++ b/x11-misc/slop/files/slop-4.3.21-no-opengl.patch
@@ -0,0 +1,39 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 62cc1a6..f5d66e5 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -71,14 +71,8 @@ endif()
+
+ # Obtain library paths and make sure they exist.
+ set( CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmakemodules" )
+-find_package( Imlib2 REQUIRED )
+ find_package( X11 REQUIRED )
+ find_package( XExt REQUIRED )
+-find_package( OpenGL REQUIRED )
+-find_package( GLX REQUIRED )
+-find_package( XRender REQUIRED )
+-find_package( XRandr REQUIRED )
+-find_package( GLEW REQUIRED )
+
+ set( CMAKE_CXX_FLAGS
+ "${CMAKE_CXX_FLAGS} ${CMAKE_IMLIB2_CXX_FLAGS}" )
+diff --git a/src/x.hpp b/src/x.hpp
+index 2478414..f35e722 100644
+--- a/src/x.hpp
++++ b/src/x.hpp
+@@ -26,7 +26,6 @@
+ #include <X11/Xlib.h>
+ #include <X11/cursorfont.h>
+ #include <X11/extensions/shape.h>
+-#include <X11/extensions/Xrandr.h>
+
+ #include <stdlib.h>
+ #include <cstring>
+@@ -97,7 +96,6 @@ public:
+ std::vector<bool> m_mouse;
+ bool mouseDown( unsigned int button );
+ bool m_keypressed;
+- XRRScreenResources* m_res;
+ private:
+ slop::CursorType m_currentCursor;
+ bool m_good;
diff --git a/x11-misc/slop/metadata.xml b/x11-misc/slop/metadata.xml
new file mode 100644
index 000000000000..d1c681a60ce8
--- /dev/null
+++ b/x11-misc/slop/metadata.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>palipalo9@googlemail.com</email>
+ <name>Ingolf Wagner</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <longdescription>
+ slop (Select Operation) is an application that queries for a selection
+ from the user and prints the region to stdout. It grabs the mouse and
+ turns it into a crosshair, lets the user click and drag to make a
+ selection (or click on a window) while drawing a pretty box around it,
+ then finally prints the selection's dimensions to stdout.
+ </longdescription>
+ <upstream>
+ <remote-id type="github">naelstrof/slop</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/slop/slop-4.3.21.ebuild b/x11-misc/slop/slop-4.3.21.ebuild
new file mode 100644
index 000000000000..20411872e466
--- /dev/null
+++ b/x11-misc/slop/slop-4.3.21.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils
+
+DESCRIPTION="An application that queries the user for a selection for printing"
+HOMEPAGE="https://github.com/naelstrof/slop"
+SRC_URI="https://github.com/naelstrof/slop/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="opengl"
+
+RDEPEND="
+ x11-libs/libX11
+ x11-libs/libXext
+ opengl? (
+ media-libs/glew:0=
+ media-libs/imlib2
+ virtual/opengl
+ x11-libs/libXrandr
+ x11-libs/libXrender
+ )"
+DEPEND="
+ ${RDEPEND}
+ opengl? (
+ media-libs/glm
+ )"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-4.3.21-no-cppcheck.patch"
+ "${FILESDIR}/${PN}-4.3.21-no-gengetopt.patch"
+ "${FILESDIR}/${PN}-4.3.21-no-librt.patch"
+)
+
+src_prepare() {
+ use opengl || PATCHES+=( "${FILESDIR}/${PN}-4.3.21-no-opengl.patch" )
+ cmake-utils_src_prepare
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DCMAKE_OPENGL_SUPPORT=$(usex opengl)
+ )
+ cmake-utils_src_configure
+}
diff --git a/x11-misc/slop/slop-6.3.46.ebuild b/x11-misc/slop/slop-6.3.46.ebuild
new file mode 100644
index 000000000000..d8334f019a4a
--- /dev/null
+++ b/x11-misc/slop/slop-6.3.46.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils
+
+DESCRIPTION="An application that queries the user for a selection for printing"
+HOMEPAGE="https://github.com/naelstrof/slop"
+SRC_URI="https://github.com/naelstrof/slop/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+ dev-libs/icu
+ virtual/opengl
+ x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXrender
+"
+DEPEND="
+ ${RDEPEND}
+ media-libs/glm
+"
diff --git a/x11-misc/spacefm/Manifest b/x11-misc/spacefm/Manifest
new file mode 100644
index 000000000000..c55a22b2febd
--- /dev/null
+++ b/x11-misc/spacefm/Manifest
@@ -0,0 +1,10 @@
+AUX spacefm-include-sysmacros.patch 449 SHA256 7e8a069bb4175770a46842f547e51a73d06c2143fcc7b218e06e48cb19a93d00 SHA512 276ff68ed7c08d02224d73089a895e044510accfc160e06abcd7c55b8dae4b9443f67ad5ba36c07d51db37afd64b5a2da8085e7ebad6e46dfb60459b10f3a99f WHIRLPOOL caa1456060f97ac54975f5cb8ed556a527c2644bcd04687357dce150f79dd1391d5bf0e8280e214742c6382d5fa481b3ce8045a9212deac2f26e0cb3b1b3864d
+DIST spacefm-1.0.4.tar.gz 3487476 SHA256 b08df31894f48c43e38ce3f3d32acf0bec67c38164d20f7765a7e4af9e3af7a2 SHA512 bbb3d3048c62b0223799468e24abd8614a75d9118ad9d8493e7118882072fb3401f086239dc05a4a742b39b40520771de5bc9fe6735a2c5853ffb5aa961e6112 WHIRLPOOL 9a7af8a52c822b1024a0fbe45556b7c1c53995c827315d6b2fad6e506720abc93fa1e200428d39cf4788bed7f1e635dc883d37711583157be31b12796167d379
+DIST spacefm-1.0.5.tar.gz 3491483 SHA256 d3f14fd1b1cfb51df98ebc341ab78ce741ba443ae2ce9e1662de39d01a95e0f3 SHA512 f32a59eac773df1bd9d36ba26cf7397bd205a2a8918e01f978c42ffb6aa2238a6f4dc871503a43f130c3b10d80f43364f54965d441f602ac895d0483fc073498 WHIRLPOOL 2e6f9a742032d04e863a7801b8707ada523be009d3c7abe8d54390af822653bab923783926082af28ad6a546f86035f50ec44a490e170186f395d6e5395b48bb
+EBUILD spacefm-1.0.4-r1.ebuild 2553 SHA256 0bc1307446f382c742ff60ab01eaf409a14818ac0300045b3b3b3e1dbb8108ee SHA512 385140f2087c8b559d4588779e19c83b78f13f6962dfeeffefacf7a4983fdf5325c89f9ece641b3de29903e2a23246ed34b405dd58afb20416935f4bcf61f80e WHIRLPOOL fe6e9c8ff40bc11dbfde875e504402353a6ebf1c91775bdbd947a43af02c09ab92265bf98dd075a8527e74b9a224e1b970ca45f5ebe85c6247c41f10bc301b7c
+EBUILD spacefm-1.0.4.ebuild 2456 SHA256 9d19fe72923f37c0380209e9fd4038f434df00546ae2ae140f8c520f92c0b907 SHA512 b6466744c58725327cfb47e317d809851bb5fa34e82eb9fe7ec472a7f9a9084f68f612f85e5a0dab2e60c3f7837692416c4728d36234cb7976ece256286fd27a WHIRLPOOL 414a428e5fddc13eae345db293c9c0f41b49c2803ec999e7e90f749fed149166772fc1d2a8d1e4f4635498ea215b3dfe3b77f835520755cbf836fe3653a63f97
+EBUILD spacefm-1.0.5-r2.ebuild 2522 SHA256 0b0f2158f21721902f54964944def1fd1d703ee8ec7a2f705aa8653265d70e76 SHA512 d4cc71c6161a36654e8a9b050a9e76ef76bcd36f0b50f65d1d46f5de28db791dd326d24d406eb2b3f3b4a371d681e3d74e1c5663d57791c93c47cd5ee591a592 WHIRLPOOL aee7ae9da6a6ea0f1c8bbd2faac51fd1292bddfb5e32ff02df7f283c4ff826495508c5b658b7cd01eedd313a21ece1df565046ac872e5d81d1291175cffc44c4
+EBUILD spacefm-9999.ebuild 2454 SHA256 d8707fda6eb5abca7a8d1ff199031ab02b5b4de3765c5d39e8f1ec997ad58b17 SHA512 5da5de98185ba9fc9e6eb74ae37c56c6442b5a25483de205563b285dd36c2c6b3dd6407b891a95d6b4d348883522f4936880c5bed7327845a887e864c25f58ae WHIRLPOOL f0976183c353597cb7382bc14cb27d0643b0df2d40f089ce36e4fa160e8db8bda4d4ba748a98e57fda91c83413e9fc71544936b1adeef57df1539df7b8217098
+MISC ChangeLog 6045 SHA256 8e382b4c37adbf64c5236976eb8b2125d7d05967234c260a53edfaf6c15b9d34 SHA512 d0fc381c23e24a75c4ba2716076ab5e4ce14e2b08234f6f03f4a22201853a9ff4506aff76ce9b1c8d445a188242f4beeb01e020535699014aae4f8f829051ddb WHIRLPOOL 7afe2d30750ce3bb24b575bcaef62263d5b7686caedce148eff1dba6cf75a104aeaee2ab4fcc55ce07e945c9f1467d0805ad6cd84a530f3321b55c51d374db15
+MISC ChangeLog-2015 9726 SHA256 9f05182b7c81401f85517ca6597d30c6395f802b0b84b5b0a0cd3d15926409f8 SHA512 09ab3ca86008fd9c949f78292ab5b9e0f32ed90a4c0bde9b4288b31dd2a148d6c8a4f176e132bd8ea6b285f2428e0278245abd17679c8571060a4558ef9fcca6 WHIRLPOOL 4fcf8d5b8119821ffc9ef265d35ee6fa474e3a07ad66bd08777b0137468ac0ea4aff223709423e4f6a1dc22afa8a8b7646734986d5dad98e397d17cfd2764563
+MISC metadata.xml 1279 SHA256 68cf1034f5b9395fe38fc3c2b83c2555a32d9e04418252fa88ca636816f478da SHA512 7b74021bb9f1876846c030892524b1c18a203142d11ed8da97821656cc8b37dd95cba0f1e220eac6e1ef6a36222a8cf2798dd2682de18b0261b49c9634045c9a WHIRLPOOL b306a74266eff741e1a78caabd99558f5b0bdd5d1848f6a8ca5f55d31c3035f3e7da008be173e27bc89b556e054872b6e47fc7064784083ef6840cc0373793be
diff --git a/x11-misc/spacefm/files/spacefm-include-sysmacros.patch b/x11-misc/spacefm/files/spacefm-include-sysmacros.patch
new file mode 100644
index 000000000000..28bbfc7c4057
--- /dev/null
+++ b/x11-misc/spacefm/files/spacefm-include-sysmacros.patch
@@ -0,0 +1,21 @@
+--- a/src/vfs/vfs-volume-nohal.c
++++ b/src/vfs/vfs-volume-nohal.c
+@@ -36,6 +36,7 @@
+
+ #include <signal.h> // kill
+ #include <linux/kdev_t.h> // MAJOR MINOR
++#include <sys/sysmacros.h> // needed for dev_t
+
+ #ifdef HAVE_STATVFS
+ #include <sys/statvfs.h>
+--- a/src/main.c
++++ b/src/main.c
+@@ -30,6 +30,8 @@
+
+ #include <locale.h>
+
++#include <sys/sysmacros.h> /* for major/minor, dev_t */
++
+ #include "main-window.h"
+
+ #include "vfs-file-info.h"
diff --git a/x11-misc/spacefm/metadata.xml b/x11-misc/spacefm/metadata.xml
new file mode 100644
index 000000000000..21d53fa354ba
--- /dev/null
+++ b/x11-misc/spacefm/metadata.xml
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>zlg@gentoo.org</email>
+ <name>Daniel Campbell</name>
+ </maintainer>
+ <upstream>
+ <maintainer status="active">
+ <email>ignorantguru@users.sourceforge.net</email>
+ <name>IgnorantGuru</name>
+ </maintainer>
+ <changelog>https://ignorantguru.github.com/spacefm/news.html</changelog>
+ <doc lang="en">https://github.com/IgnorantGuru/spacefm/wiki/</doc>
+ <bugs-to>https://github.com/IgnorantGuru/spacefm/issues</bugs-to>
+ <remote-id type="sourceforge">spacefm</remote-id>
+ <remote-id type="github">ignorantguru/spacefm</remote-id>
+ </upstream>
+ <use>
+ <flag name="gtk2">Support GTK+ 2.x instead of GTK+ 3.x</flag>
+ <flag name="gtk3">Support GTK+ 3.x instead of GTK+ 2.x</flag>
+ <flag name="video-thumbnails">Support video thumbnails with <pkg>media-video/ffmpegthumbnailer</pkg></flag>
+ </use>
+ <longdescription lang="en">
+ SpaceFM is a file manager with built-in VFS, optional udisks-based device
+ manager, customizable menu system, and bash integration. SpaceFM is a fork
+ of legacy PCManFM. Earlier versions of this program were released under
+ the name PCManFM-Mod.
+ </longdescription>
+</pkgmetadata>
diff --git a/x11-misc/spacefm/spacefm-1.0.4-r1.ebuild b/x11-misc/spacefm/spacefm-1.0.4-r1.ebuild
new file mode 100644
index 000000000000..cbea0f7944a5
--- /dev/null
+++ b/x11-misc/spacefm/spacefm-1.0.4-r1.ebuild
@@ -0,0 +1,90 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit fdo-mime gnome2-utils linux-info
+
+DESCRIPTION="A multi-panel tabbed file manager"
+HOMEPAGE="https://ignorantguru.github.com/spacefm/"
+SRC_URI="https://github.com/ignorantguru/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2 LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="gtk2 +gtk3 +startup-notification +video-thumbnails"
+REQUIRED_USE="gtk2? ( !gtk3 )"
+
+RDEPEND="dev-libs/glib:2
+ dev-util/desktop-file-utils
+ >=virtual/udev-143
+ virtual/freedesktop-icon-theme
+ x11-libs/cairo
+ x11-libs/gdk-pixbuf
+ gtk2? ( gtk3? ( x11-libs/gtk+:3 ) !gtk3? ( x11-libs/gtk+:2 ) )
+ !gtk2? ( x11-libs/gtk+:3 )
+ x11-libs/pango
+ x11-libs/libX11
+ x11-misc/shared-mime-info
+ video-thumbnails? ( media-video/ffmpegthumbnailer )
+ startup-notification? ( x11-libs/startup-notification )"
+DEPEND="${RDEPEND}
+ dev-util/intltool
+ virtual/pkgconfig
+ sys-devel/gettext"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-include-sysmacros.patch
+)
+
+src_configure() {
+ econf \
+ --htmldir=/usr/share/doc/${PF}/html \
+ $(use_enable startup-notification) \
+ $(use_enable video-thumbnails) \
+ --disable-hal \
+ --enable-inotify \
+ --disable-pixmaps \
+ $(use_with gtk3 gtk3 "yes")
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ fdo-mime_desktop_database_update
+ fdo-mime_mime_database_update
+ gnome2_icon_cache_update
+
+ einfo
+ elog "To mount as non-root user you need one of the following:"
+ elog " sys-apps/udevil (recommended, see below)"
+ elog " sys-apps/pmount"
+ elog " sys-fs/udisks:0"
+ elog " sys-fs/udisks:2"
+ elog "To support ftp/nfs/smb/ssh URLs in the path bar you need:"
+ elog " sys-apps/udevil"
+ elog "To perform as root functionality you need one of the following:"
+ elog " x11-misc/ktsuss"
+ elog " kde-plasma/kde-cli-tools[kdesu]"
+ elog "Other optional dependencies:"
+ elog " sys-apps/dbus"
+ elog " sys-process/lsof (device processes)"
+ elog " virtual/eject (eject media)"
+ einfo
+ if ! has_version 'sys-fs/udisks' ; then
+ elog "When using SpaceFM without udisks, and without the udisks-daemon running,"
+ elog "you may need to enable kernel polling for device media changes to be detected."
+ elog "See /usr/share/doc/${PF}/html/spacefm-manual-en.html#devices-kernpoll"
+ has_version '<virtual/udev-173' && ewarn "You need at least udev-173"
+ kernel_is lt 2 6 38 && ewarn "You need at least kernel 2.6.38"
+ einfo
+ fi
+}
+
+pkg_postrm() {
+ fdo-mime_desktop_database_update
+ fdo-mime_mime_database_update
+ gnome2_icon_cache_update
+}
diff --git a/x11-misc/spacefm/spacefm-1.0.4.ebuild b/x11-misc/spacefm/spacefm-1.0.4.ebuild
new file mode 100644
index 000000000000..a737494cf829
--- /dev/null
+++ b/x11-misc/spacefm/spacefm-1.0.4.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit fdo-mime gnome2-utils linux-info
+
+DESCRIPTION="A multi-panel tabbed file manager"
+HOMEPAGE="https://ignorantguru.github.com/spacefm/"
+SRC_URI="https://github.com/ignorantguru/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2 LGPL-2.1"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="gtk2 +gtk3 +startup-notification +video-thumbnails"
+REQUIRED_USE="gtk2? ( !gtk3 )"
+
+RDEPEND="dev-libs/glib:2
+ dev-util/desktop-file-utils
+ >=virtual/udev-143
+ virtual/freedesktop-icon-theme
+ x11-libs/cairo
+ x11-libs/gdk-pixbuf
+ gtk2? ( x11-libs/gtk+:2 )
+ !gtk2? ( x11-libs/gtk+:3 )
+ x11-libs/pango
+ x11-libs/libX11
+ x11-misc/shared-mime-info
+ video-thumbnails? ( media-video/ffmpegthumbnailer )
+ startup-notification? ( x11-libs/startup-notification )"
+DEPEND="${RDEPEND}
+ dev-util/intltool
+ virtual/pkgconfig
+ sys-devel/gettext"
+
+src_configure() {
+ econf \
+ --htmldir=/usr/share/doc/${PF}/html \
+ $(use_enable startup-notification) \
+ $(use_enable video-thumbnails) \
+ --disable-hal \
+ --enable-inotify \
+ --disable-pixmaps \
+ $(use_with gtk3 gtk3 "yes")
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ fdo-mime_desktop_database_update
+ fdo-mime_mime_database_update
+ gnome2_icon_cache_update
+
+ einfo
+ elog "To mount as non-root user you need one of the following:"
+ elog " sys-apps/udevil (recommended, see below)"
+ elog " sys-apps/pmount"
+ elog " sys-fs/udisks:0"
+ elog " sys-fs/udisks:2"
+ elog "To support ftp/nfs/smb/ssh URLs in the path bar you need:"
+ elog " sys-apps/udevil"
+ elog "To perform as root functionality you need one of the following:"
+ elog " x11-misc/ktsuss"
+ elog " kde-plasma/kde-cli-tools[kdesu]"
+ elog "Other optional dependencies:"
+ elog " sys-apps/dbus"
+ elog " sys-process/lsof (device processes)"
+ elog " virtual/eject (eject media)"
+ einfo
+ if ! has_version 'sys-fs/udisks' ; then
+ elog "When using SpaceFM without udisks, and without the udisks-daemon running,"
+ elog "you may need to enable kernel polling for device media changes to be detected."
+ elog "See /usr/share/doc/${PF}/html/spacefm-manual-en.html#devices-kernpoll"
+ has_version '<virtual/udev-173' && ewarn "You need at least udev-173"
+ kernel_is lt 2 6 38 && ewarn "You need at least kernel 2.6.38"
+ einfo
+ fi
+}
+
+pkg_postrm() {
+ fdo-mime_desktop_database_update
+ fdo-mime_mime_database_update
+ gnome2_icon_cache_update
+}
diff --git a/x11-misc/spacefm/spacefm-1.0.5-r2.ebuild b/x11-misc/spacefm/spacefm-1.0.5-r2.ebuild
new file mode 100644
index 000000000000..0c56ab420c40
--- /dev/null
+++ b/x11-misc/spacefm/spacefm-1.0.5-r2.ebuild
@@ -0,0 +1,89 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit fdo-mime gnome2-utils linux-info
+
+DESCRIPTION="A multi-panel tabbed file manager"
+HOMEPAGE="https://ignorantguru.github.com/spacefm/"
+SRC_URI="https://github.com/ignorantguru/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2 LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="gtk2 +gtk3 +startup-notification +video-thumbnails"
+
+RDEPEND="dev-libs/glib:2
+ dev-util/desktop-file-utils
+ >=virtual/udev-143
+ virtual/freedesktop-icon-theme
+ x11-libs/cairo
+ x11-libs/gdk-pixbuf
+ gtk2? ( gtk3? ( x11-libs/gtk+:3 ) !gtk3? ( x11-libs/gtk+:2 ) )
+ !gtk2? ( x11-libs/gtk+:3 )
+ x11-libs/pango
+ x11-libs/libX11
+ x11-misc/shared-mime-info
+ video-thumbnails? ( media-video/ffmpegthumbnailer )
+ startup-notification? ( x11-libs/startup-notification )"
+DEPEND="${RDEPEND}
+ dev-util/intltool
+ virtual/pkgconfig
+ sys-devel/gettext"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-include-sysmacros.patch
+)
+
+src_configure() {
+ econf \
+ --htmldir=/usr/share/doc/${PF}/html \
+ $(use_enable startup-notification) \
+ $(use_enable video-thumbnails) \
+ --disable-hal \
+ --enable-inotify \
+ --disable-pixmaps \
+ $(use_with gtk3 gtk3 "yes")
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ fdo-mime_desktop_database_update
+ fdo-mime_mime_database_update
+ gnome2_icon_cache_update
+
+ einfo
+ elog "To mount as non-root user you need one of the following:"
+ elog " sys-apps/udevil (recommended, see below)"
+ elog " sys-apps/pmount"
+ elog " sys-fs/udisks:0"
+ elog " sys-fs/udisks:2"
+ elog "To support ftp/nfs/smb/ssh URLs in the path bar you need:"
+ elog " sys-apps/udevil"
+ elog "To perform as root functionality you need one of the following:"
+ elog " x11-misc/ktsuss"
+ elog " kde-plasma/kde-cli-tools[kdesu]"
+ elog "Other optional dependencies:"
+ elog " sys-apps/dbus"
+ elog " sys-process/lsof (device processes)"
+ elog " virtual/eject (eject media)"
+ einfo
+ if ! has_version 'sys-fs/udisks' ; then
+ elog "When using SpaceFM without udisks, and without the udisks-daemon running,"
+ elog "you may need to enable kernel polling for device media changes to be detected."
+ elog "See /usr/share/doc/${PF}/html/spacefm-manual-en.html#devices-kernpoll"
+ has_version '<virtual/udev-173' && ewarn "You need at least udev-173"
+ kernel_is lt 2 6 38 && ewarn "You need at least kernel 2.6.38"
+ einfo
+ fi
+}
+
+pkg_postrm() {
+ fdo-mime_desktop_database_update
+ fdo-mime_mime_database_update
+ gnome2_icon_cache_update
+}
diff --git a/x11-misc/spacefm/spacefm-9999.ebuild b/x11-misc/spacefm/spacefm-9999.ebuild
new file mode 100644
index 000000000000..25aedc589950
--- /dev/null
+++ b/x11-misc/spacefm/spacefm-9999.ebuild
@@ -0,0 +1,87 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+EGIT_REPO_URI="https://github.com/IgnorantGuru/${PN}.git"
+EGIT_BRANCH="next"
+
+inherit fdo-mime git-r3 gnome2-utils linux-info
+
+DESCRIPTION="A multi-panel tabbed file manager"
+HOMEPAGE="https://ignorantguru.github.com/spacefm/"
+
+LICENSE="GPL-2 LGPL-2.1"
+SLOT="0"
+KEYWORDS=""
+IUSE="gtk2 +gtk3 +startup-notification +video-thumbnails"
+
+RDEPEND="dev-libs/glib:2
+ dev-util/desktop-file-utils
+ >=virtual/udev-143
+ virtual/freedesktop-icon-theme
+ x11-libs/cairo
+ x11-libs/gdk-pixbuf
+ gtk2? ( gtk3? ( x11-libs/gtk+:3 ) !gtk3? ( x11-libs/gtk+:2 ) )
+ !gtk2? ( x11-libs/gtk+:3 )
+ x11-libs/pango
+ x11-libs/libX11
+ x11-misc/shared-mime-info
+ video-thumbnails? ( media-video/ffmpegthumbnailer )
+ startup-notification? ( x11-libs/startup-notification )"
+DEPEND="${RDEPEND}
+ dev-util/intltool
+ virtual/pkgconfig
+ sys-devel/gettext"
+
+src_configure() {
+ econf \
+ --htmldir=/usr/share/doc/${PF}/html \
+ $(use_enable startup-notification) \
+ $(use_enable video-thumbnails) \
+ --disable-hal \
+ --enable-inotify \
+ --disable-pixmaps \
+ $(use_with gtk3 gtk3 "yes")
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ fdo-mime_desktop_database_update
+ fdo-mime_mime_database_update
+ gnome2_icon_cache_update
+
+ einfo
+ elog "To mount as non-root user you need one of the following:"
+ elog " sys-apps/udevil (recommended, see below)"
+ elog " sys-apps/pmount"
+ elog " sys-fs/udisks:0"
+ elog " sys-fs/udisks:2"
+ elog "To support ftp/nfs/smb/ssh URLs in the path bar you need:"
+ elog " sys-apps/udevil"
+ elog "To perform as root functionality you need one of the following:"
+ elog " x11-misc/ktsuss"
+ elog " kde-plasma/kde-cli-tools[kdesu]"
+ elog "Other optional dependencies:"
+ elog " sys-apps/dbus"
+ elog " sys-process/lsof (device processes)"
+ elog " virtual/eject (eject media)"
+ einfo
+ if ! has_version 'sys-fs/udisks' ; then
+ elog "When using SpaceFM without udisks, and without the udisks-daemon running,"
+ elog "you may need to enable kernel polling for device media changes to be detected."
+ elog "See /usr/share/doc/${PF}/html/spacefm-manual-en.html#devices-kernpoll"
+ has_version '<virtual/udev-173' && ewarn "You need at least udev-173"
+ kernel_is lt 2 6 38 && ewarn "You need at least kernel 2.6.38"
+ einfo
+ fi
+}
+
+pkg_postrm() {
+ fdo-mime_desktop_database_update
+ fdo-mime_mime_database_update
+ gnome2_icon_cache_update
+}
diff --git a/x11-misc/spnavcfg/Manifest b/x11-misc/spnavcfg/Manifest
new file mode 100644
index 000000000000..b8aa7f013ac5
--- /dev/null
+++ b/x11-misc/spnavcfg/Manifest
@@ -0,0 +1,6 @@
+AUX spnavcfg-0.3-custom-flags.patch 1568 SHA256 8972b8761589fa87366a9c5c32591964d5e621b60294bea6cfc09fe05a9e899b SHA512 eaa831d7ef10227bf35b26f5ba32f793b382f6af7b14a147084ac93f4669e8018655cc1df711ed4ae5d0c560b34ea59abb1c1998c4fdb37a362f8130fed80632 WHIRLPOOL 4ddcea782b6d75f2121effcb6338fe2b8f0e7cf093a8745d63d1633186a89d0314ec333890640f14bcab99e50cacafc4871f900ce4db4451d16812e6b3ba508d
+DIST spnavcfg-0.3.tar.gz 214774 SHA256 4c950b8d4ebd4243c0bf08b6c5922f81b8cf73ec6bb7b20acb390610cdea4bd7 SHA512 a3411c32a6c7de2fd1cfa7960e1b0dade88e8c37435a39ded864b4b6f12fd3c8f518dad7a4ac5b465517484e74b3586f12d47e780f655fd7e4c3fea8d6186c80 WHIRLPOOL 13f677743dd2eed35f57ca178d8b1a9d3382ab1eb586d99b6ff33be0f080e88d80eabd91065db7c48d0ba7bff40eaf8c7d2d0fdc52f85256adb84cc6b4ef6b83
+EBUILD spnavcfg-0.3.ebuild 627 SHA256 032a42235fe1bc6eb0dead16c955772da9ec7d735e0d774174d55aee5370e87f SHA512 93b0d494262e59bf5d4c22e973ebfb3e74860f928a8aba0eaa46961323be5bf7f1278af8e6ef9262039b03581e198ea6a037af4c5bc11ec382d02c1d83112630 WHIRLPOOL 8725a6f5e1998a2a17a8fcb0c53119e3ee8d4f3e4d34a84bfa2584489fa5c0998f620ef709cc8a33f2423ee3aa74592de3d630b44924699397ef48187a1122e0
+MISC ChangeLog 2689 SHA256 fba58ae5e397e4be981947ed993763f7e793b25827efe28ff4e4a3154617fcab SHA512 0b45aae551ae877171e02cc1db5b1d4c2c8347fa30d24a92bd8e81f87c235f20cdf2af50f574e51c8550337740659d6e7678f987099092da5f30488981d80a57 WHIRLPOOL 934c594003d6b5590b22b8a4af39a8929515ab9c8f16745db1bfb584bbaf1d8f81d861a148726da08f34679d484e0496e30e008562771d1694d639c57ec421f8
+MISC ChangeLog-2015 835 SHA256 46cbdff09f848412a3256345be5838997a94076e669f51dee3650aea9bf7d224 SHA512 41bf40bf1e76f075506bf0d577eb7ab30ef2c2ad0218413ef5a3cc9135ae87c7f813a1499659ad2e8f82689120145441ea04f4934bc6459752018141481462bc WHIRLPOOL 44576821d4edf750373dc25f9397cfae140f011d0832291f138ef61ffb3186292e990810842f5fc4224d0d817294d40eeead5a5d928a17e990d49e50922250d0
+MISC metadata.xml 693 SHA256 13d29c469a8ef587a731eecc0120dea37d32b49bd9355984bf33800eb01dcb84 SHA512 fe3071295032bceaf2df17c955b234063246f37a59a25b5e630c21f1443d16d3bf4fe7979fdf4d01df88ff7194bd6258fae78b5e4ba582f396ff3d8007ccf7f5 WHIRLPOOL 0ab4f871b78d64ec7ed8af06e7f006c276fa8e4718738a7422446f7acaa51d9c5c465e07bfeb394b89bc6f9986dd834cef3ad9ff4d8ad9922401cd3fcdf84dec
diff --git a/x11-misc/spnavcfg/files/spnavcfg-0.3-custom-flags.patch b/x11-misc/spnavcfg/files/spnavcfg-0.3-custom-flags.patch
new file mode 100644
index 000000000000..d0ef0db6e711
--- /dev/null
+++ b/x11-misc/spnavcfg/files/spnavcfg-0.3-custom-flags.patch
@@ -0,0 +1,60 @@
+From e994e67a6a5c4722bdc8140528a4dd258c785402 Mon Sep 17 00:00:00 2001
+From: Sebastian Pipping <sebastian@pipping.org>
+Date: Wed, 18 Jan 2017 18:45:11 +0100
+Subject: [PATCH] Respect custom CFLAGS/LDFLAGS
+
+Based on spnavcfg-0.2.1-custom-flags.patch
+---
+ Makefile.in | 4 ++--
+ configure | 13 +++++++++++++
+ 2 files changed, 15 insertions(+), 2 deletions(-)
+
+diff --git a/Makefile.in b/Makefile.in
+index 06f23a6..296dd5d 100644
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -7,8 +7,8 @@ warn = -Wall
+ CC = gcc
+ SED = sed
+ INSTALL = install
+-CFLAGS = -pedantic $(warn) $(dbg) $(opt) `pkg-config --cflags gtk+-2.0 gmodule-export-2.0`
+-LDFLAGS = `pkg-config --libs gtk+-2.0 gmodule-export-2.0` -lX11
++CFLAGS = $(user_cflags) `pkg-config --cflags gtk+-2.0 gmodule-export-2.0`
++LDFLAGS = $(user_ldflags) `pkg-config --libs gtk+-2.0 gmodule-export-2.0` -lX11
+
+ $(bin): $(obj)
+ $(CC) -o $@ $(obj) $(LDFLAGS)
+diff --git a/configure b/configure
+index e211d92..0fed776 100755
+--- a/configure
++++ b/configure
+@@ -43,6 +43,12 @@ done
+ echo " prefix: $PREFIX"
+ echo " optimize for speed: $OPT"
+ echo " include debugging symbols: $DBG"
++if [ -n "$CFLAGS" ]; then
++ echo " cflags: $CFLAGS"
++fi
++if [ -n "$LDFLAGS" ]; then
++ echo " ldflags: $LDFLAGS"
++fi
+ echo
+
+ # create Makefile
+@@ -58,6 +64,13 @@ if [ "$OPT" = 'yes' ]; then
+ echo 'opt = -O3' >>Makefile
+ fi
+
++if [ -n "$CFLAGS" ]; then
++ echo "user_cflags = $CFLAGS" >>Makefile
++fi
++if [ -n "$LDFLAGS" ]; then
++ echo "user_ldflags = $LDFLAGS" >>Makefile
++fi
++
+ cat "$srcdir/Makefile.in" >>Makefile
+
+ echo ''
+--
+2.11.0
+
diff --git a/x11-misc/spnavcfg/metadata.xml b/x11-misc/spnavcfg/metadata.xml
new file mode 100644
index 000000000000..d8bdf8ef87b4
--- /dev/null
+++ b/x11-misc/spnavcfg/metadata.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>anthoine.bourgeois@gmail.com</email>
+ <name>Anthoine Bourgeois</name>
+ </maintainer>
+ <maintainer type="person">
+ <email>sping@gentoo.org</email>
+ <name>Sebastian Pipping</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <longdescription>
+ The spnavcfg is the GTK-based configuration GUI for
+ <pkg>app-misc/spacenavd</pkg>.
+ </longdescription>
+ <upstream>
+ <remote-id type="sourceforge">spacenav</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/spnavcfg/spnavcfg-0.3.ebuild b/x11-misc/spnavcfg/spnavcfg-0.3.ebuild
new file mode 100644
index 000000000000..b6cb667f0d7d
--- /dev/null
+++ b/x11-misc/spnavcfg/spnavcfg-0.3.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit toolchain-funcs
+
+DESCRIPTION="GTK-based GUI to configure a space navigator device"
+HOMEPAGE="http://spacenav.sourceforge.net/"
+SRC_URI="mirror://sourceforge/project/spacenav/spacenavd%20config%20gui/${PN}%20${PV}/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+COMMON_DEPEND="x11-libs/gtk+:2"
+DEPEND="${COMMON_DEPEND}
+ virtual/pkgconfig"
+RDEPEND="${COMMON_DEPEND}
+ app-misc/spacenavd[X]"
+
+PATCHES=( "${FILESDIR}"/${P}-custom-flags.patch )
+
+src_compile() {
+ emake CC=$(tc-getCC)
+}
diff --git a/x11-misc/sprop/Manifest b/x11-misc/sprop/Manifest
new file mode 100644
index 000000000000..73989d386653
--- /dev/null
+++ b/x11-misc/sprop/Manifest
@@ -0,0 +1,5 @@
+DIST sprop-0.1.tar.gz 2750 SHA256 c1b786d9fbd81a57addd7e21a34c5a121543cbf9f38fe309e7b452ba94b69ab5 SHA512 74f918b2bbf627e269a674cabd8c4c26192ba67a7240061c0f0f6ddc8e86c32aff83352f2b2f4a2c6b2fcf7245cb1293ae98a2e7bd6189d632e20aa603764ddb WHIRLPOOL 4fae18dcaae26acd5ab3c93f752ab011419d1101f5ad8b1c777749e59028988ec7b4606779a8b314acdeed1d8c4496ba5f722f477eed2c8ee08e1b42c49e9fe2
+EBUILD sprop-0.1-r1.ebuild 744 SHA256 c6a982289d54aafd5ad0b1f0551155c311e02bf97c6c2268577ddd55a22b1da7 SHA512 eb310475899f814cafd69dc2b3324e75b01c607fa9ee88bcec53661591d812becc179ab54cc60aba95c25194e94a9531b8ed62c74f4595f68696bfb40d5bdbcc WHIRLPOOL 3c32d8c00b64d48751bd86a9cc33f75b6de428be53bbfe759466c55eeb8e99b40957621f79584b04e1e7f4b410f4663e92fac816a1b93dd639b4c95273db44ce
+MISC ChangeLog 2679 SHA256 6fc9b5ce3a0c19cd28056d6020135d76c2ac8fe43909a5b59299ccd66149c2ac SHA512 f7cb01c206aac073da3c25e7baa492ef5fcca089775b5a7866636a4b24ef18f801c3ff80cc08fa860596d933788a1524d1c203ef83cf2ef32397562ab974e90f WHIRLPOOL a1f4500fd2818dc4ed0723a7a9dee4df39a4f7d541a087b564b7274bae087ae6ed932661c4ab64b32f236a4dcd6f4f6fc33a25a07e4b65649fe79f9c4f2b0d8e
+MISC ChangeLog-2015 524 SHA256 db2698f0d52e7d313083c2e50c0c01f7c24bf9842fc11077174184f29dea474d SHA512 1ccea565bfd0617f2176190948790ae8cb29dd71ec07334a20fe6d618bdab74b01c13b3f4098cf5c28487c7acaddd88ddb740a11690802b116606fa7e34d7e11 WHIRLPOOL 48785c3a7c08bdd6509db87740a093efc2aab0e8560c757ab7a3e17ba40e1345792808fcd132f0a0ed8300aab8022dd21ac5a7db0783a6ca496dd10ff790204f
+MISC metadata.xml 238 SHA256 bae0588f6a20ccebb0e76d3ad782fcb2adfd1ea5b9fc1433851379423a103b72 SHA512 b0b981ef72f4d295f427f92dc9931553b4fb7a91c8ed63fa1f28bdbe8bc61d6f0943e1217eb7b61b8d85d9685cbe759db49f094a18a1461cb48429affe76d993 WHIRLPOOL ad8bdcb129ac41a2941e41186ec94e845858818fe21b95b69adc902ddbe0eb4c4bcce8f00d5f167981852184df07e355866a07f50dcdc8f7cd7edf20ed95ecee
diff --git a/x11-misc/sprop/metadata.xml b/x11-misc/sprop/metadata.xml
new file mode 100644
index 000000000000..a8fb43312942
--- /dev/null
+++ b/x11-misc/sprop/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person">
+<email>jer@gentoo.org</email>
+<name>Jeroen Roovers</name>
+</maintainer>
+</pkgmetadata>
diff --git a/x11-misc/sprop/sprop-0.1-r1.ebuild b/x11-misc/sprop/sprop-0.1-r1.ebuild
new file mode 100644
index 000000000000..7c0084b7b4e9
--- /dev/null
+++ b/x11-misc/sprop/sprop-0.1-r1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit toolchain-funcs
+
+DESCRIPTION="a simple X property utility"
+HOMEPAGE="https://tools.suckless.org/x/sprop"
+SRC_URI="https://dl.suckless.org/tools/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ x11-libs/libX11
+"
+DEPEND="
+ ${RDEPEND}
+ x11-proto/xproto
+"
+src_prepare() {
+ sed -i \
+ -e '/^CC/d' \
+ -e '/^CFLAGS/s| =| +=|;s| -Os||g' \
+ -e '/^LDFLAGS/s|= -s|+=|g' \
+ config.mk || die
+
+ sed -i \
+ -e 's|@${CC}|$(CC)|g' \
+ Makefile || die
+
+ sed -i \
+ -e "s|VERSION|${PV}|g" \
+ ${PN}.1 || die
+
+ default
+
+ tc-export CC
+}
+
+src_compile() { emake sprop; }
+
+src_install() {
+ dobin ${PN}
+ doman ${PN}.1
+}
diff --git a/x11-misc/sselp/Manifest b/x11-misc/sselp/Manifest
new file mode 100644
index 000000000000..e7e7e77f0d8b
--- /dev/null
+++ b/x11-misc/sselp/Manifest
@@ -0,0 +1,6 @@
+DIST sselp-0.2.tar.gz 2562 SHA256 cd0f95ec0eb571a6dd3c48ba3aa931080eb33bc81805bd72832cc04c01b8b822 SHA512 f53163bd6bf257ef912d23dd813690a6a8700344bcc3caad73556917f12e76364b6ebc9bd11224fe8f4013d83518459440f113a313fc9721de2a124277270044 WHIRLPOOL f9ab90f765633106397cf62cb38da780b1fa25379e1722772e46d2eed0614bbfcf778f60e1c5e1a97049033898e41e35e1fecd48195ad510aeedf2031e7bdaf5
+EBUILD sselp-0.2-r1.ebuild 705 SHA256 19c933424e797b6190ce9579329dee8a6196b8da356cd957eccdabc252af3081 SHA512 c37002e20983f739883e926f2eebc640205116f6a58e57efafa34b03bd2589f9de125be9c733a43b0d0458aa8c5ca2711ae2e06d7950da378970dcb5fc748e74 WHIRLPOOL 0358119fa5fc9499cb847dedf4b725395752d3fd264849f9a10f530cc70f5ebee4680c3cef5ee31581780c28b8613501903b34c2cb6d23a88629a23dd25147cf
+EBUILD sselp-9999.ebuild 681 SHA256 38d545a093c9e5da28b71d2a8bed3163ddcbd5639a3839a2520e411168554386 SHA512 7b9c9e64b24bfa1fd1cd55a53d24c785c365f50c56e517c2b2e788baed42fb3ff2f5cf771763035d23cbfdef630ead42a568280734b50c42da87b1fe377e5919 WHIRLPOOL 9d8d675fc0695c812a99c070ec66bccb19110c010239b482bd06dfbc2c927c754c1780f15ddc86d606e8a0b6c7cd380bfbe2f6f67373e3f24ae0fc4a5672e36b
+MISC ChangeLog 2997 SHA256 47648496bbd359b1ee17f574d923c0be9a8fd30f966cf9c967fc8eedd4b0b089 SHA512 db195b7eec0038518c6ed83bd9895970097cd637f091af0bf62cb49b1f21a3f7ce8011efdf87611bc4590c28cdb3a510a63f669f6bd65e96c0c5dc5e274c890a WHIRLPOOL 75ea70614c9227fd23cbcac3a93e4225ea53fb1f800b3298f8bfeca536da62b9381a35f3805cb1634d959762f5a2e82292a91304caf0bfce3e876305cae4bdf5
+MISC ChangeLog-2015 1393 SHA256 1ae637ff377db4e8a418ede6b325c9077f01da190e4554a033ade45afd36808d SHA512 47914b782115f42ae1ac742abf250e4722dd2aac0b0a24eb9a1db6f8cb6319922cc331aedbe3c58e19a4f8439221e8a43509c9853ce988abff54b65c74c71d8e WHIRLPOOL f9679ba40270a6cee8366969ae69f77acc97ede84de4ad78eefb52dc96b8ccefdcc27fa2f9c48e4be16041f7c9ecf4bacb71fd212d1483770d93b403dd5fded3
+MISC metadata.xml 369 SHA256 45dcb0828e3841d5a312f7a8c86cd2ee4cd58ca0e7b5bda7100a5077d2c060bf SHA512 9c2113536cbda45e66eb5697ac4c173ff301a7692c7f3bafead7e5bc7e30778535dbd9dc8ee494ced840a2f17e6b1674c95418772fbffda61eb11848ef368b9d WHIRLPOOL 8e3504de20944b25ed6755d9d78d32ee86ed50e16a5a89acf1444e88c264454832b2bab795fc42a6799dc9d5c958ed54b44c91219d31e9224938c6ab0901bb99
diff --git a/x11-misc/sselp/metadata.xml b/x11-misc/sselp/metadata.xml
new file mode 100644
index 000000000000..229dd61feac9
--- /dev/null
+++ b/x11-misc/sselp/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person">
+<email>jer@gentoo.org</email>
+<name>Jeroen Roovers</name>
+</maintainer>
+<maintainer type="project">
+<email>desktop-misc@gentoo.org</email>
+<name>Gentoo Desktop Miscellaneous Project</name>
+</maintainer>
+</pkgmetadata>
diff --git a/x11-misc/sselp/sselp-0.2-r1.ebuild b/x11-misc/sselp/sselp-0.2-r1.ebuild
new file mode 100644
index 000000000000..454a438e9bd2
--- /dev/null
+++ b/x11-misc/sselp/sselp-0.2-r1.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit toolchain-funcs
+
+DESCRIPTION="Simple X selection printer"
+HOMEPAGE="https://tools.suckless.org/x/sselp"
+SRC_URI="https://dl.suckless.org/tools/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="amd64 hppa ~ppc ~ppc64 x86"
+
+DEPEND="x11-libs/libX11"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ default
+ sed -i \
+ -e "s|^CFLAGS = -std=c99 -pedantic -Wall -Os|CFLAGS += -std=c99 -pedantic -Wall|" \
+ -e "s|^LDFLAGS = -s|LDFLAGS +=|" \
+ -e "s|^CC = cc|CC = $(tc-getCC)|" \
+ config.mk || die "sed failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" PREFIX="${EPREFIX}"/usr install
+ einstalldocs
+}
diff --git a/x11-misc/sselp/sselp-9999.ebuild b/x11-misc/sselp/sselp-9999.ebuild
new file mode 100644
index 000000000000..d44b336a1777
--- /dev/null
+++ b/x11-misc/sselp/sselp-9999.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit git-r3 toolchain-funcs
+
+DESCRIPTION="Simple X selection printer"
+HOMEPAGE="https://tools.suckless.org/x/sselp"
+EGIT_REPO_URI="https://git.suckless.org/sselp"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS=""
+
+DEPEND="x11-libs/libX11"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ default
+ sed -i \
+ -e "s|^CFLAGS = -std=c99 -pedantic -Wall -Os|CFLAGS += -std=c99 -pedantic -Wall|" \
+ -e "s|^LDFLAGS = -s|LDFLAGS +=|" \
+ -e "s|^CC = cc|CC = $(tc-getCC)|" \
+ config.mk || die "sed failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" PREFIX="${EPREFIX}"/usr install
+ einstalldocs
+}
diff --git a/x11-misc/stalonetray/Manifest b/x11-misc/stalonetray/Manifest
new file mode 100644
index 000000000000..7c08cd400d29
--- /dev/null
+++ b/x11-misc/stalonetray/Manifest
@@ -0,0 +1,5 @@
+DIST stalonetray-0.8.3.tar.bz2 155276 SHA256 36548a588b2d466913423245dda6ffb6313132cd0cec635a117d37b3dab5fd4c SHA512 b1c50d844b6497b586c1ad56b721675690ea305a4e3a2601ab5305af0e208c215825eefa8fa374ae0c392252156a8dffd5882992c943344f5b6a674fe6553942 WHIRLPOOL fc0e1a01b98bc4475b2137242a97c58d20113a23f7fb2fd97c94e6c52105080beeeadf6d8f5b1b0da99aa080a1de90e05db3155a7c7d051966b5c6ae8b06e397
+EBUILD stalonetray-0.8.3.ebuild 736 SHA256 cfee0dd65844f98091f18871cab8a237b8b093962fe5a407b22e7390377936f9 SHA512 300549373d5e5d5666f75147b58c519cc74bd042f78ee05293c08954abb31e6a7a054872554bb616ea90869b53ade3fa688dc727078e9a91c19b433dd27b11ac WHIRLPOOL edf87042fd391616d50cbdf1b4b9f0603b2bf1c509c99e43a1c6cfe36b523fefb31ef958a16fd5e42fca443dd92ac9dd80ec577b2b36d610311bd190b15b98ba
+MISC ChangeLog 2528 SHA256 2d9f0a8e0f121ff0a4469a59619c707c770e9d6cdab659cbe7d5c2cadfec9615 SHA512 21780ab74ec6104d2aa59cffad278459857a5d4db956c0bc6aef4e8ffd09b656990f2782b30896f61b024f06d58f292c4db00472ede28d4a8c82d6ef2ec09024 WHIRLPOOL f2862b7fd5f934dbe62769907744b5876a4135485ad27bf189da58e6ee805eadf8bcd28aa17af04409a1e38965f28c47cece1a366ec58a8d1ef2806c804f2b61
+MISC ChangeLog-2015 1963 SHA256 accb7ec861e033b2dc4c311bce4510946b2ec5697d35cff79bbc6de4d46d6733 SHA512 44a080926536ba622729f2cf70664b5a324daa46e6b61bd705b9dc666726d4ce9ed0593c22b5e09b3f4d021213bdd9d278496b32f239d536f9e46d558b049cf7 WHIRLPOOL faa86d7fa0a401bbf7c0d3be494ad54f9b0e805febbfc4c47b588fe5768eebe0d7c4d8608d99bf227043ce2a8a08fc65a31b1fea9f82ad55f08e7f62a27e65cd
+MISC metadata.xml 349 SHA256 b66edd8e6e952aa0390324c184e0017747394bc6115a1c7dc9fa67bb773da1e4 SHA512 7bab253de4f5d8b158baa40e02594ffea15297c6431f838aca05a05c6adbf310ea21f9b2629e014530b78fef89f848240beb701e61de770db704ad85ac0be4e9 WHIRLPOOL 0149f0816311d45fb5f9693a7470dc77f9b7820917f552ac195c7187ddc652eb266a763358fde5b64e206af2d035437be73b25454fb1e576c95cf8cedb9ea89f
diff --git a/x11-misc/stalonetray/metadata.xml b/x11-misc/stalonetray/metadata.xml
new file mode 100644
index 000000000000..5f630340ef1f
--- /dev/null
+++ b/x11-misc/stalonetray/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <use>
+ <flag name="graceful-exit">use non-portable hack to exit gracefuly on signal</flag>
+ </use>
+ <upstream>
+ <remote-id type="sourceforge">stalonetray</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/stalonetray/stalonetray-0.8.3.ebuild b/x11-misc/stalonetray/stalonetray-0.8.3.ebuild
new file mode 100644
index 000000000000..c415409cc447
--- /dev/null
+++ b/x11-misc/stalonetray/stalonetray-0.8.3.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+DESCRIPTION="System tray utility including support for KDE system tray icons"
+HOMEPAGE="http://stalonetray.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="debug +graceful-exit kde"
+
+RDEPEND="x11-libs/libX11
+ x11-libs/libICE
+ x11-libs/libSM
+ x11-libs/libXpm"
+DEPEND="${RDEPEND}
+ x11-proto/xproto"
+
+src_configure() {
+ econf $(use_enable debug) \
+ $(use_enable graceful-exit) \
+ $(use_enable kde native-kde)
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+
+ dodoc AUTHORS ChangeLog NEWS README stalonetrayrc.sample TODO
+ dohtml stalonetray.html
+}
diff --git a/x11-misc/sunflower/Manifest b/x11-misc/sunflower/Manifest
new file mode 100644
index 000000000000..0e145c215298
--- /dev/null
+++ b/x11-misc/sunflower/Manifest
@@ -0,0 +1,6 @@
+AUX sunflower 82 SHA256 ec4ccbe91715cffc2974056a5bb02aa11016821aede4074ec22e5d7ee8c31023 SHA512 5e9685e8e2d8933e9b3bb2f3dc92ad677f38b63766bdb407cef7373590ed8d0e73aebd1ed6e489b39c8b1477c50657df499a7b5e50c09df1e675448dcad7f62c WHIRLPOOL 1db306f95c84d3b23878aa93d205b484da1272d39c7ded5860aabb90d7ebbf3739a5c62e68aa87c713380287cfefbffe831353fd073152b91d58cc5b32157e9b
+DIST sunflower-0.2-59.tgz 790126 SHA256 f0497c18870487361780a776bf31235473c20ef66bc56a95c6048e00c399b525 SHA512 e97076eb1c57d52b8fd95501259acaaa9a429f9daacc30ef587cce2f3419433f5aa4554e0e86beeceda208b4be425b98c64c6ced04e36e86b2b4f803176c37f9 WHIRLPOOL 6126fda9675b9938e3a12620e48e22c6d23253890f47c5ab34a7322280d27d1d78e2e3745ccf55831094efb987835f9f0f159dbe109732da2c236096f485cfee
+EBUILD sunflower-0.2_alpha59.ebuild 2229 SHA256 87d1ef8a2333d7f241864e1f3107e658a1ba713f9d8dcd261e5baf1d1aa798d3 SHA512 7f9dd3d6cc75f6c4a24bf6a37079c10d5c1759a473a1f6dac861b9fc03d581aacc8210e9227f59417bd6fc2f1b5c817539329870f6f937b21d1adf75b2aa8ca7 WHIRLPOOL 8beec862866fe4dce2bc97e58977deed5a4bd9b5b9bc56fcca0ad132e5c5ce40dc5377af4edc93372085c8216b0bd602c3c29c2f81e1d6078df674e0bc179cd2
+MISC ChangeLog 2926 SHA256 982e97dd4f012f6a418d5171906113184d2f42fb4f0766d84a9afd699558f858 SHA512 b9c6ead943e8144745eaad76d2c71f4436ece53a550ff8774a0bf2ba2417d6379f63577af0c58f837c939c7dc8667d8c5d6bb484f3756bec0fdc937988143df9 WHIRLPOOL 3f4c9f978a605f0f957fb2ad91a8236dc879e2b14a7d83c58494bc5bf8476a5031da35a53440fa2256574cc868e6b528e9b29c46f41d192c72d4c01a412093a8
+MISC ChangeLog-2015 2790 SHA256 433a6f286f2f37e9f41dd9ec74ab60f432eb1fcd1ec7c00a5403424765b8c81f SHA512 0cc541df80e908256f9e7c1b3feb291fe2ae188d0ee6204bd402cec969bcb8187f22981155179e91110bf4bd9ee2ccc38c872c08875560f61ad30d455b38e240 WHIRLPOOL a462f07a85b0d6340cfb3ef9a804d53091b3ed6419d8ccc1b9a0c78890f0716cda418f95f47592c3c12f06ecaed501b9ee2524c5d43255ef980f356fa6c0534d
+MISC metadata.xml 521 SHA256 b6c10ea086bc05c2809e0b07ff446ef7ce947a2dc3d56cda6e6bc5b86749fc63 SHA512 7d99a90e35ce3fe213a527b9fac2474f4e7733b237d6026e4ba7915a44b806d5c0730da21885c83c20c05e0b331294c0515b9750561d54dafa90ffab8e987683 WHIRLPOOL c4ada9af989b85db70707f263eb992acd911541461c5ebe423f9e0dc96347fa13bceed668c839680251c04e8d1044b9529a15c7226a72764dfb3bee85fa554f4
diff --git a/x11-misc/sunflower/files/sunflower b/x11-misc/sunflower/files/sunflower
new file mode 100644
index 000000000000..192d4b99e1ae
--- /dev/null
+++ b/x11-misc/sunflower/files/sunflower
@@ -0,0 +1,5 @@
+#!/usr/bin/env python
+
+import os
+os.chdir("@SITEDIR@")
+import sunflower.Sunflower
diff --git a/x11-misc/sunflower/metadata.xml b/x11-misc/sunflower/metadata.xml
new file mode 100644
index 000000000000..f583c66eaf6a
--- /dev/null
+++ b/x11-misc/sunflower/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <maintainer type="person">
+ <email>henrique.ribeiro.dias@gmail.com</email>
+ <name>Henrique Dias</name>
+ <description>Proxy maintainer. CC him on bugs</description>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">MeanEYE/Sunflower</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/sunflower/sunflower-0.2_alpha59.ebuild b/x11-misc/sunflower/sunflower-0.2_alpha59.ebuild
new file mode 100644
index 000000000000..9d84a9408426
--- /dev/null
+++ b/x11-misc/sunflower/sunflower-0.2_alpha59.ebuild
@@ -0,0 +1,92 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+inherit eutils fdo-mime gnome2-utils python-r1
+
+MY_PN="Sunflower"
+DESCRIPTION="Small and highly customizable twin-panel file manager with plugin-support"
+HOMEPAGE="https://github.com/MeanEYE/Sunflower
+ http://sunflower-fm.org/"
+SRC_URI="http://sunflower-fm.org/pub/sunflower-${PV/_alpha/-}.tgz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DEPEND="${PYTHON_DEPS}"
+RDEPEND="${DEPEND}
+ >=dev-python/pygtk-2.15.0[${PYTHON_USEDEP}]
+ >=dev-python/notify-python-0.1[${PYTHON_USEDEP}]
+ gnome-base/librsvg:2"
+
+S=${WORKDIR}/${MY_PN}
+
+src_prepare() {
+ find "${S}" -name "*.py[co]" -delete || die
+ find "${S}"/translations -name "*.po" -delete || die
+ rm "${S}"/translations/${PN}.pot || die
+
+ sed -i \
+ -e '/^application_file/s/os.path.dirname(sys.argv\[0\])/os.getcwd()/' \
+ ${MY_PN}.py || die
+}
+
+src_install() {
+ touch __init__.py || die
+ installme() {
+ # install modules
+ python_moduleinto ${PN}
+ python_domodule images application ${MY_PN}.py \
+ AUTHORS CHANGES COPYING DEPENDS TODO __init__.py
+
+ # generate and install startup scripts
+ sed \
+ -e "s#@SITEDIR@#$(python_get_sitedir)/${PN}#" \
+ "${FILESDIR}"/${PN} > "${WORKDIR}"/${PN} || die
+ python_doscript "${WORKDIR}"/${PN}
+ }
+
+ # install for all enabled implementations
+ python_foreach_impl installme
+
+ insinto /usr/share/locale
+ # correct gettext behavior
+ if [[ -n "${LINGUAS+x}" ]] ; then
+ for i in $(cd "${S}"/translations ; echo *) ; do
+ if has ${i} ${LINGUAS} ; then
+ doins -r "${S}"/translations/${i}
+ fi
+ done
+ else
+ doins -r "${S}"/translations/*
+ fi
+
+ newicon -s 64 images/${PN}_64.png ${PN}.png
+ doicon -s scalable images/${PN}.svg
+ newmenu ${MY_PN}.desktop ${PN}.desktop
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ fdo-mime_desktop_database_update
+ gnome2_icon_cache_update
+
+ # TODO: better description
+ elog "optional dependencies:"
+ elog " dev-python/libgnome-python"
+ elog " media-libs/mutagen"
+ elog " x11-libs/vte:0[python] (terminal support)"
+}
+
+pkg_postrm() {
+ fdo-mime_desktop_database_update
+ gnome2_icon_cache_update
+}
diff --git a/x11-misc/superswitcher/Manifest b/x11-misc/superswitcher/Manifest
new file mode 100644
index 000000000000..d192e6d8cb92
--- /dev/null
+++ b/x11-misc/superswitcher/Manifest
@@ -0,0 +1,7 @@
+AUX superswitcher-0.6-glib-single-include.patch 1031 SHA256 ad7ae49413c6c1787ecaf8c1b7b3388e1431c9f6a87d27f2f6e6fee66b01c7dc SHA512 76c6d4d86f0b6d41e5aa3c4e4a4cca1ffdaefc835faeda1077eb7721c26d2c45ce1738445a0e510657e2e3af22a83a333e03c44e9e156f34139a5e7d80d72534 WHIRLPOOL b21f4613d39cc6e79333dd70368f0030f4f14cdd984d3df16bea95ba60333bc3bd997518c0f526f345c6cb48127281bbc1cdd13b6c35e04379ef689d4b844085
+AUX superswitcher-0.6-wnck-workspace.patch 1934 SHA256 1ce3037c4edae26408e51cd4ffe7add99a4f75879f600edfdd4b993a333cc932 SHA512 5800acd13ad6b4569762638d2d0c0186414987fbfccd14dff7fcadb4533209168317f7b2e36d718fc79787460d71b9ef22d676458f447b31ad91e1782d856347 WHIRLPOOL 8d0a9f5065ebfe0667b70ca916cde10db95051ff45203da31f95c488a36ab63baf444701f8dafcf400b833d1235aa651fa0784e08bb45045f8c968f788e91431
+DIST superswitcher-0.6.tar.gz 183184 SHA256 232b98d1a9443fcf4f969cf4cf00df3908c3ccb55f36059391da68873d514599 SHA512 7385c14537a81f3e78509ff7399e1caf84f46fae22ce844f70f7cd72c8865d3808af77229744443178da691dfbcf61cae908c2eb54ef1564c83473ed9ff6ae0b WHIRLPOOL 984945cca220b5144dbb7808ff3dc980d4e59fadde33beac865d9c1f9c15d03419a8a57d852057af6f7679fc34dbb906176317f16fcf78f8de62949e7f3c2ee6
+EBUILD superswitcher-0.6-r1.ebuild 909 SHA256 7e855540ab6af069a8b990f54df113b648b21d5c6f4a13bc555c4754b20dd909 SHA512 995e85e53454a9e8da710bd1d181a70e2684ed1e42bfd8f05582ddecd6814de75895ba953d1627296208ec9c55ec3e64273a8d5cba2742ce4d1a28d6e6ac3d2e WHIRLPOOL 2a07c0710a19c3ec75906649ae9200e4822220289002624c67fd0166feacf7566ed5122bdfba6928a53e08b185e729eed65061d553d10b81a5315141bb910c0b
+MISC ChangeLog 2965 SHA256 15abbb33d0db7e739a8e9e378c39bb820058ddfa2950fe10e61bab7ab2732de5 SHA512 fb4e2bef63fc6f8dab2d960453c20076bc6d03b4db271875f263db5738b31cd0bf28bd4b562750829ff518aba0ff410923e9937051dab01696f353fa2f9db5e6 WHIRLPOOL 9577f6989ef244d8b909e533970cad2c6e5993127625e806b9cb7fb1daa956d2d8862ef091debe3d6f58e7a3cda07d32789f370dba8699f6b742fdc07574cd41
+MISC ChangeLog-2015 2142 SHA256 612d68b9973fc7d9a3d846644b66607c8099668940fb68f99ee309db5e66b417 SHA512 2ded010970b644385c503eb8d57aa00885084a3ea5af1f459f32177df0ec7dcf7ea90d98d9752a94a265f3213d9743df96cd0d52ff1f857e5fc25af792a688eb WHIRLPOOL ef249ece041eff5e5e4acfe369d08108ee8fd0db973a1994eb22064f2e213345b34ea218fd813f6da222afbef7a5cb32430fe788c1a5772f50f047e2be7f9361
+MISC metadata.xml 489 SHA256 dedc979aa8a00dcf2b754484299c0231d405ec5652d1b0079053f7a14277794b SHA512 3a66d6500160a23a116fbc23214e7fb14e44149d5ce75e58397e3074dfeb1f0b7446a7c99dbbbdbcd61bd0dd88cf2bf96e87fcebc58c033086e74adf040bc517 WHIRLPOOL e05525a671c79d70ef8574ce2531e347b983daced67e08be499f94a9fe8b223444ab896c5abe48d6b77d91603bd3c174c23cd9f7c78298a24fdc285f4bd2e208
diff --git a/x11-misc/superswitcher/files/superswitcher-0.6-glib-single-include.patch b/x11-misc/superswitcher/files/superswitcher-0.6-glib-single-include.patch
new file mode 100644
index 000000000000..fe3249982870
--- /dev/null
+++ b/x11-misc/superswitcher/files/superswitcher-0.6-glib-single-include.patch
@@ -0,0 +1,27 @@
+Index: superswitcher-0.6/src/dbus-object.h
+===================================================================
+--- superswitcher-0.6.orig/src/dbus-object.h
++++ superswitcher-0.6/src/dbus-object.h
+@@ -4,7 +4,7 @@
+ #ifndef SUPERSWITCHER_DBUS_OBJECT_H
+ #define SUPERSWITCHER_DBUS_OBJECT_H
+
+-#include <glib/gtypes.h>
++#include <glib.h>
+
+ #include "forward_declarations.h"
+
+Index: superswitcher-0.6/src/forward_declarations.h
+===================================================================
+--- superswitcher-0.6.orig/src/forward_declarations.h
++++ superswitcher-0.6/src/forward_declarations.h
+@@ -18,8 +18,7 @@ typedef struct _SSXineramaScreen SSXiner
+ #define ABNORMAL_EXIT_CODE_ANOTHER_INSTANCE_IS_RUNNING 1
+ #define ABNORMAL_EXIT_CODE_UNKNOWN_COMMAND_LINE_OPTION 2
+
+-#include <glib/gerror.h>
+-#include <glib/gtypes.h>
++#include <glib.h>
+ gboolean superswitcher_hide_popup (void *, GError **);
+ gboolean superswitcher_show_popup (void *, GError **);
+ gboolean superswitcher_toggle_popup (void *, GError **);
diff --git a/x11-misc/superswitcher/files/superswitcher-0.6-wnck-workspace.patch b/x11-misc/superswitcher/files/superswitcher-0.6-wnck-workspace.patch
new file mode 100644
index 000000000000..90919a57485b
--- /dev/null
+++ b/x11-misc/superswitcher/files/superswitcher-0.6-wnck-workspace.patch
@@ -0,0 +1,62 @@
+It seems like wnck_window_is_skip_pager isn't all we need to check.
+
+--- superswitcher/src/screen.c
++++ superswitcher/src/screen.c
+@@ -505,6 +505,7 @@
+ static SSWindow *
+ add_window_to_screen (SSScreen *screen, WnckWindow *wnck_window)
+ {
++ WnckWorkspace *wnck_workspace;
+ SSWindow *window;
+ SSWorkspace *workspace;
+ int n;
+@@ -513,7 +514,13 @@
+ return NULL;
+ }
+
+- n = wnck_workspace_get_number (wnck_window_get_workspace (wnck_window));
++ wnck_workspace = wnck_window_get_workspace (wnck_window);
++
++ if (wnck_workspace == NULL) {
++ return NULL;
++ }
++
++ n = wnck_workspace_get_number (wnck_workspace);
+ workspace = ss_screen_get_nth_workspace (screen, n);
+
+ window = ss_window_new (workspace, wnck_window);
+--- superswitcher/src/window.c
++++ superswitcher/src/window.c
+@@ -254,6 +254,7 @@
+ static void
+ on_workspace_changed (WnckWindow *wnck_window, gpointer data)
+ {
++ WnckWorkspace *wnck_workspace;
+ SSWindow *window;
+ SSWorkspace *old_workspace;
+ SSWorkspace *new_workspace;
+@@ -261,12 +262,19 @@
+
+ window = (SSWindow *) data;
+ old_workspace = window->workspace;
+- new_workspace_id = wnck_workspace_get_number (wnck_window_get_workspace (wnck_window));
+- new_workspace = ss_screen_get_nth_workspace (old_workspace->screen, new_workspace_id);
+-
+ ss_workspace_remove_window (old_workspace, window);
++
++ wnck_workspace = wnck_window_get_workspace (wnck_window);
++ if (wnck_workspace) {
++ new_workspace_id = wnck_workspace_get_number (wnck_workspace);
++ new_workspace = ss_screen_get_nth_workspace (old_workspace->screen, new_workspace_id);
++
++ ss_workspace_add_window (new_workspace, window);
++ window->workspace = new_workspace;
++ } else {
++ window->workspace = NULL;
++ }
++
+- window->workspace = new_workspace;
+- ss_workspace_add_window (new_workspace, window);
+ window->new_window_index = -1;
+ gtk_widget_queue_draw (gtk_widget_get_toplevel (window->widget));
+ }
diff --git a/x11-misc/superswitcher/metadata.xml b/x11-misc/superswitcher/metadata.xml
new file mode 100644
index 000000000000..be8a2c55706f
--- /dev/null
+++ b/x11-misc/superswitcher/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <longdescription lang="en">SuperSwitcher is a (more feature-ful) replacement for the Alt-Tab window
+switching behavior and Ctrl-Alt-Left/Right/Up/Down workspace switching behavior
+that is currently provided by Metacity.</longdescription>
+ <upstream>
+ <remote-id type="google-code">superswitcher</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/superswitcher/superswitcher-0.6-r1.ebuild b/x11-misc/superswitcher/superswitcher-0.6-r1.ebuild
new file mode 100644
index 000000000000..63e4756b5b18
--- /dev/null
+++ b/x11-misc/superswitcher/superswitcher-0.6-r1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools
+
+DESCRIPTION="A more feature-full replacement of the Alt-Tab window switching behavior"
+HOMEPAGE="https://code.google.com/p/superswitcher/"
+SRC_URI="https://superswitcher.googlecode.com/files/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+ dev-libs/dbus-glib
+ dev-libs/glib:2
+ >=gnome-base/gconf-2:2
+ x11-libs/gtk+:2
+ >=x11-libs/libwnck-2.10:1
+ x11-libs/libXcomposite
+ x11-libs/libXinerama
+ x11-libs/libXrender"
+DEPEND="${RDEPEND}
+ gnome-base/gnome-common
+ virtual/pkgconfig"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-wnck-workspace.patch
+ "${FILESDIR}"/${PN}-0.6-glib-single-include.patch
+)
+
+src_prepare() {
+ default
+ sed -i \
+ -e '/-DG.*_DISABLE_DEPRECATED/d' \
+ src/Makefile.am || die #338906
+
+ mv configure.{in,ac} || die #426262
+
+ eautoreconf
+}
diff --git a/x11-misc/sux/Manifest b/x11-misc/sux/Manifest
new file mode 100644
index 000000000000..1b2bef4f7acb
--- /dev/null
+++ b/x11-misc/sux/Manifest
@@ -0,0 +1,8 @@
+AUX sux-1.0-dash.patch 279 SHA256 cb08ae70ffd49afacbc3443f7028a5547e9b36acb9bd154438e1215bf5bc8c27 SHA512 e8a0f44b1fa04fddedc6ea617c03da2c5c2ac5ea98b5fc60a8fbbed47c669b2cd8fc31e19d969f22f374c08ee80f5f108882eba0ca0ef64d69fe2339cdde8133 WHIRLPOOL 570b46111d9a77a6e218aa4d5325dd034dca2bb0c1e1e4faa3afec5fef5831a4b44b3b5c2492ef0859e868d584aeebcc2f847d431a8537abc627dfd24f5aa9b5
+AUX sux-1.0-r1.patch 1695 SHA256 b8edc5e943064c0d8552a0bcb280d4744be5b60f65f9bb17530bee6c9860ff9a SHA512 10e6b34aa1eb26bb51e33534a9c6c32ffb72c8b4eab86aec13087d915f49eda0bd6d6b6ec393ec8a1ec2f170f7fe00557019a235a10ae08f3d15f5a3c105f26f WHIRLPOOL 955ac0f52f376c5f5dca0dfe53f2e701ccf5501d2fb1aac0fb24f08cc2ca28eddb39fcfa518977d415cb9bf68110065caa607a43aa66c74b52f89da128401df2
+AUX sux-X11R6.patch 810 SHA256 30bb882e4703349ef99aaee1c28aeff1448b3e3d1b6c748f499388ff5c6010eb SHA512 5f34860c054c0eca0e7d2626cac3ff449c52310993628b756cebb96d589c9acb7b6fc726cb303d97f17233362bf7ed8c68fb836be529ef05aa1a7d9de71256a5 WHIRLPOOL 3cec14d16d0104733b195436b0e84d22392de8793f9e03f19b43f4f4490a8498d385f4a7d2ae380334fcb584e10935cca5da5c3d09b40b4bffa53ced8c3d8a2a
+DIST sux 9403 SHA256 98a2e66d105e06f95d67312f40f928fb2885084ff46fad248c6d6cd25904efd1 SHA512 cf1afb736299e349a14837f89f0feb6a5beb1af35be8e6baef74d03e7278a9d9c331d2759ec21e5cf8b43197734f96464b82ff5904968428bc43a45d2ad0c598 WHIRLPOOL b0ef6fb0eb2752c99c53e7059d9e2830a336b84d98b67ef56d2fe758fd328fcd271a245bfbad8fd7cf1410c57757a8831c4edbe8b71c32f6dbfbac44d5020cc8
+EBUILD sux-1.0-r4.ebuild 602 SHA256 b4b88d1a2093dd69588bd9c6966b3c25d81374ac10c0d8aade37f93920793357 SHA512 0ebfe13717e06829d6df9a36ed5a0699f5c3981cef2cb9c62133da6d8c979dd5792d089830b5a55b6a953aa840f1465c806f8e446fb08654b4ca4ace55741d67 WHIRLPOOL 3370b1b700d47f41aa207e97e8e325fd3ca416eca91708c97f82b4a89f74042f8a475366ed45050817edd0a0155de849100dc6cc21b0724f621d1d71bce84972
+MISC ChangeLog 2495 SHA256 a889b8671b5ecc07b402a66b225081204b6bc1efb05fc7a03326ee391b726e93 SHA512 c0d9033d4c79543744ec16aa5091c0c5fba4948fac8e44154457e760dd3e20eadca51d8a2b060575daa53353c093d39dca548c945e941cc69444fea908b00bd5 WHIRLPOOL 2a8979903ee6315482b4e0f435d3e6c1c30b07d08d71e81302e84d9b8410f62a5a645066697bd07f8437dc55566d9a934e0a51dbfd4cf8a3c8630f3ec2a95142
+MISC ChangeLog-2015 3780 SHA256 8cc5c6872237f5aaa865069935dd8eb4144427000fa0d0f681938ad229527311 SHA512 48491c988c5ae01ba0c7f9310463a42615d4090d5ce43f5ceecf6b8d042722b9c8df7b8955f3680cda94e6e99571cd257405acd62f8f5acac77f81fe43f7d9e6 WHIRLPOOL fbf8d56de8333eb3ea96a03520fe13e56e716967b4974d56c5b64820b4d3a99a5a4510316a98f06abd730dd03774694cad5a5d18fc3b7e47498875b928213901
+MISC metadata.xml 282 SHA256 ac9236162462e1562a26e596e7dd457a448f9367ff1a5a27ec3513ecade3026b SHA512 06c94ffb49c985c4344b170b902427ca9ce0c23b6d68330af227ab1771794f8e8b6d0ef75b5f69293c8ef0d3264c8799e1389ccdf8dfbe7c665c6477c07479e4 WHIRLPOOL 615c807081b4bef1734f1dbf9a182cb27b7de0e9bcdebd880c6b9c1ab01b95721076ddc4b4e75e93b8f777020bfd52459e9e4b1a9deb41baacc44f6cde05fd36
diff --git a/x11-misc/sux/files/sux-1.0-dash.patch b/x11-misc/sux/files/sux-1.0-dash.patch
new file mode 100644
index 000000000000..a2ba00e0be05
--- /dev/null
+++ b/x11-misc/sux/files/sux-1.0-dash.patch
@@ -0,0 +1,12 @@
+--- a/sux
++++ b/sux
+@@ -302,7 +302,8 @@
+ then
+ if [ "$sux_got_minus" = "1" ]
+ then
+- sux_cmd="sh -c \"exec -l \$SHELL\""
++ # exec -l does not work in dash (Gentoo bug #473200)
++ sux_cmd="sh -c \"exec \$SHELL\""
+ else
+ sux_cmd="\$SHELL"
+ fi
diff --git a/x11-misc/sux/files/sux-1.0-r1.patch b/x11-misc/sux/files/sux-1.0-r1.patch
new file mode 100644
index 000000000000..5be78fd7b7d2
--- /dev/null
+++ b/x11-misc/sux/files/sux-1.0-r1.patch
@@ -0,0 +1,52 @@
+--- a/sux
++++ b/sux
+@@ -29,7 +29,6 @@
+ # are on NFS. In such a case, change the default to copy-cookies.
+ sux_root_cookie_transfer="c"
+
+-
+ usage()
+ {
+ echo "usage: `basename $0` [-m|-p|--preserve-environment]" >&2
+@@ -230,10 +229,10 @@
+ # Remove the old cookies. They may cause trouble if we transfer only one
+ # cookie, e.g. an MIT cookie, and there's still a stale XDM cookie hanging
+ # around.
+- export TERM="xauth -q remove $DISPLAY 2>/dev/null;"
++ export TERM="/usr/X11R6/bin/xauth -q remove $DISPLAY 2>/dev/null;"
+ if [ -n "$sux_unix_display" ]
+ then
+- TERM="$TERM xauth -q remove $sux_unix_display;"
++ TERM="$TERM /usr/X11R6/bin/xauth -q remove $sux_unix_display;"
+ fi
+
+ # Note that there may be more than one cookie to transfer, hence
+@@ -250,7 +249,7 @@
+ sux_i=`expr $sux_i + 1`
+ if [ $sux_i -eq 9 ]
+ then
+- TERM="$TERM | xauth nmerge - ;"
++ TERM="$TERM | /usr/X11R6/bin/xauth nmerge - ;"
+ sux_i=0
+ fi
+ done
+@@ -316,12 +316,12 @@
+ # wouldn't have the proper access rights anyway...
+ unset XAUTHORITY
+
++sux_home=`egrep "^$sux_username:" /etc/passwd | cut -d: -f6`
+
+ ##
+ # --preserve-environment special case
+ if [ -n "$sux_preserve" -a -n "$sux_xauth_cmd" ]
+ then
+- sux_home=`egrep "^$sux_username:" /etc/passwd | cut -d: -f6`
+ if [ -z "$sux_home" ]
+ then
+ echo "WARNING: --preserve-environment has been set, but no good value was found for XAUTHORITY, expect trouble" >&2
+@@ -334,4 +334,4 @@
+ ##
+ # Execute su
+ exec su $sux_su_opts -c "$sux_xauth_cmd \
+- exec env $sux_xauthority $sux_term DISPLAY='$DISPLAY' $sux_cmd;"
++ exec env $sux_xauthority $sux_term HOME='$sux_home' DISPLAY='$DISPLAY' $sux_cmd;"
diff --git a/x11-misc/sux/files/sux-X11R6.patch b/x11-misc/sux/files/sux-X11R6.patch
new file mode 100644
index 000000000000..6b345a646965
--- /dev/null
+++ b/x11-misc/sux/files/sux-X11R6.patch
@@ -0,0 +1,24 @@
+--- a/sux
++++ b/sux
+@@ -229,10 +229,10 @@
+ # Remove the old cookies. They may cause trouble if we transfer only one
+ # cookie, e.g. an MIT cookie, and there's still a stale XDM cookie hanging
+ # around.
+- export TERM="/usr/X11R6/bin/xauth -q remove $DISPLAY 2>/dev/null;"
++ export TERM="/usr/bin/xauth -q remove $DISPLAY 2>/dev/null;"
+ if [ -n "$sux_unix_display" ]
+ then
+- TERM="$TERM /usr/X11R6/bin/xauth -q remove $sux_unix_display;"
++ TERM="$TERM /usr/bin/xauth -q remove $sux_unix_display;"
+ fi
+
+ # Note that there may be more than one cookie to transfer, hence
+@@ -249,7 +249,7 @@
+ sux_i=`expr $sux_i + 1`
+ if [ $sux_i -eq 9 ]
+ then
+- TERM="$TERM | /usr/X11R6/bin/xauth nmerge - ;"
++ TERM="$TERM | /usr/bin/xauth nmerge - ;"
+ sux_i=0
+ fi
+ done
diff --git a/x11-misc/sux/metadata.xml b/x11-misc/sux/metadata.xml
new file mode 100644
index 000000000000..bc1b97e1eb76
--- /dev/null
+++ b/x11-misc/sux/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/x11-misc/sux/sux-1.0-r4.ebuild b/x11-misc/sux/sux-1.0-r4.ebuild
new file mode 100644
index 000000000000..f3ff910a3c19
--- /dev/null
+++ b/x11-misc/sux/sux-1.0-r4.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit eutils
+
+DESCRIPTION="\"su\" wrapper which transfers X credentials"
+HOMEPAGE="http://fgouget.free.fr/sux/sux-readme.shtml"
+SRC_URI="http://fgouget.free.fr/sux/sux"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="alpha amd64 arm ppc sparc x86"
+IUSE=""
+
+S="${WORKDIR}"
+
+RDEPEND="x11-apps/xauth"
+
+src_unpack() {
+ cp "${DISTDIR}"/${A} .
+}
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}"/${P}-r1.patch \
+ "${FILESDIR}"/${PN}-X11R6.patch \
+ "${FILESDIR}"/${P}-dash.patch
+}
+
+src_install() {
+ dobin sux
+}
diff --git a/x11-misc/sw-notify-send/Manifest b/x11-misc/sw-notify-send/Manifest
new file mode 100644
index 000000000000..b7c830e90b81
--- /dev/null
+++ b/x11-misc/sw-notify-send/Manifest
@@ -0,0 +1,6 @@
+DIST tinynotify-send-1.2.1.tar.bz2 266078 SHA256 72c5f4451348b0a06dd57efb5de75273e47f7e35ae04df9a3dd1c64be1e71e65 SHA512 f416db09fa95f04d771610af7ae8953192027b8606c53f54efe514c4d33b59e8dc362676004a036c2dd7e7c7cf03b077ee9b753839efbcb181c5724f43efa58d WHIRLPOOL 2e82b67111db19aa52e293feea167e53ef73bf04a043049543082cf9eea64f75bbfe9788e323dd19d081b5cab43ff469e370810fd6bbc70707329cacfb560411
+EBUILD sw-notify-send-1.2.1.ebuild 714 SHA256 da8eda996e2d1b7c01760515822030d3ff34738010a691590bb50ba8a983b76a SHA512 6dd0e80d1acd0e9e72b8135700406333ec8350a952f41dfe1372d010ce6b2bf1eced42ff93656c08f670f7a4890d1317d24a0aad96bbf23142f49156bbdca54d WHIRLPOOL 7147d53e5e1a3b632364f6f3a2cac6b889a61e0f96a0d0bc93594a698cd55c41bf4476b27675945554bd256008003781915adee1c73756f558c7ad5a5285c26d
+EBUILD sw-notify-send-9999.ebuild 729 SHA256 034380cebc1646ee7c85094c429a3f6b6859feba8346e68f72bdaa29b165ecda SHA512 e4e9bc7dceda9c679cc26bdfb9a7a2ef003fa0427572818e099032976e315cd1feaade0e507f62fa8d6425f71ad2dbff4b5084a731937d5ec5289d6399aa95cb WHIRLPOOL 7c49244076231f17326131d6509415a096e2f07a15f05bb83dad140f6c59b756bf7a811a764851237f8bc595e86689c67e79bf463fc6f953bcedee2d826b8f5e
+MISC ChangeLog 3148 SHA256 486a8a3791e604b4fe70ae1cf28571ef1fbd4d8bccdf54262e38697319efdf35 SHA512 9532b5a2bf8ec8940d4ee2ba4622adfd01a7594fa582ff262479cef1fe07272747b55755ac094f93a311a517efe104656d172e99bb847abf227b15a744f395e9 WHIRLPOOL 07a5c2d76e12fac40246f4c2bf87156150888ad905b8a21ebde3a603e1fd5a5599b959d64aaf65c9d8f75926224d22ce8026e3ebfce5479b7c074f7522aa65c2
+MISC ChangeLog-2015 2228 SHA256 fd612400d22f6f2304729bc7f59652942d329dce01576dab8eef37fa964edcbd SHA512 63655bdf6641cde88fc68b20ae2ca483769ea9f78bd99eb478233817d5eac2478128ab3b425e0f35b208d8ae14dbcde2a0e11ff93946d559beb25b3b67bff780 WHIRLPOOL b8c3cfd82068d8523d3fa2f416740b401aee6f92514bb5b7c94ff698f2fa7771b08a6ec70ba632c9f331248458f79c776cad5ecb11b49e460a77adf240339a2b
+MISC metadata.xml 519 SHA256 af175ca638a9f7a261688fb5ff8e0fe7b5344a1dbcc143f0a5d23c9da4ff7aae SHA512 06ce4c0f2e7b95504cad6f060befa1775845344d085f474497b2f65dc158a3fd6d37cb98317f5fc6d6fd9ebd3f2383b74e6357639a5ab038bb221519342c9bdf WHIRLPOOL 472675cc49e7d9be1c263043453b026bba7fe3d8f5f3e63bb18e25e412c1ddf2c6cb71b60e2a64742b2e8e25f8b679e5ae7e806475305c849fb5a8f33afbca43
diff --git a/x11-misc/sw-notify-send/metadata.xml b/x11-misc/sw-notify-send/metadata.xml
new file mode 100644
index 000000000000..59cabc032eb7
--- /dev/null
+++ b/x11-misc/sw-notify-send/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>mgorny@gentoo.org</email>
+ <name>Michał Górny</name>
+ </maintainer>
+ <upstream>
+ <maintainer status="active">
+ <email>mgorny@gentoo.org</email>
+ <name>Michał Górny</name>
+ </maintainer>
+ <bugs-to>https://github.com/mgorny/tinynotify-send/issues/</bugs-to>
+ <remote-id type="github">mgorny/tinynotify-send</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/sw-notify-send/sw-notify-send-1.2.1.ebuild b/x11-misc/sw-notify-send/sw-notify-send-1.2.1.ebuild
new file mode 100644
index 000000000000..67c06dc2d15d
--- /dev/null
+++ b/x11-misc/sw-notify-send/sw-notify-send-1.2.1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+MY_P=tinynotify-send-${PV}
+DESCRIPTION="A system-wide variant of tinynotify-send"
+HOMEPAGE="https://github.com/mgorny/tinynotify-send/"
+SRC_URI="https://github.com/mgorny/tinynotify-send/releases/download/${MY_P}/${MY_P}.tar.bz2"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="x11-libs/libtinynotify:0=
+ ~x11-libs/libtinynotify-cli-${PV}
+ x11-libs/libtinynotify-systemwide:0="
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+DOCS=( README )
+S=${WORKDIR}/${MY_P}
+
+src_configure() {
+ local myconf=(
+ --disable-library
+ --disable-regular
+ --enable-system-wide
+ )
+
+ econf "${myconf[@]}"
+}
diff --git a/x11-misc/sw-notify-send/sw-notify-send-9999.ebuild b/x11-misc/sw-notify-send/sw-notify-send-9999.ebuild
new file mode 100644
index 000000000000..c0ac15bb55ec
--- /dev/null
+++ b/x11-misc/sw-notify-send/sw-notify-send-9999.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+EGIT_REPO_URI="https://github.com/mgorny/tinynotify-send.git"
+inherit autotools git-r3
+
+MY_P=tinynotify-send-${PV}
+DESCRIPTION="A system-wide variant of tinynotify-send"
+HOMEPAGE="https://github.com/mgorny/tinynotify-send/"
+SRC_URI=""
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS=""
+IUSE=""
+
+RDEPEND="x11-libs/libtinynotify:0=
+ ~x11-libs/libtinynotify-cli-${PV}
+ x11-libs/libtinynotify-systemwide:0="
+DEPEND="${RDEPEND}
+ dev-util/gtk-doc
+ virtual/pkgconfig"
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ local myconf=(
+ --disable-library
+ --disable-regular
+ --enable-system-wide
+ )
+
+ econf "${myconf[@]}"
+}
diff --git a/x11-misc/sxhkd/Manifest b/x11-misc/sxhkd/Manifest
new file mode 100644
index 000000000000..4f1bd92f4493
--- /dev/null
+++ b/x11-misc/sxhkd/Manifest
@@ -0,0 +1,7 @@
+DIST sxhkd-0.5.7.tar.gz 34472 SHA256 21b8bfea2a83f019062dfea53051e2bc61896595fc788c6c7b5e3fd9354b279f SHA512 b977c79f2f8ef311b1bbe5bab21ae60c5689d1069552368573bc9aad55e58df4abff51ccdcf74b5e7c72cdee6077da67636f45a390f0fffb1a5e34b478579a18 WHIRLPOOL 7197c38b10d969739672da3771b513bd2f82591068970f407068f3470a31dc98d09b3c8663ce788bf90dcf3b5992be61019c3aac14281bf16a8ec42ad36120aa
+DIST sxhkd-0.5.8.tar.gz 34566 SHA256 d7df48d7d301d1cf06f45172bcfe712510e98dcdbdb896af662cf979f9666855 SHA512 59b38a77e7fd4b23cb109a1365514f39d23ae5bd1b467355ad894d3a861627fd0fc5c5fb556176161c6580c719a4032cf516f60eb3023dc30bf09ae362e4e094 WHIRLPOOL d0c1d7a90829217080f1e60f1921ccf30c34a43196ee1bfd937157be67de7d2ab424f930ec27a309ccb277e8658236d890ba9c415750a92211702c0431a30e80
+EBUILD sxhkd-0.5.7.ebuild 621 SHA256 e6c97de8b8186864588477657405aadbfa0693ce92755cee6ca3d81512448a92 SHA512 92940a628fcf177e1963675324f1d0b2d741d3a9c6e3bb19e5852ec8ce04d3331da12e19065b009563a9193d624b873aeeb9134978aa3f4b7ca3eb330ba53bb1 WHIRLPOOL 155ef7b3abee32633af7c0fcc1c6038d5da0960f1ec9b022a206d441c0b8d6918e0daef0088873eaf1e61911240f8b59b071626c2868802c133176906dbb9ff3
+EBUILD sxhkd-0.5.8.ebuild 621 SHA256 e6c97de8b8186864588477657405aadbfa0693ce92755cee6ca3d81512448a92 SHA512 92940a628fcf177e1963675324f1d0b2d741d3a9c6e3bb19e5852ec8ce04d3331da12e19065b009563a9193d624b873aeeb9134978aa3f4b7ca3eb330ba53bb1 WHIRLPOOL 155ef7b3abee32633af7c0fcc1c6038d5da0960f1ec9b022a206d441c0b8d6918e0daef0088873eaf1e61911240f8b59b071626c2868802c133176906dbb9ff3
+MISC ChangeLog 2546 SHA256 8b9a79032a68109a764a769b78648b2e72acadb5853cc5019a341165f3c76921 SHA512 ef6f61ec54b126ceca9cd11d33f438d32c8571998aa134c9254f143c37bfc1ddf75f72f8b2949f33590a478e1c0cf777501db4ef0c78aa77289c4c8f4167d998 WHIRLPOOL 107cba0ae4b57b3c6473933e6cd5ed27d287c4a1d260f5c93b13ef7f4c91b58d9492f73b3f7cefaa64f2c227fe04536bfde47367eaed5bc12d9603a0d76e336d
+MISC ChangeLog-2015 763 SHA256 80823a08db9753f5b22d715f204cb23c5b0cb92a5f875e9fe96a4b6927dbcb59 SHA512 e63cffe16e3dcf10aa1998256d899aa0e7b25361f6cda2825b85700202eb62e61fc6083a9b51de5cf28907d67d96aa056fa2bcf9a5f7cbbcf08d0ebc928a2156 WHIRLPOOL 45342195367aa08c339f49b33461fbd623ed372c78d31d7be2431e9092870de87715e9497688f43161670decd165bfc92cdfb7f91472b4eebb805c1b396c45b1
+MISC metadata.xml 328 SHA256 8de3abf388d7ff5abb0e2c4d9b8b197284855ea16006559cbd36057baa8a93b5 SHA512 406fcd58fede7d97f38c9eaa79143aedb9b5a8a8d83670b71df62a1e7bc65f4a5e7070bd077feb31410a8b2a4bf3fc21433e25f0e51bf80bd8ec8cf57920feab WHIRLPOOL 5551aa5bff0c5e3c620b437ee9f43204756248646c8918d11c7f0e06b630a0d36c4a71200c58b73a8ec829d28819fc289bc11ddac3be5c63824ad8b151ff4241
diff --git a/x11-misc/sxhkd/metadata.xml b/x11-misc/sxhkd/metadata.xml
new file mode 100644
index 000000000000..f4ff5909f741
--- /dev/null
+++ b/x11-misc/sxhkd/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>radhermit@gentoo.org</email>
+ <name>Tim Harder</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">baskerville/sxhkd</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/sxhkd/sxhkd-0.5.7.ebuild b/x11-misc/sxhkd/sxhkd-0.5.7.ebuild
new file mode 100644
index 000000000000..2583e00848e7
--- /dev/null
+++ b/x11-misc/sxhkd/sxhkd-0.5.7.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit toolchain-funcs systemd
+
+DESCRIPTION="Simple X hotkey daemon"
+HOMEPAGE="https://github.com/baskerville/sxhkd/"
+SRC_URI="https://github.com/baskerville/sxhkd/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="x11-libs/libxcb
+ x11-libs/xcb-util-keysyms"
+DEPEND="${RDEPEND}
+ x11-libs/xcb-util"
+
+src_compile() {
+ emake CC="$(tc-getCC)" PREFIX=/usr
+}
+
+src_install() {
+ emake PREFIX=/usr DESTDIR="${D}" install
+ systemd_dounit contrib/systemd/${PN}.service
+}
diff --git a/x11-misc/sxhkd/sxhkd-0.5.8.ebuild b/x11-misc/sxhkd/sxhkd-0.5.8.ebuild
new file mode 100644
index 000000000000..2583e00848e7
--- /dev/null
+++ b/x11-misc/sxhkd/sxhkd-0.5.8.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit toolchain-funcs systemd
+
+DESCRIPTION="Simple X hotkey daemon"
+HOMEPAGE="https://github.com/baskerville/sxhkd/"
+SRC_URI="https://github.com/baskerville/sxhkd/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="x11-libs/libxcb
+ x11-libs/xcb-util-keysyms"
+DEPEND="${RDEPEND}
+ x11-libs/xcb-util"
+
+src_compile() {
+ emake CC="$(tc-getCC)" PREFIX=/usr
+}
+
+src_install() {
+ emake PREFIX=/usr DESTDIR="${D}" install
+ systemd_dounit contrib/systemd/${PN}.service
+}
diff --git a/x11-misc/synergy/Manifest b/x11-misc/synergy/Manifest
new file mode 100644
index 000000000000..4ebad7044315
--- /dev/null
+++ b/x11-misc/synergy/Manifest
@@ -0,0 +1,18 @@
+AUX synergy-1.4.16_p1969-pthread.patch 350 SHA256 b25728a13742beffb5b1526740eb2f41ecfe6605d972c20fe22209b061a5819e SHA512 c0ab4dca5cb0ae1963c20fd72b10dc958142ca7881ec48caffd4172cb89f47bb69bde1a1e61566abb61f8b953b7fd77930c4fd3092b65c13d3d04ce8be9fd91a WHIRLPOOL a2ef3514c3f58d65af0f5be1431cf4c19e478e801b3a2da8d2f67c741ce14997103734ac24af6235f1b3746bfd7a54524a0f2d3d2ec07769b28bd18ed8a01bda
+AUX synergy-1.4.17_p2055-CSocketMultiplexer.patch 427 SHA256 1fa78e418e8c16a3fee03351cfaddc00417cfbfb69d517664c5c99551c9ac9a5 SHA512 10917823af9113def5967721aedd637326f7e432231c1bc68a4c1795916fadf8daf2e06b436e0073da6c461d38fa00e444332462e7c95f84a97f1ea7d54bac31 WHIRLPOOL a310af036438365ef01ff404b41496fc881e70bf2ff019d8e5608a87d5f0fc516a07f08950d560a6d954b2d12db8ddc0d3c4ed67421472fac527cbfd3899e8c4
+AUX synergy-1.4.17_p2055-cryptopp.patch 2662 SHA256 d980faeec96cf1cd7f684d6f2bd4bfe461307c5a5c5e1ea4b9cf20d38a5a120d SHA512 eb502e57a0f6c80b8f0e8d64490d277d4b9659a2306e7ebd5a557ed0d386ba7dc870056e916fe04d653b6860ea78299b00895910372f9e5609f2480be54d3127 WHIRLPOOL 4b8122befcf03981a0ad4877de4ca4455bb4dee9167a9bdf3fd73f181c3168170fcf975a516eaef8043b6ee6e14c0f55e46de44ef2af972d8032647b3cb32116
+AUX synergy-1.4.17_p2055-gentoo.patch 344 SHA256 924b3ad8f7c4840b900a6d4f532742121f065141b801554b612adecf6aef611c SHA512 de9e59f4f7704a3a5baf0ea895ac88c4c076145c3bc6ce5edad410a044ce782226ace71984e78c897261fb92f7c97deaf886769f7bd336a85d23af5f501b1d7b WHIRLPOOL 0cc03877f9b4df0e10179d2ecead957d6bd8aa7dddf700e8d595033ea3bd2eabe947a263c5a94592f4c046a8625bd9a33138c4b93c71cd82f4b2ac373f73d3a0
+AUX synergy-1.4.17_p2055-test.patch 977 SHA256 2373895ff2a67a44b37d634c16b474865ce992d497c4a1b05def510776870006 SHA512 92746308f3f6fe22b337d383e268328c37695e8f51ac20759557021d1149b4e4cc676846cc33d3728453284b9ae15373995d347719c1ba8af9b9d3b31d8e463f WHIRLPOOL 9b637b57668b1c8df064f69584192d29ce11f940b4f67d78a8e10f6610846e37ac3460326949efc6df78289dffd80a916c40527879cf2391a1845281b93af844
+AUX synergy-1.7.5-gentoo.patch 396 SHA256 2900c98e8063b764dae4b67637d99ecfdf1b094addd20b6869eb888f92e62503 SHA512 2ca7a5f36f7fc0949c6832506efb8d8516390ff5f238c14dc600ec03f28f5691e3102753db8c4986a5445950b3154e1410d40e3cc1974a2b9b84476ad77f0e83 WHIRLPOOL 583e8b8bdc0abfc1962783b40c00387c1c972c0a5443e0f45e4c4cfc7cbd31edf138641bcecfa509a647f7ffbfd1bf6bb68510a4c78d3b81cd53b27df4af8ec8
+AUX synergy-1.8.1-internal-gmock-gtest.patch 737 SHA256 bedabafa830bd1b6ef8eba4d97f53c7a0e74acc1cd47498930ac07c69c0ee72d SHA512 cec725312fea90d3df62957e16fef25c7988f50569a99e80b9d6724fb0f100211820256143f87b02099aa5fffa1d434ce71638f88e225cb6f0fa9a597d2074cc WHIRLPOOL 8cbf0e951cfd3ac76271852cfe2ff12909a902ae77e3d570890a6719efdd6469e54bdf1d0ac7a954c86bdc42579d3fd5a8241e26684ed7d8446522b7cf7cc03f
+AUX synergy-1.8.5-gtest.patch 970 SHA256 09b882c54fd76bd478403a94e61972e8ecbe53c7819b9717cae775256882f707 SHA512 eeca2d45bb3c589fe7d524bd91ef45d0478552d0d1e2922dcb58f2a4e3b45cb9830f4956d3909333c20e0bcbf0de5e016ef78eddac22c2ab7394b2c0670e6e8b WHIRLPOOL 32fa694aa0b28d1573b636074cb77190ffe91b22f9197c79d32cd8642b790be09292d45cd583c459c25e307977f62213a0aef8fb7f2332d20311de75d56d2066
+DIST synergy-1.6.3.tar.gz 4405517 SHA256 93b1965b8e0cfc55cc654aab7053a58b9e730d09e68bbc520be32353a01dce1a SHA512 de67b0663c5ef411570f163208b2a295a8f16537dcc37a41a31039a2d01de083410c023b7f255664eb0c84f0290473690b638934082c2276ddce594126861165 WHIRLPOOL cb8737f0fe75105c9f5c8c371a5aef55c5eb8f1c419b3a7315ed66880e79c379efc6d7bced20c0d046bc281be935322def54f98d67e383d7236620a948ae1c14
+DIST synergy-1.8.6.tar.gz 13497043 SHA256 76b27c6e90961ee6bdad429904a2d5743854d0d027c067941d2411565d64352b SHA512 e0816c280c77d4a865f4b7d4a9081963032a156bfb6da51e6b67a6fc41f8f18b097d3fc7c96218db268c36d0148021f9ddba95fe56daff8bfc54219dbdfe14a5 WHIRLPOOL c12a0038f931963afee8190799dd74dcb300cbb79c2870d1a8a2e33238a86cc0ef30e5b577fdda05d7880e488d3c03da6a48c6a22095b2f4b312fc851325376a
+DIST synergy-1.8.8.tar.gz 13498599 SHA256 85c388f93881d741981ce3c675e840a52a76883cb2cea1da306c0c453c5d7d9b SHA512 b4909930af7da10d877297e674df4c042ec54333eed585334da4a8c834c0ca3ad7c93fd2436c7d8d2f0e9e039d7bd385bb9e8a8c706750cbab3c3664a9b16bc6 WHIRLPOOL 1e03d6b4463d924477637170a57acfe9238f2b3d5d099cad8b3e65eb473fc7407075afc9859e05d5a818bd27a9723d64bf8cf0d99d950282de490d63f745ab56
+DIST synergy.png 26910 SHA256 c7e6cbaea549a189daed46c7170477772d932144ca20c9ea0db6859bd896f08c SHA512 0b5a1813c71fd2923adca4cf7b0f840fc37c73a2f18ad68f8bb2fd2ea312d9a884e2e2bcd78f6dd0f13d1f31ea3991379e141ec62d970a18c3a9c46b26720c5d WHIRLPOOL 7b3e7f9b05462fb536de0ca8d2257ea8abc0b2f17f0335d7eee73322f79a9ecccf729b992e58cd0965a9c9842f48020b6588cd4af47ea0f6d2b2cd7793c64e3a
+EBUILD synergy-1.6.3.ebuild 2406 SHA256 c9a98a31a3ad5c72437fe263a5d7744a07dc7c584c8ad7fd5b3e174a77b1fb84 SHA512 8979d5e0541eea94e80d653af332ba013b270710fadc2125db70381c738ae56e4f1e5fc156b637d59b34b3074a9f084ada93aa056005c47167594ae0cb7a3ccd WHIRLPOOL 0896a2fdedf792eb129b8c6fa4e4734827dab27d9297797488944451f82a9a14d1ebdf07501fcd4c363ec713bd735710474306ecf1b17f12775c353ce6f62b44
+EBUILD synergy-1.8.6.ebuild 2255 SHA256 6037ec61a3910a82215efd03aa4edac4154aca12ab04216bfb9a00807cf45776 SHA512 f0109385bdf1be9e758bdfccf16c0e364423c3baf81e8506ea9eece2be26be402c36f72e913c823dec972283af643b2404ae5d7089f254e430ab9d26187d68da WHIRLPOOL e126c50f36dad8681a4f0dea6dd325a5b51927071db35ccbc13c3f64c01b354c5ef8331a4b9d54f4453a5b98173ef30acf7a279a2e6765077e594df29e417242
+EBUILD synergy-1.8.8.ebuild 2215 SHA256 03d0202c18b0f22d4706b9e196d82b6a74c997c3e2491f228338acf5949c9b94 SHA512 20ea1c4d68a061a97146f6de4b126359401ba0af77eba8edc97dc0cf181fff71a47611b7d5a0acf3123b93b750857ceefe3f716f16c0c737f9b473fe3cbe16a3 WHIRLPOOL da11bc47de3cdc3e8747202bd469de89f1b9805c807ba8cae61f6029e508c73f00c8fde72a6929d504d28208affaecad1b1bd663f138358e508f8769d304709a
+MISC ChangeLog 5633 SHA256 eb2a2664d7c26cc7bf5817fa87c24123e2bbb4d988d1842bab72ee74e3270128 SHA512 4736bd06568f5ff76b386a896e2df56574e00a5b751c7c3409158b4449c9b59a6fa3059ca658285b0ce5d8221815a8639744a2a7a2e61652750901f14e56d6d5 WHIRLPOOL 362b6bb72c67370d154e147cee7439a353ac1aacb0ae216c130e29f0bfa3bf6cf731555f68f80822e5435ca5628095649b32ee9fee22e573ed00ea70ec0a7617
+MISC ChangeLog-2015 18869 SHA256 caf5fe851c88bb36d54ce05d7a590c1760fd497d7360c6b34b0f6abe743af822 SHA512 df3af020e364df58d84c0d136b29296de91be3c9e52b389c131ee5a19c527738a0c423ccef6419a77a94a68868ac220e9c02adc90b2c33230fd03249e3e150a8 WHIRLPOOL 2c1f8a6f67bb28f2547ce4ef19e06dce62ec895bfb1c5e323cb83b0d5ea295d32c889a4e54114ae6af78c0ee20e2a514a1fa0b42ed597b6a182db5498f805455
+MISC metadata.xml 408 SHA256 407fa5a4183b5c39282f125425a178abc71bb8890efa140d9d5d4f8ec1c21c94 SHA512 381d9d6b5beb883c7bef9453577d76d96bf0160dd891a88d146e5f6b44d6d91dcca02c26ec61f9d50c1e4c920c3a843859a2f3bdbeca81c0208f4e33b705e2d7 WHIRLPOOL 53c6ee0f9bea7578d65be204fbb758893885b58787813262727d633b99141175020e6c0be9b6200bf7b24e93eb8745ab10802906b7758692bd87cc0a4340671f
diff --git a/x11-misc/synergy/files/synergy-1.4.16_p1969-pthread.patch b/x11-misc/synergy/files/synergy-1.4.16_p1969-pthread.patch
new file mode 100644
index 000000000000..adddf2f73b67
--- /dev/null
+++ b/x11-misc/synergy/files/synergy-1.4.16_p1969-pthread.patch
@@ -0,0 +1,11 @@
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -141,6 +141,8 @@
+ check_library_exists("pthread" pthread_create "" HAVE_PTHREAD)
+ if (HAVE_PTHREAD)
+ list(APPEND libs pthread)
++ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -pthread")
++ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pthread")
+ else()
+ message(FATAL_ERROR "Missing library: pthread")
+ endif()
diff --git a/x11-misc/synergy/files/synergy-1.4.17_p2055-CSocketMultiplexer.patch b/x11-misc/synergy/files/synergy-1.4.17_p2055-CSocketMultiplexer.patch
new file mode 100644
index 000000000000..0e99fd3bce5d
--- /dev/null
+++ b/x11-misc/synergy/files/synergy-1.4.17_p2055-CSocketMultiplexer.patch
@@ -0,0 +1,13 @@
+http://synergy-project.org/spit/issues/details/2935/
+https://bugs.gentoo.org/show_bug.cgi?id=505978
+
+--- a/src/lib/net/SocketMultiplexer.cpp
++++ b/src/lib/net/SocketMultiplexer.cpp
+@@ -243,6 +243,7 @@
+ for (CSocketJobMap::iterator i = m_socketJobMap.begin();
+ i != m_socketJobMap.end();) {
+ if (*(i->second) == NULL) {
++ m_socketJobs.erase(i->second);
+ m_socketJobMap.erase(i++);
+ m_update = true;
+ }
diff --git a/x11-misc/synergy/files/synergy-1.4.17_p2055-cryptopp.patch b/x11-misc/synergy/files/synergy-1.4.17_p2055-cryptopp.patch
new file mode 100644
index 000000000000..59f85a9c29a0
--- /dev/null
+++ b/x11-misc/synergy/files/synergy-1.4.17_p2055-cryptopp.patch
@@ -0,0 +1,96 @@
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -145,6 +145,10 @@
+ check_type_size(long SIZEOF_LONG)
+ check_type_size(short SIZEOF_SHORT)
+
++ set(CMAKE_REQUIRED_LIBRARIES crypto++)
++ set(CMAKE_REQUIRED_LIBRARIES)
++ set(CMAKE_INCLUDE_DIRECTORIES)
++
+ # pthread is used on both Linux and Mac
+ check_library_exists("pthread" pthread_create "" HAVE_PTHREAD)
+ if (HAVE_PTHREAD)
+--- a/ext/CMakeLists.txt
++++ b/ext/CMakeLists.txt
+@@ -13,47 +13,6 @@
+ # You should have received a copy of the GNU General Public License
+ # along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-set(cryptopp_dir cryptopp562)
+-
+-# only compile the crypto++ files we need.
+-set(cryptopp_src
+- ${cryptopp_dir}/3way.cpp
+- ${cryptopp_dir}/algparam.cpp
+- ${cryptopp_dir}/asn.cpp
+- ${cryptopp_dir}/authenc.cpp
+- ${cryptopp_dir}/basecode.cpp
+- ${cryptopp_dir}/cpu.cpp
+- ${cryptopp_dir}/cryptlib.cpp
+- ${cryptopp_dir}/des.cpp
+- ${cryptopp_dir}/dessp.cpp
+- ${cryptopp_dir}/dll.cpp
+- ${cryptopp_dir}/ec2n.cpp
+- ${cryptopp_dir}/ecp.cpp
+- ${cryptopp_dir}/filters.cpp
+- ${cryptopp_dir}/fips140.cpp
+- ${cryptopp_dir}/gcm.cpp
+- ${cryptopp_dir}/gf2n.cpp
+- ${cryptopp_dir}/gfpcrypt.cpp
+- ${cryptopp_dir}/hex.cpp
+- ${cryptopp_dir}/hmac.cpp
+- ${cryptopp_dir}/hrtimer.cpp
+- ${cryptopp_dir}/integer.cpp
+- ${cryptopp_dir}/iterhash.cpp
+- ${cryptopp_dir}/misc.cpp
+- ${cryptopp_dir}/modes.cpp
+- ${cryptopp_dir}/mqueue.cpp
+- ${cryptopp_dir}/nbtheory.cpp
+- ${cryptopp_dir}/oaep.cpp
+- ${cryptopp_dir}/osrng.cpp
+- ${cryptopp_dir}/pubkey.cpp
+- ${cryptopp_dir}/queue.cpp
+- ${cryptopp_dir}/randpool.cpp
+- ${cryptopp_dir}/rdtables.cpp
+- ${cryptopp_dir}/rijndael.cpp
+- ${cryptopp_dir}/rng.cpp
+- ${cryptopp_dir}/sha.cpp
+-)
+-
+ # if 64-bit windows, compile asm file.
+ if (CMAKE_CL_64)
+ list(APPEND cryptopp_src ${cryptopp_dir}/x64dll.asm ${cryptopp_dir}/x64masm.asm)
+@@ -87,10 +46,3 @@
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -march=${CRYPTOPP_ARCH}")
+ endif()
+ endif()
+-
+-add_library(cryptopp STATIC ${cryptopp_src})
+-
+-if (UNIX)
+- # ignore warnings in crypto++
+- set_target_properties(cryptopp PROPERTIES COMPILE_FLAGS "-w")
+-endif()
+--- a/src/lib/io/CryptoMode_cryptopp.h
++++ b/src/lib/io/CryptoMode_cryptopp.h
+@@ -25,6 +25,6 @@
+ # pragma GCC system_header
+ #endif
+
+-#include <cryptopp562/gcm.h>
+-#include <cryptopp562/modes.h>
+-#include <cryptopp562/aes.h>
++#include <crypto++/gcm.h>
++#include <crypto++/modes.h>
++#include <crypto++/aes.h>
+--- a/src/lib/io/CryptoStream_cryptopp.h
++++ b/src/lib/io/CryptoStream_cryptopp.h
+@@ -25,5 +25,5 @@
+ # pragma GCC system_header
+ #endif
+
+-#include <cryptopp562/osrng.h>
+-#include <cryptopp562/sha.h>
++#include <crypto++/osrng.h>
++#include <crypto++/sha.h>
diff --git a/x11-misc/synergy/files/synergy-1.4.17_p2055-gentoo.patch b/x11-misc/synergy/files/synergy-1.4.17_p2055-gentoo.patch
new file mode 100644
index 000000000000..89f46f3c9af0
--- /dev/null
+++ b/x11-misc/synergy/files/synergy-1.4.17_p2055-gentoo.patch
@@ -0,0 +1,11 @@
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -77,7 +77,7 @@
+
+ # warnings as errors:
+ # we have a problem with people checking in code with warnings.
+- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Werror")
++ #set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Werror")
+
+ # For config.h, detect the libraries, functions, etc.
+ include(CheckIncludeFiles)
diff --git a/x11-misc/synergy/files/synergy-1.4.17_p2055-test.patch b/x11-misc/synergy/files/synergy-1.4.17_p2055-test.patch
new file mode 100644
index 000000000000..e0e25c2e128b
--- /dev/null
+++ b/x11-misc/synergy/files/synergy-1.4.17_p2055-test.patch
@@ -0,0 +1,33 @@
+--- a/src/CMakeLists.txt
++++ b/src/CMakeLists.txt
+@@ -19,6 +19,6 @@
+ add_subdirectory(plugin)
+ add_subdirectory(micro)
+
+-if (NOT ${CMAKE_SYSTEM_NAME} MATCHES "IRIX")
++if (${WITH_GENTOO_TEST} MATCHES "ON")
+ add_subdirectory(test)
+ endif()
+--- a/src/test/CMakeLists.txt
++++ b/src/test/CMakeLists.txt
+@@ -14,20 +14,5 @@
+ # You should have received a copy of the GNU General Public License
+ # along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-include_directories(
+- ../../ext/gtest-1.6.0
+- ../../ext/gtest-1.6.0/include
+- ../../ext/gmock-1.6.0
+- ../../ext/gmock-1.6.0/include)
+-
+-add_library(gtest STATIC ../../ext/gtest-1.6.0/src/gtest-all.cc)
+-add_library(gmock STATIC ../../ext/gmock-1.6.0/src/gmock-all.cc)
+-
+-if (UNIX)
+- # ignore warnings in gtest and gmock
+- set_target_properties(gtest PROPERTIES COMPILE_FLAGS "-w")
+- set_target_properties(gmock PROPERTIES COMPILE_FLAGS "-w")
+-endif()
+-
+ add_subdirectory(integtests)
+ add_subdirectory(unittests)
diff --git a/x11-misc/synergy/files/synergy-1.7.5-gentoo.patch b/x11-misc/synergy/files/synergy-1.7.5-gentoo.patch
new file mode 100644
index 000000000000..9c508f68eeef
--- /dev/null
+++ b/x11-misc/synergy/files/synergy-1.7.5-gentoo.patch
@@ -0,0 +1,11 @@
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -80,7 +80,7 @@
+
+ # warnings as errors:
+ # we have a problem with people checking in code with warnings.
+- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Werror -Wno-unused-local-typedef")
++ #set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Werror -Wno-unused-local-typedef")
+
+ # For config.h, detect the libraries, functions, etc.
+ include(CheckIncludeFiles)
diff --git a/x11-misc/synergy/files/synergy-1.8.1-internal-gmock-gtest.patch b/x11-misc/synergy/files/synergy-1.8.1-internal-gmock-gtest.patch
new file mode 100644
index 000000000000..7814c7418cd3
--- /dev/null
+++ b/x11-misc/synergy/files/synergy-1.8.1-internal-gmock-gtest.patch
@@ -0,0 +1,23 @@
+--- a/src/test/CMakeLists.txt
++++ b/src/test/CMakeLists.txt
+@@ -14,20 +14,5 @@
+ # You should have received a copy of the GNU General Public License
+ # along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-include_directories(
+- ../../ext/gtest-1.6.0
+- ../../ext/gtest-1.6.0/include
+- ../../ext/gmock-1.6.0
+- ../../ext/gmock-1.6.0/include)
+-
+-add_library(gtest STATIC ../../ext/gtest-1.6.0/src/gtest-all.cc)
+-add_library(gmock STATIC ../../ext/gmock-1.6.0/src/gmock-all.cc)
+-
+-if (UNIX)
+- # ignore warnings in gtest and gmock
+- set_target_properties(gtest PROPERTIES COMPILE_FLAGS "-w")
+- set_target_properties(gmock PROPERTIES COMPILE_FLAGS "-w")
+-endif()
+-
+ add_subdirectory(integtests)
+ add_subdirectory(unittests)
diff --git a/x11-misc/synergy/files/synergy-1.8.5-gtest.patch b/x11-misc/synergy/files/synergy-1.8.5-gtest.patch
new file mode 100644
index 000000000000..c9eaa5164190
--- /dev/null
+++ b/x11-misc/synergy/files/synergy-1.8.5-gtest.patch
@@ -0,0 +1,38 @@
+--- a/src/lib/synergy/KeyMap.h 2016-11-09 13:21:52.000000000 -0600
++++ b/src/lib/synergy/KeyMap.h 2016-11-09 13:22:17.484457330 -0600
+@@ -24,7 +24,9 @@
+ #include "common/stdset.h"
+ #include "common/stdvector.h"
+
++#if WITH_GENTOO_TEST
+ #include "gtest/gtest_prod.h"
++#endif
+
+ namespace synergy {
+
+@@ -327,6 +329,7 @@
+ //@}
+
+
++#if WITH_GENTOO_TEST
+ private:
+ FRIEND_TEST(KeyMapTests,
+ findBestKey_requiredDown_matchExactFirstItem);
+@@ -341,6 +344,7 @@
+ FRIEND_TEST(KeyMapTests,
+ findBestKey_onlyOneRequiredDown_matchTwoRequiredChangesItem);
+ FRIEND_TEST(KeyMapTests, findBestKey_noRequiredDown_cannotMatch);
++#endif
+
+ private:
+ //! Ways to synthesize a key
+--- a/src/CMakeLists.txt 2016-11-09 13:31:26.000000000 -0600
++++ b/src/CMakeLists.txt 2016-11-09 13:40:08.189421727 -0600
+@@ -50,6 +50,6 @@
+ add_subdirectory(cmd)
+ add_subdirectory(micro)
+
+-if (NOT ${CMAKE_SYSTEM_NAME} MATCHES "IRIX")
++if (${WITH_GENTOO_TEST})
+ add_subdirectory(test)
+ endif()
diff --git a/x11-misc/synergy/metadata.xml b/x11-misc/synergy/metadata.xml
new file mode 100644
index 000000000000..11c61fc68912
--- /dev/null
+++ b/x11-misc/synergy/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="google-code">synergy</remote-id>
+ <remote-id type="github">synergy/synergy</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/synergy/synergy-1.6.3.ebuild b/x11-misc/synergy/synergy-1.6.3.ebuild
new file mode 100644
index 000000000000..266180f7bbae
--- /dev/null
+++ b/x11-misc/synergy/synergy-1.6.3.ebuild
@@ -0,0 +1,116 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit eutils flag-o-matic gnome2-utils cmake-utils qt4-r2
+
+DESCRIPTION="Lets you easily share a single mouse and keyboard between multiple computers"
+HOMEPAGE="http://synergy-project.org/ https://github.com/synergy/synergy"
+SRC_URI="
+ https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz
+ https://dev.gentoo.org/~jer/${PN}.png
+"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha amd64 ~arm ppc ppc64 ~sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos ~sparc-solaris ~x86-solaris"
+IUSE="qt4 test"
+
+COMMON_DEPEND="
+ >=dev-libs/crypto++-5.6.2
+ x11-libs/libICE
+ x11-libs/libSM
+ x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXi
+ x11-libs/libXinerama
+ x11-libs/libXrandr
+ x11-libs/libXtst
+ qt4? (
+ dev-qt/qtcore:4
+ dev-qt/qtgui:4
+ net-dns/avahi[mdnsresponder-compat]
+ )
+"
+DEPEND="
+ ${COMMON_DEPEND}
+ test? ( >=dev-cpp/gmock-1.6.0 )
+ x11-proto/kbproto
+ x11-proto/randrproto
+ x11-proto/xextproto
+ x11-proto/xineramaproto
+ x11-proto/xproto
+"
+RDEPEND="
+ ${COMMON_DEPEND}
+ qt4? ( !x11-misc/qsynergy )
+"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-1.4.16_p1969-pthread.patch"
+ "${FILESDIR}/${PN}-1.4.17_p2055-cryptopp.patch"
+ "${FILESDIR}/${PN}-1.4.17_p2055-test.patch"
+ "${FILESDIR}/${PN}-1.4.17_p2055-gentoo.patch"
+ "${FILESDIR}/${PN}-1.4.17_p2055-CSocketMultiplexer.patch"
+)
+
+src_prepare() {
+ cmake-utils_src_prepare
+}
+
+src_configure() {
+ local mycmakeargs=$(cmake-utils_use_with test GENTOO_TEST)
+ cmake-utils_src_configure
+
+ if use qt4 ; then
+ cd src/gui || die
+ qt4-r2_src_configure
+ fi
+}
+
+src_compile() {
+ cmake-utils_src_compile
+
+ if use qt4 ; then
+ cd src/gui || die
+ qt4-r2_src_compile
+ fi
+}
+
+src_test() {
+ local exe fail
+ for exe in bin/integtests bin/unittests; do
+ ${exe} || fail+=" ${exe}"
+ done
+ [[ ${fail} ]] && ewarn "${fail} failed"
+}
+
+src_install () {
+ dobin bin/${PN}{c,s}
+
+ if use qt4 ; then
+ newbin bin/${PN} qsynergy
+ newicon -s 256 "${DISTDIR}"/${PN}.png q${PN}.png
+ make_desktop_entry q${PN} ${PN/s/S} q${PN} Utility;
+ fi
+
+ insinto /etc
+ newins doc/synergy.conf.example synergy.conf
+
+ newman doc/${PN}c.man ${PN}c.1
+ newman doc/${PN}s.man ${PN}s.1
+
+ dodoc README doc/synergy.conf.example* ChangeLog
+}
+
+pkg_preinst() {
+ use qt4 && gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ use qt4 && gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ use qt4 && gnome2_icon_cache_update
+}
diff --git a/x11-misc/synergy/synergy-1.8.6.ebuild b/x11-misc/synergy/synergy-1.8.6.ebuild
new file mode 100644
index 000000000000..331f31656127
--- /dev/null
+++ b/x11-misc/synergy/synergy-1.8.6.ebuild
@@ -0,0 +1,112 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit eutils flag-o-matic gnome2-utils cmake-utils qt4-r2
+
+DESCRIPTION="Lets you easily share a single mouse and keyboard between multiple computers"
+HOMEPAGE="http://synergy-project.org/ https://github.com/symless/synergy"
+SRC_URI="
+ https://github.com/symless/${PN}/archive/v${PV}-stable.tar.gz -> ${P}.tar.gz
+ https://dev.gentoo.org/~jer/${PN}.png
+"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos ~sparc-solaris ~x86-solaris"
+IUSE="libressl qt4"
+RESTRICT="test"
+
+S=${WORKDIR}/${P}-stable
+
+COMMON_DEPEND="
+ !libressl? ( dev-libs/openssl:* )
+ libressl? ( dev-libs/libressl )
+ net-misc/curl
+ x11-libs/libICE
+ x11-libs/libSM
+ x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXi
+ x11-libs/libXinerama
+ x11-libs/libXrandr
+ x11-libs/libXtst
+ qt4? (
+ dev-qt/qtcore:4
+ dev-qt/qtgui:4
+ net-dns/avahi[mdnsresponder-compat]
+ )
+"
+DEPEND="
+ ${COMMON_DEPEND}
+ x11-proto/kbproto
+ x11-proto/randrproto
+ x11-proto/xextproto
+ x11-proto/xineramaproto
+ x11-proto/xproto
+"
+RDEPEND="
+ ${COMMON_DEPEND}
+ qt4? ( !x11-misc/qsynergy )
+"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.4.16_p1969-pthread.patch
+ "${FILESDIR}"/${PN}-1.7.5-gentoo.patch
+ "${FILESDIR}"/${PN}-1.8.1-internal-gmock-gtest.patch
+ "${FILESDIR}"/${PN}-1.8.5-gtest.patch
+)
+
+src_prepare() {
+ cmake-utils_src_prepare
+}
+
+src_configure() {
+ append-cxxflags ${mycmakeargs}
+
+ cmake-utils_src_configure
+
+ if use qt4 ; then
+ cd src/gui || die
+ qt4-r2_src_configure
+ fi
+}
+
+src_compile() {
+ cmake-utils_src_compile
+
+ if use qt4 ; then
+ cd src/gui || die
+ qt4-r2_src_compile
+ fi
+}
+
+src_install () {
+ dobin bin/${PN}{c,s} bin/syntool
+
+ if use qt4 ; then
+ newbin bin/${PN} qsynergy
+ newicon -s 256 "${DISTDIR}"/${PN}.png q${PN}.png
+ make_desktop_entry q${PN} ${PN/s/S} q${PN} Utility;
+ fi
+
+ insinto /etc
+ newins doc/synergy.conf.example synergy.conf
+
+ newman doc/${PN}c.man ${PN}c.1
+ newman doc/${PN}s.man ${PN}s.1
+
+ dodoc README doc/synergy.conf.example* ChangeLog
+}
+
+pkg_preinst() {
+ use qt4 && gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ use qt4 && gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ use qt4 && gnome2_icon_cache_update
+}
diff --git a/x11-misc/synergy/synergy-1.8.8.ebuild b/x11-misc/synergy/synergy-1.8.8.ebuild
new file mode 100644
index 000000000000..1bbe611323a0
--- /dev/null
+++ b/x11-misc/synergy/synergy-1.8.8.ebuild
@@ -0,0 +1,111 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit eutils flag-o-matic gnome2-utils cmake-utils qt4-r2
+
+DESCRIPTION="Lets you easily share a single mouse and keyboard between multiple computers"
+HOMEPAGE="http://synergy-project.org/ https://github.com/symless/synergy"
+SRC_URI="
+ https://github.com/symless/${PN}/archive/v${PV}-stable.tar.gz -> ${P}.tar.gz
+ https://dev.gentoo.org/~jer/${PN}.png
+"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos ~sparc-solaris ~x86-solaris"
+IUSE="libressl qt4"
+RESTRICT="test"
+
+S=${WORKDIR}/${P}-stable
+
+COMMON_DEPEND="
+ !libressl? ( dev-libs/openssl:* )
+ libressl? ( dev-libs/libressl )
+ net-misc/curl
+ x11-libs/libICE
+ x11-libs/libSM
+ x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXi
+ x11-libs/libXinerama
+ x11-libs/libXrandr
+ x11-libs/libXtst
+ qt4? (
+ dev-qt/qtcore:4
+ dev-qt/qtgui:4
+ net-dns/avahi[mdnsresponder-compat]
+ )
+"
+DEPEND="
+ ${COMMON_DEPEND}
+ x11-proto/kbproto
+ x11-proto/randrproto
+ x11-proto/xextproto
+ x11-proto/xineramaproto
+ x11-proto/xproto
+"
+RDEPEND="
+ ${COMMON_DEPEND}
+ qt4? ( !x11-misc/qsynergy )
+"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.4.16_p1969-pthread.patch
+ "${FILESDIR}"/${PN}-1.8.1-internal-gmock-gtest.patch
+ "${FILESDIR}"/${PN}-1.8.5-gtest.patch
+)
+
+src_prepare() {
+ cmake-utils_src_prepare
+}
+
+src_configure() {
+ append-cxxflags ${mycmakeargs}
+
+ cmake-utils_src_configure
+
+ if use qt4 ; then
+ cd src/gui || die
+ qt4-r2_src_configure
+ fi
+}
+
+src_compile() {
+ cmake-utils_src_compile
+
+ if use qt4 ; then
+ cd src/gui || die
+ qt4-r2_src_compile
+ fi
+}
+
+src_install () {
+ dobin bin/${PN}{c,s} bin/syntool
+
+ if use qt4 ; then
+ newbin bin/${PN} qsynergy
+ newicon -s 256 "${DISTDIR}"/${PN}.png q${PN}.png
+ make_desktop_entry q${PN} ${PN/s/S} q${PN} Utility;
+ fi
+
+ insinto /etc
+ newins doc/synergy.conf.example synergy.conf
+
+ newman doc/${PN}c.man ${PN}c.1
+ newman doc/${PN}s.man ${PN}s.1
+
+ dodoc README doc/synergy.conf.example* ChangeLog
+}
+
+pkg_preinst() {
+ use qt4 && gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ use qt4 && gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ use qt4 && gnome2_icon_cache_update
+}
diff --git a/x11-misc/tabbed/Manifest b/x11-misc/tabbed/Manifest
new file mode 100644
index 000000000000..b68ce1861594
--- /dev/null
+++ b/x11-misc/tabbed/Manifest
@@ -0,0 +1,5 @@
+DIST tabbed-0.6.tar.gz 12926 SHA256 7651ea3acbec5d6a25469e8665da7fc70aba2b4fa61a2a6a5449eafdfd641c42 SHA512 bcad873251be6b5de21311531e8d24330003b42790cb94d559a0d1be45408b3e0722c14e7c7f2cefd0717fd2a2d7a100fa08fc4e10e7bb669935909602286553 WHIRLPOOL 072ef8b28907958da40b44b07c40e753459851a11a9e9708fa97de27768841580a39dd16018dd6c8d2949b23fabd9cc1152f41462226094d1d501aed1f1f35cd
+EBUILD tabbed-0.6.ebuild 948 SHA256 425590caaabbd2a2d6bcf4d4b8d6eba933b20d137ebd79249a6a4e12ba516ec7 SHA512 a60cbcd48d8c79c5fb9b22c0bd7e7baaa3ca730c5f08e9e957e87e7c4852bb6286c7709952440ec6fe5711cc7720a1c9f5de40b01748d19a222099ceb78c82d5 WHIRLPOOL d37c46153a65f917c5307cf7f5090316c1878ee09157d7bd4deb86a3576ee80ecc7a112cb7cffca68c65881ad2da4cf15a1760aae1955d5fa6076f862bc9a5fa
+MISC ChangeLog 2813 SHA256 12085f4ec8f9e33b6d579f79e9e1f67c3ddbdf9a6b9bf9e897141c5931bf4fdf SHA512 508a57ef1ebb5202851558c435fc5a4fd19b739f8d301bae47b332f431a27da17b7c22bca9773f1ee0ac86d6a7bb138ccb5569357cc3ba1dc7b5c845ee48aaa3 WHIRLPOOL 3901e445c92501b1f540ef804318127a541dc6051960cf97147599e313afa1e8e9e2c06aadb96f617dfdb4fa65bf1cd79b94303b6ae0a5c63b5c7200bf3c3aa3
+MISC ChangeLog-2015 1207 SHA256 506adecca8987153f0176c83d3ed0e3e279b86a323c6a33bcb2d761f3cddfde2 SHA512 6bee40a788ec89700559eed89fea2fea73504748b61c89d1afadfc22d1f6fc0707a62a373dbe15a5791a42fcb1a03db2013ff885f75af4d01203089b305c2eb8 WHIRLPOOL 3e7f5299b3dc50dd71b0863a4f9aff97edbf5f17de3230c4a804aff0ed37955961c1c2a5ff1bf165065234196a96a8575365756b35c785b414954036e91df2d7
+MISC metadata.xml 369 SHA256 45dcb0828e3841d5a312f7a8c86cd2ee4cd58ca0e7b5bda7100a5077d2c060bf SHA512 9c2113536cbda45e66eb5697ac4c173ff301a7692c7f3bafead7e5bc7e30778535dbd9dc8ee494ced840a2f17e6b1674c95418772fbffda61eb11848ef368b9d WHIRLPOOL 8e3504de20944b25ed6755d9d78d32ee86ed50e16a5a89acf1444e88c264454832b2bab795fc42a6799dc9d5c958ed54b44c91219d31e9224938c6ab0901bb99
diff --git a/x11-misc/tabbed/metadata.xml b/x11-misc/tabbed/metadata.xml
new file mode 100644
index 000000000000..229dd61feac9
--- /dev/null
+++ b/x11-misc/tabbed/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person">
+<email>jer@gentoo.org</email>
+<name>Jeroen Roovers</name>
+</maintainer>
+<maintainer type="project">
+<email>desktop-misc@gentoo.org</email>
+<name>Gentoo Desktop Miscellaneous Project</name>
+</maintainer>
+</pkgmetadata>
diff --git a/x11-misc/tabbed/tabbed-0.6.ebuild b/x11-misc/tabbed/tabbed-0.6.ebuild
new file mode 100644
index 000000000000..62c051535985
--- /dev/null
+++ b/x11-misc/tabbed/tabbed-0.6.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit savedconfig toolchain-funcs
+
+DESCRIPTION="Simple generic tabbed fronted to xembed aware applications"
+HOMEPAGE="https://tools.suckless.org/tabbed"
+SRC_URI="https://dl.suckless.org/tools/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="x11-libs/libX11"
+DEPEND="
+ x11-proto/xproto
+ ${RDEPEND}
+"
+
+src_prepare() {
+ sed config.mk \
+ -e '/^CC/d' \
+ -e 's|/usr/local|/usr|g' \
+ -e 's|^CFLAGS.*|CFLAGS += -std=c99 -pedantic -Wall $(INCS) $(CPPFLAGS)|g' \
+ -e 's|^LDFLAGS.*|LDFLAGS += $(CFLAGS) $(LIBS)|g' \
+ -e 's|^LIBS.*|LIBS = -lX11|g' \
+ -e 's|{|(|g;s|}|)|g' \
+ -i || die
+
+ sed Makefile \
+ -e 's|{|(|g;s|}|)|g' \
+ -e '/^[[:space:]]*@echo/d' \
+ -e 's|^ @| |g' \
+ -i || die
+
+ restore_config config.h
+}
+
+src_compile() {
+ emake CC=$(tc-getCC)
+}
+src_install() {
+ default
+ save_config config.h
+}
diff --git a/x11-misc/tint2/Manifest b/x11-misc/tint2/Manifest
new file mode 100644
index 000000000000..d836d0ebde83
--- /dev/null
+++ b/x11-misc/tint2/Manifest
@@ -0,0 +1,11 @@
+AUX 0.12.12-fix-compilation-without-svg.patch 533 SHA256 aaec5fd31946a4aa958d63054f6037e47c3e902cec98fb3f0ca82c16149755b8 SHA512 4f4353f433dd30a244e33f320986ae1f0009d4d5144e85050e8799a772a78d6959927b91ee16f124270c450286b82b4e5ec3166e4624923684de88a7b3c6b014 WHIRLPOOL 7b02c90c331c011d36d77bd33bd684d14437393b5986755ae21e4d7c0bd025674b8779dd2a20eb5971a253eac06fd962c3bac920d29726fa7446bfbfd61cefa5
+AUX 0.12.12-no-hardcode-update-icon-cache.patch 1678 SHA256 5640fe84d4fcb2d50a30896850160254c57831d7786fac5d1686f7830ccc5c73 SHA512 4d874220998de50d71140af792e9e081ad68e9cdc09530747c4b053ff1536c8d971160bb1d3e850bc831a3c7eed31dba7516fdc21c9b579aba22a9e45be6c06e WHIRLPOOL 15b5390cd675bd7774082c5ddb985ec60424763f85e725eec9eee0824c005ee064408c6a997a91747a14c9f80561a4e39c32b238338517738b7d59f3e7d04628
+AUX 0.12.12-relax-pango-includes.patch 615 SHA256 c8daa8b9f0d645125e5fd09417a4cda7be0f9c4da07716c1e70b1cd03f2dce34 SHA512 a35615fbf20b0a13c22b23f9882f67cc34c69a9492840d3bf1753a76e218d1b72607884e4e7d7c6d8836e0b6b35c1eb10e88e7d1c327677b059264f2184f76ec WHIRLPOOL 46b1892aebc52d42275152777426ee80ef8ac2d0914b89f62c5ee4c5c010e2121306aaf3a72a23962714c7b26e9b95c675b062354d1d2d886cfd089b832dbd06
+AUX 0.14.6-sysconfdir-xdg2.patch 660 SHA256 b8b5c21d6030dca86eb66ee47b5569dc584bd53f550b830191ba73627641886d SHA512 0780f293148ec97c5cdaf2751c3b69e6b4f75256f10eb0f756a7685caffd0c1903459fb0710cce70b0de65bc07d5a9dfff29abf9ae0711ce76e9b7336621c9be WHIRLPOOL 081aa4a1e41274977a4f3442e7632b388b017990ab22d0f2af588629bb956cb3331ff58d96be6519d608e4d057057bdc360c235008f2f15a67c77d231380d308
+DIST tint2-0.12.12.tar.gz 469724 SHA256 e4c6ffb67eb1242f19d94037b072602bc751ac71ca61352dea3465168e643450 SHA512 10a1f42df6a66f6e092d69cd0ea3d900dcef57b06391206d950a1d7f576a880829bb44d00828a030d3172184db238a22f205169c12cc32cf42c6321d61929a8c WHIRLPOOL 197b92a93eb0368708824159bde41bd81143d0423a1f9ab83b2af4a11b3e3055a40481b9746f095e10cca84f7d772237a92d06bf267761021be308c0b3b5d553
+DIST tint2-0.14.6.tar.gz 466533 SHA256 1770e2a37dc8066a33af7385ba1bbe7405101bced8e9fc7ee95d48cef53cd351 SHA512 eb1505bef932aa0cd0291dc762d3c9cbe760e3fea0684fc604aa3cae3f5ddf63e5b791db745eb29384e4732e6de09a01084f3ce2a92931b431cdf69a59b1f6da WHIRLPOOL ae9a00d866f868842600355fd463556b55405d13c2cf6344f4a72b541b445cdb22e6d576ae202452f5502caba17ddba33d008b5d4f763f53c72fb7d87afa79c8
+EBUILD tint2-0.12.12.ebuild 1400 SHA256 b672442f0cbce414ec94bfcf8dd7520d85aa10edbdfbff92aa70bddcbd25d4f1 SHA512 97b0a093ba91d254201b1105524c5eb087d09589be1560f5adfd76da26b803da3efff44f3974e273d694086dc3f50693c6a5cae1798fd1e11be98d6942167d0d WHIRLPOOL 4169fc8919ff59a7e5b41d26bf88748d30f36c0bab5abf315f23fabaef87667aad6ca82caf7e8754b488ee8479860d74e1bd5493d2ddfda64fe0b8733ac6905c
+EBUILD tint2-0.14.6-r2.ebuild 1341 SHA256 3586659d3d377c15ecaae7d04123462494f856b8c8d908865c8cd3b73ac1b48a SHA512 a76155df865a0b6dd2c12709f42e2848b9330e51a0c55392c42caa76f017550a94343469b741cfbee375f527b711a8a158efdccf315f3917442f13fec91d19f7 WHIRLPOOL e22f984e5fa14e7ecc12fd6aa3e58851ed3e1bb0cc508b94fb6c55cab2e9acd12891aede289f22d68bf1f30e62233b875d8d5957654737016cbc4d04847dc7bd
+MISC ChangeLog 3390 SHA256 edb4d0c6552d2360ecf92bef6691d05cd4f4723e61f6f349d6f5271d877107cc SHA512 af2bacd365df9a382b471e94f13560484a2ffaea3835f16f129f8f4279fd1ee3430ba6c91e7051b1c589f70744add18365e8ed22f50d8fc1ccdc8c2ddc029712 WHIRLPOOL 3bcac542e0cfc2cd99b2f08477817758b1e13f9cc4a5f84c4d21942b13b8b74af84e688f90cbf46135b89071e57994dd8dd3346bfe4078047cdda8192eefdc4c
+MISC ChangeLog-2015 4825 SHA256 26e2e5cd63dfb8ca51d7d1b791d46539803230a6a8e5b55e1c5ee64379faed57 SHA512 8dcc50d7ce591baf0b92cd2363b2e1b564dc30931742dbb5545ac026855c392483993562803f7b1d72e5a63aefc636018dba1283a2bc6916084c7413e591ceef WHIRLPOOL b537c91e50edff6663d7eeab61902a21c508bb0fb226f851d695855bb526aec912878c3671e54dcf81deb06ce037e1d8a0c69aedb26b927185db6b4bfa79c976
+MISC metadata.xml 789 SHA256 d5f919819721e125937242636cfaeba9693afe0712f51c14c4f3878a5f4dbf86 SHA512 e50c127a10ae89a7ec04c7b3a1d5dad3fd1ca89ac37b66378d8b24921d3ffe43ea4037182e20a624880be0eea527414e3727726e6799bbec4d46e2d3bdc934cf WHIRLPOOL 54ac478c45b5539f410308c939ee4fee7faaa4b3e185a40cb12caf7602c609d915e4f987f246819890df373e9ebd5521a37590ffbc8f2105d5566e8e12cc6d8e
diff --git a/x11-misc/tint2/files/0.12.12-fix-compilation-without-svg.patch b/x11-misc/tint2/files/0.12.12-fix-compilation-without-svg.patch
new file mode 100644
index 000000000000..c6da687baca8
--- /dev/null
+++ b/x11-misc/tint2/files/0.12.12-fix-compilation-without-svg.patch
@@ -0,0 +1,18 @@
+From 2c42a787257e0801b8454fd8960d6794831cedea Mon Sep 17 00:00:00 2001
+From: o9000 <mrovi9000@gmail.com>
+Date: Sat, 8 Oct 2016 15:02:28 +0200
+Subject: Fix compilation with ENABLE_RSVG=OFF (fixes issue #602)
+
+
+diff --git a/src/launcher/launcher.c b/src/launcher/launcher.c
+index 0b4172f..0052e90 100644
+--- a/src/launcher/launcher.c
++++ b/src/launcher/launcher.c
+@@ -30,7 +30,6 @@
+ #include <glib/gi18n.h>
+ #include <glib.h>
+ #include <glib/gstdio.h>
+-#include <gdk-pixbuf/gdk-pixbuf.h>
+ #include <sys/types.h>
+
+ #include "window.h"
diff --git a/x11-misc/tint2/files/0.12.12-no-hardcode-update-icon-cache.patch b/x11-misc/tint2/files/0.12.12-no-hardcode-update-icon-cache.patch
new file mode 100644
index 000000000000..21a80eb36d43
--- /dev/null
+++ b/x11-misc/tint2/files/0.12.12-no-hardcode-update-icon-cache.patch
@@ -0,0 +1,34 @@
+From 6306f9920f639cf092ca3f1935ac7aa202f78c86 Mon Sep 17 00:00:00 2001
+From: Yuri Konotopov <ykonotopov@gnome.org>
+Date: Fri, 13 Jan 2017 19:06:43 +0400
+Subject: [PATCH] cmake: do not hardcode icon cache update
+
+---
+ CMakeLists.txt | 1 -
+ src/tint2conf/CMakeLists.txt | 1 -
+ 2 files changed, 2 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index b4a1089..ef06393 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -241,7 +241,6 @@ set_target_properties( tint2 PROPERTIES LINK_FLAGS "-pthread -fno-strict-aliasin
+ install( TARGETS tint2 DESTINATION bin )
+ install( FILES tint2.svg DESTINATION ${DATADIR}/icons/hicolor/scalable/apps )
+ install( FILES tint2.desktop DESTINATION ${DATADIR}/applications )
+-install( CODE "execute_process(COMMAND gtk-update-icon-cache -f -t ${DATADIR}/icons/hicolor WORKING_DIRECTORY ${CMAKE_INSTALL_PREFIX})" )
+ install( FILES themes/tint2rc DESTINATION ${SYSCONFDIR}/xdg/tint2 )
+ install( FILES default_icon.png DESTINATION ${DATADIR}/tint2 )
+ install( FILES AUTHORS ChangeLog README.md doc/tint2.md doc/manual.html doc/readme.html DESTINATION ${DOCDIR} )
+diff --git a/src/tint2conf/CMakeLists.txt b/src/tint2conf/CMakeLists.txt
+index 9595f6a..fd616fa 100644
+--- a/src/tint2conf/CMakeLists.txt
++++ b/src/tint2conf/CMakeLists.txt
+@@ -72,4 +72,3 @@ add_subdirectory(po)
+ install( TARGETS tint2conf DESTINATION bin )
+ install( FILES tint2conf.svg DESTINATION ${DATADIR}/icons/hicolor/scalable/apps )
+ install( FILES tint2conf.desktop DESTINATION ${DATADIR}/applications )
+-install( CODE "execute_process(COMMAND gtk-update-icon-cache -f -t ${DATADIR}/icons/hicolor WORKING_DIRECTORY ${CMAKE_INSTALL_PREFIX})" )
+--
+2.10.2
+
diff --git a/x11-misc/tint2/files/0.12.12-relax-pango-includes.patch b/x11-misc/tint2/files/0.12.12-relax-pango-includes.patch
new file mode 100644
index 000000000000..e9e40f305b34
--- /dev/null
+++ b/x11-misc/tint2/files/0.12.12-relax-pango-includes.patch
@@ -0,0 +1,26 @@
+From c3a86e185d548e11bb12bc766a58fd3b617c1c46 Mon Sep 17 00:00:00 2001
+From: o9000 <mrovi9000@gmail.com>
+Date: Sun, 18 Sep 2016 12:53:59 +0200
+Subject: [PATCH] Fix include (fixes issue #596)
+
+---
+ src/config.c | 3 +--
+ 1 file changed, 1 insertion(+), 2 deletions(-)
+
+diff --git a/src/config.c b/src/config.c
+index a831ece..13f3b7b 100644
+--- a/src/config.c
++++ b/src/config.c
+@@ -31,8 +31,7 @@
+ #include <string.h>
+ #include <ctype.h>
+ #include <glib/gstdio.h>
+-#include <pango/pangocairo.h>
+-#include <pango/pangoxft.h>
++#include <pango/pango-font.h>
+ #include <Imlib2.h>
+
+ #include "config.h"
+--
+libgit2 0.24.0
+
diff --git a/x11-misc/tint2/files/0.14.6-sysconfdir-xdg2.patch b/x11-misc/tint2/files/0.14.6-sysconfdir-xdg2.patch
new file mode 100644
index 000000000000..6b29b49aaf72
--- /dev/null
+++ b/x11-misc/tint2/files/0.14.6-sysconfdir-xdg2.patch
@@ -0,0 +1,12 @@
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -257,7 +257,7 @@
+ install( TARGETS tint2 DESTINATION bin )
+ install( FILES tint2.svg DESTINATION ${CMAKE_INSTALL_DATADIR}/icons/hicolor/scalable/apps )
+ install( FILES tint2.desktop DESTINATION ${CMAKE_INSTALL_DATADIR}/applications )
+-install( FILES themes/tint2rc DESTINATION /etc/xdg/tint2 )
++install( FILES themes/tint2rc DESTINATION ${CMAKE_INSTALL_FULL_SYSCONFDIR}/xdg/tint2 )
+ install( FILES default_icon.png DESTINATION ${CMAKE_INSTALL_DATADIR}/tint2 )
+ install( FILES AUTHORS ChangeLog README.md doc/tint2.md DESTINATION ${docdir} )
+ install( FILES doc/manual.html doc/readme.html DESTINATION ${htmldir} )
+
diff --git a/x11-misc/tint2/metadata.xml b/x11-misc/tint2/metadata.xml
new file mode 100644
index 000000000000..3187164d5a91
--- /dev/null
+++ b/x11-misc/tint2/metadata.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>amynka@gentoo.org</email>
+ </maintainer>
+ <use>
+ <flag name="battery">Enable battery status plugin</flag>
+ <flag name="tint2conf">Build/Install tint2conf as well</flag>
+ </use>
+ <longdescription lang="en">tint2 is a simple panel/taskbar intentionally made for
+ <pkg>x11-wm/openbox</pkg>3, but should also work with other window managers.
+ It's based on ttm code https://code.google.com/p/ttm/.
+ The goal is to keep a clean and unintrusive look with code lightweight and compliance with freedesktop specifications.</longdescription>
+ <upstream>
+ <remote-id type="google-code">tint2</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/tint2/tint2-0.12.12.ebuild b/x11-misc/tint2/tint2-0.12.12.ebuild
new file mode 100644
index 000000000000..8f0b0b56d984
--- /dev/null
+++ b/x11-misc/tint2/tint2-0.12.12.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils gnome2-utils vcs-snapshot
+
+DESCRIPTION="tint2 is a lightweight panel/taskbar for Linux."
+HOMEPAGE="https://gitlab.com/o9000/tint2"
+SRC_URI="https://gitlab.com/o9000/${PN}/repository/archive.tar.gz?ref=v${PV} -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="battery svg startup-notification tint2conf"
+
+DEPEND="
+ dev-libs/glib:2
+ svg? ( gnome-base/librsvg:2 )
+ >=media-libs/imlib2-1.4.2[X,png]
+ x11-libs/cairo[X]
+ x11-libs/pango
+ tint2conf? ( x11-libs/gtk+:2 )
+ x11-libs/libX11
+ x11-libs/libXcomposite
+ x11-libs/libXdamage
+ x11-libs/libXinerama
+ >=x11-libs/libXrandr-1.3
+ x11-libs/libXrender
+ startup-notification? ( x11-libs/startup-notification )
+"
+RDEPEND="${DEPEND}"
+
+PATCHES=(
+ "${FILESDIR}/${PV}-fix-compilation-without-svg.patch"
+ "${FILESDIR}/${PV}-no-hardcode-update-icon-cache.patch"
+ "${FILESDIR}/${PV}-relax-pango-includes.patch"
+)
+
+src_configure() {
+ local mycmakeargs=(
+ -DENABLE_BATTERY="$(usex battery)"
+ -DENABLE_TINT2CONF="$(usex tint2conf)"
+ -DENABLE_SN="$(usex startup-notification)"
+ -DENABLE_RSVG="$(usex svg)"
+ )
+
+ cmake-utils_src_configure
+}
+
+src_install() {
+ cmake-utils_src_install
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}
diff --git a/x11-misc/tint2/tint2-0.14.6-r2.ebuild b/x11-misc/tint2/tint2-0.14.6-r2.ebuild
new file mode 100644
index 000000000000..bc7cd9da3b23
--- /dev/null
+++ b/x11-misc/tint2/tint2-0.14.6-r2.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils gnome2-utils vcs-snapshot
+
+DESCRIPTION="tint2 is a lightweight panel/taskbar for Linux."
+HOMEPAGE="https://gitlab.com/o9000/tint2"
+SRC_URI="https://gitlab.com/o9000/${PN}/repository/archive.tar.gz?ref=v${PV} -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="battery svg startup-notification tint2conf"
+
+DEPEND="
+ dev-libs/glib:2
+ svg? ( gnome-base/librsvg:2 )
+ >=media-libs/imlib2-1.4.2[X,png]
+ x11-libs/cairo[X]
+ x11-libs/pango
+ tint2conf? ( x11-libs/gtk+:2 )
+ x11-libs/libX11
+ x11-libs/libXcomposite
+ x11-libs/libXdamage
+ x11-libs/libXinerama
+ >=x11-libs/libXrandr-1.3
+ x11-libs/libXrender
+ startup-notification? ( x11-libs/startup-notification )
+"
+RDEPEND="${DEPEND}"
+
+# bug 629312
+PATCHES=( "${FILESDIR}/${PV}-sysconfdir-xdg2.patch" )
+
+src_configure() {
+ local mycmakeargs=(
+ -Ddocdir="${EPREFIX}/usr/share/doc/${PF}"
+ -DENABLE_BATTERY="$(usex battery)"
+ -DENABLE_TINT2CONF="$(usex tint2conf)"
+ -DENABLE_SN="$(usex startup-notification)"
+ -DENABLE_RSVG="$(usex svg)"
+ )
+
+ cmake-utils_src_configure
+}
+
+src_install() {
+ cmake-utils_src_install
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}
diff --git a/x11-misc/tintwizard/Manifest b/x11-misc/tintwizard/Manifest
new file mode 100644
index 000000000000..e05b2bd4f639
--- /dev/null
+++ b/x11-misc/tintwizard/Manifest
@@ -0,0 +1,5 @@
+DIST tintwizard-0.3.4.tar.gz 22918 SHA256 ca527f1068307a81b5c588f199979a578d4b3679a1fcd451e7d368ed7f8bb890 SHA512 e67f6cf7db4a34d344104b2795491799ef72365b76b65eaef01595fa2a624e219ed852a9dbbfb6221bec7b9028fdbd487bc7c1d82653466e1ff2a7b38ba4e27d WHIRLPOOL 69ad017657246b25345bc95e72c4c795227688650eab007ee6a46998d8ef794c347216e98e7ba5752a0965746dd225d9a2ed732d43330de9e506508a2dbf5c95
+EBUILD tintwizard-0.3.4-r2.ebuild 631 SHA256 966c4d29d2328da1952781589b5faa02307f85733acf79f23f68cf44a3aa3bdb SHA512 3c82996428568b1fd24e261e25ff23744edcca480850ce0f6b9995f6a640233f824a41556d5a90d27a1d56d97f9f975325af4e869426bdc5839c542e0135e2d9 WHIRLPOOL fb3f2e6610600743c9dcbbc6a84a146f60a32c5480da318af64c6fde18a0e695923e2d5485b9517ee4155a8bdd7b3f04683fb95cb58de657ec4dbdd6fad77c63
+MISC ChangeLog 2867 SHA256 6edc29c518965ea2b9a39dbcd167a9bf773831c7ae1e69a50a32937729057b2b SHA512 6264d1c04d377b6cc722d6261ac097f3df0a029895d8170a87202afb07da5443b73619f89989c3a2356bbe8c2d4c94a95eec8cfd65e4c0767fba825ed0c1a446 WHIRLPOOL 5c8661476a4b440e28708fa41e65db5c9da34fb084a5341557df2dc0a2744ee3b19a863d1b2c391f3937f6d6b8d6215c88baddbd103b1a3ae8e63e6951da4587
+MISC ChangeLog-2015 1505 SHA256 e47968b5a1995ed9f71b5b2a31abf7ef276c22a72aa2dc895cade9a2e0744f5f SHA512 3a9d13f38132a59e39cc49c81a8d32cc98545c3bc43b0cf10c8c5541a2d55a8a03a207ce04f24a9c5261f7b5b0b2a21551c38493ecbc8f738253d75bd8c16123 WHIRLPOOL 57460e04fe799e0e22ff55b0ab5ce8aa1983706149ff07fc7c1fa1a723668016370bfa3587eb8a767b383e4aab6bc954a99d71d4ce5e092e22d055ce161c15b0
+MISC metadata.xml 530 SHA256 80b9bda1c02a71cc00cee612b1724f97999de23ba1d94b1ce06a4ca11263acf8 SHA512 9e3759be90e5523b50f9626399cda039c992025d693628c02a1c356bac2f1b2c92a9e669df4d54f3f89ebca38b41c39182ac655cbf3dede1d9d28ecc9cef9a6a WHIRLPOOL 68d79d3bb0e0d7ff2f00535aaf874e2b391ac488a720b2da110f0c0e5390807e117bc7aed60bb0817dc1e366307e90cd34930af034e9400677dfbd0d052a96b5
diff --git a/x11-misc/tintwizard/metadata.xml b/x11-misc/tintwizard/metadata.xml
new file mode 100644
index 000000000000..4eff709724ca
--- /dev/null
+++ b/x11-misc/tintwizard/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <longdescription lang="en">This project aims to provide an easy way to change the appearance of
+ tint2. Through an easy-to-use graphical user interface, you can generate
+ configs and apply to them tint2.</longdescription>
+ <upstream>
+ <remote-id type="google-code">tintwizard</remote-id>
+ <remote-id type="github">vanadey/tintwizard</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/tintwizard/tintwizard-0.3.4-r2.ebuild b/x11-misc/tintwizard/tintwizard-0.3.4-r2.ebuild
new file mode 100644
index 000000000000..cb32eb555eaf
--- /dev/null
+++ b/x11-misc/tintwizard/tintwizard-0.3.4-r2.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit python-single-r1
+
+DESCRIPTION="GUI wizard which generates config files for tint2 panels"
+HOMEPAGE="https://github.com/vanadey/tintwizard/"
+SRC_URI="https://tintwizard.googlecode.com/files/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DEPEND=""
+RDEPEND="
+ ${PYTHON_DEPS}
+ x11-misc/tint2
+ dev-python/pygtk:2[${PYTHON_USEDEP}]"
+
+S="${WORKDIR}"
+
+src_install() {
+ python_newscript tintwizard.py tintwizard
+ einstalldocs
+}
diff --git a/x11-misc/tinynotify-send/Manifest b/x11-misc/tinynotify-send/Manifest
new file mode 100644
index 000000000000..8b4d8e741087
--- /dev/null
+++ b/x11-misc/tinynotify-send/Manifest
@@ -0,0 +1,6 @@
+DIST tinynotify-send-1.2.1.tar.bz2 266078 SHA256 72c5f4451348b0a06dd57efb5de75273e47f7e35ae04df9a3dd1c64be1e71e65 SHA512 f416db09fa95f04d771610af7ae8953192027b8606c53f54efe514c4d33b59e8dc362676004a036c2dd7e7c7cf03b077ee9b753839efbcb181c5724f43efa58d WHIRLPOOL 2e82b67111db19aa52e293feea167e53ef73bf04a043049543082cf9eea64f75bbfe9788e323dd19d081b5cab43ff469e370810fd6bbc70707329cacfb560411
+EBUILD tinynotify-send-1.2.1-r1.ebuild 810 SHA256 c46f282fee18a7936501ce4e0354d1a71d97833724fa5c120147558a0cf625e6 SHA512 a69d6b0c64ee32b6e9997e880429d67375a46537aa1281f53e744ffa7815d3aa1000a33d5b508185e5858acf5532dc3271876ac23f04cba4129fa3136b1163ae WHIRLPOOL 90cf90cf919e217ad51908487e8e73c63d35a206357f304072f4dde58cc019a1498bd78f560d046f62b2ce977e1e8249515024e293ef29ee7d2f3aa89543198a
+EBUILD tinynotify-send-9999.ebuild 859 SHA256 7132fc2b3766677e4a1d8de0c9ba912dc1dfd30842862dd4d63cf8d58b2bab1e SHA512 dc1b63e9a09e80fe1a523a8d4f8c24803cefdd23d32d3e059b8671777a08c2b907832b79984f2a3a07efe82d24ee552eafa127b7a7af453d2eceac3d6650e8e4 WHIRLPOOL 23a0d2e72999dc66c08ed1691902bb169cc2b1e3bb9eaa6093124aeb7c129809c72654f3c1df874e58bdda1eea83d475dcf2935ff46e32296c9d0494a41203c6
+MISC ChangeLog 2422 SHA256 237147b8d3a31703c71a8649c266c7ffbf14bacfe5865820d21ee24df39fae76 SHA512 b2a9b2eb5bdf6fcc75616909780b53f77665a1eb23c6797409ee804861e3110ab1457a275713b46e9fe6af0c206c48cd8e244762e2a9928d54905b096cd3b40e WHIRLPOOL 8412d5657f2358d8c7434f1b2ee3768d1647da14876eeb877ad7396a30304b33edf38f8d9adf2466163443e4962833b6de8be066c9aecb60cbb73aa2fefb0e59
+MISC ChangeLog-2015 2796 SHA256 dac4badb1425adf460faaece288b602dcaad9dce11818dbcc364c2f19a95865f SHA512 b1b190e1733fcad0b6ca0e08cedc61aa1b174c9534dc2b1680a56a3bdfb4da251bbafd0cdbfc18dedee2183cd57d2a3edab65d9f9f93be3c2cc495f46eaea6af WHIRLPOOL 0d067bade52b4888b44fcc1b0f92be7ff3f7137f6e914a1ef8140f3d3c66866c6b95ce1b295b2ee6815a5b5c8fc66222120c037906d9370090210cb98caf3a7f
+MISC metadata.xml 519 SHA256 af175ca638a9f7a261688fb5ff8e0fe7b5344a1dbcc143f0a5d23c9da4ff7aae SHA512 06ce4c0f2e7b95504cad6f060befa1775845344d085f474497b2f65dc158a3fd6d37cb98317f5fc6d6fd9ebd3f2383b74e6357639a5ab038bb221519342c9bdf WHIRLPOOL 472675cc49e7d9be1c263043453b026bba7fe3d8f5f3e63bb18e25e412c1ddf2c6cb71b60e2a64742b2e8e25f8b679e5ae7e806475305c849fb5a8f33afbca43
diff --git a/x11-misc/tinynotify-send/metadata.xml b/x11-misc/tinynotify-send/metadata.xml
new file mode 100644
index 000000000000..59cabc032eb7
--- /dev/null
+++ b/x11-misc/tinynotify-send/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>mgorny@gentoo.org</email>
+ <name>Michał Górny</name>
+ </maintainer>
+ <upstream>
+ <maintainer status="active">
+ <email>mgorny@gentoo.org</email>
+ <name>Michał Górny</name>
+ </maintainer>
+ <bugs-to>https://github.com/mgorny/tinynotify-send/issues/</bugs-to>
+ <remote-id type="github">mgorny/tinynotify-send</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/tinynotify-send/tinynotify-send-1.2.1-r1.ebuild b/x11-misc/tinynotify-send/tinynotify-send-1.2.1-r1.ebuild
new file mode 100644
index 000000000000..c6c4bc1676d7
--- /dev/null
+++ b/x11-misc/tinynotify-send/tinynotify-send-1.2.1-r1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="A notification sending utility (using libtinynotify)"
+HOMEPAGE="https://github.com/mgorny/tinynotify-send/"
+SRC_URI="https://github.com/mgorny/tinynotify-send/releases/download/${P}/${P}.tar.bz2"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="app-eselect/eselect-notify-send
+ x11-libs/libtinynotify:0=
+ ~x11-libs/libtinynotify-cli-${PV}"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_configure() {
+ local myconf=(
+ --disable-library
+ --enable-regular
+ --disable-system-wide
+ --with-system-wide-exec=/usr/bin/sw-notify-send
+ )
+
+ econf "${myconf[@]}"
+}
+
+pkg_postinst() {
+ eselect notify-send update ifunset
+}
+
+pkg_postrm() {
+ eselect notify-send update ifunset
+}
diff --git a/x11-misc/tinynotify-send/tinynotify-send-9999.ebuild b/x11-misc/tinynotify-send/tinynotify-send-9999.ebuild
new file mode 100644
index 000000000000..7f7ee4ddbf61
--- /dev/null
+++ b/x11-misc/tinynotify-send/tinynotify-send-9999.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+EGIT_REPO_URI="https://github.com/mgorny/${PN}.git"
+inherit autotools git-r3
+
+DESCRIPTION="A notification sending utility (using libtinynotify)"
+HOMEPAGE="https://github.com/mgorny/tinynotify-send/"
+SRC_URI=""
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS=""
+IUSE=""
+
+RDEPEND="app-eselect/eselect-notify-send
+ x11-libs/libtinynotify:0=
+ ~x11-libs/libtinynotify-cli-${PV}"
+DEPEND="${RDEPEND}
+ dev-util/gtk-doc
+ virtual/pkgconfig"
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ local myconf=(
+ --disable-library
+ --enable-regular
+ --disable-system-wide
+ --with-system-wide-exec=/usr/bin/sw-notify-send
+ )
+
+ econf "${myconf[@]}"
+}
+
+pkg_postinst() {
+ eselect notify-send update ifunset
+}
+
+pkg_postrm() {
+ eselect notify-send update ifunset
+}
diff --git a/x11-misc/touchcal/Manifest b/x11-misc/touchcal/Manifest
new file mode 100644
index 000000000000..d19cb91f1eb1
--- /dev/null
+++ b/x11-misc/touchcal/Manifest
@@ -0,0 +1,5 @@
+DIST touchcal_0.80.orig.tar.gz 109075 SHA256 704ddb0c86961775b08bbefd6fcf2b415bc8f8e96425d398644f02912628d003 SHA512 e4687eb2b401d16814b256c97725d0ef7646e3fa1fc020dc0af41486d6a959c968095b6d2131d6042791db37ee02fc6c9d7cf06a61722af1b4aca5e7c0a3618d WHIRLPOOL 124b891594f456b476a56725f4931601aae78955d4c46e19484e1efc75a25fd89f1b4f3e4a9e17bef473341dbdeb13e33df4b0f4838c7379fc13bc872579d1db
+EBUILD touchcal-0.80.ebuild 434 SHA256 662959ed96634d0f9e461e5931e99515f06a6ec2a8484076fd7964c9f10b23bc SHA512 0b54e31b5d702e01682c4ba2d90d19b1e75e03353c917772e8245c50f259c4b963a182e26b1a75757982a941c9cee4723a5364738254c6233d08d9c6d7a0ded5 WHIRLPOOL 8eb8ed49a984b3bfc8bb8a50a8c55069a2c621fabae8b43a80556b364e33ce6a827cfd3af5cb3da7625eadad7ba84bc3a504a90f196ef69e6febb1f398b7c23a
+MISC ChangeLog 2683 SHA256 c1338e470dc96fc7190566ce7a87da7110b93f66befea099c42ddf7a8ce82b60 SHA512 447f9f473b64cc45dd5a33a628b9c69ff3112eb870069fac3d6a9fff505519cdf085f7958cb2a9e001d59dc501a2f86657c8d0f2996a95bb7b7acbbc72e37460 WHIRLPOOL ae04f0422841c96d1f0d89a832e01fea2e804fc8bf9becdcb1ecc640f0dfb0b6277cb7a0fbba4cc2bd927c5f9ab626d77e3cd7afdc9aeb933743486c52d79268
+MISC ChangeLog-2015 2009 SHA256 55e1982ccfbc0dcd040dcc886fb39204c43f625f93d3093f266ce6e368d06427 SHA512 6068aeb1fede9bae67f55245d7f087139375855dab9dbdf341f0c830a89cc2d2a3a651d0af0dfbd05caf64e8971ec6f2910859e74c183f889837248151084933 WHIRLPOOL 073336803b392fa5abac7a922eeffba5ba29f87568d34cdc2e2a1ffaa8db234bf3cc6129cd3f4393f9e6339f350ff251e0d29c665e7d21629b11ac45fc3ba467
+MISC metadata.xml 245 SHA256 079528ddae90cdeef91803cbcc61187c86cb85d94aa58029a98eb6e4e4afe1ad SHA512 a77a007ef0ae6b022a5d89748b262823a04305c08f618982472fe9e1cc5f59692516a4f11cab608ed4183f23e14de9c48a66ee2a1ac55479fd2a4cc7afeeba02 WHIRLPOOL 5d0c0331ba4191a0cddf6cf6c7bb7020872d9f22aa4f010bce78ca7f80b750155e142796ca7d5a5b6ef5afddc9ff6ce29cadfe9bfec3e906e4f52884cb7eaff7
diff --git a/x11-misc/touchcal/metadata.xml b/x11-misc/touchcal/metadata.xml
new file mode 100644
index 000000000000..d521ae73b455
--- /dev/null
+++ b/x11-misc/touchcal/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <upstream>
+ <remote-id type="sourceforge">touchcal</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/touchcal/touchcal-0.80.ebuild b/x11-misc/touchcal/touchcal-0.80.ebuild
new file mode 100644
index 000000000000..43b2a16c3744
--- /dev/null
+++ b/x11-misc/touchcal/touchcal-0.80.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+DESCRIPTION="Touchscreen calibration utility"
+HOMEPAGE="http://touchcal.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${PN}_${PV}.orig.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+DEPEND="
+ sys-libs/ncurses:0=
+ x11-libs/libX11
+ x11-libs/libXft
+ x11-libs/libXinerama
+"
+RDEPEND="${DEPEND}"
diff --git a/x11-misc/touchfreeze/Manifest b/x11-misc/touchfreeze/Manifest
new file mode 100644
index 000000000000..bc73b834c812
--- /dev/null
+++ b/x11-misc/touchfreeze/Manifest
@@ -0,0 +1,6 @@
+AUX touchfreeze-0.2.5-underlinking.patch 226 SHA256 4c73c7463906f42b17b70b611b7b1eda6bf303dcaafe1fce504c1cc1beeadc85 SHA512 d2d456dad1392f7ce699c9d66ccbc519f71ab2514a3a8e1dab78feb0eddcc23c43f277bbfb8081443005bee63545faa3b240b903300a27693a76ab83e01651e4 WHIRLPOOL 4a6aeaf799ae3f45850e0b07a0ac8e3d10d082d77e24db14e2b8ef02d5d38eb04ced28ffd5a64a31dd9df2a1c7bdf3772161973d215c6988598cf2492f79998e
+DIST touchfreeze-0.2.5.tar.gz 24023 SHA256 8b1a142dc37e8f14d1b2f81b5b47526842ce2867f4dc490d71eec21572ceda2f SHA512 cd391cf91b6cb7f85253f38413fd67a130e3cee1115dd0673dcd9de65ef22ffa1bc33649ea52ba2d98ae72b525ec006874e5e64adeda7bcf5cedfc553e5d992b WHIRLPOOL 23251528981ff093c4be1a1ac4a85671c3a250ca228a7703c282d7af767519ac947b17da0d2d2ca7555049898241e169d3b8e3f6bbccd2b63cd2624814d8275a
+EBUILD touchfreeze-0.2.5-r1.ebuild 714 SHA256 9548caa71adef4b3a520135b165b0d363dc6de707589aa69b1a7a19a810034c6 SHA512 02398936df313882f5e0dfeb9aa3e82fad6771f68a880ee16c0d1a498786763204a9508ad5fb333259cf4ba13fc027c1e3eb85db94b7829c4b9ea95b8152f1f2 WHIRLPOOL 6f84220ef4761b22112675ec03a57a6d3c2747c2514e4fee88228af09c7d42e067c1616d7652c3b4343cf64d064f12f658945b116163937d4568011dde399dd8
+MISC ChangeLog 2623 SHA256 0fbc05d43bb6f21c1021960f34404ca4d5c4b2c119cea585525b31c47252b03c SHA512 49cc8371b91faaa977fe112825e94e0accb43e4c15b00d26c6d274363eb5acddb2f0127593e94f5e31d1a56b1c5ce513ad60142a56b4a703b37489c1c91fa628 WHIRLPOOL 17f368b4b7caa88c8c211478a1fe4893e06402226098aa7b337b2501522b6387f1878113bac508bee03d448284081c291d4a8487d327cf2ae5142a9cde00a8a3
+MISC ChangeLog-2015 2821 SHA256 880ecf405860356cdf64b94c06defa272ad7cb5bb46c114d417ede2f21812ef4 SHA512 1687a263401d97d77ba1f94646c854334351f9c108ca1420084ba23aee5a6ea439830b533f50c1ea9e643ce13986fa2ef90d10aec72ffbe31664cab001ad988d WHIRLPOOL e859c2b66c38e26258ec6657f80b3ee2accd2d54e49962e847134ed56f5fed5dba9932c4aa0e5c6fb568ebd1436f39966a4fc3efdd785519581280711f5cd828
+MISC metadata.xml 167 SHA256 5fe493e76bba84455c54b3a46adfae5a1bfe01c764ef0d9e5f6d3e8a1d142188 SHA512 7c8decb24ee3a850e38186cf3c7f8933a28017426806870ad6ef9ceb2533be147a2681fc789b535a81cb528af8c29d90d3006e4f250aee23bd7dea4561294e33 WHIRLPOOL dc6c3dfc7fd7f0d76c97f0786cb76a55b8564f8437f96d4ccebf985817b9f6dcc4c61830aa5df80d725e4a54b281ea2e03d6b0859214af081112cba15025e64b
diff --git a/x11-misc/touchfreeze/files/touchfreeze-0.2.5-underlinking.patch b/x11-misc/touchfreeze/files/touchfreeze-0.2.5-underlinking.patch
new file mode 100644
index 000000000000..e9f331307680
--- /dev/null
+++ b/x11-misc/touchfreeze/files/touchfreeze-0.2.5-underlinking.patch
@@ -0,0 +1,7 @@
+--- TouchFreeze.pro
++++ TouchFreeze.pro
+@@ -3,3 +3,4 @@
+ RESOURCES+=stuff.qrc
+ SOURCES+=main.cpp TouchFreezeApp.cpp TouchFreezeUI.cpp SynDaemon.cpp
+ HEADERS+=TouchFreezeApp.h TouchFreezeUI.h SynDaemon.h Version.h
++LIBS+=-lX11
diff --git a/x11-misc/touchfreeze/metadata.xml b/x11-misc/touchfreeze/metadata.xml
new file mode 100644
index 000000000000..7a38bb900964
--- /dev/null
+++ b/x11-misc/touchfreeze/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+</pkgmetadata>
diff --git a/x11-misc/touchfreeze/touchfreeze-0.2.5-r1.ebuild b/x11-misc/touchfreeze/touchfreeze-0.2.5-r1.ebuild
new file mode 100644
index 000000000000..a473260e01e7
--- /dev/null
+++ b/x11-misc/touchfreeze/touchfreeze-0.2.5-r1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+
+inherit eutils qt4-r2
+
+DESCRIPTION="X11 touch pad driver configuration utility"
+HOMEPAGE="http://kde-apps.org/content/show.php/TouchFreeze?content=61442"
+SRC_URI="http://www.fit.vutbr.cz/~kombrink/personal/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="debug"
+
+DEPEND="x11-libs/libX11
+ dev-qt/qtcore:4
+ dev-qt/qtgui:4
+"
+RDEPEND="${DEPEND}
+ x11-drivers/xf86-input-synaptics
+"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-underlinking.patch
+)
+
+src_install() {
+ dobin ${PN}
+ newicon res/touchpad.svg ${PN}.svg
+ dodoc AUTHORS README
+ make_desktop_entry ${PN} TouchFreeze ${PN} 'Qt;System'
+}
diff --git a/x11-misc/trayer-srg/Manifest b/x11-misc/trayer-srg/Manifest
new file mode 100644
index 000000000000..317c673d9256
--- /dev/null
+++ b/x11-misc/trayer-srg/Manifest
@@ -0,0 +1,7 @@
+DIST trayer-srg-1.1.6.tar.gz 27576 SHA256 70acdf466e03a69715f8b90296ecbb14c5e8594f64a94d4b1ad1f5ba6b146a2e SHA512 456af94277dc237c516fff1589060b0b656040811ae48bba3c021be6310d104881c0eee7391d228d197db78e9bfb04773d4282ab2fe31717a4779b38bdb6739d WHIRLPOOL 6dc5394db31d73e6f8e28b4a86f0262108f946e2f0b111af3bd7c774cc84ea0b90e0eb0ba869c24b1dcdf477280dfaed10cf2c598ba5d075c372a28736434574
+DIST trayer-srg-1.1.7.tar.gz 27987 SHA256 145de7081a338d0334f4d0fad73f1fcd08d3b32ebbf865eb99cf6f18bf02eb49 SHA512 5bb049af01c3f3f62dc8a5c1932985b92c98e4e2083aebd1dc09256746e097239be54ebc739801773878882a5c8f168a4a13bdac292388f79079ad52c41b2cad WHIRLPOOL 92f185974a39b7e54fbf15edb85afd4a13c028f75413fda18451b79123f9d98a824a1183cabcfbe7891ececb86dd5f9331bd670fb02ad4e26a72783eba85bf3d
+EBUILD trayer-srg-1.1.6-r1.ebuild 651 SHA256 c30a469a7b789b65d64a651766a2b13fbf45c44df4016d3c8ff5734e64d6eb19 SHA512 4611a742780e1c10ae142dc8799a88471f9063539142c67b168690a5e4fc12fc62c41cc7091649b1560c0519c66e12c3d29ac2e844ceb8e219358bc4dbcb12a1 WHIRLPOOL 551b933ce862c5d47b1144828236a4ae68783b2839156d55683e145c1eb414cea1b249752fc813e188e8ee3c6ef09536f16d29dbda62c4210fd6af0e577a516e
+EBUILD trayer-srg-1.1.7.ebuild 756 SHA256 194be81b24173db44605f556ffa54a55e29101acdff40691c11ce06bc6e5b50b SHA512 8e4a611d5b9c36480c1c35947aa8ff15c841f77484d2aa79ea1c5452d1d4271609efe86b2e995ff34cac70801861ee1e3f909f300459155503ca491030339b02 WHIRLPOOL ed52c7a0c92ef6b71ea472eec8e2e97fc270dfdacfe8d1bb2316a72d3429e2438d9005b6fd8845e653d753c65ceeb5567df0966542c8adf0c83d87b103a4b04a
+MISC ChangeLog 2243 SHA256 4f925a3b9e230be404787ec1e31ee80e5ad9bd803b627f2e3a93d9d96a6706f9 SHA512 bc92e7fa20cef7457c8df7467dfea4d175f0c3888e1051e04fdafab79725659232acc2f93ac3b0849c781c769a2135b669080ad40109ee5e59989078e741d11d WHIRLPOOL d7cc16fac86496205e4e24e1955c546bb86ca89ffdaef3c24f0a1d752c7e8f0ea71c825747845a0341b2e1cc501100f3778cb3b97342a33d153b0f6a82724734
+MISC ChangeLog-2015 1639 SHA256 faacaf76e530bb1bf59ca5ea05b14fe4b5dbc5b2ad1270ae2fcb84049013f89f SHA512 7b285fa9ab56038915d3ef23bc4c57c24c0d6c5552a391b3f3b019a16e9c1774171b236317fe3dde2068aae1e137ccb2b717419f0c8550da527ada3c02df5a41 WHIRLPOOL da25c6a1d27287942d297412ac370d6d014e9dcaa76e349b78a6562fd4e8c8e7a6a81d508c019fc1ca32c00b282c5b3048cf53799e7c9b56f43f2507cc914091
+MISC metadata.xml 325 SHA256 5da3bbc4eda35b16c372f4ec531134c769ef831408f544ee3a2b584f68731b7f SHA512 1c56dda5bd4c5ee284f46cecb8043b43510233276aa256d94cef179f444805d3935ab5238cb86715e7c98a096a1ff74540156df14f51bf73d24e59c6fb038867 WHIRLPOOL c2eb3bf40b6ad6f0732df72a5c7c9db1d9fa6b9967d28859e7cc1e5c37b33f2ca6c447110bbd6c837a30e0744ee09c0ce815a0748e329d5957cdc7a665d9d1b5
diff --git a/x11-misc/trayer-srg/metadata.xml b/x11-misc/trayer-srg/metadata.xml
new file mode 100644
index 000000000000..2b3e45adfea6
--- /dev/null
+++ b/x11-misc/trayer-srg/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>xmw@gentoo.org</email>
+ <name>Michael Weber</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">sargon/trayer-srg</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/trayer-srg/trayer-srg-1.1.6-r1.ebuild b/x11-misc/trayer-srg/trayer-srg-1.1.6-r1.ebuild
new file mode 100644
index 000000000000..37883d4bce6a
--- /dev/null
+++ b/x11-misc/trayer-srg/trayer-srg-1.1.6-r1.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit toolchain-funcs vcs-snapshot
+
+DESCRIPTION="trayer fork with multi monitor support and cleaned up codebase"
+HOMEPAGE="https://github.com/sargon/trayer-srg"
+SRC_URI="https://github.com/sargon/${PN}/tarball/${P/-srg/} -> ${P}.tar.gz"
+
+LICENSE="MIT GPL-2+"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+RDEPEND="x11-libs/gdk-pixbuf:2[X]
+ x11-libs/gtk+:2
+ x11-libs/libX11
+ x11-libs/libXmu"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_compile() {
+ emake DEVEL=1 TARGET=${PN} CC="$(tc-getCC)"
+}
+
+src_install() {
+ dobin ${PN}
+ einstalldocs
+}
diff --git a/x11-misc/trayer-srg/trayer-srg-1.1.7.ebuild b/x11-misc/trayer-srg/trayer-srg-1.1.7.ebuild
new file mode 100644
index 000000000000..2bbf335312e0
--- /dev/null
+++ b/x11-misc/trayer-srg/trayer-srg-1.1.7.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit toolchain-funcs
+
+DESCRIPTION="trayer fork with multi monitor support and cleaned up codebase"
+HOMEPAGE="https://github.com/sargon/trayer-srg"
+SRC_URI="https://github.com/sargon/${PN}/archive/${P/-srg/}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+ x11-libs/gdk-pixbuf:2
+ x11-libs/gtk+:2
+ x11-libs/libX11
+"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+"
+
+S="${WORKDIR}"/${PN}-trayer-${PV}
+
+src_configure() {
+ # Custom configure script
+ ./configure --prefix="${EPREFIX}" || die
+}
+
+src_compile() {
+ emake DEVEL=1 TARGET=${PN} CC="$(tc-getCC)"
+}
+
+src_install() {
+ dobin ${PN}
+ einstalldocs
+}
diff --git a/x11-misc/trayer/Manifest b/x11-misc/trayer/Manifest
new file mode 100644
index 000000000000..3d1efb5e0d9f
--- /dev/null
+++ b/x11-misc/trayer/Manifest
@@ -0,0 +1,9 @@
+AUX trayer-1.0-as-needed-and-pre-stripped.patch 681 SHA256 8d5d4f8507a420e686a4783789a4f154f36a49958c9cef58e7344997ed9f65c4 SHA512 15712e3bc1973f649d5906d42f40825d9f972baf5fcbdf77d751e29da84ae3b539c1fd1807ba0211f36f25876e9475977472d16389d6e1d95426c6b789c650e6 WHIRLPOOL 1af1149a9790e88a3df7c90f3cb42784dacd4b7a7e540a13ffaf7cd7a6915010d0642c508f887a952d13f718b24a208c577405c2dfaf2bc183e08c0e5ef83edf
+AUX trayer-1.0-dont-include-gdk-pixbuf-xlib.patch 1300 SHA256 a2b5fae3de36359c0ee4ff4f573b4c7683ea0d4d0b7bace2999871cd7fcdc385 SHA512 76455b1cbe29979b14ea22a9978d1dff9fdee0ec08027464fd0e93d41ddd4fb5149e3936ff63fa0682e30c6ffe58bf11f7a78ce305fc5aac1d5fa4ebaa29a1e9 WHIRLPOOL 886de88eb6b44e01994de9bb050357404e91b7962bd6b4027a2a2a9209fb86423dfdb68604abc9677be323c1921bdb424db4a02ead1a13909ba62ab69980cca1
+AUX trayer-1.0-dont-include-libXmu.patch 524 SHA256 77bfb5ab37a716427196de6fbba1936f692069dca60fcad61cabdc64c9d2817e SHA512 6dba64b746f655db3c7666f8504a4a3cff06bf91cd475d576a4e50839b3a2fb63c190f62082dec694559fc1d0cf7272d93f629b7ef6e49bf3599d6f36bc22dd0 WHIRLPOOL 5c5e029600b9c00adc27008bef620dabcd15f9f2aeee84d4fb8e6c505e0031c7e07c4fca305fe6d1f5c3954ad65e5e1085ebb410494b58bb46730815ca81a910
+DIST trayer-1.0.tar.gz 30445 SHA256 896647e972a0b189b8368a7de30480e90eede0078ebdbdb62051f18a58070fbd SHA512 c46093ee18908b7cf8e52d2f10adeb0eefc90562b87862a5459cc4563e53528107ee1dba47b1cb88e378bdac40d64a1d8cb9ecbf014aef997c44f242b49534f7 WHIRLPOOL baf2186cf3aace8520d3d6bd757a98d1cfa3f79563a5cd3751e9f911afd255ed5b57f6608f43e1a9a8e2895e45ed2dd761381e38d3ff1584c51365c80fcde366
+EBUILD trayer-1.0-r2.ebuild 1064 SHA256 8c5f010c0145be5675f9ec78ef08b3acf5c313aa1c72c6f2cf427e281642c5b0 SHA512 50a814f3e734a2674db2f2611f6689d1ca8f508e5295589090ccded2daeeecc8306532ddae3145e97ef9d3e499aa89ce715d6f353a6b240b20bffc8e893352c6 WHIRLPOOL 6f545caa3c256a4f2b742a653662f56109e41639ae8b1d9c938358900abc5beb313642dacd3e867037eed5442e57ebcab64c6440fb5cb7e1d6eb50f6e5ef9f03
+EBUILD trayer-1.0-r3.ebuild 828 SHA256 23487d5fb82b0b073efaee27db11a33884657123c718bdec9b3b16416132dc53 SHA512 5775da5668b487c38fae0012faa0fde6499d37aa6e6901bdfd55bc0280fb6d5b225625ec2bce2b20eb613e84f79851c27e5171a74120dd87d6154a0636c87be7 WHIRLPOOL f75bb4d0631ad40fc351f5ae04838e86e690a5f11ee91b4039116be6d2435d48900bcd42295d8694a6d96a0f325167febedd3561c8d9c89cf36c6aff6a9d5ae1
+MISC ChangeLog 2455 SHA256 4df964f1cf3f217e6d5cda8bc342f6270c8a77bc924dd7d122fec039aeb19d62 SHA512 7f8ce80c81f3b0c237040829a3aafe65c5d7c7d77ee41d3555dde0a4e1b10a1f2c11182ae9bddc77542af9374d0376a5e7ea4414c82bc9117a961fd65b40ccb5 WHIRLPOOL 0a587e727a8b3b22eedb95772eab3589c05daf480ef8a9ec63f0d55359d82a6474c8f87b16783786f85b1787c8c7ecb2634b86c79a0c9ee1834f58973917696f
+MISC ChangeLog-2015 3569 SHA256 2a8d210297b849617ba239793b7f5868a74e5b1540ee15c405f8047d05518122 SHA512 e88018e4f6737fc5d7554b7cf10af50b251ed6981a853cb085a7777ac4b33c900716d691ad93644fb6dd3c5eb0e34a4b8bc87f59427bc8e84d618f9db0caf402 WHIRLPOOL 4f2b7239e46fe76272a9c19e5c00e5f2b9c529b9ab583ed207f56482c232ca6b17903052e54b6330e18a6b00ded8b86af3491e6b29b88bf810e47a57cc52ca90
+MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968
diff --git a/x11-misc/trayer/files/trayer-1.0-as-needed-and-pre-stripped.patch b/x11-misc/trayer/files/trayer-1.0-as-needed-and-pre-stripped.patch
new file mode 100644
index 000000000000..9db338424220
--- /dev/null
+++ b/x11-misc/trayer/files/trayer-1.0-as-needed-and-pre-stripped.patch
@@ -0,0 +1,29 @@
+From 6d0c1123441633660c2ec4f336e1e800b4dfebb5 Mon Sep 17 00:00:00 2001
+From: Harri Nieminen <moikkis@gmail.com>
+Date: Sat, 25 Mar 2017 12:18:13 +0200
+Subject: [PATCH 2/2] Fix for as-needed and pre-stripped files
+
+Gentoo bugs: #141707, #252098
+---
+ Makefile | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/Makefile b/Makefile
+index 9d7c4fb..faaa85d 100644
+--- a/Makefile
++++ b/Makefile
+@@ -36,9 +36,9 @@ endif
+
+ TARGET = trayer
+ $(TARGET): $(OBJ) $(SYSTRAYOBJ)
+- $(CC) $(LDFLAGS) $(LIBS) $(OBJ) $(SYSTRAYOBJ) -o $@
++ $(CC) $(LDFLAGS) $(OBJ) $(SYSTRAYOBJ) $(LIBS) -o $@
+ ifeq (,$(DEVEL))
+- strip $@
++ true $@
+ endif
+
+ TARGETMAN = $(TARGET).1.gz
+--
+2.12.1
+
diff --git a/x11-misc/trayer/files/trayer-1.0-dont-include-gdk-pixbuf-xlib.patch b/x11-misc/trayer/files/trayer-1.0-dont-include-gdk-pixbuf-xlib.patch
new file mode 100644
index 000000000000..ccb1e12869b8
--- /dev/null
+++ b/x11-misc/trayer/files/trayer-1.0-dont-include-gdk-pixbuf-xlib.patch
@@ -0,0 +1,44 @@
+From 1aa5f4164b86fd0c5cf174c8403442060cad497d Mon Sep 17 00:00:00 2001
+From: Harri Nieminen <moikkis@gmail.com>
+Date: Sat, 25 Mar 2017 12:17:09 +0200
+Subject: [PATCH 1/2] Remove useless include on
+ gdk-pixbuf-xlib/gdk-pixbuf-xlib.h
+
+Also fix underlinking, bug #369591
+
+Thanks for leio@g.o for reporting
+---
+ Makefile.common | 4 ++--
+ plugin.c | 1 -
+ 2 files changed, 2 insertions(+), 3 deletions(-)
+
+diff --git a/Makefile.common b/Makefile.common
+index 0d50340..ec2bc3c 100644
+--- a/Makefile.common
++++ b/Makefile.common
+@@ -16,8 +16,8 @@ endif
+ endif
+
+ CC = gcc
+-LIBS = $(shell pkg-config --libs gtk+-2.0 gdk-pixbuf-2.0 gdk-pixbuf-xlib-2.0) -L/usr/X11R6/lib -lXmu
+-INCS = $(shell pkg-config --cflags gtk+-2.0 gdk-pixbuf-2.0 gdk-pixbuf-xlib-2.0)
++LIBS = $(shell pkg-config --libs gtk+-2.0 gdk-pixbuf-2.0 gmodule-2.0 x11)
++INCS = $(shell pkg-config --cflags gtk+-2.0 gdk-pixbuf-2.0 gmodule-2.0 x11)
+ CFLAGS = -O2 # overwriten by command line or env. variable
+ CFLAGS += -Wall # always nice to have
+ ifneq (,$(DEVEL))
+diff --git a/plugin.c b/plugin.c
+index 7fd5398..a6f8fbb 100644
+--- a/plugin.c
++++ b/plugin.c
+@@ -2,7 +2,6 @@
+ #include "plugin.h"
+
+ #include <gdk-pixbuf/gdk-pixbuf.h>
+-#include <gdk-pixbuf-xlib/gdk-pixbuf-xlib.h>
+ #include <gdk/gdk.h>
+ #include <string.h>
+
+--
+2.12.1
+
diff --git a/x11-misc/trayer/files/trayer-1.0-dont-include-libXmu.patch b/x11-misc/trayer/files/trayer-1.0-dont-include-libXmu.patch
new file mode 100644
index 000000000000..8b9fd291d15f
--- /dev/null
+++ b/x11-misc/trayer/files/trayer-1.0-dont-include-libXmu.patch
@@ -0,0 +1,24 @@
+From 710efb0c8192e704a83fd3d4b8b3c0d6be984246 Mon Sep 17 00:00:00 2001
+From: Harri Nieminen <moikkis@gmail.com>
+Date: Sun, 26 Mar 2017 10:08:05 +0300
+Subject: [PATCH] Don't include libXmu
+
+---
+ systray/main.c | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/systray/main.c b/systray/main.c
+index dff5455..79cbe34 100644
+--- a/systray/main.c
++++ b/systray/main.c
+@@ -2,7 +2,6 @@
+ #include <unistd.h>
+ #include <string.h>
+
+-#include <X11/Xmu/WinUtil.h>
+ #include <gdk-pixbuf/gdk-pixbuf.h>
+
+ #include "panel.h"
+--
+2.12.1
+
diff --git a/x11-misc/trayer/metadata.xml b/x11-misc/trayer/metadata.xml
new file mode 100644
index 000000000000..6f49eba8f496
--- /dev/null
+++ b/x11-misc/trayer/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<!-- maintainer-needed -->
+</pkgmetadata>
diff --git a/x11-misc/trayer/trayer-1.0-r2.ebuild b/x11-misc/trayer/trayer-1.0-r2.ebuild
new file mode 100644
index 000000000000..9876527f2e6f
--- /dev/null
+++ b/x11-misc/trayer/trayer-1.0-r2.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit toolchain-funcs
+
+DESCRIPTION="Lightweight GTK+ based systray for UNIX desktop"
+HOMEPAGE="http://home.gna.org/fvwm-crystal/"
+SRC_URI="http://download.gna.org/fvwm-crystal/trayer/${P}.tar.gz"
+LICENSE="GPL-2"
+
+SLOT="0"
+KEYWORDS="amd64 ppc ppc64 x86"
+IUSE=""
+
+RDEPEND="
+ dev-libs/glib:2
+ x11-libs/gdk-pixbuf[X]
+ x11-libs/gtk+:2
+ x11-libs/libX11
+"
+DEPEND="
+ ${RDEPEND}
+ virtual/pkgconfig
+"
+
+PATCHES=( "${FILESDIR}"/${P}-dont-include-libXmu.patch )
+
+src_prepare() {
+ default
+ # fix for as-needed, bug #141707
+ # fix pre-stripped files, bug #252098
+ sed -i Makefile \
+ -e 's:$(LIBS) $(OBJ) $(SYSTRAYOBJ):$(OBJ) $(SYSTRAYOBJ) $(LIBS):' \
+ -e 's:strip:true:g' \
+ || die
+ # fix underlinking, bug #369591
+ sed -i Makefile.common \
+ -e '/^LIBS/s:).*: x11):' \
+ -e '/^INC/s:).*: x11):' \
+ || die
+}
+
+src_compile() {
+ emake -j1 CC=$(tc-getCC) CFLAGS="${CFLAGS}" CPPFLAGS="${CPPFLAGS}"
+}
+
+src_install() {
+ dobin trayer
+ doman trayer.1
+ einstalldocs
+}
diff --git a/x11-misc/trayer/trayer-1.0-r3.ebuild b/x11-misc/trayer/trayer-1.0-r3.ebuild
new file mode 100644
index 000000000000..ad5fb8df846f
--- /dev/null
+++ b/x11-misc/trayer/trayer-1.0-r3.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit toolchain-funcs
+
+DESCRIPTION="Lightweight GTK+ based systray for UNIX desktop"
+HOMEPAGE="http://home.gna.org/fvwm-crystal/"
+SRC_URI="http://download.gna.org/fvwm-crystal/trayer/${P}.tar.gz"
+LICENSE="GPL-2"
+
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE=""
+
+RDEPEND="
+ dev-libs/glib:2
+ x11-libs/gdk-pixbuf:2
+ x11-libs/gtk+:2
+ x11-libs/libX11
+"
+DEPEND="
+ ${RDEPEND}
+ virtual/pkgconfig
+"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-dont-include-gdk-pixbuf-xlib.patch
+ "${FILESDIR}"/${P}-dont-include-libXmu.patch
+ "${FILESDIR}"/${P}-as-needed-and-pre-stripped.patch
+)
+
+src_compile() {
+ emake -j1 CC=$(tc-getCC) CFLAGS="${CFLAGS}" CPPFLAGS="${CPPFLAGS}"
+}
+
+src_install() {
+ dobin trayer
+ doman trayer.1
+ einstalldocs
+}
diff --git a/x11-misc/treeline/Manifest b/x11-misc/treeline/Manifest
new file mode 100644
index 000000000000..53f175a4104f
--- /dev/null
+++ b/x11-misc/treeline/Manifest
@@ -0,0 +1,13 @@
+AUX treeline-1.2.3-nocompile.patch 532 SHA256 8ffb81cc52a4192defa340c0f77c01806291d0feb66a81c71b9e4ed9a24cd1ab SHA512 26e792d6657f190e13267b1ecf5a7f0c51b7702531444cedc4b90471b3b673e840e93578c4c0dd84e3d0d9981281c8ba1bb023829441843b18799f2df3a06e64 WHIRLPOOL 9fc67555a888210af848c119dc99470053be0d2291e7bf25a30d63a77e2f8f8725d86719f7ae7cd4ba8b6dc84b8750301b47bfcf63830025bc32cdafd8707570
+DIST treeline-1.4.1.tar.gz 499500 SHA256 d66e0fcae9bcb5e54f664381f6af73f360f9ff46c91787a126c7197fbe685489 SHA512 85e87d4201eca19fb4255eacef89b7975f982a32790e74b5a35ab37e42e316eb45a1518f093097141dc5db1a8a090537f42e35fddf3f51b3ae4cf4c812f9ea95 WHIRLPOOL 7f97e943d86f6f94fd32dbb2836ed9a5f1cd38c777322962b7809705f48886ad4988c3739907020976ee0aa798d5b9b76302d05fb753f642fa839cd556175312
+DIST treeline-2.0.2.tar.gz 451377 SHA256 80379b6ebb5b825a02f4b8d0bb65d78f9895db5e25065f85353833e9d8ebd4c8 SHA512 05d8464ce460e1b50a5d64fb23f4c7980ef419833272bc8f2a87303b1f3cc7a363f138476a23b0d178c76f7ad654136c007f8e81a132c2b182bdcedba28be164 WHIRLPOOL 866c361f692c3f34e6d87c053d62a8800aa2fdb7b1ca1b4c63bc3e8c4a62479569e2a4c883360898bac62b7af3e9784ee1a76dee832e9754c18972bfcdd16b0c
+DIST treeline-2.1.1.tar.gz 457877 SHA256 fbfed5a8244ea8a2705d846d1d4c0004d07a67780203219df1e736cdd5b914f7 SHA512 d92a8ad06ae368799435372ec3ce49946ca4d0b0cd365d286d3045d60b18d74789bad8f0f32ea1ac11497304076db288f29838c467c84a4bc6c2d8230f627565 WHIRLPOOL 0f7736172b50a3f1f7a66e69d33c1e7db734070ebc92b8d8e4111f0c4563e6bba38d6ea35823dfa3c142f759344f5e4187235fb326b0ea434be24d0f16aaa9bf
+DIST treeline-2.1.2.tar.gz 458056 SHA256 4339886e961d314ecaff67c83d122f08b0c7f31514cd93725d8190830d565e90 SHA512 99d6bff91516388854c856c1c8267b33a1f83b86e99d8e8d0a83e5f089a9f9c3d5f4d9c2def64dad310d84cdf41268622afc9b03bf7f7073272c177e84f0c83d WHIRLPOOL 2e67c1a258f086dbe046e551276ed739e383ed329985e06a1e6d737e92c9b20cff3ce421d0335db783c57d596629c12148fdc9fe34eff529f0d1ef36350f764d
+DIST treeline-i18n-1.4.1a.tar.gz 279797 SHA256 891f086b0718336911ef118a4e25772c639cb48c1bea007031b5da075512e478 SHA512 82a79d24d451f5512c80b7647a6d10146649d2224c5ced8e5b402b44dea5d3d7cb00a3e8c96384d499fe2eb87dca686feb74a79db083e531fdb872218f54861b WHIRLPOOL cd8cac4419273369800314b7428e202586540e5b348203ab6567c73d1861e48b1f83e4f7c5c21da6fce9800d95bca71a5b057a81f2e22e64a2a656cd54d32dda
+EBUILD treeline-1.4.1-r1.ebuild 1364 SHA256 e1c3475b95707ef3d33c78cddf1408a2f8a13233fa72be2f8f181a66ff2ae210 SHA512 cd9cf10f8470a42e2b7df0293362d8228eb826c638a7d7d3b6666dd3e8196507d7b89f60818e4a8428eb9bc3ae99d38270097379178b94addf674ee00dab923f WHIRLPOOL e6cd091d8eda41a106cb41e64723cc0fdf64f1cc69516d2ab45ca10628157c54866bdd58c33ac277493d094a1bb919a633f16b33dfb23d92ebbfd0fbf7d1cb83
+EBUILD treeline-2.0.2.ebuild 812 SHA256 acc8a9bdf7d27b88492f972d5d68f90b76ee1eb83cd8acd1916a5f76b77a177e SHA512 ffabe83a51510f731bfeebc0525242f0d81a48efd4c67549b86bf44c398fcb2c48d3ae0457892711a63711744959352929e448dae670dadcf301314dade51c1a WHIRLPOOL ee1f227be8085614756aec03aca885fe75ee2f2b73451282d7ae69142a8c6fe4dd3752de87829f4f269482f763b3f9d4150f4614f8db847a4654341e56dd6166
+EBUILD treeline-2.1.1.ebuild 799 SHA256 19ee87ac4d9f03ddfcd6c71b508b5562476f9bc97764fea0c13838fad4326bbe SHA512 156b402cf6efd712053922b875cee1b1bc09ffc11fb413f8f7c426b43a23e0c673791dd84d21a324c3448189dabdf9a346f0332d167619995fa33df58704a129 WHIRLPOOL d5ebf9dc740ca309243b184b9b086e4bea5d4f5ad84ac0bb01977ae9cfcc17a2bd32127d2560453fe71def44f9e29cbaa580fce3781cd0c74f8369fc11179da2
+EBUILD treeline-2.1.2.ebuild 807 SHA256 ae506d2924619e3649f98b6b12ca1d3a0eec868f3b8961f1461705c9ac8dfaa9 SHA512 3c0a5a2da8b991b0e659f61f22f5ae357a35da09a1af0ee7599428ae27fa88c523e99e68d5e67b4af29d9f91e12c0245c71344dbd1822a48469c51f0dc5ead99 WHIRLPOOL e3c053df839cda3a784115d094d166f9ddda1ac62b4bd14be7b55bb432b8468dda2e8cedb379bd2159c0d57679b8d71d2f6fc122672b89c76deb85a9419dd649
+MISC ChangeLog 2993 SHA256 a8cd4d611f710b7cd9be005c62dcab21a4fc2134d6ba84213f834d1dcb8f02d0 SHA512 06209fdef8218d073ef808b1fa23ae047d64ef8d9c99b9b821cd2398d709a4605e94b5a1eae87bb66deb7b06fdf5f02a505b62dacc1babd5fda340f341319e06 WHIRLPOOL 7ef13f5e190882b3778cf03636b7c43fda056395bb91e7f9a1e90df86deb4dc5adc7ad2b16651eee1456a83caf90a2bf9d2f8818a96179f47959e8811cfb4025
+MISC ChangeLog-2015 8845 SHA256 8fb243720181d765bdd1ccac566751ec7254f77d26cb2d82b136f2786e47cc8c SHA512 76628fe3345fd70e488feca183d7ce895a13a87fd1d5012f2f22e8c376bf6570933ad1b6dda6ba4c4d0aa6b1ff9839f7da814966bfa4d6056f2371fed3efda63 WHIRLPOOL 32302f64456bafa05588dce559b3119ca64555465b1380cfaa1e84b310fd7e44ec27d58af0717703e7e6c91d664d49af83ac1c389aa15ffa568cc884c98697eb
+MISC metadata.xml 354 SHA256 538d9b6453e243145dff25d0da3b7062b4d8ae316a4168c7fa71e6d2bd596fd8 SHA512 88cb1164b4637383b9bc8a174bb271ef6a7e658cf32b8e2096b6361db2624118fc5430b581e710a6a7c250800cf3f64c7a7121fbaff2f79999e2457b2cd39326 WHIRLPOOL 1cb5f18f62890f03fc515189649f681ed71a9c8227f87d5a7cc87f448279458e47e319b809d4658e2e657ed348f09fbf507e8f64bbffdc6a568d0c56fe189d9c
diff --git a/x11-misc/treeline/files/treeline-1.2.3-nocompile.patch b/x11-misc/treeline/files/treeline-1.2.3-nocompile.patch
new file mode 100644
index 000000000000..764859f1e415
--- /dev/null
+++ b/x11-misc/treeline/files/treeline-1.2.3-nocompile.patch
@@ -0,0 +1,12 @@
+--- a/install.py
++++ b/install.py
+@@ -230,7 +230,8 @@
+ pythonBuildDir = os.path.join(buildRoot, pythonPrefixDir[1:])
+
+ if os.path.isdir('source'):
+- compileall.compile_dir('source', ddir=os.path.join(prefixDir, 'source'))
++ # don't compile, let our eclass handle that
++ # compileall.compile_dir('source', ddir=os.path.join(prefixDir, 'source'))
+ print 'Installing files...'
+ print ' Copying python files to %s' % pythonBuildDir
+ removeDir(pythonBuildDir) # remove old?
diff --git a/x11-misc/treeline/metadata.xml b/x11-misc/treeline/metadata.xml
new file mode 100644
index 000000000000..df49cc4d0cba
--- /dev/null
+++ b/x11-misc/treeline/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">treeline</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/treeline/treeline-1.4.1-r1.ebuild b/x11-misc/treeline/treeline-1.4.1-r1.ebuild
new file mode 100644
index 000000000000..26c6fb256526
--- /dev/null
+++ b/x11-misc/treeline/treeline-1.4.1-r1.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+PYTHON_REQ_USE="xml"
+
+inherit eutils python-single-r1
+
+DESCRIPTION="TreeLine is a structured information storage program"
+HOMEPAGE="http://treeline.bellz.org/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+
+TLLINGUAS=( de fr )
+IUSE+=" ${TLLINGUAS[@]/#/l10n_}"
+for lingua in ${TLLINGUAS[@]}; do
+ SRC_URI+=" l10n_${lingua}? ( mirror://sourceforge/${PN}/${PN}-i18n-${PV}a.tar.gz )"
+done
+unset lingua
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DEPEND="
+ ${PYTHON_DEPS}
+"
+RDEPEND="
+ ${DEPEND}
+ dev-python/PyQt4[X,${PYTHON_USEDEP}]
+"
+
+S="${WORKDIR}/TreeLine"
+
+src_unpack() {
+ unpack ${P}.tar.gz
+ local lingua
+ for lingua in "${TLLINGUAS[@]}"; do
+ if use l10n_${lingua}; then
+ tar xozf "${DISTDIR}"/${PN}-i18n-${PV}a.tar.gz \
+ TreeLine/doc/{readme_${lingua}.trl,README_${lingua}.html} \
+ TreeLine/translations/{treeline_${lingua}.{qm,ts},qt_${lingua}.{qm,ts}} || die
+ fi
+ done
+}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-1.2.3-nocompile.patch
+
+ rm doc/LICENSE || die
+
+ python_export PYTHON_SITEDIR
+ sed -i "s;prefixDir, 'lib;'${PYTHON_SITEDIR};" install.py || die
+}
+
+src_install() {
+ "${EPYTHON}" install.py -x -p /usr/ -d /usr/share/doc/${PF} -b "${D}" || die
+}
diff --git a/x11-misc/treeline/treeline-2.0.2.ebuild b/x11-misc/treeline/treeline-2.0.2.ebuild
new file mode 100644
index 000000000000..554cb2d24f9e
--- /dev/null
+++ b/x11-misc/treeline/treeline-2.0.2.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python3_{4,5,6} )
+PYTHON_REQ_USE="xml"
+
+inherit eutils python-single-r1
+
+DESCRIPTION="TreeLine is a structured information storage program"
+HOMEPAGE="http://treeline.bellz.org/"
+SRC_URI="mirror://sourceforge/project/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+
+DEPEND="
+ ${PYTHON_DEPS}
+"
+RDEPEND="
+ ${DEPEND}
+ dev-python/PyQt4[X,${PYTHON_USEDEP}]
+"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+S="${WORKDIR}/TreeLine"
+
+src_prepare() {
+ rm doc/LICENSE || die
+
+ python_export PYTHON_SITEDIR
+ sed -i "s;prefixDir, 'lib;'${PYTHON_SITEDIR};" install.py || die
+}
+
+src_install() {
+ "${EPYTHON}" install.py -x -p /usr/ -d /usr/share/doc/${PF} -b "${D}" || die
+}
diff --git a/x11-misc/treeline/treeline-2.1.1.ebuild b/x11-misc/treeline/treeline-2.1.1.ebuild
new file mode 100644
index 000000000000..98cb61a0bccc
--- /dev/null
+++ b/x11-misc/treeline/treeline-2.1.1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python3_{4,5,6} )
+PYTHON_REQ_USE="xml"
+
+inherit eutils python-single-r1
+
+DESCRIPTION="TreeLine is a structured information storage program"
+HOMEPAGE="http://treeline.bellz.org/"
+SRC_URI="mirror://sourceforge/project/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS=""
+
+DEPEND="
+ ${PYTHON_DEPS}
+"
+RDEPEND="
+ ${DEPEND}
+ dev-python/PyQt4[X,${PYTHON_USEDEP}]
+"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+S="${WORKDIR}/TreeLine"
+
+src_prepare() {
+ rm doc/LICENSE || die
+
+ python_export PYTHON_SITEDIR
+ sed -i "s;prefixDir, 'lib;'${PYTHON_SITEDIR};" install.py || die
+}
+
+src_install() {
+ "${EPYTHON}" install.py -x -p /usr/ -d /usr/share/doc/${PF} -b "${D}" || die
+}
diff --git a/x11-misc/treeline/treeline-2.1.2.ebuild b/x11-misc/treeline/treeline-2.1.2.ebuild
new file mode 100644
index 000000000000..7962524facf4
--- /dev/null
+++ b/x11-misc/treeline/treeline-2.1.2.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python3_{4,5,6} )
+PYTHON_REQ_USE="xml"
+inherit eutils python-single-r1
+
+DESCRIPTION="TreeLine is a structured information storage program"
+HOMEPAGE="http://treeline.bellz.org/"
+SRC_URI="mirror://sourceforge/project/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS=""
+
+DEPEND="
+ ${PYTHON_DEPS}
+"
+RDEPEND="
+ ${DEPEND}
+ dev-python/PyQt4[X,${PYTHON_USEDEP}]
+"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+S="${WORKDIR}/TreeLine"
+
+src_prepare() {
+ default
+
+ rm doc/LICENSE || die
+
+ python_export PYTHON_SITEDIR
+ sed -i "s;prefixDir, 'lib;'${PYTHON_SITEDIR};" install.py || die
+}
+
+src_install() {
+ "${EPYTHON}" install.py -x -p /usr/ -d /usr/share/doc/${PF} -b "${D}" || die
+}
diff --git a/x11-misc/unclutter/Manifest b/x11-misc/unclutter/Manifest
new file mode 100644
index 000000000000..1c30cafcc3db
--- /dev/null
+++ b/x11-misc/unclutter/Manifest
@@ -0,0 +1,7 @@
+AUX unclutter-8-FocusOut.patch 525 SHA256 f30cf6b02b3e36384ebce4a3ee512020eb598e326a45fb7102c5bb6582b24f67 SHA512 4ab3cab96574a545595a643e79dca102ace5bb4b853f514bc8a34457a14a4ee68bc89f5c8171d23b7f4e29cd951a60cdb47cc07901327984bdd39ef33f57877e WHIRLPOOL c5a95ffb4fd1b618b0d702d48fbba4ac075f3b79ea4836db3e86aaf2318dabe7e490a63da3a6916f2d0a551e84f7723f4c06170c2a60f98c7001edcce6284f30
+AUX unclutter-8-include.patch 183 SHA256 e1b7e0a8b1d8b301924c608a49d52c1d8abbc1fea701803b025ef8c0c92b1ddb SHA512 726437d5cb6e813930b661bb47d2f15f3e37fc050f670a2125cc330f29b0ebcb97325886af21bab788d17e264e9e7c20d2c087d5b184730d3c06409304317bfa WHIRLPOOL 66552889d19a3cf8c75fa0cfc4916e0be096c8b500eae92950022d7a1ec913241324de7c2979bb1aee97c31fe95606cc2c7f5ed0bd18aab370a747a31022e6ea
+DIST unclutter-8.tar.Z 12344 SHA256 b855a78d4465ab2f86287eacac63a73f1504b08522840aa37718776e7ec9192a SHA512 9a64e6eceae685cf34b1ea85818735f8f85514ba1eea262476653886d74e469cfd6b9a39edbd098b138a5c89e6b97b42cf251bee59272c76cbeba190979744b4 WHIRLPOOL 9cccf31b0e64e37d075ec411398abbeea399745ae2e90f3c35e707a78c8a8c04e017d24f4a2f135cc75e04c5915cdc7bd5b3c16fdf1e7fbf73174cc30a461873
+EBUILD unclutter-8-r4.ebuild 758 SHA256 27484523b6ce0e994e1fb034bb136b27081184801360fdbb71aef9dbf0ecbd3c SHA512 a1728855857ad15697f9602cdf71d965f129c388924f86f8e78d8b4a27435ece0eef37b65639d07772eaed80ddc8974b2729ff355c33b96df82bb0dbd3b6d16d WHIRLPOOL 81ca26282fc465855cfe403cd57aa5bee9666613103b48762291c84d482090134cec8d44be9eaf2725774bc5eb1ecc7f9e7cf3c0367efe1ed9831bb09a188829
+MISC ChangeLog 2556 SHA256 5da8771ddf2cbf83aaf9f7fb9356e858b68feee92356df8669befa63992a4f47 SHA512 2e30b1df74889046aee524adacfd06059bd392bd2d1bda1f5cb5fba1979d3733c56df1afaf02afedaf3904440aae5d341e516451d3c4821e480665cc1e7b2110 WHIRLPOOL 02cbbf5afd7402242e7be1ba3cc1b2a6c40ba574c5bce04c1ce0f33a6cd895312b0a15d6509d192b6786b0ccfd5bfe90839464a55c2564e21763ef2b71feb584
+MISC ChangeLog-2015 4168 SHA256 086cf687533c0eea1c4f64f668247a22eebe75a59b96da22540cef72ea983b40 SHA512 eed766ea13add409f3fd34798302fff48ed9b3cadcd56500c147aeaa9777457bb716674a5c3f9a150a43504a496c4985e55516a4b64d3ea5e6090e231b0c4c96 WHIRLPOOL 0d3127472bfe7805fa7cd704cad3fa3164155c8659a749a26e736b028eec6654dfa652795c56db58333b7974aa2cc699cc444acce085ea79370637f0a152b7d1
+MISC metadata.xml 272 SHA256 b389ad9ba70c18154af4fc164e31d5b1e2a4e99815d34319b4a4f46ccef2be52 SHA512 ebe67da08587903b5b82fc194aa3c8f1ab65371f60d2c134928362e089550d9e9fd9531bffe8b676a345b5bf0ab209ce7f50d37d98201a88176f002e17582493 WHIRLPOOL 3d6a9660a11c299dbb7fa3ec6821005f2540dc8fc9e499206d38d79d54023b3ddc66a019b2c88fbc92199b9f5335088b47fa3fdd781f92f2da3ad98b26bc2a50
diff --git a/x11-misc/unclutter/files/unclutter-8-FocusOut.patch b/x11-misc/unclutter/files/unclutter-8-FocusOut.patch
new file mode 100644
index 000000000000..d26ef8e6a652
--- /dev/null
+++ b/x11-misc/unclutter/files/unclutter-8-FocusOut.patch
@@ -0,0 +1,17 @@
+Description: Fixes blinking pointer and 100% CPU usage with GTK applications
+Author: Tao Nelson <taobert@gmail.com>
+Debian-Bug: 266118
+
+--- a/unclutter.c
++++ b/unclutter.c
+@@ -399,7 +399,9 @@
+ do{
+ XNextEvent(display,&event);
+ }while(event.type!=LeaveNotify &&
+- event.type!=FocusOut &&
++ /* Some gtk applications seem not to like this:
++ * event.type!=FocusOut &&
++ */
+ event.type!=UnmapNotify &&
+ event.type!=ConfigureNotify &&
+ event.type!=CirculateNotify &&
diff --git a/x11-misc/unclutter/files/unclutter-8-include.patch b/x11-misc/unclutter/files/unclutter-8-include.patch
new file mode 100644
index 000000000000..688fa129c561
--- /dev/null
+++ b/x11-misc/unclutter/files/unclutter-8-include.patch
@@ -0,0 +1,10 @@
+--- a/unclutter.c
++++ b/unclutter.c
+@@ -24,6 +24,7 @@
+ #include <X11/Xutil.h>
+ #include <X11/Xproto.h>
+ #include <stdio.h>
++#include <stdlib.h>
+ #include "vroot.h"
+
+ char *progname;
diff --git a/x11-misc/unclutter/metadata.xml b/x11-misc/unclutter/metadata.xml
new file mode 100644
index 000000000000..49c86a887b6a
--- /dev/null
+++ b/x11-misc/unclutter/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+</maintainer>
+</pkgmetadata>
diff --git a/x11-misc/unclutter/unclutter-8-r4.ebuild b/x11-misc/unclutter/unclutter-8-r4.ebuild
new file mode 100644
index 000000000000..d73744fa9e89
--- /dev/null
+++ b/x11-misc/unclutter/unclutter-8-r4.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit toolchain-funcs
+
+DESCRIPTION="Hides mouse pointer while not in use"
+HOMEPAGE="http://www.ibiblio.org/pub/X11/contrib/utilities/unclutter-8.README"
+SRC_URI="ftp://ftp.x.org/contrib/utilities/${P}.tar.Z"
+
+SLOT="0"
+LICENSE="public-domain"
+KEYWORDS="alpha amd64 hppa ~mips ppc ppc64 ~sparc x86"
+
+RDEPEND="x11-libs/libX11"
+DEPEND="${RDEPEND}
+ x11-proto/xproto"
+
+S=${WORKDIR}/${PN}
+
+PATCHES=(
+ "${FILESDIR}"/${P}-include.patch
+ "${FILESDIR}"/${P}-FocusOut.patch
+)
+
+src_compile() {
+ emake CDEBUGFLAGS="${CFLAGS}" CC="$(tc-getCC)" LDOPTIONS="${LDFLAGS}"
+}
+
+src_install () {
+ dobin unclutter
+ newman unclutter.man unclutter.1x
+ einstalldocs
+}
diff --git a/x11-misc/urxvt-font-size/Manifest b/x11-misc/urxvt-font-size/Manifest
new file mode 100644
index 000000000000..fdfe3e6d96ce
--- /dev/null
+++ b/x11-misc/urxvt-font-size/Manifest
@@ -0,0 +1,6 @@
+DIST urxvt-font-size-1.1.tar.gz 5490 SHA256 f3a4b917680f028b960741a95e6fafba4574c80c089b1e36faf5528ba1b4d54d SHA512 923cf79dc11cdfd53bf7f0a5bc909cc80916f9e956f1aadc2cfa609d1c9c33211c0b023f5dca4c56a12acf7d3c70d7229e5a78783d20965964511b5f6ad01b1d WHIRLPOOL a4c5a860fe12666f91c3136d25bce110dda85879e8512d3f70ef55570d33718b7fb27ffb313e852ef18df743347d4a0ab2536d03d95bd0c46e75895b8c8f5d43
+EBUILD urxvt-font-size-1.1.ebuild 674 SHA256 f8b022f0374c0ec2b05a609d52dd336f005c42487a9425ef9524ec0c012a531b SHA512 469e221f2efa870c9fd40621cbbbdfc1195b7e73fbe7d31df123e4900d1ebb51c6a30eb1090765a04960adf9a2352cef46ab19332258544a5289d6bfe10f7af2 WHIRLPOOL 5703c0734a018fad587bb082448c7374fa3de6e249e985a07236c55610ed1bcabb2a9d5a1157af054ff9c25b72dce437f78fc6635c1cc3dedf73e13a50b6f114
+EBUILD urxvt-font-size-9999.ebuild 676 SHA256 7a67bc41732cab15fd73d81454abc76e2ec161e483c95f20314cf92d8d58dd6a SHA512 d30901f7cd264020bf6cb4568b5a5908e37b18d46be4b11a0dc918ca8ecf3c9e45d13bd29a575bfd637b65549e4363b2e58e24a19b9df68b49312a5484b8f047 WHIRLPOOL 0202a5bbc32dcd92d1b8cac337bd77806ecfcc04df801f4a4307fb7804ca47d85ecf399a4cc378f122b7ff8185c7cfbc2b165b6ca115358e6c26351c167ec25f
+MISC ChangeLog 2262 SHA256 e30f6f36abdbd42b9ad9f9b81acf4c2d6aedfbac015a2d3bd78ed9e2feb509a4 SHA512 a288cc121e6f962cd4b26a5eebf0bf701d1285dcf757921e8f4a76ce543a9c5d8bf8a0a89aeb9c24d576dd3688e2a1ce02152db4d95097144b7831fe0c4593a4 WHIRLPOOL 3154319351a928a7934f71bc7d6a655b91e78a76b9dec52f73ace976e5135494b133a965631e88d653aad28d1db276c9ed662efbfbdd20aebd5922b80f0115a5
+MISC ChangeLog-2015 1713 SHA256 f6894e16bf0b995132cbcf90bf9befe48b8621569d5ec3386fd71121e583bf26 SHA512 9194a9a6bfcdfa1360f0caa6072cb373af5c5d51fc7c5dc211fc21b89c519124b073a05608c6b4f0baa6e61ccec5cd007bf2540144d4bd5c25d292dfc806f29d WHIRLPOOL b919407950c3bf62dbbdee4aeb5c747805f4405082f7803525228065761d457f9902231bd0a05d5f28640e4829fce769bc2eecd58f252d071c9d67c82759cd11
+MISC metadata.xml 337 SHA256 08d0d321f28f5e47a22c5d8b0aead277cb597fd31088da65d2ab9627121a7d00 SHA512 4278134484822c6a8c9a1538301100c0196f3e32b4c172f21fb56af4db4a0d759a5813f7ecbfee23a25fd2b8e4c880a9e2a593135bb4e70c1b4101ea4277b218 WHIRLPOOL 1063f883119ab22cefdb4ebed747cc88391df1eef1600f10ef8ad78b922309a8e10195b778155b94facb9c5330cc1d68ee3919d525a2804487b64711d7594b7a
diff --git a/x11-misc/urxvt-font-size/metadata.xml b/x11-misc/urxvt-font-size/metadata.xml
new file mode 100644
index 000000000000..325ca78ce984
--- /dev/null
+++ b/x11-misc/urxvt-font-size/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>radhermit@gentoo.org</email>
+ <name>Tim Harder</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">majutsushi/urxvt-font-size</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/urxvt-font-size/urxvt-font-size-1.1.ebuild b/x11-misc/urxvt-font-size/urxvt-font-size-1.1.ebuild
new file mode 100644
index 000000000000..6e9c01b1a6e1
--- /dev/null
+++ b/x11-misc/urxvt-font-size/urxvt-font-size-1.1.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit multilib
+
+if [[ ${PV} == 9999* ]]; then
+ EGIT_REPO_URI="https://github.com/majutsushi/${PN}.git"
+ inherit git-r3
+else
+ KEYWORDS="amd64 x86"
+ SRC_URI="https://github.com/majutsushi/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+fi
+
+DESCRIPTION="Perl extension for rxvt-unicode to change the font size on the fly"
+HOMEPAGE="https://github.com/majutsushi/urxvt-font-size/"
+
+LICENSE="MIT"
+SLOT="0"
+
+RDEPEND="
+ x11-apps/xlsfonts
+ x11-terms/rxvt-unicode[perl]
+"
+
+src_install() {
+ insinto /usr/$(get_libdir)/urxvt/perl
+ doins font-size
+ dodoc README.markdown
+}
diff --git a/x11-misc/urxvt-font-size/urxvt-font-size-9999.ebuild b/x11-misc/urxvt-font-size/urxvt-font-size-9999.ebuild
new file mode 100644
index 000000000000..e09077f0cccc
--- /dev/null
+++ b/x11-misc/urxvt-font-size/urxvt-font-size-9999.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit multilib
+
+if [[ ${PV} == 9999* ]]; then
+ EGIT_REPO_URI="https://github.com/majutsushi/${PN}.git"
+ inherit git-r3
+else
+ KEYWORDS="~amd64 ~x86"
+ SRC_URI="https://github.com/majutsushi/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+fi
+
+DESCRIPTION="Perl extension for rxvt-unicode to change the font size on the fly"
+HOMEPAGE="https://github.com/majutsushi/urxvt-font-size/"
+
+LICENSE="MIT"
+SLOT="0"
+
+RDEPEND="
+ x11-apps/xlsfonts
+ x11-terms/rxvt-unicode[perl]
+"
+
+src_install() {
+ insinto /usr/$(get_libdir)/urxvt/perl
+ doins font-size
+ dodoc README.markdown
+}
diff --git a/x11-misc/urxvt-perls/Manifest b/x11-misc/urxvt-perls/Manifest
new file mode 100644
index 000000000000..d9291c0c333f
--- /dev/null
+++ b/x11-misc/urxvt-perls/Manifest
@@ -0,0 +1,5 @@
+DIST urxvt-perls-2.2.tar.gz 14300 SHA256 c184f9a188866fef333489323576e5d2808a1cbcdb5f69b9a0be5d5e1eff8b87 SHA512 3b6c9b71ee2bc6a64762c2c9255ce52c489282797fb2859c17bb83eacae44bbbdf7f22d47de1bb0492753e7cd685fe4bc44c71421a19e162185ad60331b84d89 WHIRLPOOL 44df15fa71a3529791c6ea57a351efc726a34cbf997a1a7ff94aa38be46590db035db6b27f617492370150842879198e6e4a81307407a230d5c287399916f1f1
+EBUILD urxvt-perls-2.2.ebuild 538 SHA256 ecb82f4dca3582f01821b588a572f649a945553de5fa8d35dd9e281903b59efc SHA512 9dafeeb6af3469b6e0e7b83875f20c752e255a8393dfce776817bcdbea7e8d9c1b1f745f6d8435d6ce220a37096cabbead2f70434d1a277cb26bce2f6ebcd713 WHIRLPOOL 498a270859950bf145c123d4840f1acc7b0a9ab16384423004bebf0a1c40fc4ef4d4f7931f2de6c74f2a4fa50475f4bd13c20bc06b8869967ee6f5bc9a137d98
+MISC ChangeLog 2184 SHA256 869bb9b1e9ee7e4cc8edce9ac62bfd4fe6e3670f86afa2ba3230a875c2dcb88e SHA512 4d163e7fdbff7bf792bd9479f5e1a5e41064d3d18ef1fbda74c3e7b741d2052e7d851836a9ba81ecc5593e67c119d4314924e2d8cb8bddb4d5ae264d3c21f0ad WHIRLPOOL f4a84376fd43326df7d14d85c57706839abe7ca995ac818a24e5fc0ad94ac56e8d1f0f117d17878ff257a887455de5c395a16e6f12fdfdcea572420a12f3a002
+MISC ChangeLog-2015 1259 SHA256 70fd2f6f95c8efdb469d0727a8d7b08a1c8f1206e6b40f000ded45179d8f0a84 SHA512 88c9d6fb5e5a52df4203510ab4e9912309ec1d676129aacb3220ecbae2429097d24714fe299fdb4196ff2a9972939beca495773f606b4c72d8acecbc41c10ee8 WHIRLPOOL 9cc485f80bf82e28497170e91e6b0adc4256f6fe5c2b8f78a05b7ecf8cf75940c685e94f505f79411cf61522c3f72ec61773741acc562ae1e695653a62bc1556
+MISC metadata.xml 331 SHA256 073b8a774e81ac37f096d121bf96392800c123b45192819e3c58a32c86008616 SHA512 66cbc7e6ca69fa0001a628f61f0941ed882c2589d67f77edbec95a2c21fbbdf19ec79ddc74aff1adb1d039ff2646b714267093ce2ee46d28d6451ec616b55492 WHIRLPOOL c59b65d9791082cb3304eabf24a49004d46bbb5f210c327a5a60e3df9a30e26ee0e9fd509d88266ef147520d5dd3b0194892d6463575a2aad014ad1fe973e6b7
diff --git a/x11-misc/urxvt-perls/metadata.xml b/x11-misc/urxvt-perls/metadata.xml
new file mode 100644
index 000000000000..de5f98c37a45
--- /dev/null
+++ b/x11-misc/urxvt-perls/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>radhermit@gentoo.org</email>
+ <name>Tim Harder</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">muennich/urxvt-perls</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/urxvt-perls/urxvt-perls-2.2.ebuild b/x11-misc/urxvt-perls/urxvt-perls-2.2.ebuild
new file mode 100644
index 000000000000..197cc127f826
--- /dev/null
+++ b/x11-misc/urxvt-perls/urxvt-perls-2.2.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit multilib
+
+DESCRIPTION="Perl extensions for rxvt-unicode"
+HOMEPAGE="https://github.com/muennich/urxvt-perls"
+SRC_URI="https://github.com/muennich/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~arm x86"
+
+RDEPEND="x11-misc/xsel
+ x11-terms/rxvt-unicode[perl]"
+
+src_install() {
+ insinto /usr/$(get_libdir)/urxvt/perl
+ doins clipboard keyboard-select url-select
+ dodoc README.md
+}
diff --git a/x11-misc/urxvtconfig/Manifest b/x11-misc/urxvtconfig/Manifest
new file mode 100644
index 000000000000..5f829d808d9d
--- /dev/null
+++ b/x11-misc/urxvtconfig/Manifest
@@ -0,0 +1,3 @@
+DIST urxvtconfig-1.0.tar.gz 17910 SHA256 74ad9539f4d795ddeca56d53b02483c6ad162a24576b9667e2de54cc84ffd8f3 SHA512 c52d5d23cf00cbbe9d3c3d22ec137596e5e3ace50a0c5aac9ff0c95fe52a00c232069dfb3ebfb712db0d523a46fdff613a0f0b0081203ca0ab1a444f496e4193 WHIRLPOOL c6fa9e8302f3febbd9880099bab3d60b7d571f86c7ac1d8c493711e3be3085e936385181d6881006ec5f36862c86a7505afe04c66b1b14c07eff171693e1a3f2
+EBUILD urxvtconfig-1.0.ebuild 821 SHA256 e799268b117fdad14529b38c9801cf253e1b2381775a04c33e3bf1f87a3f72a2 SHA512 f372c8825a8345286c34d6f1c7eb21a51ed2b1637bafeda7b1d1b9399b523b704550aa9fc0ee2264e1bf765266704c8d9b13182562ee3e53637f645310a3364e WHIRLPOOL f1a3363e219e8ec4b2bf61a572d81628f4c789a33b565e07bae7993938a3c3d509a82cf2e449f4f7f54846079eedc7fe5cba6b414db31c252e00a5057c7953d1
+MISC metadata.xml 451 SHA256 10ad2552df3a5df380a9da8eec1eb5acee21a6b5199159030e43c494ad6ecc8b SHA512 8d356897a2ccf8ab507eb95c9724c93d33ceac1d564598445b2312e7edc5dc08be2e0890bc175ef0c222df3f917cb7a1bab4224ac7557db40016315310b2c1f0 WHIRLPOOL 46f015c43e1fef96434bbb41197873ccfd7deb802cf41703a0554e472186ebbeaf21da530a87db907f44e5cbdec65fd0472c69a49e070c9629c13a5ad4fdce79
diff --git a/x11-misc/urxvtconfig/metadata.xml b/x11-misc/urxvtconfig/metadata.xml
new file mode 100644
index 000000000000..3ff8b3dc6ff2
--- /dev/null
+++ b/x11-misc/urxvtconfig/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>eckertdawid@gmail.com</email>
+ <name>Dawid Eckert</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">daedreth/urxvtconfig</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/urxvtconfig/urxvtconfig-1.0.ebuild b/x11-misc/urxvtconfig/urxvtconfig-1.0.ebuild
new file mode 100644
index 000000000000..2d03fe886dd3
--- /dev/null
+++ b/x11-misc/urxvtconfig/urxvtconfig-1.0.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit qmake-utils
+
+MY_PN=URXVTConfig
+
+DESCRIPTION="GUI configuration tool for the rxvt-unicode terminal emulator"
+HOMEPAGE="https://github.com/daedreth/URXVTConfig"
+SRC_URI="https://github.com/daedreth/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+KEYWORDS="~amd64 ~x86"
+
+SLOT="0"
+LICENSE="GPL-3"
+
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+RDEPEND="
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtmultimedia:5
+ dev-qt/qtsingleapplication[X,qt5(-)]
+ dev-qt/qtwidgets:5
+ dev-qt/qtxml:5
+ x11-terms/rxvt-unicode[xft]"
+DEPEND="${RDEPEND}
+ media-gfx/imagemagick
+ x11-libs/libXft
+ media-libs/fontconfig"
+
+src_configure() {
+ eqmake5 source/URXVTConfig.pro
+}
+
+src_install() {
+ emake INSTALL_ROOT="${D}" install
+ einstalldocs
+}
diff --git a/x11-misc/util-macros/Manifest b/x11-misc/util-macros/Manifest
new file mode 100644
index 000000000000..20d513f509fc
--- /dev/null
+++ b/x11-misc/util-macros/Manifest
@@ -0,0 +1,5 @@
+DIST util-macros-1.19.1.tar.bz2 83274 SHA256 18d459400558f4ea99527bc9786c033965a3db45bf4c6a32eefdc07aa9e306a6 SHA512 d69a415d5922f072bab1ddf8984c98bc349a24ffc7a60184320a12992a76b04d7cb773b426b1a7000e6dc7983d59df51bbc8f2ff25273d63e4e238b4cd91eb38 WHIRLPOOL 7da9de2c27abeea024e5a62c1df06104709aeb469de95f0f6d88fdaf63d9ec81ee499bf34e2a34a1c323e0381d3bbf013ea3623c26786245114da49e139386b4
+EBUILD util-macros-1.19.1.ebuild 483 SHA256 b86c81524415bd9922326e320cae2f635224dbbed7d77fe173c41bed3d5dfb9d SHA512 6107a49a06da5d5f508528eb4d0cb92559e33f0944f690bbf412b0858f3e2d6629c2a2286ae521b55f769ab69d0338873be05182a55d7a44fcf9d357ead14c64 WHIRLPOOL c8dfd0ec3a5b8eddadb21652262209309a5159d0b6ec88ffefa626adc4ab8d3d8ef1b5e4158b8aa312305db382aaccd5436c23f5245363f0d7eb4936a306548f
+MISC ChangeLog 2567 SHA256 6cd764036e95c311ebaf31d93bee0e67cdf4470560868a52b196e232baf23049 SHA512 62af84f608bf193a96c9c33cd78f9a00a41992233eee6660c5d819bd01ac33ad415a82edfc8967565aa7434d608b788e90afc6bc00753533f50a3821248f408b WHIRLPOOL 981144fabd40504ed0fec2290b36b64b9cb918284fb995ece84acb8d77d393c6af57c6c00f3140a7cb2a9b21441b37df92ff951dfc4b270f0c62f646885664d3
+MISC ChangeLog-2015 20070 SHA256 f3a36d9c4aff9ffc0e2539ba2662a3f3b1b58dce108860dd7321f9e4b2cbfebd SHA512 9609a2af4d21f411491f0a5daa56ecac4d64134462b5d4dcaca14ac25fddd3cc63bc3b4a5a7e32394813147c5757ab5a9efcf766f916d0902f733a93cc236e01 WHIRLPOOL 0bbdc07a63f13d0c59e128c422ef8a1b130387998d919f9bbb7dfde9ff03cfcc627ab0201275291ac2d7a5403e7d7dea20655c3493e72b0ca77edb6fb0b1b426
+MISC metadata.xml 230 SHA256 677e4595d00a3098fde05ae33118b9ac05867dc5729c9cd579dc8badd1a28f68 SHA512 d7a2643abd1904cc5ff4d91cbb6f1baeb7f75fd1db542c5e14f19412f4f0bd4b903f8e703a7662ba7482c79dac5529057760b6427599d35e0842755fd946e057 WHIRLPOOL 4866c82c6428eae526c0a514c988e4119221f77b0e8bfb04fec713dd3ba516c69afc776a0c6f53c29abfd8507aa23801614db1ba544dd0a0dd4d6a9462c27306
diff --git a/x11-misc/util-macros/metadata.xml b/x11-misc/util-macros/metadata.xml
new file mode 100644
index 000000000000..e943b72b8a48
--- /dev/null
+++ b/x11-misc/util-macros/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>x11@gentoo.org</email>
+ <name>X11</name>
+</maintainer>
+</pkgmetadata>
diff --git a/x11-misc/util-macros/util-macros-1.19.1.ebuild b/x11-misc/util-macros/util-macros-1.19.1.ebuild
new file mode 100644
index 000000000000..51a04097da4f
--- /dev/null
+++ b/x11-misc/util-macros/util-macros-1.19.1.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit xorg-2
+
+EGIT_REPO_URI="https://anongit.freedesktop.org/git/xorg/util/macros.git"
+DESCRIPTION="X.Org autotools utility macros"
+
+KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE=""
diff --git a/x11-misc/vdpauinfo/Manifest b/x11-misc/vdpauinfo/Manifest
new file mode 100644
index 000000000000..2eea79c58de4
--- /dev/null
+++ b/x11-misc/vdpauinfo/Manifest
@@ -0,0 +1,5 @@
+DIST vdpauinfo-1.0.tar.gz 88567 SHA256 4054960b7ae618c351ff1ce3e7831b5cbda964ae1fbf9969b7146404d3044bc4 SHA512 54c177424bdae65374a13c0546ecda0e25e7357f9e779fb48dc018a9c11593039f87715ea18b320684dca22455df9b41a4eea6b0f977956efb6ab85b8b99297e WHIRLPOOL 5d43539332773a328c1a5a12b5ec0e1d2729217fda056a6fc5427fdcb228a8da4a674599c8d9e21f71e8d2378c1d9e47f132de44e60f670559a78003fb9c5722
+EBUILD vdpauinfo-1.0.ebuild 465 SHA256 7cc488c623e3cdf76fea23bec6ca985619b269f27de7bcae43ee4484c3ff33da SHA512 05999e0ae2e0f2dcf2b28b40fdd5f6d905724a156ce1576cfc5e4f78712ae5f7c7a81a3f63d6a93797ff28cf9e1b412a54c31771b9ac5ebf2394d0d99551b0ee WHIRLPOOL f7b367f86d6e7a695977a88b59e957631b5261d16b562a77c0ea615454e6ccd544f55342c26d78a07317d648f5f441a2c8d8bd77d506d7c38f3922b65555bfa7
+MISC ChangeLog 4376 SHA256 9d5623ade51a070236282960fe0a0ddd2305800bc8b8b47c1b27e4a0f991255a SHA512 919daf104c82b74fd39ad0841be70816a14d2aa4481563e8b6feec57ae868a8e0be3446c0e5c51685b09e2d6acbb511caa5999c0661d3bc7301661eb73613087 WHIRLPOOL 76eaf3203260f64bdcd2998a1888ce687954cfcf5988ecd79e007d418567f0530f7d196b5c4fa82dda00b3bc16af530ba550a23f97fd6e50203c35d12205dc31
+MISC ChangeLog-2015 1582 SHA256 a9e7223d449980f1229ba8748a3a29e26ae5536b65dd6ba0d9df9c42260e4b13 SHA512 d1d3f33b9c33ae611a2e532804fefef0b042bfea86bb7cb91aaa62db3a2363b52de0e8043a8e33997f8c7819bff47369c326766d92c0fe040b7c27f86fa0de05 WHIRLPOOL b1eee56c957c2c477bfd4395d6c2310cdd1a3555dadf57a1063540141db40a1468db5097af1f5354df6f6c0054623acd7549f9a96aa4f1fafac6d17b84e7c6b8
+MISC metadata.xml 247 SHA256 a5118c5f5444fa9516bf707168a4db00488bd472b8acce7e214c854c25d6e82a SHA512 e0b9dd88835de51f48aa42521b6540a1f2c7c7b4c419875eda099049cd0793352ced1717851e190a13fc10d2572963e10ccc3a8bae97a8b22190f9c3ab4401e6 WHIRLPOOL 8e0be29bbf267343ce4f8c7173388718cdee338d83f15024fa8cb03a4524718696e31409abf007c713bbe3124214daaac647b170bd55d159523fe5a8fd3197c4
diff --git a/x11-misc/vdpauinfo/metadata.xml b/x11-misc/vdpauinfo/metadata.xml
new file mode 100644
index 000000000000..349b99bbb869
--- /dev/null
+++ b/x11-misc/vdpauinfo/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>cardoe@gentoo.org</email>
+ <name>Doug Goldstein</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/x11-misc/vdpauinfo/vdpauinfo-1.0.ebuild b/x11-misc/vdpauinfo/vdpauinfo-1.0.ebuild
new file mode 100644
index 000000000000..d3dbaaac30c2
--- /dev/null
+++ b/x11-misc/vdpauinfo/vdpauinfo-1.0.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+DESCRIPTION="Displays info about your card's VDPAU support"
+HOMEPAGE="https://www.freedesktop.org/wiki/Software/VDPAU"
+SRC_URI="https://people.freedesktop.org/~aplattner/vdpau/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="amd64 x86"
+
+RDEPEND="
+ x11-libs/libX11
+ >=x11-libs/libvdpau-1.0
+"
+DEPEND="
+ ${RDEPEND}
+ virtual/pkgconfig
+ x11-proto/xproto
+"
diff --git a/x11-misc/viewglob/Manifest b/x11-misc/viewglob/Manifest
new file mode 100644
index 000000000000..b9c013e31799
--- /dev/null
+++ b/x11-misc/viewglob/Manifest
@@ -0,0 +1,8 @@
+AUX README.gentoo 550 SHA256 a701eba1b4d39015f3184bd9d0f43318af2ccadbfc3113554fe0853dd646c8d5 SHA512 93a0a08cc7e3c612c78aeed2794ec66141aebe3be974605282e52d3adea48c79fae0a16bc427b2e80a83dc5914f009bb9aa7a241142d4976085c56768332fd0c WHIRLPOOL e3f8c4e561fd039f9c12862fa048bc7edcbfe986173e65570a31bafccc3e80977d2595c3fc6410c4449c5e70da3ff400b2851d16d23775d1dc3a5ebef2882b38
+AUX viewglob-2.0.4-format-security.patch 1112 SHA256 dbc1224c0934b3165cbb18084ad3431599c0ac5094d737295aa8eb25f6961efa SHA512 1273b51c4a4bf67c53630965d641a95d30916026e8307878335bac95cb1982c3d3705954a3caa600eef27b41c8319131fd00ac8fae5fc85707be90409e064945 WHIRLPOOL 590a095798ae88b55b6558c08de005d2ed9378a41fede3fc97cf0635222319196132708d5ea5a96e4dc4a14b21b6a4ad15632b9c9eaaa9cad49dd8d705b70be4
+AUX viewglob-2.0.4-underlinking.patch 5015 SHA256 12fa5f890a386590fe0baf8b3148e10fb666d8bcff67c97d1864e179cf8e637b SHA512 3dacc19e362bf5e69348eff097daf55c25bc4b9d3afe589ad49f28f01394da29f365708a15ce4c662918daefed95cb059b9d45d44b8269118812d5945a2997ee WHIRLPOOL f91bcfd6b4449641dbe337e8e979db667f2b5be335cd9f9f2c0e3563d4dcb46156daf2d71e57cc6d686b4e6ba2556b9fcd62895b1bbfb265bc1a87923ca9bd18
+DIST viewglob-2.0.4.tar.gz 324752 SHA256 69ef6c62de26b2fad82ddff3fcc72e15ddf7eed7047492218f7c6387c0e7c6f4 SHA512 95fb5ef6dc412804cbff6a961ec08bf8e114eefb9ea5430aa1be2f8b2bcbb7e76ab8392e31148d4275debd6f4cada81d1ebfb08a741b8a579f749efdb8f7adb4 WHIRLPOOL e22d237e736283027991a9e2c5bf61bf275b61a34ff3f6b645d46bb69fe2c524f14b07820e03cec526b2268e0ad88c81f9b82b299df253b79d64f1e0ffcb8979
+EBUILD viewglob-2.0.4-r1.ebuild 726 SHA256 7c9c3a584160f00adaed4ef919a839e2be96b81e7938989e26bafd86e6184f78 SHA512 c3ae299f14a0d9959c1e8556708fab4f50c474428a76cd1f5aea7ee7caf5350bbedfc0c3609c159f24ae3a7de4c19861e92c1812caa7d6a597b0ecfe202c03de WHIRLPOOL 05a3238c3895d42f539aadd2b8c909125bbc3fbb8c45bec4653ec0f4dfab7320dac9d6ef33ce0d16fe248f26a27d8ab2bdafd6407d9087c6b8050ffa5744f15e
+MISC ChangeLog 2549 SHA256 0caaf9bf9d0e0d36394e9b8ff5c2718b8e7a5f9e8eed0bb444494e3f890d4a95 SHA512 701aa92e3039bf8d6f43409079eb4ae37df6335c9c673588c654c0d58dc8e4569d8cb0fdd6dc87a8d07176ce41cca807b323a03e293068ee990eaf80af8554dc WHIRLPOOL 54e0de26a7ae8ac8ceccd8f470feb26eb04f84d7426e301d5d07248617a6e2334522ffa1648092b98aeea5997be211f8803baba9f1e2fc1b15f5afda71dc9dbf
+MISC ChangeLog-2015 3216 SHA256 2733c8c4e8839be4dbc9f5c6e9fe0f45fe97c8121796de99901e7e59982e9c8a SHA512 fb5085aa397fc3a0acb13790456091e9a1932af673545d44db283e62ad7946eabbb4ae9c322627aa987241cf83e7a66d44f4fe4aa11e885f49377aa7c14ea2a6 WHIRLPOOL 98a05113e52a090d1da7a16095d8e6bd2ee10ee7f77ccb4ee6521ade776b282f1b6b4d711406e3db0627d4eb31237016efd202b21abbd0c9838a49e31ae12b4c
+MISC metadata.xml 741 SHA256 cda7c5fac0581f14e6fd812fcd056d9c5293c48aba40eb7803fa822b82b15640 SHA512 97ea2f31a88dfe6b9f706b54d776e314d29832917f630e62132a799da03b3114bea1c07a241caf87bc6f212fca45ad0322e7f6b3768c0644accd07495cd3d9bb WHIRLPOOL 321dd47344546f78af836c335681b23c180433d52e03250304cc584035d5cb681e4009155b642fb204f2a252b10f6e1d23f95fb5efbd2836646faace20775c1c
diff --git a/x11-misc/viewglob/files/README.gentoo b/x11-misc/viewglob/files/README.gentoo
new file mode 100644
index 000000000000..be03a013571b
--- /dev/null
+++ b/x11-misc/viewglob/files/README.gentoo
@@ -0,0 +1,17 @@
+/usr/bin/viewglob is a wrapper for vgd and vgseer (client and
+daemon, respectively). Generally speaking, this is what you want to
+execute from your shell.
+
+Should you prefer to start viewglob with each shell session, try
+something like this:
+
+ if [[ ! $VG_VIEWGLOB_ACTIVE && $DISPLAY ]] ; then
+ exec viewglob
+ fi
+
+Have a look at http://viewglob.sourceforge.net/faq.html for a
+few more viewglob tricks.
+
+There are some known bugs in viewglob with screen. Exercise some
+caution and take results with a pinch of salt if you try the two
+together.
diff --git a/x11-misc/viewglob/files/viewglob-2.0.4-format-security.patch b/x11-misc/viewglob/files/viewglob-2.0.4-format-security.patch
new file mode 100644
index 000000000000..98490e3836c9
--- /dev/null
+++ b/x11-misc/viewglob/files/viewglob-2.0.4-format-security.patch
@@ -0,0 +1,36 @@
+ common/syslogging.c | 2 +-
+ vgseer/vgseer.c | 4 ++--
+ 2 files changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/common/syslogging.c b/common/syslogging.c
+index dcb7106..df0b537 100644
+--- a/common/syslogging.c
++++ b/common/syslogging.c
+@@ -40,6 +40,6 @@ void syslogging(const gchar* log_domain, GLogLevelFlags log_level,
+ else
+ priority = LOG_NOTICE;
+
+- syslog(priority, message);
++ syslog(priority, "%s", message);
+ }
+
+diff --git a/vgseer/vgseer.c b/vgseer/vgseer.c
+index e045835..18b0024 100644
+--- a/vgseer/vgseer.c
++++ b/vgseer/vgseer.c
+@@ -276,13 +276,13 @@ static gint connect_to_vgd(gchar* server, gchar* port,
+ if (STREQ(value, "ERROR")) {
+ /* Print reason for error and exit. */
+ get_param_verify(fd, &param, &value, P_REASON, NULL);
+- g_critical(value);
++ g_critical("%s", value);
+ clean_fail(NULL);
+ }
+ else if (STREQ(value, "WARNING")) {
+ /* Print warning but continue. */
+ get_param_verify(fd, &param, &value, P_REASON, NULL);
+- g_warning(value);
++ g_warning("%s", value);
+ }
+ else if (!STREQ(value, "OK")) {
+ g_critical("Unknown value for P_STATUS: %s", value);
diff --git a/x11-misc/viewglob/files/viewglob-2.0.4-underlinking.patch b/x11-misc/viewglob/files/viewglob-2.0.4-underlinking.patch
new file mode 100644
index 000000000000..acea0bd6c359
--- /dev/null
+++ b/x11-misc/viewglob/files/viewglob-2.0.4-underlinking.patch
@@ -0,0 +1,163 @@
+ Makefile.am | 6 +++---
+ shell/Makefile.am | 12 ++++++------
+ vgd/Makefile.am | 2 +-
+ vgdisplay/Makefile.am | 4 ++--
+ vgdisplay/Makefile.in | 2 +-
+ vgexpand/Makefile.am | 2 +-
+ vgping/Makefile.am | 2 +-
+ vgseer/Makefile.am | 2 +-
+ 8 files changed, 16 insertions(+), 16 deletions(-)
+
+diff --git a/Makefile.am b/Makefile.am
+index 5378bad..4b0d394 100644
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -11,19 +11,19 @@ man_MANS = vgseer.1 viewglob.1 $(MANS_FULL)
+ viewglob.1:
+ rm -f viewglob.1.tmp
+ sed -e 's/@RELEASE_DATE\@/$(RELEASE_DATE)/g' \
+- viewglob.1.in > viewglob.1.tmp
++ $(srcdir)/viewglob.1.in > viewglob.1.tmp
+ mv viewglob.1.tmp viewglob.1
+
+ vgseer.1:
+ rm -f vgseer.1.tmp
+ sed -e 's/@RELEASE_DATE\@/$(RELEASE_DATE)/g' \
+- vgseer.1.in > vgseer.1.tmp
++ $(srcdir)/vgseer.1.in > vgseer.1.tmp
+ mv vgseer.1.tmp vgseer.1
+
+ vgd.1:
+ rm -f vgd.1.tmp
+ sed -e 's/@RELEASE_DATE\@/$(RELEASE_DATE)/g' \
+- vgd.1.in > vgd.1.tmp
++ $(srcdir)/vgd.1.in > vgd.1.tmp
+ mv vgd.1.tmp vgd.1
+
+ EXTRA_DIST = COPYING2 HACKING viewglob.1.in vgseer.1.in vgd.1.in
+diff --git a/shell/Makefile.am b/shell/Makefile.am
+index 1d4239a..0a62bc7 100644
+--- a/shell/Makefile.am
++++ b/shell/Makefile.am
+@@ -1,7 +1,7 @@
+
+ bin_SCRIPTS = viewglob
+-pkglib_SCRIPTS = getopt.sh conf-to-args.sh
+-pkglib_DATA = init-viewglob.bashrc .zshrc
++libexec_SCRIPTS = getopt.sh conf-to-args.sh
++pkgdata_DATA = init-viewglob.bashrc .zshrc
+
+ viewglob:
+ rm -f viewglob.tmp
+@@ -10,27 +10,27 @@ viewglob:
+ -e 's,@PACKAGE_NAME\@,$(PACKAGE_NAME),g' \
+ -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' \
+ -e 's/@RELEASE_DATE\@/$(RELEASE_DATE)/g' \
+- viewglob.in > viewglob.tmp
++ $(srcdir)/viewglob.in > viewglob.tmp
+ chmod a+x viewglob.tmp
+ mv viewglob.tmp viewglob
+
+ getopt.sh:
+ rm -f getopt.sh.tmp
+ sed -e 's,@BASH_FULL_PATH\@,$(BASH_FULL_PATH),g' \
+- getopt.sh.in > getopt.sh.tmp
++ $(srcdir)/getopt.sh.in > getopt.sh.tmp
+ chmod a+x getopt.sh.tmp
+ mv getopt.sh.tmp getopt.sh
+
+ .zshrc:
+ rm -f init-viewglob.zshrc.tmp
+ sed -e 's,@pkglibdir\@,$(pkglibdir),g' \
+- init-viewglob.zshrc.in > init-viewglob.zshrc.tmp
++ $(srcdir)/init-viewglob.zshrc.in > init-viewglob.zshrc.tmp
+ mv init-viewglob.zshrc.tmp .zshrc
+
+ init-viewglob.bashrc:
+ rm -f init-viewglob.bashrc.tmp
+ sed -e 's,@pkglibdir\@,$(pkglibdir),g' \
+- init-viewglob.bashrc.in > init-viewglob.bashrc.tmp
++ $(srcdir)/init-viewglob.bashrc.in > init-viewglob.bashrc.tmp
+ mv init-viewglob.bashrc.tmp init-viewglob.bashrc
+
+
+diff --git a/vgd/Makefile.am b/vgd/Makefile.am
+index 634b7de..1982981 100644
+--- a/vgd/Makefile.am
++++ b/vgd/Makefile.am
+@@ -25,7 +25,7 @@ BUILT_SOURCES = vgd-usage.h
+
+ vgd-usage.h: vgd-usage.txt
+ rm -f vgd-usage.tmp
+- sed <vgd-usage.txt >vgd-usage.tmp \
++ sed < $(srcdir)/vgd-usage.txt >vgd-usage.tmp \
+ -e 's/\\/\\\\/g' \
+ -e 's/"/\\"/g' \
+ -e 's/.*/\"&\\n\"/'
+diff --git a/vgdisplay/Makefile.am b/vgdisplay/Makefile.am
+index 4aa941b..5d2e1df 100644
+--- a/vgdisplay/Makefile.am
++++ b/vgdisplay/Makefile.am
+@@ -4,9 +4,9 @@ AM_CPPFLAGS = -DVG_LIB_DIR="\"$(pkglibdir)\"" -I$(COMMON_DIR) \
+ LDADD = \
+ @GLIB_LIBS@ \
+ @X_PRE_LIBS@ @X_LIBS@ -lX11 @X_EXTRA_LIBS@ \
+- @GTK_LIBS@
++ @GTK_LIBS@ -lm
+
+-pkglib_PROGRAMS = vgclassic vgmini
++libexec_PROGRAMS = vgclassic vgmini
+
+ vgclassic_SOURCES = \
+ vgclassic.c \
+diff --git a/vgdisplay/Makefile.in b/vgdisplay/Makefile.in
+index 218587b..cd7d86d 100644
+--- a/vgdisplay/Makefile.in
++++ b/vgdisplay/Makefile.in
+@@ -55,7 +55,7 @@ am_vgclassic_OBJECTS = vgclassic.$(OBJEXT) exhibit.$(OBJEXT) \
+ hardened-io.$(OBJEXT) x11-stuff.$(OBJEXT) syslogging.$(OBJEXT) \
+ fgetopt.$(OBJEXT)
+ vgclassic_OBJECTS = $(am_vgclassic_OBJECTS)
+-vgclassic_LDADD = $(LDADD)
++vgclassic_LDADD = $(LDADD) -lm
+ vgclassic_DEPENDENCIES =
+ am_vgmini_OBJECTS = vgmini.$(OBJEXT) wrap_box.$(OBJEXT) \
+ file_box.$(OBJEXT) lscolors.$(OBJEXT) dircont.$(OBJEXT) \
+diff --git a/vgexpand/Makefile.am b/vgexpand/Makefile.am
+index e6817cc..6357fc8 100644
+--- a/vgexpand/Makefile.am
++++ b/vgexpand/Makefile.am
+@@ -2,7 +2,7 @@ COMMON_DIR = $(top_srcdir)/common
+ AM_CPPFLAGS = @GLIB_CFLAGS@ -DVG_LIB_DIR="\"$(pkglibdir)\"" -I$(COMMON_DIR)
+ LDADD = @GLIB_LIBS@
+
+-pkglib_PROGRAMS = vgexpand
++libexec_PROGRAMS = vgexpand
+
+ vgexpand_SOURCES = vgexpand.c
+
+diff --git a/vgping/Makefile.am b/vgping/Makefile.am
+index 02a1db3..7b09845 100644
+--- a/vgping/Makefile.am
++++ b/vgping/Makefile.am
+@@ -1,6 +1,6 @@
+ COMMON_DIR = $(top_srcdir)/common
+
+-pkglib_PROGRAMS = vgping
++libexec_PROGRAMS = vgping
+
+ vgping_CPPFLAGS = @GLIB_CFLAGS@ -DVG_LIB_DIR="\"$(pkglibdir)\"" -I$(COMMON_DIR)
+ vgping_LDADD = @GLIB_LIBS@ @LIBS@
+diff --git a/vgseer/Makefile.am b/vgseer/Makefile.am
+index ff0431e..05480b8 100644
+--- a/vgseer/Makefile.am
++++ b/vgseer/Makefile.am
+@@ -29,7 +29,7 @@ BUILT_SOURCES = vgseer-usage.h
+
+ vgseer-usage.h: vgseer-usage.txt
+ rm -f vgseer-usage.tmp
+- sed <vgseer-usage.txt >vgseer-usage.tmp \
++ sed < $(srcdir)/vgseer-usage.txt >vgseer-usage.tmp \
+ -e 's/\\/\\\\/g' \
+ -e 's/"/\\"/g' \
+ -e 's/.*/\"&\\n\"/'
diff --git a/x11-misc/viewglob/metadata.xml b/x11-misc/viewglob/metadata.xml
new file mode 100644
index 000000000000..bf53ae30f04a
--- /dev/null
+++ b/x11-misc/viewglob/metadata.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>shell-tools@gentoo.org</email>
+ <name>Gentoo Shell Tools Project</name>
+ </maintainer>
+ <longdescription lang="en">
+ Viewglob is a package that graphically displays the results of a shell
+ glob, helping beginners of shell usage become acclimitised to filename
+ generation. In addition, it acts as a basic replacement for ls, by
+ tracking shell directory changes. It is compatible with zsh and bash,
+ and helper files and documentation are provided.
+ </longdescription>
+ <upstream>
+ <remote-id type="sourceforge">viewglob</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/viewglob/viewglob-2.0.4-r1.ebuild b/x11-misc/viewglob/viewglob-2.0.4-r1.ebuild
new file mode 100644
index 000000000000..002f4494df2e
--- /dev/null
+++ b/x11-misc/viewglob/viewglob-2.0.4-r1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+AUTOTOOLS_AUTORECONF=yes
+
+inherit autotools-utils readme.gentoo
+
+DESCRIPTION="Graphical display of directories and globs referenced at the shell prompt"
+HOMEPAGE="http://viewglob.sourceforge.net/"
+SRC_URI="mirror://sourceforge/viewglob/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc ~sparc x86"
+IUSE=""
+
+RDEPEND="
+ dev-libs/glib:2
+ x11-libs/gtk+:2
+ || ( app-shells/bash:* app-shells/zsh )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-underlinking.patch
+ "${FILESDIR}"/${P}-format-security.patch
+)
+
+src_install() {
+ autotools-utils_src_install
+ readme.gentoo_src_install
+}
diff --git a/x11-misc/virtualgl/Manifest b/x11-misc/virtualgl/Manifest
new file mode 100644
index 000000000000..6920bb585ec2
--- /dev/null
+++ b/x11-misc/virtualgl/Manifest
@@ -0,0 +1,13 @@
+AUX vgl-helper.sh 881 SHA256 438c928840fbfb9274604296b8178e7f97b42a3428d115e1de6e609ea3146497 SHA512 d3940abb0c52957e8ec4ea15829151876384703ee5cff7a4d306d6de28f839ff76a9090a3af2106e7e8442104f3e16c57a8430b36d718490cd2637ecb99d9c8e WHIRLPOOL 19e5dd127ae329c432a54056bf901e5a62bd31ef5a51e2f2747968194a156405f527520d766d6b616c3ba057066fe05bd40faf24f434de2322e617fbf6fccb63
+AUX vgl.confd-r2 629 SHA256 5356391cec2e297f2fafa370f42be225ad4238ac61182b90720a3d914261a80f SHA512 bab0ad095a2f075a1923f1b58531101bce634c89b30e77c239ee224b58eac3083c7eba4d21bd997a4dc8b6e4cfb0be7b013732bdf37a27a16a3301a098d60c29 WHIRLPOOL 4355cc383a86f0c0a3992ef69429610238bafaa376b17394db981629c841b81dda320bf715d0a7ae3a0eb204623102dd3ca49881833e1cb6f109af5ba0360ad3
+AUX vgl.initd-r3 856 SHA256 e59320152be7d3631e3bdcd10be412b2ca1bc7c1bcdb135cb19142114e6358f0 SHA512 fcc6c02265e0e2bb1faa00e5da2246b56a7bd8c730faa912904953f5c67eae12bffa99fe57f2a76d199c22956fc1b6ca940fba40972b2afbf73ae7f4f2a0fc7d WHIRLPOOL 0aee0bc09e326c1d8ee32d7e0a0870b98067bdeb1620893b14c4146b9a0b305504e366e90f3db8958ab8e2887b397f17df70289a9048023bc160ce51959f7f9d
+AUX vgl.service 254 SHA256 86fbefb4f77967f7fe7b0ce10915f5d5cf7bac504a9a65dd7f72fa08b9efbaab SHA512 18615552301c52c272bc47f942c47121100c175651b3957ddf996ca40e755d96dd51194ecb599c92e62fbdba3b9245e999ef488c889833009f8eba1c038c38f9 WHIRLPOOL 6f7885f6e294ae5db26cd6b9ca048c87ded7d6f805fc08e8ad4f37111709958abdc1eaa7ee780c208eb39d7c7cae777480fe68d61f539a256e0c8352ccb44038
+DIST VirtualGL-2.4.1.tar.gz 1116018 SHA256 2889c6eb35b50340517856f497c07450a9d5ccab46e9b1700a76029a2159cf2e SHA512 b8901eccb29ea21ca1cb0743b6b3a7316ee02422a94be04133daa1c8a24b109e27504a63c901359c7dec22a8af2f0e26d909f9b74c834b97dc19f7491232db0a WHIRLPOOL 2fec19e22eab70cde4a9e4a8a2c9a9628e3e20809e6322b14de53bca50a967f8a142dee147255cb3e9d4d6c802d984b5adbd5293b6bdd205405b92fe18386b95
+DIST VirtualGL-2.5.1.tar.gz 1165255 SHA256 da342e0157257cd7b7c9c6705c7f2b9853f28f6bb6c51c90c710cc14257f3659 SHA512 a60a55bae58c80bcea418702f4d3b41356a9e599f007fd539043228c4fe75c28582bab376caf121a5eeee4a21cddb80f1edc2f89abfe88a584321c46383d3654 WHIRLPOOL 90555331f109b2cf3a0737860b57abebd8a21bd114effbae56ae900f03b65029e950c8d51cfed482eaa2376da219c7034823afca7d4e516721dbb8a56d3bf065
+DIST VirtualGL-2.5.2.tar.gz 1172965 SHA256 4f43387678b289a24139c5b7c3699740ca555a9f10011c979e51aa4df2b93238 SHA512 a3156f663c03e611a98a083bb12bea47820cdadc9f064e20431fddec55aae560f09b133f5254a24d7da01b64be2672d27713d7f6605eaca2d9d83090a070fafd WHIRLPOOL 33efef4b83def93908dfdd89aecb1a075b68258dc5f7909af2bcf6f1047c7dc83f5aa125366517a03abb21c97d64428a0d4f21064a686facc49f34ae486e59d7
+EBUILD virtualgl-2.4.1-r3.ebuild 2336 SHA256 557b09d0c9cdaec14e652a90a7c74b496ee807d1d31c127e8915580557e68a81 SHA512 81bfc6b3e54204b6f6c65687ab646203c280d01cf931886e6cd9a910b4ee91d5b4791e675aed9c4e1abbffe9fd5cc54940be843346e2ba3c3868229af01ed70f WHIRLPOOL 90fd646a22c9d27be6097261394ad47d00c7c04759ef347ed8d695d6dff876878b7ef857f9c4405d29a5ff9bfe9ceb78ea594b2f811851e577a51f83ad8ca2ee
+EBUILD virtualgl-2.5.1.ebuild 2295 SHA256 6ee8a9cab218703812e0964411d5debc2528114dadaa08533e4659730622f1b7 SHA512 adf3d3509d1af3f974d92b40f2e52db0a5dfea056d1ada788358a0bb3dc57660a7c9990a4e9bda2d3864e8571b79fe9ac8261f2b4a6799812269e64e6e1b619e WHIRLPOOL 7d9c9f49516f1f372aaabd1ca0eab2dac5d57717d1ee02df3820fc09c73e0dc8d3d1580f48b065a7ac3b38681fc26ebd8a7d384a1b0e71361da63db4baa787c8
+EBUILD virtualgl-2.5.2.ebuild 2486 SHA256 08899272149f53ae1e8c1543ed9847ddf362c86096e0e220b899e177040f0375 SHA512 22df595418e5b903af6bec5ef79af3e73f4938dd4eff8c1795c87bd205c994026dfa5ca21341e96b81d30bebda52e8f5cede284368ef246e7842e180cc4b619e WHIRLPOOL fb4bb3da38ed0c28652d51f1604cf21840b222bd16fa7663ab014eb44d6f28a6a95fcc96353e4dee272474a66fa5ba57298c27a4d667ab2453015bf38b0ebc8a
+MISC ChangeLog 4913 SHA256 3c2453f010faf5032e9f0ec8bd5c8f0c9f6e037cfb7b4c7e1911651af4d21fa8 SHA512 f7aee4d547fc7e55d4d6232ef99607a1f6502ccc13ab322b81b9b3128ed8d734bf15a6fdfd53a80133e3b1dd3a50845530ae0c88fd062a2519c44f5fbd44c7c3 WHIRLPOOL 87f2f6cd0e3c1c2fd508aab67b625be343ddb694c99ad2da4fc82516d6885b0ac914ec96d43349ebf8e04e684049ccda9748dc358ed1002070335fa49f3f467b
+MISC ChangeLog-2015 4575 SHA256 392fad0cbc6180c4bb57dec0a4c39937a4dc493c553c95c8a167e622fa443928 SHA512 f0b70469daa1d09f4afc769e48cf92bcdff603af354e7685c0ed54ff31915f95ae6f888937b222b8ed6846d84e077e19d15b0ba9034f42cf197eb408f0a68d80 WHIRLPOOL 804795c0e1cca265b5b620fcfb0de9456386dbfb72236d47bec005440457d47bfce387298e2d59c878c05ce76fb3fa9347139c50a18240df00142cfc7e0e0e61
+MISC metadata.xml 736 SHA256 31265fb384705bed457e2c673f898dfeab747ecaf64652eb037bd17c351158a0 SHA512 b1d37b1974a1db8cb9080279863708a6c1e50a86114ccfb17540980c178093ae6617b1bdfa470e73899277b44af231e41ec2b28504da5e335c0e34d509457600 WHIRLPOOL d07ecf0e3ae44a32cced673cc2dfeca55389ccd9fc1926002844aaf18da5067944f93080416439bb4bcf075c29578be57f0c4a7988aa8360b7b216d76f4c5615
diff --git a/x11-misc/virtualgl/files/vgl-helper.sh b/x11-misc/virtualgl/files/vgl-helper.sh
new file mode 100644
index 000000000000..805409284862
--- /dev/null
+++ b/x11-misc/virtualgl/files/vgl-helper.sh
@@ -0,0 +1,39 @@
+#!/bin/bash
+
+. /etc/vgl.conf
+
+vgl_start() {
+ truncate --size=0 /var/lib/VirtualGL/vgl_xauth_key
+
+ set_xauth
+ # Check if XAUTHORITY was set successfully, if not wait up to
+ # 60 seconds to allow X start.
+ tries=120
+ while [ ${tries} -gt 0 ]; do
+ tries=$((tries - 1))
+ if [ -z "${XAUTHORITY}" ]; then
+ sleep 0.5
+ set_xauth
+ continue
+ elif [ ! -e "${XAUTHORITY}" ]; then
+ sleep 0.5
+ # fall through, file not existing yet
+ fi
+ break
+ done
+
+ xauth -f /var/lib/VirtualGL/vgl_xauth_key add $DISPLAY . \
+ $(xauth -f $XAUTHORITY list | awk '{print $3;exit}') && \
+ chmod 644 /var/lib/VirtualGL/vgl_xauth_key
+}
+
+vgl_stop() {
+ rm -f /var/lib/VirtualGL/vgl_xauth_key
+}
+
+
+if [ "${1}" = "start" ]; then
+ vgl_start
+elif [ "${1}" = "stop" ]; then
+ vgl_stop
+fi
diff --git a/x11-misc/virtualgl/files/vgl.confd-r2 b/x11-misc/virtualgl/files/vgl.confd-r2
new file mode 100644
index 000000000000..a0cf7c5f2fde
--- /dev/null
+++ b/x11-misc/virtualgl/files/vgl.confd-r2
@@ -0,0 +1,27 @@
+# /etc/conf.d/vgl
+
+DISPLAY="${DISPLAY:-:0}"
+
+# Make it a function in case we have to repeat it in init script later
+set_xauth() {
+
+# common case (works in almost all tested environments (except of lightdm)):
+XAUTHORITY="$(ps wwax -C X,Xorg -o args= --sort=-stime | grep -m 1 -o '\B[-]auth\s*/var\S*' | cut -d ' ' -f 2)"
+
+# kdm and some others:
+# XAUTHORITY="$(find /var/run/xauth/A${DISPLAY}-*|tail -n1)"
+
+# gdm:
+# XAUTHORITY="/var/gdm/${DISPLAY}.Xauth"
+
+# slim:
+# XAUTHORITY="/var/run/slim.auth"
+
+# lightdm:
+# XAUTHORITY="/var/run/lightdm/root/${DISPLAY}"
+
+# lxdm:
+# XAUTHORITY="/var/run/lxdm/lxdm-${DISPLAY}.auth"
+
+}
+set_xauth
diff --git a/x11-misc/virtualgl/files/vgl.initd-r3 b/x11-misc/virtualgl/files/vgl.initd-r3
new file mode 100644
index 000000000000..951d73287d23
--- /dev/null
+++ b/x11-misc/virtualgl/files/vgl.initd-r3
@@ -0,0 +1,45 @@
+#!/sbin/openrc-run
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+# TODO: description="*" and other OpenRC 0.9+ candies
+
+depend() {
+ need xdm
+ after sshd
+}
+
+start() {
+ ebegin "Starting VirtualGL"
+ truncate --size=0 /var/lib/VirtualGL/vgl_xauth_key
+
+ set_xauth
+
+ if [ -z "$XAUTHORITY" ]; then
+
+ einfo "Waiting for xauthority..."
+
+ # wait for xauth file
+ while true; do
+ set_xauth
+
+ if [ -e "$XAUTHORITY" ]; then
+ break;
+ fi
+
+ sleep 1
+ done
+ fi
+
+
+ xauth -f /var/lib/VirtualGL/vgl_xauth_key add $DISPLAY . $(xauth -f $XAUTHORITY list | awk '{print $3;exit}') && \
+ chmod 644 /var/lib/VirtualGL/vgl_xauth_key
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping VirtualGL"
+ [ -f /var/lib/VirtualGL/vgl_xauth_key ] && \
+ rm /var/lib/VirtualGL/vgl_xauth_key
+ eend $?
+}
diff --git a/x11-misc/virtualgl/files/vgl.service b/x11-misc/virtualgl/files/vgl.service
new file mode 100644
index 000000000000..a001e8a1d2f1
--- /dev/null
+++ b/x11-misc/virtualgl/files/vgl.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=VirtualGL service
+After=display-manager.service
+
+[Service]
+RemainAfterExit=yes
+PIDFile=/var/run/named/named.pid
+ExecStart=/usr/libexec/vgl-helper.sh start
+ExecStop=/usr/libexec/vgl-helper.sh stop
+
+[Install]
+WantedBy=multi-user.target
+
diff --git a/x11-misc/virtualgl/metadata.xml b/x11-misc/virtualgl/metadata.xml
new file mode 100644
index 000000000000..332eeeea7599
--- /dev/null
+++ b/x11-misc/virtualgl/metadata.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>NP-Hardass@gentoo.org</email>
+ <name>NP-Hardass</name>
+ </maintainer>
+ <maintainer type="person">
+ <email>rei4dan@gmail.com</email>
+ <name>My Th</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <longdescription>
+ An open source package that gives any Unix or Linux remote display software
+ the ability to run OpenGL applications with full 3D hardware acceleration.
+ </longdescription>
+ <upstream>
+ <remote-id type="sourceforge">virtualgl</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/virtualgl/virtualgl-2.4.1-r3.ebuild b/x11-misc/virtualgl/virtualgl-2.4.1-r3.ebuild
new file mode 100644
index 000000000000..6df4d7616cbc
--- /dev/null
+++ b/x11-misc/virtualgl/virtualgl-2.4.1-r3.ebuild
@@ -0,0 +1,85 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit cmake-multilib multilib systemd
+
+DESCRIPTION="Run OpenGL applications remotely with full 3D hardware acceleration"
+HOMEPAGE="http://www.virtualgl.org/"
+
+MY_PN="VirtualGL"
+MY_P="${MY_PN}-${PV}"
+S="${WORKDIR}/${MY_P}"
+SRC_URI="mirror://sourceforge/${PN}/files/${PV}/${MY_P}.tar.gz"
+
+SLOT="0"
+LICENSE="LGPL-2.1 wxWinLL-3.1 FLTK"
+KEYWORDS="amd64 x86"
+IUSE="libressl ssl"
+
+RDEPEND="
+ ssl? (
+ !libressl? ( dev-libs/openssl:0[${MULTILIB_USEDEP}] )
+ libressl? ( dev-libs/libressl[${MULTILIB_USEDEP}] )
+ )
+ media-libs/libjpeg-turbo[${MULTILIB_USEDEP}]
+ x11-libs/libX11[${MULTILIB_USEDEP}]
+ x11-libs/libXext[${MULTILIB_USEDEP}]
+ x11-libs/libXv[${MULTILIB_USEDEP}]
+ virtual/glu[${MULTILIB_USEDEP}]
+ virtual/opengl[${MULTILIB_USEDEP}]
+ amd64? ( abi_x86_32? (
+ >=media-libs/libjpeg-turbo-1.3.0-r3[abi_x86_32]
+ >=x11-libs/libX11-1.6.2[abi_x86_32]
+ >=x11-libs/libXext-1.3.2[abi_x86_32]
+ >=x11-libs/libXv-1.0.10[abi_x86_32]
+ >=virtual/glu-9.0-r1[abi_x86_32]
+ >=virtual/opengl-7.0-r1[abi_x86_32]
+ ) )
+"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ # Use /var/lib, bug #428122
+ sed -e "s#/etc/opt#/var/lib#g" -i doc/unixconfig.txt doc/index.html doc/advancedopengl.txt \
+ server/vglrun.in server/vglgenkey server/vglserver_config || die
+
+ default
+}
+
+src_configure() {
+ abi_configure() {
+ local mycmakeargs=(
+ $(cmake-utils_use ssl VGL_USESSL)
+ -DVGL_DOCDIR=/usr/share/doc/"${PF}"
+ -DTJPEG_INCLUDE_DIR=/usr/include
+ -DVGL_LIBDIR=/usr/$(get_libdir)
+ -DTJPEG_LIBRARY=/usr/$(get_libdir)/libturbojpeg.so
+ -DCMAKE_LIBRARY_PATH=/usr/$(get_libdir)
+ -DVGL_FAKELIBDIR=/usr/fakelib/${ABI}
+ )
+ cmake-utils_src_configure
+ }
+ multilib_parallel_foreach_abi abi_configure
+}
+
+src_install() {
+ cmake-multilib_src_install
+
+ # Make config dir
+ dodir /var/lib/VirtualGL
+ fowners root:video /var/lib/VirtualGL
+ fperms 0750 /var/lib/VirtualGL
+ newinitd "${FILESDIR}/vgl.initd-r3" vgl
+ newconfd "${FILESDIR}/vgl.confd-r2" vgl
+
+ exeinto /usr/libexec
+ doexe "${FILESDIR}/vgl-helper.sh"
+ systemd_dounit "${FILESDIR}/vgl.service"
+
+ # Rename glxinfo to vglxinfo to avoid conflict with x11-apps/mesa-progs
+ mv "${D}"/usr/bin/{,v}glxinfo || die
+
+ # Remove license files, bug 536284
+ rm "${D}"/usr/share/doc/${PF}/{LGPL.txt*,LICENSE*} || die
+}
diff --git a/x11-misc/virtualgl/virtualgl-2.5.1.ebuild b/x11-misc/virtualgl/virtualgl-2.5.1.ebuild
new file mode 100644
index 000000000000..a90df85ec7ad
--- /dev/null
+++ b/x11-misc/virtualgl/virtualgl-2.5.1.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit cmake-multilib multilib systemd
+
+DESCRIPTION="Run OpenGL applications remotely with full 3D hardware acceleration"
+HOMEPAGE="http://www.virtualgl.org/"
+
+MY_PN="VirtualGL"
+MY_P="${MY_PN}-${PV}"
+S="${WORKDIR}/${MY_P}"
+SRC_URI="mirror://sourceforge/${PN}/files/${PV}/${MY_P}.tar.gz"
+
+SLOT="0"
+LICENSE="LGPL-2.1 wxWinLL-3.1 FLTK"
+KEYWORDS="~amd64 ~x86"
+IUSE="libressl ssl"
+
+RDEPEND="
+ ssl? (
+ !libressl? ( dev-libs/openssl:0=[${MULTILIB_USEDEP}] )
+ libressl? ( dev-libs/libressl:0=[${MULTILIB_USEDEP}] )
+ )
+ media-libs/libjpeg-turbo[${MULTILIB_USEDEP}]
+ x11-libs/libX11[${MULTILIB_USEDEP}]
+ x11-libs/libXext[${MULTILIB_USEDEP}]
+ x11-libs/libXv[${MULTILIB_USEDEP}]
+ virtual/glu[${MULTILIB_USEDEP}]
+ virtual/opengl[${MULTILIB_USEDEP}]
+ amd64? ( abi_x86_32? (
+ >=media-libs/libjpeg-turbo-1.3.0-r3[abi_x86_32]
+ >=x11-libs/libX11-1.6.2[abi_x86_32]
+ >=x11-libs/libXext-1.3.2[abi_x86_32]
+ >=x11-libs/libXv-1.0.10[abi_x86_32]
+ >=virtual/glu-9.0-r1[abi_x86_32]
+ >=virtual/opengl-7.0-r1[abi_x86_32]
+ ) )
+"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ # Use /var/lib, bug #428122
+ sed -e "s#/etc/opt#/var/lib#g" -i doc/unixconfig.txt doc/index.html doc/advancedopengl.txt \
+ server/vglrun.in server/vglgenkey server/vglserver_config || die
+
+ default
+}
+
+src_configure() {
+ abi_configure() {
+ local mycmakeargs=(
+ -DVGL_USESSL="$(usex ssl)"
+ -DVGL_DOCDIR=/usr/share/doc/"${PF}"
+ -DTJPEG_INCLUDE_DIR=/usr/include
+ -DVGL_LIBDIR=/usr/$(get_libdir)
+ -DTJPEG_LIBRARY=/usr/$(get_libdir)/libturbojpeg.so
+ -DCMAKE_LIBRARY_PATH=/usr/$(get_libdir)
+ )
+ cmake-utils_src_configure
+ }
+ multilib_parallel_foreach_abi abi_configure
+}
+
+src_install() {
+ cmake-multilib_src_install
+
+ # Make config dir
+ dodir /var/lib/VirtualGL
+ fowners root:video /var/lib/VirtualGL
+ fperms 0750 /var/lib/VirtualGL
+ newinitd "${FILESDIR}/vgl.initd-r3" vgl
+ newconfd "${FILESDIR}/vgl.confd-r2" vgl
+
+ exeinto /usr/libexec
+ doexe "${FILESDIR}/vgl-helper.sh"
+ systemd_dounit "${FILESDIR}/vgl.service"
+
+ # Rename glxinfo to vglxinfo to avoid conflict with x11-apps/mesa-progs
+ mv "${D}"/usr/bin/{,v}glxinfo || die
+
+ # Remove license files, bug 536284
+ rm "${D}"/usr/share/doc/${PF}/{LGPL.txt*,LICENSE*} || die
+}
diff --git a/x11-misc/virtualgl/virtualgl-2.5.2.ebuild b/x11-misc/virtualgl/virtualgl-2.5.2.ebuild
new file mode 100644
index 000000000000..981a222f951c
--- /dev/null
+++ b/x11-misc/virtualgl/virtualgl-2.5.2.ebuild
@@ -0,0 +1,88 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit cmake-multilib flag-o-matic multilib systemd
+
+DESCRIPTION="Run OpenGL applications remotely with full 3D hardware acceleration"
+HOMEPAGE="http://www.virtualgl.org/"
+
+MY_PN="VirtualGL"
+MY_P="${MY_PN}-${PV}"
+S="${WORKDIR}/${MY_P}"
+SRC_URI="mirror://sourceforge/${PN}/files/${PV}/${MY_P}.tar.gz"
+
+SLOT="0"
+LICENSE="LGPL-2.1 wxWinLL-3.1 FLTK"
+KEYWORDS="~amd64 ~x86"
+IUSE="libressl ssl"
+
+RDEPEND="
+ ssl? (
+ !libressl? ( dev-libs/openssl:0=[${MULTILIB_USEDEP}] )
+ libressl? ( dev-libs/libressl:0=[${MULTILIB_USEDEP}] )
+ )
+ media-libs/libjpeg-turbo[${MULTILIB_USEDEP}]
+ x11-libs/libX11[${MULTILIB_USEDEP}]
+ x11-libs/libXext[${MULTILIB_USEDEP}]
+ x11-libs/libXv[${MULTILIB_USEDEP}]
+ virtual/glu[${MULTILIB_USEDEP}]
+ virtual/opengl[${MULTILIB_USEDEP}]
+ amd64? ( abi_x86_32? (
+ >=media-libs/libjpeg-turbo-1.3.0-r3[abi_x86_32]
+ >=x11-libs/libX11-1.6.2[abi_x86_32]
+ >=x11-libs/libXext-1.3.2[abi_x86_32]
+ >=x11-libs/libXv-1.0.10[abi_x86_32]
+ >=virtual/glu-9.0-r1[abi_x86_32]
+ >=virtual/opengl-7.0-r1[abi_x86_32]
+ ) )
+"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ # Use /var/lib, bug #428122
+ sed -e "s#/etc/opt#/var/lib#g" -i doc/unixconfig.txt doc/index.html doc/advancedopengl.txt \
+ server/vglrun.in server/vglgenkey server/vglserver_config || die
+
+ default
+}
+
+src_configure() {
+ # Completely breaks steam/wine for discrete graphics otherwise
+ # see https://github.com/VirtualGL/virtualgl/issues/16
+ append-ldflags "-Wl,--no-as-needed"
+
+ abi_configure() {
+ local mycmakeargs=(
+ -DVGL_USESSL="$(usex ssl)"
+ -DCMAKE_INSTALL_DOCDIR=/usr/share/doc/"${PF}"
+ -DTJPEG_INCLUDE_DIR=/usr/include
+ -DCMAKE_INSTALL_LIBDIR=/usr/$(get_libdir)
+ -DTJPEG_LIBRARY=/usr/$(get_libdir)/libturbojpeg.so
+ -DCMAKE_LIBRARY_PATH=/usr/$(get_libdir)
+ )
+ cmake-utils_src_configure
+ }
+ multilib_parallel_foreach_abi abi_configure
+}
+
+src_install() {
+ cmake-multilib_src_install
+
+ # Make config dir
+ dodir /var/lib/VirtualGL
+ fowners root:video /var/lib/VirtualGL
+ fperms 0750 /var/lib/VirtualGL
+ newinitd "${FILESDIR}/vgl.initd-r3" vgl
+ newconfd "${FILESDIR}/vgl.confd-r2" vgl
+
+ exeinto /usr/libexec
+ doexe "${FILESDIR}/vgl-helper.sh"
+ systemd_dounit "${FILESDIR}/vgl.service"
+
+ # Rename glxinfo to vglxinfo to avoid conflict with x11-apps/mesa-progs
+ mv "${D}"/usr/bin/{,v}glxinfo || die
+
+ # Remove license files, bug 536284
+ rm "${D}"/usr/share/doc/${PF}/{LGPL.txt*,LICENSE*} || die
+}
diff --git a/x11-misc/vnc2swf/Manifest b/x11-misc/vnc2swf/Manifest
new file mode 100644
index 000000000000..6cdd61d04a10
--- /dev/null
+++ b/x11-misc/vnc2swf/Manifest
@@ -0,0 +1,5 @@
+DIST vnc2swf-0.5.0.tar.gz 438058 SHA256 ce49be2f0ae866e1a8e74e82f42cb466d01052aa0de07bfbf9f13bdcc16a8edc SHA512 f1551015eaafb7810b5d6367b73605f97bc5c0d4d3449dfe1a98af90f743133c0534c8988ee72ce2fc8599926a5f3ed5a785bf18788522b4a7c3cb8bc0529913 WHIRLPOOL eb4449d6233816407a05c8097d894789dcc369c2686e679f9b4f63a1d3de7f50e4efad5cd2f5934f3b7dae6f11581ddd5a52144e29bdb119606c43c5742df0e2
+EBUILD vnc2swf-0.5.0-r1.ebuild 1056 SHA256 19390df0b8a0095a4d52a92255b62eb5b83e81ef23e0bbc5b4bc1f4f988fba52 SHA512 aafaa25df6cd745f6e81527a0c121e3e03929e19447ba96cb5cb7143c3e385766545935d10d9ec154975d8736f94f519a34879a2dc60e9078c5b30103ea30889 WHIRLPOOL d019cbc36b108d9e298a087f22be6cf7cccae2bde19205f89dc68a6dbd43e9267a98d07432c2a7944374f9918452af920baa9d3c64cbbd6c2abf35c3a469b240
+MISC ChangeLog 2433 SHA256 6d22ad4ce371e3b8c407df917e2343f7f9c46ee52a1f36cdcde0192fe5fbeba5 SHA512 d502b8315953e550042009f29f265490c018b9f558f0fc4fbc7e531b64c66fe3948b4d46270b14c95f9ce7698adcc12d4b2e77322d8bbad4f1c214e697697db5 WHIRLPOOL e3091f5f83a5c1d61cc5365d76afb9937cbba39f9eace8b80db448391fca6a04cf48f967009d23e542ab30963f89149e6b70b06b642ba606c3a4bc768c9d63ea
+MISC ChangeLog-2015 2658 SHA256 85ed860b4c3d665143ed90f67125855c4123ebf5cbfef9e493d1005ac180e5bb SHA512 199d3ca9b93b6ecd8eb4dadef1701a7d6d80bd11cf356df0702705548d5f9ac93f943d0f633a72f5b24896e948c73a631659444efb630a8eccf26b60eeb872c7 WHIRLPOOL 0d25d1c281ac250aadd6a5eb39bd222a0911adfe7de9a4acc9a48245b2ff39ffb2b19153fdc042a22d6f816e8c6933b0b5c62ac07a2db4c21340d4ddf01dddab
+MISC metadata.xml 595 SHA256 e043f7284a1b851d24d105a1901f8a7b9b1dc231f22af03a50e1290386579f50 SHA512 6704b8f85e5439e662e490d581adcfe3b822bfd75e78b91a4074e5cf23267b1e180b91d18cf098c5745587c4e31829d4469bbbee3741fc1535eefe6d737f9732 WHIRLPOOL a1037dabb41a39fb605b0948400161609c289910abbf53251190fa62c3517616314f10872289562c60be2e0cca5010029fea846e7688afb429f3cd8a6c8f3102
diff --git a/x11-misc/vnc2swf/metadata.xml b/x11-misc/vnc2swf/metadata.xml
new file mode 100644
index 000000000000..6ecccf31f222
--- /dev/null
+++ b/x11-misc/vnc2swf/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+ <longdescription>
+ Vnc2swf is a cross-platform screen recording tool for ShockWave Flash (swf)
+ format. Vnc2swf comes with two different implementations, a Python one
+ (pyvnc2swf) and C one (vnc2swf).
+ </longdescription>
+ <use>
+ <flag name="x11vnc">Install script that depends on x11vnc</flag>
+ </use>
+</pkgmetadata>
diff --git a/x11-misc/vnc2swf/vnc2swf-0.5.0-r1.ebuild b/x11-misc/vnc2swf/vnc2swf-0.5.0-r1.ebuild
new file mode 100644
index 000000000000..b850412ff458
--- /dev/null
+++ b/x11-misc/vnc2swf/vnc2swf-0.5.0-r1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+inherit eutils
+
+DESCRIPTION="A tool for recording Flash SWF movies from VNC sessions"
+HOMEPAGE="http://www.unixuser.org/~euske/vnc2swf"
+SRC_URI="http://www.unixuser.org/~euske/vnc2swf/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="x11vnc"
+
+RDEPEND="x11-libs/libX11
+ x11-libs/libXaw
+ x11-libs/libXext
+ x11-libs/libXmu
+ x11-libs/libXt"
+DEPEND="${RDEPEND}
+ x11-proto/xextproto
+ x11-proto/xproto
+ sys-apps/sed
+ sys-libs/zlib
+ x11vnc? ( x11-misc/x11vnc )"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -ie "s:docs:html:" README || die
+ sed -ie "s:-mouse ::" recordwin.sh || die
+}
+
+src_install() {
+ dobin vnc2swf || die
+ if use x11vnc; then
+ # this USE flag is needed because recordwin
+ # only works on x11vnc
+ newbin recordwin.sh recordwin
+ dosed "s:./vnc2swf:vnc2swf:" /usr/bin/recordwin || die
+ fi
+ insinto /etc/X11/app-defaults
+ newins Vnc2Swf.ad Vnc2Swf || die
+ dodoc README* || die
+ dohtml -a html,swf docs/* || die
+}
diff --git a/x11-misc/vym/Manifest b/x11-misc/vym/Manifest
new file mode 100644
index 000000000000..6c41026d9a90
--- /dev/null
+++ b/x11-misc/vym/Manifest
@@ -0,0 +1,6 @@
+DIST vym-2.6.8.tar.bz2 6768801 SHA256 2ec528b2f9783ea12a80471f1cfcbefcb5eeac42bf5f3c5209ef334c6c561aba SHA512 9ade39454bdfe509e82e1acddb5be0b101eec9fe0c96198b29c8e8353125369b8052ddf6d36096cf119ac2e87c8d15298c560d4c579507c65d19d654f8847e0e WHIRLPOOL 6f160675fe1af40668097a612f9d86275d6ff276e4b4bd35f1a6961910f37f1bce9267cbb35aa91a28f62e196e99579cc4e462ddb9a87dce802e91e96ea9f1f2
+EBUILD vym-2.6.8.ebuild 1397 SHA256 f339f1d62857868fe5e8c5e95be7805263449ed99dfe0f4a74ca0f8e53495a5a SHA512 25dc2bfb6dc158e387eb5228288b71be8aafa30a048d3e60edbf5835526eeb0548104a891e0dddfb534f8c314afd8549a4a97d69702802e916192a553cac2bf2 WHIRLPOOL 578198659c4488483839b799311361d2de6c3d1dca200c956a4f19312a80d9a5d8509676b558b8cbc04d82934f3d601f3dbbe47b5a79e5c2cd2c1e5620544788
+EBUILD vym-9999.ebuild 1267 SHA256 ad0a42bba5498d009e954994c92cd5efc0dd17de2667e71f2d97107dd4871e33 SHA512 d12682ecd23e5d2953f6496e9c0e56a58b1c6924b19002a47aab67e75f72fe4fe6451d6bf9e067958e8296ba95908cf674ca44e654dd74680cf3494978771f7a WHIRLPOOL cee8864aaa1c31c9dc1c453af7a205921f8f24f696e7c8fa73d854d039f3c25f23822a979919571d6813017ba270f6ac582e494ae72e0bd9504ed3ee143e1799
+MISC ChangeLog 2644 SHA256 62733a8c23ff2c83b7359406045a5f9a7b25a17fc3f995081d76decb93e5a676 SHA512 77769abe7a619e3e6dfc970b928fe7229f29607a9b413c3a403789f5eb8dc7e9bacdddac236e9a9f899aa97fba4a5c29461d0b3ef47532815280acff8f63704c WHIRLPOOL 41dbd2ac4a97c4015aed3faccf20187b0a0a96e0812ebb0a331a159f6f798195c5647633094b520b82230804948fc003173d5f769fb7939bd699b6361493ffa7
+MISC ChangeLog-2015 5487 SHA256 71e5e01218941f0b6fb1a74fc6d2e7f44b0d5817227f67a9be871aac01551e93 SHA512 92094f183ed1d43ec736eb219b2475c8dabd0760e81e2aec75319ba3592ca0c4a15b9a2c7a91187a8dc963d2fed21f01a92ed3a1b88074b6ae57dd898642b405 WHIRLPOOL 2fdc6657e3838402aa14d66078b659930d3165e5544cb86af4145aee43e872da834f57713f873cf289170be5d99121ca6632f75efe3039dfb568732159c614ab
+MISC metadata.xml 349 SHA256 a7edeeba35b2288e8434a08da6f9402eb01b6f6586d77903e55f8a0618a66e24 SHA512 968e3560ba95072811086fd007ec5397467a9e520ec3bb368c7c3617b94d222fbb3c3929b5b9694e1bebc6af9e736dd17a43321e38e1999c562192687561cca9 WHIRLPOOL c1aca3720ee7990525f6d3cf1df3eb3973db358df71c414e475ccc78232d52c38a1a8ef2038350aeba797b51e96c9cecb30a4973f8dbf63c90c344fd5c7643e6
diff --git a/x11-misc/vym/metadata.xml b/x11-misc/vym/metadata.xml
new file mode 100644
index 000000000000..8487de8a64b4
--- /dev/null
+++ b/x11-misc/vym/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">vym</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/vym/vym-2.6.8.ebuild b/x11-misc/vym/vym-2.6.8.ebuild
new file mode 100644
index 000000000000..6fabe03a5ff9
--- /dev/null
+++ b/x11-misc/vym/vym-2.6.8.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PLOCALES="cs_CZ de_DE el es fr ia it ja pt_BR ru sv zh_CN zh_TW"
+
+inherit eutils l10n qmake-utils
+
+DESCRIPTION="View Your Mind, a mindmap tool"
+HOMEPAGE="http://www.insilmaril.de/vym/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="dbus"
+
+RDEPEND="
+ dev-qt/qtgui:5
+ dev-qt/qtnetwork:5
+ dev-qt/qtprintsupport:5
+ dev-qt/qtsvg:5
+ dev-qt/qtxml:5
+ dbus? ( dev-qt/qtdbus:5 )
+"
+DEPEND="
+ ${RDEPEND}
+ dev-qt/linguist-tools:5
+"
+
+DOCS=( README.md doc/vym.pdf )
+
+src_prepare() {
+ default
+
+ if use linguas_es ; then
+ DOCS+=( doc/vym_es.pdf )
+ fi
+ if use linguas_fr ; then
+ DOCS+=( doc/vym_fr.pdf )
+ fi
+
+ remove_locale() {
+ sed -i \
+ -e "/TRANSLATIONS += lang\/vym.${1}.ts/d" \
+ vym.pro || die
+ }
+
+ gunzip doc/vym.1.gz || die
+
+ #remove dead en translation
+ rm lang/vym.en.ts || die
+ remove_locale en
+
+ l10n_find_plocales_changes lang ${PN}. .ts
+ l10n_for_each_disabled_locale_do remove_locale
+
+ "$(qt5_get_bindir)"/lrelease vym.pro || die
+}
+
+src_configure() {
+ eqmake5 vym.pro \
+ PREFIX="${EPREFIX}"/usr \
+ DATADIR="${EPREFIX}"/usr/share \
+ $(usex dbus "" NO_DBUS=1 )
+}
+
+src_install() {
+ emake INSTALL_ROOT="${D}" install
+
+ einstalldocs
+
+ doman doc/vym.1
+
+ make_desktop_entry vym vym /usr/share/vym/icons/vym.png Education
+}
diff --git a/x11-misc/vym/vym-9999.ebuild b/x11-misc/vym/vym-9999.ebuild
new file mode 100644
index 000000000000..1b1cdce9ac6c
--- /dev/null
+++ b/x11-misc/vym/vym-9999.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PLOCALES="cs_CZ de_DE el es fr ia it ja pt_BR ru sv zh_CN zh_TW"
+
+inherit eutils git-r3 l10n qmake-utils
+
+DESCRIPTION="View Your Mind, a mindmap tool"
+HOMEPAGE="http://www.insilmaril.de/vym/"
+EGIT_REPO_URI="git://git.code.sf.net/p/${PN}/code"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS=""
+IUSE="dbus"
+
+RDEPEND="
+ dev-qt/qtgui:5
+ dev-qt/qtnetwork:5
+ dev-qt/qtprintsupport:5
+ dev-qt/qtsvg:5
+ dev-qt/qtxml:5
+ dbus? ( dev-qt/qtdbus:5 )
+"
+DEPEND="
+ ${RDEPEND}
+ dev-qt/linguist-tools:5
+"
+
+DOCS=( README.md )
+
+src_prepare() {
+ default
+
+ remove_locale() {
+ sed -i \
+ -e "/TRANSLATIONS += lang\/vym.${1}.ts/d" \
+ vym.pro || die
+ }
+
+ gunzip doc/vym.1.gz || die
+
+ #remove dead en translation
+ rm lang/vym.en.ts || die
+ remove_locale en
+
+ l10n_find_plocales_changes lang ${PN}. .ts
+ l10n_for_each_disabled_locale_do remove_locale
+
+ "$(qt5_get_bindir)"/lrelease vym.pro || die
+}
+
+src_configure() {
+ eqmake5 vym.pro \
+ PREFIX="${EPREFIX}"/usr \
+ DATADIR="${EPREFIX}"/usr/share \
+ $(usex dbus "" NO_DBUS=1 )
+}
+
+src_install() {
+ emake INSTALL_ROOT="${D}" install
+
+ einstalldocs
+
+ doman doc/vym.1
+
+ make_desktop_entry vym vym /usr/share/vym/icons/vym.png Education
+}
diff --git a/x11-misc/wayv/Manifest b/x11-misc/wayv/Manifest
new file mode 100644
index 000000000000..bf5b9e7244ac
--- /dev/null
+++ b/x11-misc/wayv/Manifest
@@ -0,0 +1,5 @@
+DIST wayv-0.3.tar.gz 139197 SHA256 7a655c63efbf19225a66f0617d4455c7b050631301033223d1292ffa40b284f3 SHA512 dda4dafc63c4393a726175597ae734b321e3c91ab6acd1b4b0ecae5861fa7c87ce83b68ae4a8bb92be9039b22ddb86f7e9ba87559d35095784eb98a5eda14681 WHIRLPOOL bf6393e2b83fc1f50342db703febb342ee0aafac613b9a174842ec5a8e84d64e8396e722ec02f84f2b02e806d0a4bd479bd1cdb48b0e005286748502426b060c
+EBUILD wayv-0.3-r2.ebuild 627 SHA256 d8cd2c0eceacd48f6312a9a19613b76746d41ce4b638ebda216717bc78376e2d SHA512 af89809050eaea0390ed6b0c1340c59cfedb3397e6b4228781e9312ce269f52875bb8fc5d29b3803fdee485f85ea494f1971946941bac49c221c484f31d14903 WHIRLPOOL 0128f3dc5845725ba4580933019462674e33d3b65299a97aa3010f64c4a2650174a725be4b37bf07100a3d894620fd49c93bb3fbef664f424173bcc371dafe6e
+MISC ChangeLog 2420 SHA256 58ced754071f314997c27c5178ae682ca830cc9894216e6cf11a47d3851d559b SHA512 bbb8e0d1a684e251913381d32d8f083bfb1293ddc3c2d5e148b694d9c572619ec1d22894fccf9bc6e14cf447fe2351339541a8f5f49d2550bd45619d9004d5ef WHIRLPOOL 6bbf8edbf885a8e9fc04b7aadf5566efda3c3957f2b81d9f1485b7b0875cdba7fa8d31693c172e42bd731c758022f0580f7b56836443b919afc677e81465a340
+MISC ChangeLog-2015 2150 SHA256 8094d1b757b6ba6ba5adb0a1f9c6114b00bc5346c9b8cb4f90a5daa1b05ab4a9 SHA512 683a83eff5d595f521acba4d1e0edbf17c790d2065a8d6edac0ea9bd819204701e680fce723b5053eff5be82fbeb6336156c69a044246b05a953f516a7e47166 WHIRLPOOL df8d66a94e1cf940c1527a650a8e603563bf2015f585366315c9c68371488f2c3e6a0d09720a875457124b7695ef670d8fa57f98340b506bb57f0e9e172de1a2
+MISC metadata.xml 276 SHA256 437f3dba7deca9da3b3f8ecda9bb5e97253de0412cbb3095d876f39140f3ea98 SHA512 3497963f4fb51bb32521472b54a995091cb457d2cda65c786bd4b46e5af325caf8f6d5c969cefa0c09fe717df09fb015ec59b52f5571c3b2b9d4ea33e6c843ab WHIRLPOOL 8550fd604cf609511bf7c34245ebd6682dd6d058d8cbfa099a77c94d1afcf592909eb679a28a0806957ac0949c6cff350675e0182303ec5890a5e2c2c26d29c5
diff --git a/x11-misc/wayv/metadata.xml b/x11-misc/wayv/metadata.xml
new file mode 100644
index 000000000000..2ba8e9e851e4
--- /dev/null
+++ b/x11-misc/wayv/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/x11-misc/wayv/wayv-0.3-r2.ebuild b/x11-misc/wayv/wayv-0.3-r2.ebuild
new file mode 100644
index 000000000000..dd82e5259727
--- /dev/null
+++ b/x11-misc/wayv/wayv-0.3-r2.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit toolchain-funcs
+
+DESCRIPTION="Wayv is hand-writing/gesturing recognition software for X"
+HOMEPAGE="http://www.stressbunny.com/wayv"
+SRC_URI="http://www.stressbunny.com/gimme/wayv/${P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc x86"
+
+RDEPEND="
+ x11-libs/libX11
+ x11-libs/libXtst
+"
+DEPEND="
+ ${RDEPEND}
+ x11-proto/inputproto
+ x11-proto/xproto
+"
+
+src_prepare() {
+ sed -i -e 's| = -Wall -O2| += |g' src/Makefile* || die
+ tc-export CC
+}
+
+src_install() {
+ default
+
+ cd doc
+ default
+ dodoc HOWTO*
+}
diff --git a/x11-misc/wbar/Manifest b/x11-misc/wbar/Manifest
new file mode 100644
index 000000000000..a86cf52f5b6c
--- /dev/null
+++ b/x11-misc/wbar/Manifest
@@ -0,0 +1,11 @@
+AUX wbar-2.3.3-cfg.patch 291 SHA256 9618f4277d8362fd74f3cf5de630441c29735f7a375bf9dd4ed6f492343bf978 SHA512 e37e7a192d738defe1d47f5e47dff27761272a1f0dc0866f358777a28dc509d2aba2794b432101bd0a0b3bb198901c09618c2fe251d8e73d3dc79737443fdb7e WHIRLPOOL 53ce1fe15803cc890f737adbfb63d43d2555312633b5496126a084cb73436d5af7111728c361d527260b77e94ba4fb273c529cbc2f9bed257740bfbb1cedc8a5
+AUX wbar-2.3.3-desktopfile.patch 2416 SHA256 5d1f1eccca5c85b815ea07ae470e81ed2dfb88db287bb3fe84f137b9742b1b85 SHA512 12a1ffc38196fe6bfe32320e42781f1db1ef742cc58474d784033fb9678da91bf00e0c7efbcfe9acedef511c51ca70a2be5746ba7824a652e4b68f731dadde03 WHIRLPOOL 70fb582069cf5c415e167c13271edf0d5e5728c998afbd39e9e129d9703d0e108caa724f6e1c3783d266404fee7011e34a4c76758ea34505b1a62b234c57900c
+AUX wbar-2.3.3-nowerror.patch 282 SHA256 8c5816476a6a4dc87acebac32e35c7733ee7ade39f9ec1b11dedf0fc9bb71a48 SHA512 38de89325a8c028e25f91e30e585c04e6be7affbde2c37723c384fc9e1477dc46c1853bf127c94c4c90dd22661b5a9bcf210ea63770e868cb8658faa4fc26946 WHIRLPOOL fe98b1b090e4172553bd8efe3a63320d6158f52ee59b33db8d15c72659b344e510d4ce636e60d7081b78340a3522e2c4ce242601b7bd00eabeaa9c238395ea82
+AUX wbar-2.3.3-test.patch 247 SHA256 3a327133f16fabd8c17c511374e68e7c236e68c43cde58bcffd15b0bb89ca33e SHA512 da5425b8d3a618fae397c453903add62918352a329656610cd4f49b1e8372d79c99f9fb58f715a020fefb23b61cac8108f765a6d58945064a2e91e1a3a50dfd2 WHIRLPOOL 09dd4e982d8d229cc582c48feea09f84df43e778de2c773a52b811c866dd0ab18929c39193c5c450152a61368dce120824a6359aca1f1a81e12025fb543fc4d6
+AUX wbar-2.3.4-automake-1.13.patch 238 SHA256 4aaa3687527a9a1e448f7f08e025a3a4da8bb624b2417588bba0e544080c0f47 SHA512 62f3c1266a715b3b4368002a4658a2d010b24a6bd2251ab13b8b665370c7e8584a3b10904687d272628cba97785c2bcd0a6bacd643f712cb3e6c9ec940b99f67 WHIRLPOOL dbaeda8239754bf457b8d76c0e83aaa2e89b6608598e7a53c93b3409cb46d78e10edff95f6e0c16d653f0c1c27e1f7a1f13388a90bdffa4993d326ded959aa4c
+AUX wbar-2.3.4-completion.patch 283 SHA256 001ee62f09aeb6215c46381dc150a1ab9b6dfb064fae208034c6288f89cde4a1 SHA512 dadc31f136b2e85efd19a25698499810de0d6e9dde873d89c50a18e84f4b158f3570c63885270b09541eb89574375ed2c6e630b28b627b5383f23bab5f94d1eb WHIRLPOOL 79f11a9a834ff4eefbdccc5255385637e5d3801ca6896301a0b7ded3fbc965d358a21ca83788b136b65cf0c95ab913dfc1b81a4891339b3bce12f8761a5fba72
+DIST wbar-2.3.4.tgz 189999 SHA256 46a69849e4436529aefb5cfb2c94b520d05a53c237e7773b90207f67f97a93e3 SHA512 07f3484bd071761d57ef1172c56b30980eef9ce2ee65d1fc21ea20c631a1da1d88c1b8a9e1a1fca0e5f18e7bf1c5697c349a543d72966ce71ff53d7e921147b3 WHIRLPOOL 3d5ff6e1ea5f9079c5e7ab2e9e59729795514415241f180c9438480d94c192180f725f6d541b117ed33728694f632fc11beb69bcfdb3dcbc03d4c211e2b28d31
+EBUILD wbar-2.3.4-r2.ebuild 1248 SHA256 056b046c95317a83821ac8c6591899299ac0a85b844c9a45ae913646cb4670e7 SHA512 2bbf0e8c6233e724da9820ad2b4ce8f86f7431b5ca25a8dba4f47ec9bfb5c7b49a0de483901f37fcc4f5e0d30ec365cd03cdcf61da68a0a0031f8a7d7b3b2137 WHIRLPOOL e7eb983088e45cfa1d576e8ae0e7006e9ef482a00d752bff2e015a3ef6e18c41f29cd26c90ea9893e6057e03c3195d85d88898b2034ddbcd9a90a614400f108b
+MISC ChangeLog 3390 SHA256 0474a2691625132e1a7b76ffbca1638e1706902dfef17d3ee83ab16b0324053a SHA512 287af697b053ee7635048d6e35762ff45ece65628a8c2a436fff516481ffc60a6ae2bc105fc113a620f1cf7518564c84d0c4763a4fdda24ab7e7081519ecb3e2 WHIRLPOOL 5763e8bb1ffe4d6a502fdeab858f9055d6f1bc6a6ff1212cf3aa62452aeee28758798cd068ba79c1c1869afffbd8cbf95ea9e7570219eb2766e434a02b94a993
+MISC ChangeLog-2015 6196 SHA256 033d8b9c3c1a69f95b9d088d549fbf91b2310699c4672eddb6fc0dc8e78a3031 SHA512 29e59b1136723d4556a84e1a52412e11cfa1eb956cf0030b51b9d7c8589c6e41a475c122022b65981461987a1ed4dab89d3d48253524569d295061db52f3351a WHIRLPOOL 0766c35d6db7fd48cdac64d54972ff7170c6a0c0d8a443df0a709e8a7e63db2a1f10f7afb2d11dd7b265a7f9e4e468e99516139b8e254c0f5642325ec39bd730
+MISC metadata.xml 481 SHA256 0531faa7be4a7e9713c4a952f4249880d2c657eaddacba558f1ed5c9d5822347 SHA512 05a8903618ab4022768e4eec18f1e89a64a99049b135565bfe921d376ba24c1b6081e6afc50cca90109050364c79e09050372a478c2ac1e200fce0c8216b357b WHIRLPOOL b17e3981b413cbc31853f24ff291617967cf4953d52f2da06562c882b5c2ec9b89408a339e90499cbcee8513a021b5bdc12440223efbc29df007ad42ad4ae614
diff --git a/x11-misc/wbar/files/wbar-2.3.3-cfg.patch b/x11-misc/wbar/files/wbar-2.3.3-cfg.patch
new file mode 100644
index 000000000000..5ffd82869983
--- /dev/null
+++ b/x11-misc/wbar/files/wbar-2.3.3-cfg.patch
@@ -0,0 +1,15 @@
+From: Julian Ospald <hasufell@gentoo.org>
+Date: Fri Sep 21 21:45:22 UTC 2012
+Subject: remove wbar-config for -gtk
+
+--- a/etc/wbar.cfg.in
++++ b/etc/wbar.cfg.in
+@@ -2,8 +2,3 @@
+ c: @PACKAGE_NAME@ @DEFAULT_ARGV@
+ t: none
+
+-i: @PIXMAPDIR@/@PACKAGE_NAME@/wbar.png
+-c: wbar-config
+-t: Config
+-
+-
diff --git a/x11-misc/wbar/files/wbar-2.3.3-desktopfile.patch b/x11-misc/wbar/files/wbar-2.3.3-desktopfile.patch
new file mode 100644
index 000000000000..79a5de15629d
--- /dev/null
+++ b/x11-misc/wbar/files/wbar-2.3.3-desktopfile.patch
@@ -0,0 +1,89 @@
+From: Julian Ospald <hasufell@gentoo.org>
+Date: Fri Sep 21 17:08:32 2012 +0200
+
+ fix desktop file destination and QA issues
+
+diff --git a/configure.ac b/configure.ac
+index 00ad0b6..48fe73d 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -83,6 +83,7 @@ AC_DEFINE_UNQUOTED(PIDOF_BIN, "$PIDOF_BIN ", [ program to retreive wbar pid ])
+
+ AC_CONFIG_FILES([Makefile \
+ share/Makefile \
++share/wbar.desktop.in \
+ etc/Makefile \
+ etc/wbar.cfg \
+ etc/wbar.desktop.in \
+diff --git a/etc/Makefile.am b/etc/Makefile.am
+index ec41c76..d78525e 100644
+--- a/etc/Makefile.am
++++ b/etc/Makefile.am
+@@ -3,7 +3,7 @@ CLEANFILES = *~ $(wbardesktop:.desktop.in.in=.desktop)
+ defaultdir = @DEFAULT_CONFIGDIR@
+ default_DATA = $(wbarcfg:.cfg.in=.cfg)
+
+-autostartdir = @DEFAULT_CONFIGDIR@
++autostartdir = $(sysconfdir)/xdg/autostart
+ autostart_DATA = $(wbardesktop:.desktop.in.in=.desktop)
+
+ bashcompletiondir = /etc/bash_completion.d
+diff --git a/po/POTFILES.in b/po/POTFILES.in
+index ddf920c..16ee6dd 100644
+--- a/po/POTFILES.in
++++ b/po/POTFILES.in
+@@ -1,3 +1,4 @@
++share/wbar.desktop.in
+ share/wbar.glade
+ src/config/Functions.cc
+ src/config/Functions.h
+diff --git a/po/POTFILES.skip b/po/POTFILES.skip
+index 327f139..27a8f48 100644
+--- a/po/POTFILES.skip
++++ b/po/POTFILES.skip
+@@ -1,2 +1,3 @@
+ etc/wbar.desktop.in.in
++share/wbar.desktop.in.in
+
+diff --git a/share/Makefile.am b/share/Makefile.am
+index 87c736b..66027d4 100644
+--- a/share/Makefile.am
++++ b/share/Makefile.am
+@@ -1,8 +1,17 @@
+-CLEANFILES = *~
++CLEANFILES = *~ $(wbardesktop:.desktop.in.in=.desktop)
+
+ gladedir = @GLADE_PACKAGE_DIR@
+ glade_DATA = @PACKAGE@.glade
+
++desktopfilesdir = $(prefix)/share/applications
++desktopfiles_DATA = $(wbardesktop:.desktop.in.in=.desktop)
++
++@INTLTOOL_DESKTOP_RULE@
++
++wbardesktop = wbar.desktop.in.in
++
+ EXTRA_DIST = \
+-$(glade_DATA)
++$(glade_DATA) \
++$(wbardesktop) \
++$(wbardesktop:.desktop.in.in=.desktop.in)
+
+diff --git a/share/wbar.desktop.in.in b/share/wbar.desktop.in.in
+new file mode 100644
+index 0000000..48fc33c
+--- /dev/null
++++ b/share/wbar.desktop.in.in
+@@ -0,0 +1,12 @@
++[Desktop Entry]
++_Name=Warlock Bar
++Type=Application
++Exec=@BINDIR@/@PACKAGE_NAME@
++Terminal=false
++Icon=@PIXMAPDIR@/@PACKAGE_NAME@.png
++_Comment=A light and fast launch bar.
++Categories=Utility;
++X-GNOME-Bugzilla-Bugzilla=GNOME
++X-GNOME-Bugzilla-Product=@PACKAGE_NAME@
++X-GNOME-Bugzilla-Component=general
++X-Ubuntu-Gettext-Domain=@PACKAGE_NAME@
diff --git a/x11-misc/wbar/files/wbar-2.3.3-nowerror.patch b/x11-misc/wbar/files/wbar-2.3.3-nowerror.patch
new file mode 100644
index 000000000000..2cf163bc4642
--- /dev/null
+++ b/x11-misc/wbar/files/wbar-2.3.3-nowerror.patch
@@ -0,0 +1,14 @@
+From: Julian Ospald <hasufell@gentoo.org>
+Date: Sun Aug 26 17:18:37 UTC 2012
+Subject: remove Werror
+
+--- a/src/Makefile.am
++++ b/src/Makefile.am
+@@ -8,7 +8,6 @@
+ -DPACKAGE_DATA_DIR=\""$(datadir)"\" \
+ -Wall \
+ -Wunused \
+- -Werror \
+ -I$(top_srcdir)/src/utils
+
+ if WBAR_CONFIG
diff --git a/x11-misc/wbar/files/wbar-2.3.3-test.patch b/x11-misc/wbar/files/wbar-2.3.3-test.patch
new file mode 100644
index 000000000000..4468791a4202
--- /dev/null
+++ b/x11-misc/wbar/files/wbar-2.3.3-test.patch
@@ -0,0 +1,11 @@
+From: Julian Ospald <hasufell@gentoo.org>
+Date: Fri Sep 21 21:50:34 UTC 2012
+Subject: fix test phase
+
+--- a/po/POTFILES.in
++++ b/po/POTFILES.in
+@@ -1,3 +1,4 @@
++etc/wbar.desktop.in
+ share/wbar.desktop.in
+ share/wbar.glade
+ src/config/Functions.cc
diff --git a/x11-misc/wbar/files/wbar-2.3.4-automake-1.13.patch b/x11-misc/wbar/files/wbar-2.3.4-automake-1.13.patch
new file mode 100644
index 000000000000..d8f59518ca16
--- /dev/null
+++ b/x11-misc/wbar/files/wbar-2.3.4-automake-1.13.patch
@@ -0,0 +1,11 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -3,7 +3,7 @@
+ AC_INIT([wbar], [2.3.4])
+ AM_INIT_AUTOMAKE([ filename-length-max=256 tar-ustar ])
+
+-AM_CONFIG_HEADER(config.h)
++AC_CONFIG_HEADERS(config.h)
+ AC_CONFIG_MACRO_DIR([m4])
+
+ AC_PROG_CXX
diff --git a/x11-misc/wbar/files/wbar-2.3.4-completion.patch b/x11-misc/wbar/files/wbar-2.3.4-completion.patch
new file mode 100644
index 000000000000..218d33442a9e
--- /dev/null
+++ b/x11-misc/wbar/files/wbar-2.3.4-completion.patch
@@ -0,0 +1,19 @@
+--- a/etc/wbar
++++ b/etc/wbar
+@@ -1,7 +1,6 @@
+ # bash completion for wbar
+ # Yadickson Soto yadickson@gmail.com
+
+-have wbar &&
+ _wbar()
+ {
+ local cur prev split=false
+@@ -106,7 +105,7 @@
+ -- "$cur") )
+
+ fi
+-} &&
++}
+ complete -F _wbar wbar
+
+ # Local variables:
diff --git a/x11-misc/wbar/metadata.xml b/x11-misc/wbar/metadata.xml
new file mode 100644
index 000000000000..e36cd4b8fcbb
--- /dev/null
+++ b/x11-misc/wbar/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+ <use>
+ <flag name="gtk">Enables the gtk-based wbar-config GUI</flag>
+ </use>
+ <upstream>
+ <remote-id type="google-code">wbar</remote-id>
+ <remote-id type="github">rodolf0/wbar</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/wbar/wbar-2.3.4-r2.ebuild b/x11-misc/wbar/wbar-2.3.4-r2.ebuild
new file mode 100644
index 000000000000..d5e6928b2a88
--- /dev/null
+++ b/x11-misc/wbar/wbar-2.3.4-r2.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit autotools bash-completion-r1 eutils
+
+DESCRIPTION="A fast, lightweight quick launch bar"
+HOMEPAGE="https://github.com/rodolf0/wbar"
+SRC_URI="https://${PN}.googlecode.com/files/${P}.tgz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="gtk"
+
+RDEPEND="media-libs/imlib2[X]
+ x11-libs/libX11
+ gtk? ( gnome-base/libglade
+ media-libs/freetype:2
+ x11-libs/gdk-pixbuf:2
+ x11-libs/gtk+:2 )"
+DEPEND="${RDEPEND}
+ dev-util/intltool
+ sys-devel/gettext
+ virtual/pkgconfig"
+
+src_prepare() {
+ use gtk || epatch "${FILESDIR}"/${PN}-2.3.3-cfg.patch
+
+ epatch \
+ "${FILESDIR}"/${PN}-2.3.3-desktopfile.patch \
+ "${FILESDIR}"/${PN}-2.3.3-nowerror.patch \
+ "${FILESDIR}"/${PN}-2.3.3-test.patch \
+ "${FILESDIR}"/${P}-automake-1.13.patch \
+ "${FILESDIR}"/${P}-completion.patch
+
+ sed -i \
+ -e "/^bashcompletiondir/s:=.*$:=$(get_bashcompdir):" \
+ etc/Makefile.am || die #482358
+
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ $(use_enable gtk wbar-config)
+}
+
+pkg_postinst() {
+ einfo
+ elog "media-libs/imlib2 needs to be compiled with the appropriate useflags"
+ elog "depending on your choice of image files (such as png, jpeg...)"
+ einfo
+}
diff --git a/x11-misc/wbarconf/Manifest b/x11-misc/wbarconf/Manifest
new file mode 100644
index 000000000000..4f8a2e6c762e
--- /dev/null
+++ b/x11-misc/wbarconf/Manifest
@@ -0,0 +1,6 @@
+AUX wbarconf-0.7.2.2-install.patch 2843 SHA256 07ef20ca349b47a65143b07c4e835a77d2463b0ff955dd9a4ead861aa89d35eb SHA512 496392ec3236c4330f4c2d09ecc29a5dd0dc89a40adacbb3b27c4dce4b7170e05f22ca083fb10d045cc21253f5e460ba4a73e632d68056df3fe64ea8fd954c7c WHIRLPOOL 52d17dbab3866664e449e5e7e0e2335424b37ff00e0703ba3a7a704f62f2d694999f2f0efb8c87a4ec488f3d693f403e1d38792dbe7d27f7a6e702f7fe35c139
+DIST wbarconf-0.7.2.2.tar.gz 764073 SHA256 d0d0722b8db107983d22a0d4d00679d55ad0800ea81f3ce29869ee4f864c6089 SHA512 9be4fe4ccceb8432d601806e4e10c19d4072502b63648e1111537e8a693a64d78f2a08f12598bd7ab0b356a1a24ccf138bcd893cb0cccb5bf7fbf80caf9d9eba WHIRLPOOL 7fad64b6cc3aa39729a1f5533910641d5e4ea5bdd6b5ea9f38d0b473c2f39a94ab7c1d985222673da5041fa3593723e74301da366f45620f976cc90612ff3dd2
+EBUILD wbarconf-0.7.2.2-r2.ebuild 767 SHA256 79c66ea1734ac45ca50ab06dc16072af00107bfece5d58957714d3c664e6511d SHA512 522491806c81ee6942881b0998da7be66e646c3e070a75b5224469f8b2136b503f49d9f0bf0e547dce174c6419cc03c565b406269d44b05dc858c7ec87eec879 WHIRLPOOL a817360f99160f0a3652b3d0d2c84de5d73584319f63b489348c96a31908de76a002bdf88b3c4b6fe385b8351b8027738b7f0897c537cd5b69d1e5cf9ba42df4
+MISC ChangeLog 2481 SHA256 542711f2da4c18d4054bd490cdd8ba7183cede86023adf04aa74990fb5d5d573 SHA512 d07e0900b65efefb9fc42ddbab0b6ae28f21353e1583f57293a8d2b01072ae4cdfd63d7752db136650808308cbe6bc06f32803b05630522d5679a2afdcb49996 WHIRLPOOL 15b861b498458025af32b3fe156f76979226eb665397841cb92d9a8847ede8193dd4fdcdca6372f3c7acd2eef87510d8ac88ebbbe64b98ef441534eebd5eff7c
+MISC ChangeLog-2015 1236 SHA256 4604b033cbed20cd9f7ad632ea3743b2485a10d5050ca01a68550bf57d9a6031 SHA512 27c03f5a51a4c6b7146c4d0d19208a89ccb12704a298b0fb1bc4c415bec80056505a8c7d69b1b5fae784de5568c515c599c87b81d58c96286c93ec8c54f97e50 WHIRLPOOL 2ae86a1cfd356c210e667e2675054177d73b0f34aed4ad3b5f6be731a22f6f49519b38c1958eb9d8982022884bb8d3ca54ce6d54508b470963b82fe9012591bb
+MISC metadata.xml 276 SHA256 437f3dba7deca9da3b3f8ecda9bb5e97253de0412cbb3095d876f39140f3ea98 SHA512 3497963f4fb51bb32521472b54a995091cb457d2cda65c786bd4b46e5af325caf8f6d5c969cefa0c09fe717df09fb015ec59b52f5571c3b2b9d4ea33e6c843ab WHIRLPOOL 8550fd604cf609511bf7c34245ebd6682dd6d058d8cbfa099a77c94d1afcf592909eb679a28a0806957ac0949c6cff350675e0182303ec5890a5e2c2c26d29c5
diff --git a/x11-misc/wbarconf/files/wbarconf-0.7.2.2-install.patch b/x11-misc/wbarconf/files/wbarconf-0.7.2.2-install.patch
new file mode 100644
index 000000000000..040d435bc797
--- /dev/null
+++ b/x11-misc/wbarconf/files/wbarconf-0.7.2.2-install.patch
@@ -0,0 +1,81 @@
+--- wbarconf/install.sh
++++ wbarconf/install.sh
+@@ -1,5 +1,6 @@
+ #!/bin/sh
+ startdir=$1
++version=0.7.2.2
+
+ if [ $(echo $1|wc -w) -eq 0 ];then
+ echo "Usage: install.sh /path/to"
+@@ -8,29 +9,28 @@
+ exit 1
+ fi
+
+-echo "Installing in to $startdir..."
++echo "Installing in to ${startdir}..."
+
++cd "$(dirname "$(readlink -f "$0")")" || exit 1
+
+-mkdir -p $startdir/bin/ || return 1
+-install -m0755 wbarconf $startdir/bin/ || return 1
++mkdir -p "${startdir}"/bin/ || exit 1
++install -m0755 wbarconf "${startdir}"/bin/ || exit 1
+
+-mkdir -p $startdir/share/wbarconf/
+-install -m0644 README $startdir/share/wbarconf/ || return 1
+-install -m0644 COPYING $startdir/share/wbarconf/ || return 1
++mkdir -p "${startdir}"/share/doc/wbarconf-${version}/wbarbacks/ || exit 1
++install -m0644 README "${startdir}"/share/doc/wbarconf-${version}/ || exit 1
++install -m0644 wbarbacks/README "${startdir}"/share/doc/wbarconf-${version}/wbarbacks/ || exit 1
+
+-mkdir -p $startdir/share/locale/ || return 1
+-cp -av locale/* $startdir/share/locale/ || return 1
+-chmod 0755 -R $startdir/share/ || return 1
+-find $startdir/share/locale/ -name wbarconf.po -print | xargs rm -f
+-install -m0644 messages.pot $startdir/share/wbarconf/ || return 1
++find . -type d -name LC_MESSAGES -exec mkdir -p "${startdir}/share/{}" \; || exit 1
++find . -type f -name wbarconf.mo -exec install -m0644 '{}' "${startdir}/share/{}" \; || exit 1
+
+-cp -av wbarbacks $startdir/share/wbarconf/ || return 1
+-chmod 0655 -R $startdir/share/wbarconf/ || return 1
++mkdir -p "${startdir}"/share/wbarconf/wbarbacks/ || exit 1
++install -m0644 messages.pot "${startdir}"/share/wbarconf/ || exit 1
++find ./wbarbacks -type f -name "*.png" -exec install -m0644 '{}' "${startdir}/share/wbarconf/{}" \; || exit 1
+
+-mkdir -p $startdir/share/pixmaps/
+-install -m0644 wbarconf.png $startdir/share/pixmaps/ || return 1
++mkdir -p "${startdir}"/share/pixmaps/ || exit 1
++install -m0644 wbarconf.png "${startdir}"/share/pixmaps/ || exit 1
+
+-mkdir -p $startdir/share/applications/
+-install -m0644 wbarconf.desktop $startdir/share/applications/ || return 1
++mkdir -p "${startdir}"/share/applications/ || exit 1
++install -m0644 wbarconf.desktop "${startdir}"/share/applications/ || exit 1
+
+ echo "Installation complete."
+--- wbarconf/wbarconf.desktop
++++ wbarconf/wbarconf.desktop
+@@ -2,10 +2,10 @@
+ Name=WbarConf
+ Exec=wbarconf
+ Type=Application
+-Icon=wbarconf.png
++Icon=wbarconf
+ Terminal=false
+ StartupNotify=true
+-Categories=GTK;Utility;
++Categories=GTK;Utility;
+ Comment=Configuration tool for wbar
+ Comment[de]=Konfigurationswerkzeug für Wbar
+ Comment[fi]=Asetustyökalu wbar:lle
+--- wbarconf/wbarconf
++++ wbarconf/wbarconf
+@@ -51,7 +51,7 @@
+ print("Gettext error, defaulting to english!")
+ # return message
+
+-wbarversion="0.7.2.1"
++wbarversion="0.7.2.2"
+
+ ITEM_ID = 0
+ ITEM_ICON = 1
diff --git a/x11-misc/wbarconf/metadata.xml b/x11-misc/wbarconf/metadata.xml
new file mode 100644
index 000000000000..2ba8e9e851e4
--- /dev/null
+++ b/x11-misc/wbarconf/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/x11-misc/wbarconf/wbarconf-0.7.2.2-r2.ebuild b/x11-misc/wbarconf/wbarconf-0.7.2.2-r2.ebuild
new file mode 100644
index 000000000000..d5ff90ab324e
--- /dev/null
+++ b/x11-misc/wbarconf/wbarconf-0.7.2.2-r2.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit python-single-r1
+
+DESCRIPTION="Configuration GUI for x11-misc/wbar"
+HOMEPAGE="http://koti.kapsi.fi/ighea/wbarconf/"
+SRC_URI="http://koti.kapsi.fi/ighea/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DEPEND="sys-devel/gettext"
+RDEPEND="
+ ${PYTHON_DEPS}
+ >=x11-misc/wbar-1.3.3
+ dev-python/pygobject:2[${PYTHON_USEDEP}]
+ dev-python/pygtk:2[${PYTHON_USEDEP}]"
+
+S="${WORKDIR}/${PN}"
+PATCHES=( "${FILESDIR}"/${P}-install.patch )
+
+src_compile() {
+ python_fix_shebang wbarconf
+}
+
+src_install() {
+ ./install.sh "${ED%/}/usr" || die "./install.sh failed."
+}
diff --git a/x11-misc/wdm/Manifest b/x11-misc/wdm/Manifest
new file mode 100644
index 000000000000..20e668d32ebd
--- /dev/null
+++ b/x11-misc/wdm/Manifest
@@ -0,0 +1,7 @@
+AUX wdm-1.28-remove-fakehome.patch 950 SHA256 c6f03d6994165fcd72881fdcced7518fb3471854c179032599637f9f515f1142 SHA512 55ce47472f0d7ba03bef88af52ace7db88ded7f45862d884a7bb3409a122ec17002a40195cef078f57bcaba24cfcb881d156e990bc856ca7c4f1f4dabbb6764c WHIRLPOOL bdd848a97eb38ec1963b4621b366bd1b40ff70bbe02f06e50639790e79fb452d7296cad61dfeb943dfc64cc981bb90e4caab18440bd140cd6ad6e0f0c4045740
+AUX wdm-1.28-terminateServer.patch 422 SHA256 5b8a2e8bf5b61a134a40ba86614607adb4fd37646795d9ead75a795f687112fd SHA512 f00685ce1ff38f34df57864d05dd52b7148d27a81177f2c560157a470b089bd9b981ae73bcc6da8c1995822d8b74c6dffdb6166dff33adcf4cd4daa2bc9dc8cf WHIRLPOOL 6b8fab1a20e55621c1a000b0dbc7d3fb1fadd159e0620ec1afb059545dcc60c92325d1b2e8f6a52f6881feb23cc0b0b851b754f6448a036d37f57a9f15cfd00b
+DIST wdm-1.28.tar.bz2 381522 SHA256 8a5cde0a4988d557d48bb7470f14f416d0b8ff6e20d7061643e6143f7b2be2c4 SHA512 393ace12d3975e978c05b90be691a7c27921e7e2db0bdef5f4fe06b324da56edea4936200dc123130c6de9e45af5dac6175559d641957fec104d66bad67c03a1 WHIRLPOOL a20131d06fefad86bde19c38a92049cb420ff7dfe5028d73fddc77da2d4f3148d15e1b209afd42aaa0825e5a248205c73b99ff3272db0c7a4faca06797cf2c9c
+EBUILD wdm-1.28-r4.ebuild 965 SHA256 8aeccffcf67e13f4a3fec0ee51f699b49b5fc044318c22c25b6d8ee844c3f1da SHA512 cb058ccd55ab042ddcd3d0291acb1788c2b697dc8fe7f23bd6de0ddac2a68187be732c808859246c20aa99ee63a0dfc971baa7c65f8b5b224ce767fcf9c04fbe WHIRLPOOL 86f47d0c21a6c31fc504d80bbf5a01476b39261316cb647e68750499bf4c01be0f71d675d3bb5b579bcf5af113b17959d6d292a7eac2fa146c32485a2f78fce1
+MISC ChangeLog 2502 SHA256 f4546fcc9d5c6b12a26b797c6e44e41ff659d25f7396e5f435b80522dbf42a62 SHA512 1d2f9ab56f1230ae1499c596704706ad790ddedfa8fdb968556b4a0e5bb4909ad125f4f54e845d3b53e673f70b8fd5fc225719e13f3c79b6b5ce734834374df1 WHIRLPOOL 766260b2bee2bceb134365fbd25ff8d62eaa813f467517fd42369cd1fefbbf0551757ea1b47de35febaa6e5667b5e718c9ed79a6d6b16c05a170b322b089a58d
+MISC ChangeLog-2015 5179 SHA256 92179b43887d81f46bc23d5e7fa28f43f39b4fbdd46f789b0b95becfd4bc3125 SHA512 afeb9a347752b077b0cc6a0a10a4cf7cf627425e54f8ff1b42374354fdd380bf56316e663fee4d84f9d1e913847996221d1f93ca81113dd857cf4ac5c1800fd4 WHIRLPOOL 2e11f807862861ecde2a0274efc78fed82f2863e1bdd29f8ce72dff5344b60b11a95e0092a39a487a76ab041be36c10c2414478044be32a294238c1b6c2d82a0
+MISC metadata.xml 350 SHA256 3224cafae8471ffa96d714da868f5001af76731255382275e4b6fc4a11e9b22a SHA512 deecfc72a65212b6498334be4dc9abc35d9f22b64f041181474bbeca8fd71d1e3ebdcccf9a98f57ccc57bd37958b206944c9f520bc7c4cd2d8329f9ce14a0b19 WHIRLPOOL 23735ede0ee7a42d3d9a053862273e073ac75c167f42895e34a5851010e57764739ff66a30ba4ef7682f417426752bca651bc953046f842c517ca9cbac99d267
diff --git a/x11-misc/wdm/files/wdm-1.28-remove-fakehome.patch b/x11-misc/wdm/files/wdm-1.28-remove-fakehome.patch
new file mode 100644
index 000000000000..00f1dd1ec9cd
--- /dev/null
+++ b/x11-misc/wdm/files/wdm-1.28-remove-fakehome.patch
@@ -0,0 +1,12 @@
+Do not create /var/run/wdm
+Fixes https://bugs.gentoo.org/554672
+--- a/Makefile.in 2005-03-26 15:57:04.000000000 +0200
++++ b/Makefile.in 2017-02-06 18:57:16.196004491 +0200
+@@ -83,7 +83,6 @@
+ all-config: configs/Xclients configs/Xservers configs/Xservers.ws configs/Xsession configs/Xsetup_0 configs/wdm-config configs/wdmReconfig
+
+ install-config: $(DESTDIR)$(DMDIR)/GiveConsole $(DESTDIR)$(DMDIR)/TakeConsole $(DESTDIR)$(DMDIR)/Xaccess $(DESTDIR)$(DMDIR)/Xresources $(DESTDIR)$(DMDIR)/Xservers.fs $(DESTDIR)$(DMDIR)/Xsession.XFree86 $(DESTDIR)$(DMDIR)/Xsession.orig $(DESTDIR)$(DMDIR)/Xclients $(DESTDIR)$(DMDIR)/Xservers $(DESTDIR)$(DMDIR)/Xservers.ws $(DESTDIR)$(DMDIR)/Xsession $(DESTDIR)$(DMDIR)/Xsetup_0 $(DESTDIR)$(DMDIR)/wdm-config $(DESTDIR)$(DMDIR)/wdmReconfig $(DESTDIR)$(DMDIR)/wdm-config.in $(DESTDIR)$(DMDIR)/Xclients.in install-pam-$(USE_PAM) $(DESTDIR)$(DMDIR)/authdir
+- install -d -m 0700 $(DESTDIR)$(FAKEHOME)
+
+ install-pam-no:
+
diff --git a/x11-misc/wdm/files/wdm-1.28-terminateServer.patch b/x11-misc/wdm/files/wdm-1.28-terminateServer.patch
new file mode 100644
index 000000000000..827357c2f364
--- /dev/null
+++ b/x11-misc/wdm/files/wdm-1.28-terminateServer.patch
@@ -0,0 +1,12 @@
+https://bugs.gentoo.org/290034
+
+--- a/configs/wdm-config.in
++++ b/configs/wdm-config.in
+@@ -21,6 +21,7 @@
+ DisplayManager*session: @DMDIR@/Xsession
+ DisplayManager*authComplain: false
+ DisplayManager*wdmLogin: @exec_prefix@/bin/wdmLogin
++DisplayManager*terminateServer: true
+ !
+ ! display screen background--if not set or set to none, then the
+ ! background is not set by wdm.
diff --git a/x11-misc/wdm/metadata.xml b/x11-misc/wdm/metadata.xml
new file mode 100644
index 000000000000..e26a95188b76
--- /dev/null
+++ b/x11-misc/wdm/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">voins/wdm</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/wdm/wdm-1.28-r4.ebuild b/x11-misc/wdm/wdm-1.28-r4.ebuild
new file mode 100644
index 000000000000..cdcecc0c486f
--- /dev/null
+++ b/x11-misc/wdm/wdm-1.28-r4.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit pam
+
+DESCRIPTION="WINGs Display Manager"
+HOMEPAGE="https://github.com/voins/wdm"
+SRC_URI="http://voins.program.ru/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 ppc ~ppc64 ~sparc x86"
+IUSE="pam selinux truetype"
+
+COMMON_DEPEND=">=x11-wm/windowmaker-0.70.0
+ truetype? ( x11-libs/libXft )
+ x11-libs/libXmu
+ x11-libs/libXt
+ x11-libs/libXpm
+ pam? ( virtual/pam )"
+DEPEND="${COMMON_DEPEND}
+ sys-devel/gettext"
+RDEPEND="${COMMON_DEPEND}
+ pam? ( >=sys-auth/pambase-20080219.1 )"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-terminateServer.patch
+ "${FILESDIR}"/${P}-remove-fakehome.patch
+)
+
+src_configure() {
+ econf \
+ --with-wdmdir="${EPREFIX}"/etc/X11/wdm \
+ $(use_enable pam) \
+ $(use_enable selinux)
+}
+
+src_install() {
+ default
+
+ rm -f "${ED%/}"/etc/pam.d/wdm || die
+ pamd_mimic system-local-login wdm auth account password session
+}
diff --git a/x11-misc/whaw/Manifest b/x11-misc/whaw/Manifest
new file mode 100644
index 000000000000..f436963da111
--- /dev/null
+++ b/x11-misc/whaw/Manifest
@@ -0,0 +1,6 @@
+AUX whaw-0.2-fix-implicit-declaration-warning.patch 284 SHA256 030fb3d1e7db9c2186cdffb8b86e7b2cf002d46b634db25f9b8efe8ad3686d00 SHA512 526a149861a0d12326db7d0d89ca0d033e3131ab0ca98403b69437492a6d2232b93cf6303aa2dc03d4319065d807695f2b749a0f33ba02f9a58c805eff97de77 WHIRLPOOL 4b0e3b439aa1dbc618cb36726e4633349e4ec4403180fee4c2850aa66f3c6fae2fc9f3504e263c177bd312d2b02b2cd91056fb75fd1d6de0ec8eedfdf96bd927
+DIST whaw-0.2.tar.gz 105440 SHA256 0aa010fd107adcf35bbedbf5bece6a01e9bf7773d5db90e94a8783a23637e027 SHA512 80f38353a867ceb9e9850bf3f723ec6f943a559ab4b38aad2a44818bc88f44d289e9d97acc82d25462bc48bb55fd462cea09b865829e595f1a2ede221b72fa7f WHIRLPOOL 567671cbc0e6bc898a7a6747a3bc49ecd1811785000f1afe45b3f09e7fa7376c323bee48b1937770c49aa9bdc7c1011b9cc1e753ab6c50aec2f147f1f2b1e306
+EBUILD whaw-0.2.ebuild 555 SHA256 e662a70cdbe8764fa86a9f853d6bd633e4e93e416719f01f41ce4c93b8bc67a0 SHA512 3d8a49f3f99dd8bb3ddf88fd2263c337c871c1227cd739169da4260266e3d633c2e6076567e968bab2d4d18ad8afc4fb2d26956543bb18fd842ee89a338062d0 WHIRLPOOL 07cd7d335fc51ad0ddebbbad1b5e813389bd7304b3547b95fc7c40e2ec394ae6ed0f30e7a7fc858c0f0b38cbaab8d45a10c6505b46d00a47d88d3fa4b626a9e4
+MISC ChangeLog 2221 SHA256 8fcb40e5dbef7e147f043fcf594c2673cb10cab4d863d65c75fc5b3bddb4d21b SHA512 912df1d4bbb9e5a8459aa49bfa4900378a5e415bac7735ef0dafce096627081ee3512a04e6f1d2ee8873cee6cbcb8b089b41df349beae95f1c0c5cdc7d0f7c5d WHIRLPOOL 3db16c549043f4dd05f491b24d3c27f9e141dc96bbc4cbd2ed123c422232ba9956bdacc0d7051f01cd520475d8157700e6d03c8ee98b30daaaf1afa4c40245d4
+MISC ChangeLog-2015 863 SHA256 cf73299d885562d2a812c4d77ff994d3ccd02ab08eccba0759e3a4547b1fdb55 SHA512 5cca6a11d8e102e26d8925df99344eefbf86ff287ee2473f36196bdc597eeb6021a3d14ca71d1cc4c7c3b6262b89f106fa41de20840430839f29f88556cc6778 WHIRLPOOL 594172d782721eb3e1c3a9f9603828fa518a8e3ba4e8babea74f64c89bf01e9184af9d59a0988fb0bbdbb66618e9a046f74b91ae661254e1725765318ef287aa
+MISC metadata.xml 367 SHA256 3223f06768e0433b732fe7e1127210ea68645a9d22554008acec92fa6aadad6d SHA512 8fef7a397d90c70ccc074f575c7ec38045f8ff10d626af1fc65ce918183570484438c07727b09fa153eea13aee74618a414fbeb720350127ce6f5efc3ee1eead WHIRLPOOL 737c6c92c06f7a6af5e7ad4883aefd7fe1510f68034633aa0f2badd47922c5da4996851ad458ad331bf639c92e0f19c8d7cd40f2b6ef4793874c71e28133027c
diff --git a/x11-misc/whaw/files/whaw-0.2-fix-implicit-declaration-warning.patch b/x11-misc/whaw/files/whaw-0.2-fix-implicit-declaration-warning.patch
new file mode 100644
index 000000000000..155233b4b183
--- /dev/null
+++ b/x11-misc/whaw/files/whaw-0.2-fix-implicit-declaration-warning.patch
@@ -0,0 +1,10 @@
+--- whaw.c.orig 2014-05-15 12:11:22.404504530 +0400
++++ whaw.c 2014-05-15 12:11:43.004506325 +0400
+@@ -5,6 +5,7 @@
+ #include <X11/cursorfont.h>
+ #include <X11/extensions/Xinerama.h>
+ #include <assert.h>
++#include <ctype.h>
+ #include <popt.h>
+ #include <stdbool.h>
+ #include <stdio.h>
diff --git a/x11-misc/whaw/metadata.xml b/x11-misc/whaw/metadata.xml
new file mode 100644
index 000000000000..39087954721b
--- /dev/null
+++ b/x11-misc/whaw/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>pinkbyte@gentoo.org</email>
+ <name>Sergey Popov</name>
+ </maintainer>
+ <upstream>
+ <maintainer>
+ <email>john@repetae.net</email>
+ <name>John Meacham</name>
+ </maintainer>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/whaw/whaw-0.2.ebuild b/x11-misc/whaw/whaw-0.2.ebuild
new file mode 100644
index 000000000000..ca7e6ab903de
--- /dev/null
+++ b/x11-misc/whaw/whaw-0.2.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+inherit eutils
+
+DESCRIPTION="Window manager independent Window Layout tool"
+HOMEPAGE="http://repetae.net/computer/whaw/"
+SRC_URI="http://repetae.net/computer/${PN}/drop/whaw-${PV}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="dev-libs/popt
+ x11-libs/libX11
+ x11-libs/libXinerama
+ x11-libs/libXmu
+"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ epatch "${FILESDIR}/${P}-fix-implicit-declaration-warning.patch"
+ epatch_user
+}
diff --git a/x11-misc/wininfo/Manifest b/x11-misc/wininfo/Manifest
new file mode 100644
index 000000000000..6ab299519a5b
--- /dev/null
+++ b/x11-misc/wininfo/Manifest
@@ -0,0 +1,6 @@
+AUX wininfo-0.7-desktop-entry.patch 511 SHA256 47c80176d9dcdcda7697c569e21f8965243864600d1d646aceb27259b88da82b SHA512 8ca9b27d176a0857ba462322086968e45a7eb6f9e98e33f1f665a3f8fa2bab99016c2aec7bebe7457054a4f8cea465fd703235d06ca902d2a25bf84117c6c8c0 WHIRLPOOL 52db4bd876e71701787e21051cb035cada7bfdd03624b48f10cdcf3cf6fc3589dafc5455784c32817fc1f66cb0d9f556cf129ee1e79875875876ae258881b826
+DIST wininfo-0.7.tar.gz 479409 SHA256 8bb02068b183c684b04b4a5dc46dee041aa224c5843348cd16f2b53503b41833 SHA512 de46321d6174af0369d8e01e14073601b268f0063a99bb84736217403ddeb3cd715513afc0b962887f0c2dd7fd7397acea2aac0b55745955e31969c14ffef003 WHIRLPOOL b34013f85002848a16a62f7686aca8766b8c6dabac08b33330b7f80be509035b5a3c5ef8fdb95434ac21ca361e23a300e7472777b93842870eac1980287eb790
+EBUILD wininfo-0.7-r1.ebuild 557 SHA256 54a80f6a82dc914db20d1c589fd68f12d99deaa521e55c330707f8078db0cb3d SHA512 2eb99f1faddcfa66dd31d6077dd32d041130c03acbfea94301483077fae2264e881f4345603dbc16ee60cc388ae32c32a597d7e1670496f30cfc09ec67c57279 WHIRLPOOL ae2c6c34616fc7493c8131f2bbc1acabcd7b1678580ae88366ef7b0dd43bed8baaf171d7cc69c56a5c9b5d87597218897cde7bf9e632602827db8e9093cc9ba8
+MISC ChangeLog 3250 SHA256 abf42f1aeed676d1b32acd79ff9a677a5d53e05468a9363b4e5c4cd1ba4cd4a4 SHA512 2f1ae974ab20598303c21023bf816aef6b8e1ce3d8210d30d384a4ca70d186fed97b7e9ea48e64da1d8d2e0b1e5b2631024918d65fb4a7dd21f99ca85e87b7f9 WHIRLPOOL f37c5375f47713aab50728c48f8a26e69e093084bfeba3c6a24ba33db00e98be30b140f1bf9960b627ef566b65d1d84dc9bfb679b43023731e15df83874f50c9
+MISC ChangeLog-2015 1872 SHA256 9be321d27919bdcb3f534c1e960d45ebd8124cd2f9b31413d68f68963ded560b SHA512 15548df8ea96cfd69164a2d69f759fd2d1ec24d7123fc82f05fa41cd83eaa082c586a4d003def4767f29f1f983689fdf1c7ae9220891b1a5f14aaacc3113cfac WHIRLPOOL 9457bd4c46ca0be4c68b38b9f8b080d811cc9b603ed6ab095c9583a715820dda4c696db22e41d0ae5adb8ccb6ee1619bd50322eae49fd8a4611b336ee0182c55
+MISC metadata.xml 318 SHA256 218a00bda7df7396b1c9db4fea27cc69073dd039cb1db1e55d34cfd004209500 SHA512 7d56445a5c7fffdc1104633cdd30eafa17588079b8a1f4cb226984b1aad4e41fe84320608681143dc01c5f1ac5f104cf0717e8183164031644220f9c61086a3b WHIRLPOOL 15d65bcdc3289c77c194a26721b45e700d54a771e5a63d29a52d431b1ac8922ee7ddd7ca11b10dbbb72ba3fd70daa5fba7dba875de04362ab9c489e70d9fb895
diff --git a/x11-misc/wininfo/files/wininfo-0.7-desktop-entry.patch b/x11-misc/wininfo/files/wininfo-0.7-desktop-entry.patch
new file mode 100644
index 000000000000..478fb2e83481
--- /dev/null
+++ b/x11-misc/wininfo/files/wininfo-0.7-desktop-entry.patch
@@ -0,0 +1,14 @@
+diff -ur wininfo-0.7.orig/docs/xdg-wininfo.desktop wininfo-0.7/docs/xdg-wininfo.desktop
+--- wininfo-0.7.orig/docs/xdg-wininfo.desktop 2004-08-26 07:15:35.000000000 +0300
++++ wininfo-0.7/docs/xdg-wininfo.desktop 2008-02-02 14:46:55.000000000 +0200
+@@ -1,9 +1,8 @@
+ [Desktop Entry]
+-Encoding=UTF-8
+ Comment=A window information utility for X
+ Exec=wininfo
+ Name=X Window Information
+ GenericName=X Debugging Tool
+ Terminal=false
+ Type=Application
+-Categories=Application;Development;
++Categories=Development;GTK;
diff --git a/x11-misc/wininfo/metadata.xml b/x11-misc/wininfo/metadata.xml
new file mode 100644
index 000000000000..66187a0f4213
--- /dev/null
+++ b/x11-misc/wininfo/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/x11-misc/wininfo/wininfo-0.7-r1.ebuild b/x11-misc/wininfo/wininfo-0.7-r1.ebuild
new file mode 100644
index 000000000000..17572aacec3f
--- /dev/null
+++ b/x11-misc/wininfo/wininfo-0.7-r1.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="An X app that follows your pointer providing information about the windows below"
+HOMEPAGE="https://freedesktop.org/Software/wininfo"
+SRC_URI="https://www.freedesktop.org/software/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="amd64 ~ppc x86"
+IUSE=""
+
+RDEPEND="x11-libs/gtk+:2
+ x11-libs/libX11
+ x11-libs/libXres
+ x11-libs/libXext"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+PATCHES=( "${FILESDIR}"/${P}-desktop-entry.patch )
diff --git a/x11-misc/winswitch/Manifest b/x11-misc/winswitch/Manifest
new file mode 100644
index 000000000000..3c49412fa7ed
--- /dev/null
+++ b/x11-misc/winswitch/Manifest
@@ -0,0 +1,6 @@
+AUX winswitch-0.12.18-PIL.patch 2481 SHA256 c6f918b23ba8462b9837228f6bf6b9265043d2a5902ab867f7f7bcf9e2733fbf SHA512 fca8d822537da67b753142a2ede895b5e6a49f2c5625b8cc80de2637f355d43cdf0a9a9973adfa0ae83ae70b213a96317ae7e4ac21cdf9b6ccd2295c0dd519af WHIRLPOOL acd7cc1eb8009f77598cc59d836ab454ab978357248822fb9f54789d9711df4e5a8ade70653a17f2ca96b393bbe15fff8c8b073372a5163f4660bca25d5faf9b
+DIST winswitch-0.12.18.src.tar.bz2 1193952 SHA256 466a6906d98b47381f0528410e1d833354dc20ea2855a0c0424a10c90cbc7e08 SHA512 841d269119ab3118acbbd7ad1c2d27203b45a72213fd9e8d75d937224d973e78110a05e5772a3856a3f3c9440633b200c7a0eab67a3d5b0125de22f33084819e WHIRLPOOL 18d783e8589b687435a278e8acce83a31fb720b8ec29a58e78a2f61649687ac2e998d11e780863cba5b26d062872f314b07ab5a277f9d1a67b5a446647df0d25
+EBUILD winswitch-0.12.18-r1.ebuild 1287 SHA256 917e4f074a24e3e36fb899dffff454233a3c71bcde37fa80158ffb06aa0804f4 SHA512 270f0eb74495fa062f9a32e34bc882f0a9d3ec38d83f6689a84011a73e545b42dc2c116c3f7bb85388cd3205a562282a76218904d692fea2b20dfc4c7069e945 WHIRLPOOL a29e4f574cc3383c5083f730e3814efa52e8aa54e43e7733d2ef56b543d5cfdb7938b87c6d5facce0cfe19fe1654d5b474015adaccfe13d1f890fa3ca565123f
+MISC ChangeLog 2815 SHA256 d4ce95fc28d9afe0c28e4bf30dbd3a01026af2b1d62b8a6a56ca4602478bf96f SHA512 672e511f3ed7ee22f5892b33976ce60267e0755191f1992f6f43f9470ea10bbf2780d9d47bb49af5f9d3cbf1ce307e9bba4ef3a432ac4318959b0c1161548606 WHIRLPOOL b6a239a08866097fe3759d459d0118d869f4cfd6a5dc819bc5b28a1fc25c4fa4db38a03a70c3b64710ee564d439ecb126ed0b2478230fadd733b484a5a07f4b6
+MISC ChangeLog-2015 2042 SHA256 d55b318b4d9c14254ab08802a64efbde7ae3a049eaa2814d5f0f033e13e1c778 SHA512 4a3feef026a2400ec59023f8d0e8038a102485652edd97e7da5427c982bdb4647ee5e9fea7f8fc6e49a2a8e834d08c94d9d4db1a014ad951a7a5fe344b553530 WHIRLPOOL e67e7e83115a98814ab902c872f0d50a819513612948255c27a80cc7609ab7d7d2d1278cec2d1355f8d09db44be1fe662430d9bdc227bbdd86b2dde6829190a8
+MISC metadata.xml 374 SHA256 00e12ba837ab5ee99b168c666779e9a232c5e2354047ef885f33fea87d362869 SHA512 fb37c9db3fe38df1a05bd09ef5e86c0bcc5cd41a9081ec81ee33f6b827be6d19c6d4836650f19d893927cbb602d4b7c90de73d8a75a64ef64bcf86af38f68131 WHIRLPOOL f24e6f71dcfbda8986f3a234de06622c3033ba2b67abb3de383f13b3086c56d424e774f63c6d45a9ee6ebedfbe8d2a0fe2a9655d09e2a9b1251a115f2c091afa
diff --git a/x11-misc/winswitch/files/winswitch-0.12.18-PIL.patch b/x11-misc/winswitch/files/winswitch-0.12.18-PIL.patch
new file mode 100644
index 000000000000..be6484dd1084
--- /dev/null
+++ b/x11-misc/winswitch/files/winswitch-0.12.18-PIL.patch
@@ -0,0 +1,84 @@
+https://bugs.gentoo.org/show_bug.cgi?id=471564
+https://winswitch.org/trac/ticket/238
+
+--- winswitch-0.12.18/winswitch/virt/xpra_client_util.py
++++ winswitch-0.12.18/winswitch/virt/xpra_client_util.py
+@@ -95,8 +95,8 @@
+ widgets = []
+ has_pil = False
+ try:
+- import Image
+- has_pil = Image is not None
++ import PIL.Image
++ has_pil = PIL.Image is not None
+ except:
+ pass
+ jw = self.get_encoding_widget(server, server_command, options, change_cb, has_pil)
+--- winswitch-0.12.18/winswitch/ui/capture_util.py
++++ winswitch-0.12.18/winswitch/ui/capture_util.py
+@@ -125,16 +125,16 @@
+ #resize it
+ img_data = load_binary_file(self.filename)
+ import StringIO
+- import Image
+- image = Image.open(StringIO.StringIO(img_data))
++ import PIL.Image
++ image = PIL.Image.open(StringIO.StringIO(img_data))
+ self.save_resized(image)
+
+ def save_resized(self, image):
+ """ save a PIL.Image after resizing it to thumbnail size """
+- import Image
++ import PIL.Image
+ (w,h) = image.size
+ w,h = self.get_thumbnail_dimensions(w, h)
+- image.thumbnail((w,h), Image.ANTIALIAS)
++ image.thumbnail((w,h), PIL.Image.ANTIALIAS)
+ image.save(self.filename, "PNG")
+
+
+@@ -190,13 +190,13 @@
+
+ def do_capture(self):
+ #force py2exe to include these:
+- import Image
+- import GifImagePlugin
+- import JpegImagePlugin
+- import PngImagePlugin
+- import ImageGrab
+- assert Image and GifImagePlugin and JpegImagePlugin and PngImagePlugin and ImageGrab #avoid pydev warnings
+- screenshot = ImageGrab.grab()
++ import PIL.Image
++ import PIL.GifImagePlugin
++ import PIL.JpegImagePlugin
++ import PIL.PngImagePlugin
++ import PIL.ImageGrab
++ assert PIL.Image and PIL.GifImagePlugin and PIL.JpegImagePlugin and PIL.PngImagePlugin and PIL.ImageGrab #avoid pydev warnings
++ screenshot = PIL.ImageGrab.grab()
+ self.save_resized(screenshot)
+ self.finish()
+
+--- winswitch-0.12.18/winswitch/util/icon_util.py
++++ winswitch-0.12.18/winswitch/util/icon_util.py
+@@ -27,7 +27,7 @@
+ HAS_CAIRO_RSVG = False
+
+ try:
+- import Image
++ import PIL.Image
+ has_PIL = True
+ except:
+ has_PIL = False
+@@ -58,10 +58,10 @@
+ return scaled_data
+
+ def pil_load_scaled_pixmap(filename, size_limit):
+- img = Image.open(filename)
++ img = PIL.Image.open(filename)
+ (w,h) = img.size
+ if w>size_limit or h>size_limit:
+- img.thumbnail((size_limit,size_limit), Image.ANTIALIAS)
++ img.thumbnail((size_limit,size_limit), PIL.Image.ANTIALIAS)
+ assert img
+ return pil_image_to_png_data(img)
+
diff --git a/x11-misc/winswitch/metadata.xml b/x11-misc/winswitch/metadata.xml
new file mode 100644
index 000000000000..54d7be4f1121
--- /dev/null
+++ b/x11-misc/winswitch/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person">
+ <email>xmw@gentoo.org</email>
+ <name>Michael Weber</name>
+</maintainer>
+<upstream>
+ <doc lang="en">http://winswitch.org/documentation/</doc>
+ <bugs-to>https://winswitch.org/trac/report</bugs-to>
+</upstream>
+</pkgmetadata>
diff --git a/x11-misc/winswitch/winswitch-0.12.18-r1.ebuild b/x11-misc/winswitch/winswitch-0.12.18-r1.ebuild
new file mode 100644
index 000000000000..290afbeebc97
--- /dev/null
+++ b/x11-misc/winswitch/winswitch-0.12.18-r1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit distutils-r1
+
+DESCRIPTION="client server tool to start and control virtual desktops"
+HOMEPAGE="http://winswitch.org"
+SRC_URI="http://winswitch.org/src/${P}.src.tar.bz2"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE=""
+
+RDEPEND="dev-python/gst-python:0.10[${PYTHON_USEDEP}]
+ dev-python/netifaces[${PYTHON_USEDEP}]
+ dev-python/notify-python[${PYTHON_USEDEP}]
+ dev-python/pycrypto[${PYTHON_USEDEP}]
+ dev-python/pygobject:3[${PYTHON_USEDEP}]
+ dev-python/pygtk[${PYTHON_USEDEP}]
+ dev-python/twisted-core
+ dev-python/twisted-conch
+ media-gfx/xloadimage
+ dev-python/pillow[${PYTHON_USEDEP}]
+ x11-misc/devilspie"
+DEPEND=""
+
+PATCHES=( "${FILESDIR}"/${P}-PIL.patch )
+
+python_prepare_all() {
+ einfo "Remove bundled Vash"
+ rm -rf skel/share/Vash || die
+ export PREFIX="${EPREFIX}"
+ distutils-r1_python_prepare_all
+}
+
+pkg_postinst() {
+ elog "You might want to install following packages for additional protocol functionality"
+ elog " net-misc/tigervnc[?server]"
+ elog " x11-wm/xpra[?server]"
+ elog " || ( net-misc/nxclient net-misc/nx ) "
+ elog "and net-dns/avahi[python] for automatic server discovery"
+}
diff --git a/x11-misc/wmakerconf/Manifest b/x11-misc/wmakerconf/Manifest
new file mode 100644
index 000000000000..3588870909af
--- /dev/null
+++ b/x11-misc/wmakerconf/Manifest
@@ -0,0 +1,8 @@
+AUX wmakerconf-2.12-desktop.patch 337 SHA256 f3c1ee2ec4b058b5a539f645ac4cb2de5ea8cf1148a2b5cf61ba0cb2941eb895 SHA512 599c668a481c51d9a0cd802c09ef855e6c0e1960ed27b1127390ee3da5f89967e6ad9a443bdb8cc47802d0d74b1d226be55fc4f6fa4f71eab61bf651cf3a2162 WHIRLPOOL 8791180118b6604ad9be37dac1360baffd919773381568f20deeae5103d01bded6025967878b1b51e10b0c2a025f0e3eb902919dc87fd54ff23d81de0721f4e2
+AUX wmakerconf-2.12-format-security.patch 575 SHA256 ff5840fc0d9a37b2fee14480b1d1ea82ea9208f7c15b22ba441d3d0475285e51 SHA512 b341490da9937165f408311a1f4d56e513eef4b7362cc569d9cce327b01b7b614b688a5994b9cef8dc7872930930381fc031ba1a2a0a058a5e207f843ea137b3 WHIRLPOOL 07858d479edb3ad047eae4d74136a34e4679a7e9ebfbba4bb62f5d789c075943843e53515756827cc75c9e46a2a7841aec5451f68c38bdd9f6c6359eb5a1cd7d
+AUX wmakerconf-2.12-wmaker-0.95_support.patch 3548 SHA256 26fe9da8c84437730bb0166077449e677843b9cd287929d25b3fd97b7ca38926 SHA512 be084d96f35ef6c94a1994abb75b5b71a68ffbc6e3ba9b122b380b632d42da743c94951618094ce42305f87ff238a0c667c76859a320229992c4e0316fcbc79a WHIRLPOOL bd6843c3d758b0af7fce5641b17c5a7d67294269bf1996e143fd3ee3f0a8f15acd1452eae6cb03370b6b0c7a4c5ddb191360fc2dffdb9b5e806a4a93c932a12b
+DIST wmakerconf_2.12.tar.gz 830156 SHA256 debfc3b2a26fd4bd2dab4a06155b786e1b36e64145012410eb0de730a79a9bb3 SHA512 4289846b20667a12c729b646ce5cc9d673adc49c3c99f1afcf0bf2eb978d7a62c93104e44f38c47984f5fc7bd22a78fff89d68646701c7e763a26ec18d4ff059 WHIRLPOOL 545dafebc909ae029efcb6c5f3d8283eec6e96a5c9095511c1808cbac4a36dbcb4143f67d77744f7907669fa2c6f2004131cd2c9f1f4b56815dbc88f40904f46
+EBUILD wmakerconf-2.12-r3.ebuild 1445 SHA256 0f65e48bf0516748aa9f5de54b66bf24d0773ccfd82d74a1a6b5970f47e70969 SHA512 fd3227db9f704b97911d272e1b3c598b54846135f1fe26225582865607f25c43d4c14d44dcf595dd1cf2cae0e9c8a8ae1aa7355c581d4b047f664c9a1e24ba48 WHIRLPOOL 7023d395af3fef4ba82f0b4df31cae86405ddea671c34cf7913c43001903917aa4c1d5c5b5e88f4ac030f83a03b0cc630523cd95d70aad5f5c9bb76643a16fa5
+MISC ChangeLog 3828 SHA256 3492c9bde96a6e602a7f1ac5729576c74134b5bde128f8946e01bd7e47be66df SHA512 14f42aceb69fa8b5dd6ecc00fd71a275e1c847d5ff10c4ad36f56066869463b4e2ab2b13b6b176b81191d192e18942d7d1184a24ee5d285659fc18dd89f760f0 WHIRLPOOL c6923824f2f44f92c4ea30384a5face4352dbe61119021cd3f892f5d87ea8b2a86f4b404a6dfdc7d35691f560587845ebcbfdfcf5029b8a108d99727f19afbe0
+MISC ChangeLog-2015 5550 SHA256 92247e80043752f49a76cc8df05c9dc5a20e7da7bbc6f9225750083774915c84 SHA512 373b5c21e97b48b2e2efb93d9be6fae6df25babe3561a89b8cf95e667277e090e44a90356b90a7c1115686d9aca6cd7db2399fb33cf4dcc997d08158636989f8 WHIRLPOOL 15c9e9903ec73a6753b6fc746c7da181eb48dd2c9bcc2bf4da516d0e6ae017afb237e7c7b1180cd812baec86bda5135ffae3c6a3aa7a63670ab0a2a634ca2184
+MISC metadata.xml 337 SHA256 dc9e220cf5a61fb16f940c159f854c25d7fd4e03e91b2cca852e654d1bd1dc48 SHA512 8f144b1c6d8110362014ab291ecde3aef2192ffbe57ce8261849ef9069ad9449f6871a8aa7c2246b2ae866b4264e38261dee2836b86b25b73396ea7c19d1f9f5 WHIRLPOOL 754c4184e411ce6af5081cd52123196865e94c8d92a3dac50d05838194d642204d2bfa85128a0b52b288bdfed8e4a713c89468d5e6655419cfe6e7cda8bf85e3
diff --git a/x11-misc/wmakerconf/files/wmakerconf-2.12-desktop.patch b/x11-misc/wmakerconf/files/wmakerconf-2.12-desktop.patch
new file mode 100644
index 000000000000..184fa55ea04e
--- /dev/null
+++ b/x11-misc/wmakerconf/files/wmakerconf-2.12-desktop.patch
@@ -0,0 +1,8 @@
+--- wmakerconf-2.12.orig/wmakerconf.desktop.in 2015-08-23 23:14:56.272180470 +0200
++++ wmakerconf-2.12/wmakerconf.desktop.in 2015-08-23 23:15:05.446195859 +0200
+@@ -10,4 +10,4 @@
+ Icon=@prefix@/share/wmakerconf/wmakerconf.xpm
+ Terminal=false
+ Type=Application
+-Categories=GTK;Application;DesktopSettings
++Categories=GTK;DesktopSettings;
diff --git a/x11-misc/wmakerconf/files/wmakerconf-2.12-format-security.patch b/x11-misc/wmakerconf/files/wmakerconf-2.12-format-security.patch
new file mode 100644
index 000000000000..91b6109fddbe
--- /dev/null
+++ b/x11-misc/wmakerconf/files/wmakerconf-2.12-format-security.patch
@@ -0,0 +1,12 @@
+diff -Naur wmakerconf-2.12.orig/src/error.c wmakerconf-2.12/src/error.c
+--- wmakerconf-2.12.orig/src/error.c 2004-12-05 02:44:37.000000000 +0100
++++ wmakerconf-2.12/src/error.c 2016-04-11 20:42:32.810590888 +0200
+@@ -109,7 +109,7 @@
+ GtkTextIter iter;
+ GtkTextBuffer *buffer;
+
+- g_log ("Wmakerconf", G_LOG_LEVEL_WARNING, message);
++ g_log ("Wmakerconf", G_LOG_LEVEL_WARNING, "%s", message);
+ Free (text);
+ buffer = gtk_text_view_get_buffer (GTK_TEXT_VIEW (log_text));
+ gtk_text_buffer_get_iter_at_offset (buffer, &iter, -1);
diff --git a/x11-misc/wmakerconf/files/wmakerconf-2.12-wmaker-0.95_support.patch b/x11-misc/wmakerconf/files/wmakerconf-2.12-wmaker-0.95_support.patch
new file mode 100644
index 000000000000..5b598c3c1542
--- /dev/null
+++ b/x11-misc/wmakerconf/files/wmakerconf-2.12-wmaker-0.95_support.patch
@@ -0,0 +1,82 @@
+diff -Naur wmakerconf-2.12.orig/src/menu.c wmakerconf-2.12/src/menu.c
+--- wmakerconf-2.12.orig/src/menu.c 2012-02-10 17:34:57.601475631 +0100
++++ wmakerconf-2.12/src/menu.c 2012-02-10 17:35:03.917287748 +0100
+@@ -500,10 +500,10 @@
+ * No return value.
+ */
+ {
+- if (!WMWritePropListToFile (orig_wmaker, orig_wmaker_fname, YES))
++ if (!WMWritePropListToFile(orig_wmaker, orig_wmaker_fname))
+ warning (_("Can't revert to backupfile of `WindowMaker'. "
+ "Please manually revert from file WindowMaker.bak."));
+- if (orig_rootmenu && !WMWritePropListToFile (orig_rootmenu, orig_rootmenu_fname, YES))
++ if (orig_rootmenu && !WMWritePropListToFile(orig_rootmenu, orig_rootmenu_fname))
+ warning (_("Can't revert to backupfile of `WMRootMenu'. "
+ "Please manually revert from file WMRootMenu.bak."));
+ gtk_main_quit ();
+diff -Naur wmakerconf-2.12.orig/src/rootmenu.c wmakerconf-2.12/src/rootmenu.c
+--- wmakerconf-2.12.orig/src/rootmenu.c 2012-02-10 17:34:57.601475631 +0100
++++ wmakerconf-2.12/src/rootmenu.c 2012-02-10 17:35:03.929287391 +0100
+@@ -365,7 +365,7 @@
+ node_freeitem, NULL);
+ g_node_destroy (node);
+
+- if (WMWritePropListToFile (menu, filename, YES))
++ if (WMWritePropListToFile(menu, filename))
+ {
+ menu_changed = NO;
+ message (_("Window Maker root menu file '%s' saved."), filename);
+diff -Naur wmakerconf-2.12.orig/src/themebrowser.c wmakerconf-2.12/src/themebrowser.c
+--- wmakerconf-2.12.orig/src/themebrowser.c 2012-02-10 17:34:57.601475631 +0100
++++ wmakerconf-2.12/src/themebrowser.c 2012-02-10 17:35:56.515722786 +0100
+@@ -2705,7 +2705,7 @@
+ oldfiles = g_list_remove (oldfiles, tmp);
+ Free (tmp);
+ }
+- if (!WMWritePropListToFile (theme, stylename, YES))
++ if (!WMWritePropListToFile(theme, stylename))
+ {
+ dialog_popup (DIALOG_ERROR, NULL, NULL,
+ _("Can't save theme file\n`%s'\n"
+diff -Naur wmakerconf-2.12.orig/src/window.c wmakerconf-2.12/src/window.c
+--- wmakerconf-2.12.orig/src/window.c 2012-02-10 17:34:57.601475631 +0100
++++ wmakerconf-2.12/src/window.c 2012-02-10 17:35:03.953286677 +0100
+@@ -1069,7 +1069,7 @@
+ WMReleasePropList (all_keys);
+ }
+
+- if (WMWritePropListToFile (newwm, orig_wmaker_fname, YES))
++ if (WMWritePropListToFile(newwm, orig_wmaker_fname))
+ {
+ changed = NO;
+ message (_("Window Maker config file '%s' saved."),
+diff -Naur wmakerconf-2.12.orig/src/wmconfig.c wmakerconf-2.12/src/wmconfig.c
+--- wmakerconf-2.12.orig/src/wmconfig.c 2012-02-10 17:34:57.601475631 +0100
++++ wmakerconf-2.12/src/wmconfig.c 2012-02-10 17:35:03.957286559 +0100
+@@ -216,7 +216,7 @@
+ /*
+ * Generate backup file "'path'.bak"
+ */
+- if (WMWritePropListToFile (orig_rootmenu, new, YES))
++ if (WMWritePropListToFile(orig_rootmenu, new))
+ message (_("Backupfile `%s' generated."), new);
+ else
+ error (_("Can't write backupfile `%s'."), new);
+@@ -280,7 +280,7 @@
+ if (!windowmaker)
+ {
+ windowmaker = global_windowmaker;
+- if (WMWritePropListToFile (windowmaker, orig_wmaker_fname, YES))
++ if (WMWritePropListToFile(windowmaker, orig_wmaker_fname))
+ warning (_("New WindowMaker configuration file `%s' created."),
+ orig_wmaker_fname);
+ else
+@@ -294,7 +294,7 @@
+ /*
+ * Generate backup file "'path'.bak"
+ */
+- if (WMWritePropListToFile (windowmaker, new, YES))
++ if (WMWritePropListToFile(windowmaker, new))
+ message (_("Backupfile `%s' generated."), new);
+ else
+ error (_("Can't write backupfile `%s'."), new);
diff --git a/x11-misc/wmakerconf/metadata.xml b/x11-misc/wmakerconf/metadata.xml
new file mode 100644
index 000000000000..2fc688f08024
--- /dev/null
+++ b/x11-misc/wmakerconf/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>gnustep@gentoo.org</email>
+ <name>Gentoo GNUstep Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">wmakerconf</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/wmakerconf/wmakerconf-2.12-r3.ebuild b/x11-misc/wmakerconf/wmakerconf-2.12-r3.ebuild
new file mode 100644
index 000000000000..dce5d2c3bcf3
--- /dev/null
+++ b/x11-misc/wmakerconf/wmakerconf-2.12-r3.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="X based config tool for the windowmaker X windowmanager"
+HOMEPAGE="http://wmakerconf.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P/-/_}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux"
+IUSE="imlib nls perl"
+
+RDEPEND="x11-libs/gtk+:2
+ >=x11-wm/windowmaker-0.95.2
+ imlib? ( media-libs/imlib )
+ perl? ( dev-lang/perl
+ dev-perl/HTML-Parser
+ || ( dev-perl/libwww-perl
+ www-client/lynx
+ net-misc/wget ) )"
+DEPEND="${RDEPEND}
+ nls? ( sys-devel/gettext )
+ virtual/pkgconfig"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-desktop.patch
+ "${FILESDIR}"/${P}-format-security.patch
+ "${FILESDIR}"/${P}-wmaker-0.95_support.patch
+)
+
+src_prepare() {
+ sed -e "/^LIBS =/s/$/ -lX11/" -i src/Makefile.in || die
+ default
+}
+
+src_configure() {
+ local myconf
+ use imlib || myconf="--disable-imlibtest"
+
+ econf \
+ $(use_enable perl upgrade) \
+ $(use_enable nls) \
+ ${myconf}
+}
+
+src_install() {
+ emake DESTDIR="${D}" gnulocaledir="${ED}/usr/share/locale" install
+ dodoc AUTHORS ChangeLog MANUAL NEWS README TODO
+ doman man/*.1
+
+ rm -f "${ED}"/usr/share/${PN}/{AUTHORS,README,COPYING,NEWS,MANUAL,ABOUT-NLS,NLS-TEAM1,ChangeLog}
+}
+
+pkg_postinst() {
+ elog "New features added with WindowMaker >= 0.95 will not be available in wmakerconf"
+ elog "WPrefs is the recommended configuration tool"
+}
diff --git a/x11-misc/wmctrl/Manifest b/x11-misc/wmctrl/Manifest
new file mode 100644
index 000000000000..e0893a1c588d
--- /dev/null
+++ b/x11-misc/wmctrl/Manifest
@@ -0,0 +1,6 @@
+AUX amd64-Xlib.patch 1126 SHA256 501bebfd7fc99e42d2ba8e6a4636d2bd9d33bda0f33019a23f7673acee74c853 SHA512 8db78cf8c267bf2af30e3e91bcd334ea3c6fc8bb5e76afe4a6d9923341631402bf09c7ad55975c8c74f7b54ae288fae7dfdfe737227a72663785b02ec3416f63 WHIRLPOOL 051594867d30715d1e7d103a3ca2b3fa687de691a725dc76eca2ea48588d752f039aeff97049ef91f93d3c142a8fde74078d6ca8033799fcf0522737c0477128
+DIST wmctrl-1.07.tar.gz 87820 SHA256 d78a1efdb62f18674298ad039c5cbdb1edb6e8e149bb3a8e3a01a4750aa3cca9 SHA512 4c77ad1e204e8d444f682ad1d05c0993bcab9097ac6d4b6a944556ab85acbe713f549dbaf443cd4d1226a162ce7d46fbd209c92652e87fc8e609feee74907daa WHIRLPOOL a0c5112704b94c93e6ac1fd945222c04567f152359713e2224623291f654b68cf77c03612d16a2cc78166af59a2e6dc29835bae843e26ac96815cc9f8b38deef
+EBUILD wmctrl-1.07-r2.ebuild 677 SHA256 0698d90eae49b2c3ab7c75b46f2556c7547cb1b22356388cd019d1cb453dfbbe SHA512 98319c2ce08a001f81817cb8240d55b69096d4612171e2e77ef14f331f4912776384ecb08bba6f7a4effb7051686fad8aa27bd932bf1d9188c625eb47c972d48 WHIRLPOOL 92288903bfe66ee0271a24819478e5665debeb5ca750db016ed5baee481a6725bfab3d1a6e102fb58b88c400f2a00621461084b07bf11dcdbe70eda78f28a40b
+MISC ChangeLog 2548 SHA256 1a2ebc92c6b713d6ab3195fce3e8fedc580dc4c74771edfd114c8d6075c2164a SHA512 2593ccc807e2b2afa104ba7bae1d3e4e7420633d9ec66b05ab9466b173a9548f6f17d9dc26e48d7f7f103226564ad1257429a349e744dc21a2d253da7a7f4ab3 WHIRLPOOL 2568b18ecbfc48d0f5a1384725d0b5610557d429692e9482bd067f8dad3a0efb961688a2ce35bb7dffd02ca59d8d4e815083cab85774108a8119492012206aaa
+MISC ChangeLog-2015 2829 SHA256 f1750b2c3e5bea5195282b177d6dc9cf8778714b16a7ebfe566824740caca616 SHA512 63a886c927b45d02f58df5eebe76674a67578c273882044bf376cb7974af14d6b977d8958e7450a2c3a9c38f6c14607ace13b74846b6d62b270cfb8b996a5eec WHIRLPOOL 5fdc99214879e5d340d228ea6b868145f1f7c2f80e1312e64784479423eed3cc5f82d4366c37a1c913e37eb7854f9fe964df91bfbe0dcb5a21e00694dd5d7d96
+MISC metadata.xml 738 SHA256 95397e4e3a428606c7fd616d97ff42e2aab6f718ec8bb75ae80cbdc809adbb72 SHA512 64b8e06c832fccd5de75607562f73a1287a9948e624d6a11a229c2772856cdbe0ef2beb968913795b50bebc0fe55407a69d0f3b9181ad2e0e50736a1794c0609 WHIRLPOOL 93727bc21188d195ed2ff1c71afe13220ac565cea752c64e1a444314c7d12b9081d6c517770e378fbba0fd3bdf959de1a99f54d729e5318d88f2fdf40bb7a158
diff --git a/x11-misc/wmctrl/files/amd64-Xlib.patch b/x11-misc/wmctrl/files/amd64-Xlib.patch
new file mode 100644
index 000000000000..a1039a825023
--- /dev/null
+++ b/x11-misc/wmctrl/files/amd64-Xlib.patch
@@ -0,0 +1,28 @@
+--- wmctrl-1.07.orig/main.c
++++ wmctrl-1.07/main.c
+@@ -1425,6 +1425,16 @@
+ *
+ * long_length = Specifies the length in 32-bit multiples of the
+ * data to be retrieved.
++ *
++ * NOTE: see
++ * http://mail.gnome.org/archives/wm-spec-list/2003-March/msg00067.html
++ * In particular:
++ *
++ * When the X window system was ported to 64-bit architectures, a
++ * rather peculiar design decision was made. 32-bit quantities such
++ * as Window IDs, atoms, etc, were kept as longs in the client side
++ * APIs, even when long was changed to 64 bits.
++ *
+ */
+ if (XGetWindowProperty(disp, win, xa_prop_name, 0, MAX_PROPERTY_VALUE_LEN / 4, False,
+ xa_prop_type, &xa_ret_type, &ret_format,
+@@ -1441,6 +1451,8 @@
+
+ /* null terminate the result to make string handling easier */
+ tmp_size = (ret_format / 8) * ret_nitems;
++ /* Correct 64 Architecture implementation of 32 bit data */
++ if(ret_format==32) tmp_size *= sizeof(long)/4;
+ ret = g_malloc(tmp_size + 1);
+ memcpy(ret, ret_prop, tmp_size);
+ ret[tmp_size] = '\0';
diff --git a/x11-misc/wmctrl/metadata.xml b/x11-misc/wmctrl/metadata.xml
new file mode 100644
index 000000000000..de4a42db7c4a
--- /dev/null
+++ b/x11-misc/wmctrl/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<!-- maintainer-needed -->
+<longdescription>
+ The wmctrl program is a command line tool to interact with an
+ EWMH/NetWM compatible X Window Manager. It provides command line
+ access to almost all the features defined in the EWMH specification.
+ Using it, it's possible to, for example, obtain information about the
+ window manager, get a detailed list of desktops and managed windows,
+ switch and resize desktops, change number of desktops, make windows
+ full-screen, always-above or sticky, and activate, close, move,
+ resize, maximize and minimize them.
+ </longdescription>
+</pkgmetadata>
diff --git a/x11-misc/wmctrl/wmctrl-1.07-r2.ebuild b/x11-misc/wmctrl/wmctrl-1.07-r2.ebuild
new file mode 100644
index 000000000000..25168a125bdf
--- /dev/null
+++ b/x11-misc/wmctrl/wmctrl-1.07-r2.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="command line tool to interact with an EWMH/NetWM compatible X Window Manager"
+HOMEPAGE="http://tomas.styblo.name/wmctrl/"
+SRC_URI="http://tomas.styblo.name/${PN}/dist/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc ~sparc x86 ~x86-linux"
+IUSE=""
+
+RDEPEND="
+ >=dev-libs/glib-2:2
+ x11-libs/libX11
+ x11-libs/libXt
+ x11-libs/libXmu"
+
+DEPEND="
+ ${RDEPEND}
+ virtual/pkgconfig
+ x11-proto/xproto"
+
+PATCHES=( "${FILESDIR}/amd64-Xlib.patch" )
+
+DOCS=( AUTHORS ChangeLog NEWS README )
+
+src_install () {
+ emake DESTDIR="${D}" install
+ einstalldocs
+}
diff --git a/x11-misc/wmiface/Manifest b/x11-misc/wmiface/Manifest
new file mode 100644
index 000000000000..e2d3754d77b3
--- /dev/null
+++ b/x11-misc/wmiface/Manifest
@@ -0,0 +1,5 @@
+DIST wmiface-2.1.tar.gz 95167 SHA256 45918a1e5a5e397111dc3f6ab78295a72a52fe61692b867073d2ff6d8f546a53 SHA512 767ec2f0a23def3a5e00c77702049356a08b6bad51becfa685e47be53408de5206c36df0aa394947318b3f54481646d2b0b1a4394e79cfe08281d8fb41a3e568 WHIRLPOOL 8e8c86a44ec679c3ffea44418e27cc762b6d952f1a4ea8b8ffa3d136da9aaf097345479000473c564d7c52b49ba51b92008aee4a57996f982c10501d3214ea1e
+EBUILD wmiface-2.1.ebuild 493 SHA256 f13e7e45f71720ca5d26e0240e6af096333226740a018a1ac39c3d216c536e22 SHA512 75bcc6e4cf25f570894e038fceea6fdb8467af0481489ce1edb1b2f106b0b90873a9528f5f141c7130151bce50a78fd618e8ad6371946752ad270a69fb8436ca WHIRLPOOL 220563a261d82739a44c0151ea5870a44242be1abe8d52d4faa01df08459ee75d913cac15ce55757f00f614c63f005aa2217e7ac4215d3d1a3b4385fce798411
+MISC ChangeLog 2591 SHA256 eaa8b86387afd8a7c8061379c1be6ef5f06226c9a4e3f3fb979c2910b7265837 SHA512 c279d301c3847db0152cd548e60eb92942e3cc77b02ac00bc26fafdcbd06a6a3229e9d38acdce789489ab38d2393c4bad0a4f19e3b85a9fd61d0d9a321747a8f WHIRLPOOL aba92f990ab477f2651551370d31265aa3dac4850de3fdc39f1b045c67a9f497cbcb5a3342c6e2e0ecda08f6db2d280f37da7cb18e7aa33b7d8ab60a470ab232
+MISC ChangeLog-2015 901 SHA256 58718bc98161c4303fdb893d28e12b8a2b33949f62e7843059979139f5cd7972 SHA512 85f1ff7395d4c3a76e8f45a4830a3cc893cf31c87483660256a2ca27339211ab61c7154464eb0bb22f72ef9227a1a4e2104ebd3757ba781c35b63b3a5c0a6d38 WHIRLPOOL 6dbee5f0c4294a8919fd8f6a303a720690eb99d629ece6936c4bab6f71b0d34eeb187ac881a2ce99d6e0b96e60576db1e01db8f694add7292965b41b57aeb4ee
+MISC metadata.xml 249 SHA256 584f1dcf51866dc24a9abf7a89bfba0fad11dde81ae1c1b715da41770d233c99 SHA512 76a5a340b13f0053ca3c5e94ed24380ea8d29b45ac8655419e22eaadb1e4a827c04d2e7e36b65145c4964e6526f656618fc6ac144e277ef53cb7373e6239e3c3 WHIRLPOOL 200c07a8bf7c55b11b7936d5cd30e991a511684913334e72f59def66c0ced5fed0b4a8754e2d98bffbab631cb90d4e17fcccc59d5dcc5a8e988f69e47c85518c
diff --git a/x11-misc/wmiface/metadata.xml b/x11-misc/wmiface/metadata.xml
new file mode 100644
index 000000000000..2fdbf33d963d
--- /dev/null
+++ b/x11-misc/wmiface/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>kde@gentoo.org</email>
+ <name>Gentoo KDE Project</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/x11-misc/wmiface/wmiface-2.1.ebuild b/x11-misc/wmiface/wmiface-2.1.ebuild
new file mode 100644
index 000000000000..7ca378bc55e7
--- /dev/null
+++ b/x11-misc/wmiface/wmiface-2.1.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit cmake-utils
+
+DESCRIPTION="Command line tool allowing user scripting of the running window manager"
+HOMEPAGE="http://kde-apps.org/content/show.php/WMIface?content=40425"
+SRC_URI="https://home.kde.org/~seli/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug"
+
+RDEPEND="
+ dev-qt/qtcore:4
+ x11-libs/libX11
+"
+DEPEND="${DEPEND}
+ dev-qt/qtgui:4
+"
diff --git a/x11-misc/wmname/Manifest b/x11-misc/wmname/Manifest
new file mode 100644
index 000000000000..f66d58da8ca2
--- /dev/null
+++ b/x11-misc/wmname/Manifest
@@ -0,0 +1,6 @@
+AUX wmname-0.1-buildsystem.patch 504 SHA256 64d1eb1b63d449c977153685fd249858004e79aaebea349d18cf3ea7e2091fe6 SHA512 c30cc281e99d6ab72d214312ee4d5a7dfea176f7befc4d266faba373b322cd6f7bc4572c9565d460177878770d25197472d07a305d7da2e3f6cda9484d3399f6 WHIRLPOOL 28d06cf84bde58526a318619f6cfccbe1271b13c6f530025d9f0ec87db8eea4b00f3c1ee0367b18aa61255232ea1b5d5853367c69d8ca04612ce78c14cf1ba90
+DIST wmname-0.1.tar.gz 2512 SHA256 559ad188b2913167dcbb37ecfbb7ed474a7ec4bbcb0129d8d5d08cb9208d02c5 SHA512 e57100f8de2579f4090c0aaf5a5b134d03bcbcdca5c6d005b12ce39ad322d96651bb13d151cf259e935e6c50e7b21bde43a4eace112be80983a92f92b99f192f WHIRLPOOL d46dafea93cd673d6e6285e266745690a5ab9d4fac11f171d3c143fa04563bccfb6a4927cb052fd3d15f27a11b0e76245e1e86458b36a03fcde154283b46dd0d
+EBUILD wmname-0.1-r1.ebuild 659 SHA256 4f0a71fd3a45b82ddf5f4b49c290c667b953b57ef33aef5b689da1b73858ce3d SHA512 850c45258c7aa050b1eb665a7af145cc6fea2e70cffca9bf053cdfcb62ff144daf4b060de0fe0577217267a6fe02a74d106b11c7fa856971eecbf81b09d4e0ea WHIRLPOOL 6efc2ee12d434fac4924535b4d8f4daf1351e4c1c551084674e89b974c4bc691fb117184b4ff7f7a1651d3ef53ca45702414bb2ff9c43f2d5ab6982e5d0826ad
+MISC ChangeLog 2720 SHA256 152e35171c1ef09c5158313a5a84f91250dc4c7ae8458a1ca8c61128337d5b48 SHA512 580bf630c2cecf07229ee8c70e831a137980af2b66070d952d2d1ded152aee5674b9cedbf538028c468510891171e741c37c9ceac444ecfcc4655b7b8d9405da WHIRLPOOL 26be7f41026a83ff85ddb25e368d7da15e129f0775184830b379238fb6207f15d570e598fe9126a0db2995f9cb9c740fca9b78bd2eea1dd5998138592fbb0ed8
+MISC ChangeLog-2015 764 SHA256 0d50eb424954d37588ca1d20a7b7221e496c61f1f5ed08c41efcd210b37647d3 SHA512 0afab30a88c8e763c4c692d542afea432d889deb5a0288f13c9b40027066fc956282fd4f35426f070eaf887f2750b5c27918184df39827225a614c1cac977f31 WHIRLPOOL 6d9cc2932e5d1f63d969ad4fafb8411ab3667498333a00840bf3c8736a5df20c2797ce45f6c02fe8658fe14654ad250a6f36390ae4cc18d10270ff3bc3aa5a1d
+MISC metadata.xml 237 SHA256 ffb571839c57797d282263369646d2bba2662601a45f7bb3251bb97f716554a6 SHA512 ae2360aa6b1b00c67e0acea4935c02b64585b9a15e126fec9d5d99637021c542c0a495e5116205f3da287def46fa5b19cb1a7f3042c12c5f7a78d66d92fcb03f WHIRLPOOL 60d6da846c983457e038ea5ba3c0bf48f939c9586610985a14cac9772fd1d45d781a643abc16482f232f3028e44fe99fe1a382deaebf6589602fc244a4460e3f
diff --git a/x11-misc/wmname/files/wmname-0.1-buildsystem.patch b/x11-misc/wmname/files/wmname-0.1-buildsystem.patch
new file mode 100644
index 000000000000..bee2131d9bef
--- /dev/null
+++ b/x11-misc/wmname/files/wmname-0.1-buildsystem.patch
@@ -0,0 +1,26 @@
+--- wmname-0.1/config.mk
++++ wmname-0.1/config.mk
+@@ -16,9 +16,9 @@
+
+ # flags
+ CPPFLAGS = -DVERSION=\"${VERSION}\"
+-CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
+-LDFLAGS = -s ${LIBS}
++CFLAGS += -std=c99 -pedantic ${INCS} ${CPPFLAGS}
++LDFLAGS += ${LIBS}
+
+ # compiler and linker
+-CC = cc
+-LD = ${CC}
++CC ?= cc
++LD ?= ${CC}
+--- wmname-0.1/Makefile
++++ wmname-0.1/Makefile
+@@ -23,7 +23,6 @@
+ wmname: ${OBJ}
+ @echo LD $@
+ @${LD} -o $@ ${OBJ} ${LDFLAGS}
+- @strip $@
+
+ clean:
+ @echo cleaning
diff --git a/x11-misc/wmname/metadata.xml b/x11-misc/wmname/metadata.xml
new file mode 100644
index 000000000000..a535b8852829
--- /dev/null
+++ b/x11-misc/wmname/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person">
+<email>xmw@gentoo.org</email>
+<name>Michael Weber</name>
+</maintainer>
+</pkgmetadata>
diff --git a/x11-misc/wmname/wmname-0.1-r1.ebuild b/x11-misc/wmname/wmname-0.1-r1.ebuild
new file mode 100644
index 000000000000..814e3e889e44
--- /dev/null
+++ b/x11-misc/wmname/wmname-0.1-r1.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit toolchain-funcs
+
+DESCRIPTION="utility to set the name of your window manager"
+HOMEPAGE="https://tools.suckless.org/x/wmname"
+SRC_URI="https://dl.suckless.org/tools/wmname-0.1.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="amd64 ~arm ~ppc ~sparc x86"
+IUSE=""
+
+RDEPEND="x11-libs/libX11"
+DEPEND="${RDEPEND}"
+
+PATCHES=( "${FILESDIR}"/${P}-buildsystem.patch )
+
+src_compile() {
+ emake CC="$(tc-getCC)" LD="$(tc-getCC)"
+}
+
+src_install() {
+ emake CC="$(tc-getCC)" LD="$(tc-getCC)" \
+ PREFIX="${EPREFIX}"/usr DESTDIR="${D}" install
+ einstalldocs
+}
diff --git a/x11-misc/x11vnc/Manifest b/x11-misc/x11vnc/Manifest
new file mode 100644
index 000000000000..bc18072e65f8
--- /dev/null
+++ b/x11-misc/x11vnc/Manifest
@@ -0,0 +1,7 @@
+AUX x11vnc.conf.d 1435 SHA256 2657c7687876372a5196027b2fb694ff5364f59a054ea961015384d66bf4a80e SHA512 dedc94fab89a06ca6025b99c2c944cabe77640487c8fc761a6420e5be7062ee4c1c383f3846c17bed434ad4f3ec3b994badb493919acb99da3f61caa40c60246 WHIRLPOOL feef515c561ef06d640c09c0507e03fb60d018a2ac19e78419abf6557cb0d43010f08fb3e9e88ed81bfef0f09d8e88955f2607b448157a8cc7fee7ac7d164961
+AUX x11vnc.init.d 1728 SHA256 55a2460d3922e062b7ea122c09518403974eb54379c7c98bfe19b2621cae1c93 SHA512 8de7966b79b5acc83c8cebc3c2ef0819196f5a33eabad619991d04c7c059a68afbf44d0ece6b0db33cea1f525402a601b25db220733f0ff69c0fff48d3c50ac2 WHIRLPOOL 3a02414cfa7b5f326edcf8f3c1fe5c0c078099a63e1fa80f447eb0325900885fbd3674cc21bc8d2c37fdc5c94680b6b81b086c04ea69c497bf1ed3b1977c41b8
+DIST x11vnc-0.9.14_p20161013.tar.gz 1702047 SHA256 050f2d9428996a8c3ad420933923b45fe516122f2966aefb5fb8dbf10dcc7917 SHA512 82207e4d721dde633aaa13dbd1e6a18799615f8e3c225c33d4f8b01775fb81fb6b92a817e7d014653ac7b2349b0b31e46be8db25c5fd5e3ecee8fb93ca665b97 WHIRLPOOL 449f729044b98f86850779343105bb4edd71861225b1a0eb64d1a977e21918d0669b0c50fe696fba46bb6d6709f31c3445b775392c46b49a0af9bf53f62f6196
+EBUILD x11vnc-0.9.14_p20161013.ebuild 1508 SHA256 a94b4b407511d71416768d75260bf72d8467783bce104757728fbb268ddb198c SHA512 0431ae53fafdebe04786f9879f12a7e4f8882407f628f75dd01a5922db2b6ce9b43bcfe728c6d759099cf3123747f37118f7c7acee234da1acaadfa2955bdfcc WHIRLPOOL b0b79c4b83fd4b745b36201b6e21160465db4291f4e4cd0bb18bd81cc83a662ce831c1788a5f9f8ed7e14e1e49ca8b70e876ce5a6503657aba6937c6823b29d9
+MISC ChangeLog 6680 SHA256 e6610d7f31031f7240c8a98a0ffb90f2d4d01c7739fd2fd3419e440c0f3e2b88 SHA512 3428c30757d94e0f1b0de40f7b6a183c05ef0175e4cd6101cb8ac6dc8bdccb75ee92abb32c6eab9dddd3164386a03f65505da2549420bf1954aeefb37f101813 WHIRLPOOL 3430eedc1664715b916f8f0ac3039dac93e4c8e7234a30536f9ee7600a4d07177a381b529e711277eed2dbdcea9a47f9467276c2b628a76da05712d47a8b6011
+MISC ChangeLog-2015 16652 SHA256 6e144c043741ba849817f72760fd0a7678cd356be2db07656ffe8bdac2b6a782 SHA512 9342adf2a8833e80fd662bf63a6e18766ad58bb4d3d91b2dcb67efc197bcd1f5cc576c7174107814e1b5d845290e8c7e1e86399174d605d0bc0843e8fd405781 WHIRLPOOL a37a6ccb5fa7fc4daf6d75abd07c11fcdc582cd9e4a3b6559804a886a97c409591d1d3d4e86fe0a89504f085ef28ea022dc603b3d84fea6435b1e33e7c73b740
+MISC metadata.xml 694 SHA256 1f2e0535e20d4db32baa81dc18384aad05c94e53822f68cb2efb71e5adf7b903 SHA512 842b0faca49ae6810c42d117ca3f79fc693acfb8a965d3fd2a8c890f475350c29175303f1b56b0c64468dae20e692d2430fc790e7b88165c0f30d65e1bdcb606 WHIRLPOOL b241cb6f41ea61991631edc7412c24715b1424e840fbb73284b979d814c2bb999577f5d50f8f97e6e79431b24199042434cb4b53d30a66914e956711c84de43b
diff --git a/x11-misc/x11vnc/files/x11vnc.conf.d b/x11-misc/x11vnc/files/x11vnc.conf.d
new file mode 100644
index 000000000000..7df3a1317a97
--- /dev/null
+++ b/x11-misc/x11vnc/files/x11vnc.conf.d
@@ -0,0 +1,37 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+# Configuration for running x11vnc as a service. This allows VNC
+# connections prior to logging in to the X display manager.
+
+# Password file location of the password file for VNC Connections
+# Prior to first run, you must configure a password, to do so please
+# run `x11vnc -storepasswd /etc/x11vnc.pass`. Replace /etc/x11vnc.pass
+# ith the location you have specified below
+#X11VNC_RFBAUTH="/etc/x11vnc.pass"
+
+# Port to listen on for incoming connections
+#X11VNC_RFBPORT="5900"
+
+# Automatically probe for a free port to listen on for incoming connections
+# starting from the port number specified
+# Setting this will diable X11VNC_RFBPORT above
+# See `man x11vnc`, option `-autoport` for more information
+#X11VNC_AUTOPORT=""
+
+# X Display to attach to
+# This should match the display your DM is running on
+#X11VNC_DISPLAY=":0"
+
+# Location of the x11vnc logfile
+#X11VNC_LOG="/var/log/x11vnc"
+
+# Miscelaneous options to pass to x11vnc.
+# Do not set options that are configurable above.
+# Check `x11vnc -help` or `man x11vnc` for more options.
+# * Modern composting DMs/WMs will require "-noxdamage"
+# * If you experience crashes on logging in, try "-noxfixes"
+# * Other suggested options include "-noxrecord" and "-ncache ##"
+# Refer to the x11vnc man page for further explanations.
+#X11VNC_OPTS=""
+
diff --git a/x11-misc/x11vnc/files/x11vnc.init.d b/x11-misc/x11vnc/files/x11vnc.init.d
new file mode 100644
index 000000000000..b6b16dafb943
--- /dev/null
+++ b/x11-misc/x11vnc/files/x11vnc.init.d
@@ -0,0 +1,70 @@
+#!/sbin/openrc-run
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+description="The x11vnc daemon init script"
+
+depend() {
+ need net
+ need xdm
+}
+
+checkconfig() {
+
+ # Set Defaults
+ X11VNC_RFBAUTH=${X11VNC_RFBAUTH:-/etc/x11vnc.pass}
+ X11VNC_RFBPORT=${X11VNC_RFBPORT:-5900}
+ X11VNC_DISPLAY=${X11VNC_DISPLAY:-:0}
+ X11VNC_LOG=${X11VNC_LOG:-/var/log/x11vnc}
+
+ X11VNC_AUTH="/var/run/x11vnc-${X11VNC_DISPLAY}"
+
+ if [ -n "${X11VNC_AUTOPORT}" ]; then
+ X11VNC_PORT=""
+ fi
+
+ if [ ! -f "${X11VNC_RFBAUTH}" -o ! -s "${X11VNC_RFBAUTH}" ]; then
+ eerror "VNC Password not set, please set one by running: \`x11vnc -storepasswd ${X11VNC_RFBAUTH}\`"
+ return 1
+ fi
+ checkpath -q -f -m 0600 -o root:root "${X11VNC_RFBAUTH}"
+
+ # Attempt to find X-Auth file
+ if ! type xauth > /dev/null 2>&1 ||
+ ! xauth -f /root/.Xauthority extract - "${X11VNC_DISPLAY}" > "${X11VNC_AUTH}" 2>/dev/null ||
+ [ ! -s "${X11VNC_AUTH}" ]; then
+ # Let x11vnc guess at auth
+ X11VNC_AUTH_OPTS="--env FD_XDM=1 -auth guess"
+ else
+ # We found the proper auth
+ X11VNC_AUTH_OPTS="-auth ${X11VNC_AUTH}"
+ fi
+
+ if [ ! -f "${X11VNC_AUTH}" ]; then
+ eerror "Specified X-Authority file '${X11VNC_AUTH}' not found!"
+ return 1
+ fi
+}
+
+start() {
+ checkconfig || return 1
+
+ ebegin "Starting ${SVCNAME}"
+ start-stop-daemon --start \
+ --exec /usr/bin/x11vnc -- \
+ ${X11VNC_AUTH_OPTS} \
+ -rfbauth ${X11VNC_RFBAUTH} \
+ ${X11VNC_RFBPORT:+-rfbport} ${X11VNC_RFBPORT} \
+ ${X11VNC_AUTOPORT:+-autoport} ${X11VNC_AUTOPORT} \
+ -display ${X11VNC_DISPLAY} \
+ -o ${X11VNC_LOG} \
+ -bg -forever \
+ ${X11VNC_OPTS}
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping ${SVCNAME}"
+ start-stop-daemon --stop /usr/bin/x11vnc
+ eend $?
+}
diff --git a/x11-misc/x11vnc/metadata.xml b/x11-misc/x11vnc/metadata.xml
new file mode 100644
index 000000000000..5c7cf9889fd4
--- /dev/null
+++ b/x11-misc/x11vnc/metadata.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>alex_y_xu@yahoo.ca</email>
+ <name>Alex Xu</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <longdescription>
+ The primary goal of this program is to create a portable and
+ simple command-line server utility that allows a VNC viewer
+ to connect to an actual X display.
+ </longdescription>
+ <upstream>
+ <remote-id type="sourceforge">libvncserver</remote-id>
+ <remote-id type="github">LibVNC/x11vnc</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/x11vnc/x11vnc-0.9.14_p20161013.ebuild b/x11-misc/x11vnc/x11vnc-0.9.14_p20161013.ebuild
new file mode 100644
index 000000000000..820d6f6ac5e6
--- /dev/null
+++ b/x11-misc/x11vnc/x11vnc-0.9.14_p20161013.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit autotools vcs-snapshot
+
+DESCRIPTION="A VNC server for real X displays"
+HOMEPAGE="https://libvnc.github.io/"
+SRC_URI="https://github.com/LibVNC/x11vnc/archive/e191071c1f375d04ba8f955ea0a30292a485999e.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~sparc-solaris ~x64-solaris ~x86-solaris"
+IUSE="crypt fbcon libressl ssl xinerama zeroconf"
+
+RDEPEND=">=net-libs/libvncserver-0.9.8[ssl?]
+ x11-libs/libX11
+ x11-libs/libXdamage
+ x11-libs/libXext
+ x11-libs/libXfixes
+ x11-libs/libXrandr
+ >=x11-libs/libXtst-1.1.0
+ ssl? (
+ !libressl? ( dev-libs/openssl:0= )
+ libressl? ( dev-libs/libressl:= )
+ )
+ xinerama? ( x11-libs/libXinerama )
+ zeroconf? ( >=net-dns/avahi-0.6.4 )
+"
+DEPEND="${RDEPEND}
+ x11-libs/libXt
+ x11-proto/inputproto
+ x11-proto/trapproto
+ x11-proto/recordproto
+ x11-proto/xproto
+ x11-proto/xextproto
+ xinerama? ( x11-proto/xineramaproto )"
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ # --without-v4l because of missing video4linux 2.x support wrt #389079
+ econf \
+ $(use_with crypt) \
+ $(use_with fbcon fbdev) \
+ $(use_with ssl) \
+ $(use_with ssl crypto) \
+ --without-v4l \
+ $(use_with xinerama) \
+ $(use_with zeroconf avahi)
+}
+
+src_install() {
+ default
+ doinitd "${FILESDIR}/x11vnc.init.d"
+ doconfd "${FILESDIR}/x11vnc.conf.d"
+}
diff --git a/x11-misc/x2vnc/Manifest b/x11-misc/x2vnc/Manifest
new file mode 100644
index 000000000000..a9fdbaf4ebbd
--- /dev/null
+++ b/x11-misc/x2vnc/Manifest
@@ -0,0 +1,6 @@
+AUX expectk.patch 394 SHA256 a938075dab3b9195aec1a191cf1a54dc94b4c85f6f2eb759dc0415f75f6082a8 SHA512 d5a2747bbf8beb5ffe49e68b47dbfb75e44486d14d7b21dcaf871d6c53cc502d4fa1e3583acf92da5d653a5bbb6f01838b4457629cfa3008db56500b6094aab7 WHIRLPOOL 86a412475ef53446c3cc4207a296054184c5026e9be486919768c46be352d674c8966746baf27656d00ac0a23622dfc4924e20cb345612eaa1b5618f2d3fd266
+DIST x2vnc-1.7.2.tar.gz 82258 SHA256 dc076dc0dad1ae4ebf5bc95bf792812b2639e92e127efb9c68de6a53874c7001 SHA512 f9bb9f8b95a6172758d1fd8b97f235088f0815afa21f2e11db77e59b36f8b3fe2fa2d8b922b14ccde1c589851d80489c9fd81d9f734ca9b053e4bc4019eade0b WHIRLPOOL cb675cb7d270d7ad124e1982aabfae3f2570a51e35b17b5d2e1458110a47c9a499da03e787b22b675db7e75f5d1d26219f98be8f2f71ee58e67d269a49179878
+EBUILD x2vnc-1.7.2-r1.ebuild 790 SHA256 99de9543a1ca6c24cbb9865022cbf2a2411cf023e5d5232ab346136c669ff920 SHA512 2050d72a01184072d3b546729c3f7646edaea98a0bd2405509f4b28601e06f38e35db8a897fd064517a1332a419f1998e26072ec341e1644e1d5b7ac40a9996a WHIRLPOOL e06663800e21fb38924ae3ec7da5da5b48269397a9344f426372447808aa9d32096a08eaa261508206a3bf375f4aaefec79334f36945296573cd31e2d53c8c79
+MISC ChangeLog 2766 SHA256 fadebeb3489e01f540860e2e3ef872d43f9a2101499b325412e059a9cc34f700 SHA512 3f58798ac89466016c14c7e01b01fa004c9ef1b7b1d7ef72eb333e9262c191f4d84663764a3570f1533e18bc76ac329f29a177ab4cd5805ce8334fc59d4ebf89 WHIRLPOOL 5aaf8bcee46331a5bf848de90f9df9fe9729b8739bcb4cb8199f8004629d13ad7c054bd6a0a0c896dab723a75183fdf925b101cf4eff7880ce5c5df93f93998a
+MISC ChangeLog-2015 4810 SHA256 1c6eb72c5ce32bc5b61be76b3bfb7e81c042312721f545a4155138de4567072b SHA512 2bbeec075cb6146ad198e0f767a8667e983534ae4a94e1f2f6fde76438d1ac87072f5571c48ce16f6bed8214bee15f899802c36bae67863e89c401d3a2d9a55f WHIRLPOOL abf29d2698bd9b73509dc6f695fc71739958671a314957f4561785fcad8d7552c694c2b74885555c92f8d5cf2d3570949360995e4901677711fa3ef0b296ac43
+MISC metadata.xml 272 SHA256 b389ad9ba70c18154af4fc164e31d5b1e2a4e99815d34319b4a4f46ccef2be52 SHA512 ebe67da08587903b5b82fc194aa3c8f1ab65371f60d2c134928362e089550d9e9fd9531bffe8b676a345b5bf0ab209ce7f50d37d98201a88176f002e17582493 WHIRLPOOL 3d6a9660a11c299dbb7fa3ec6821005f2540dc8fc9e499206d38d79d54023b3ddc66a019b2c88fbc92199b9f5335088b47fa3fdd781f92f2da3ad98b26bc2a50
diff --git a/x11-misc/x2vnc/files/expectk.patch b/x11-misc/x2vnc/files/expectk.patch
new file mode 100644
index 000000000000..5c5ba6887cb1
--- /dev/null
+++ b/x11-misc/x2vnc/files/expectk.patch
@@ -0,0 +1,17 @@
+--- tkx2vnc 2010-03-14 21:31:49.000000000 +0100
++++ tkx2vnc.new 2010-03-14 21:32:58.000000000 +0100
+@@ -1,10 +1,13 @@
+-#!/usr/bin/expectk -f
++#!/usr/bin/wish
+
+ # Name: tkx2vnc
+ # Author: David Noble
+ # Version: 1.0a
+ # Written: May 13, 2002
+ # Modified: May 15, 2002
++# Expect dependency fixed by Patrick Kursawe, March 14, 2010
++
++package require Expect
+
+ proc prompt {} {
+ global prefs
diff --git a/x11-misc/x2vnc/metadata.xml b/x11-misc/x2vnc/metadata.xml
new file mode 100644
index 000000000000..49c86a887b6a
--- /dev/null
+++ b/x11-misc/x2vnc/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+</maintainer>
+</pkgmetadata>
diff --git a/x11-misc/x2vnc/x2vnc-1.7.2-r1.ebuild b/x11-misc/x2vnc/x2vnc-1.7.2-r1.ebuild
new file mode 100644
index 000000000000..06112d6a0e60
--- /dev/null
+++ b/x11-misc/x2vnc/x2vnc-1.7.2-r1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+inherit eutils
+
+DESCRIPTION="Control a remote computer running VNC from X"
+HOMEPAGE="http://fredrik.hubbe.net/x2vnc.html"
+SRC_URI="http://fredrik.hubbe.net/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 ppc sparc x86"
+IUSE="tk"
+
+RDEPEND="x11-libs/libX11
+ x11-libs/libXScrnSaver
+ x11-libs/libXext
+ x11-libs/libXinerama"
+DEPEND="${RDEPEND}
+ x11-proto/scrnsaverproto
+ x11-proto/xproto
+ x11-proto/xineramaproto
+ tk? ( dev-tcltk/expect )"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}/contrib"
+ epatch "${FILESDIR}/expectk.patch"
+}
+
+src_install() {
+ dodir /usr/share /usr/bin
+ make DESTDIR="${D}" install || die
+ use tk && dobin contrib/tkx2vnc
+ dodoc ChangeLog README
+}
diff --git a/x11-misc/x2x/Manifest b/x11-misc/x2x/Manifest
new file mode 100644
index 000000000000..802403646164
--- /dev/null
+++ b/x11-misc/x2x/Manifest
@@ -0,0 +1,9 @@
+DIST x2x-1.27-keymap.diff.gz 1145 SHA256 7a18a9729868325b133fc62f5aaf759db9ebf20192e2d6d16b0dcf32927c7dc1 SHA512 46e0d9cef4b985523e4bf2d6c550d68f488c0975a007433f2a6c03d77541ce0cbdffd44ea29472fa6db4e8b804503cdaf9e8b5f9d72c56d902270cf3291ca37f WHIRLPOOL cec4095420fc46b9a19498aa4bc767605b451ab48369e4a7171ffc7cae3c76ba38bedaaecf9e67500ffff5f7becafde19afde9955b25288e6b4f00204c85a153
+DIST x2x-1.27-license.patch.gz 1001 SHA256 1b78a9de556622c72fd66bbf23245cd62cefe3c4e5ba37971f37c43eab2c9964 SHA512 cdff296ed3ea7d3d72b7d64f4878d94b63ee459a3487668b2174f54e4d2519daa1fb80ffec2cb3ce188032bb72148629cb276eb0d0311ed1f26c3da8066caed8 WHIRLPOOL c1945777befe38bbcc7c70ae89665337d8043d467d249bd5f1b707d1ab20b58766b54280bcd6ce53c3ab30b9473ab4f42fd92fce3799de25705b5149d371eba1
+DIST x2x-1.27.tar.gz 16776 SHA256 d27ffc37d801934e79a91aa8f413d9d6466297995bf7c88156842d1aec040a36 SHA512 c5f8b1ec49f9871bf0d8142a047a2dff9a6ee262dfafd459044c977973dd45e297186961a8793938fc8e328f2553ec4de97e06343bdf3550f3bc3f2368b23131 WHIRLPOOL 6900c30e8c937380812668048c01429a0e7af532042791cecdb5c877b191d146cac3fafc8c47beebea96bcfc983abbe4b03414f85b768c5bc40169e148344028
+DIST x2x_1.27-8-initvars.patch.gz 494 SHA256 b34173edeae1a5dd06ead2f9712ac4f28018b2723921054286d851366cdf9920 SHA512 53060affef7575106932380063616473103c738193fdeab9118e0fb9ec1d1de2fe63f4112e5af82fe38198d0b42a10effde574bb9dee95c8fefdbdf680dbdf01 WHIRLPOOL 369a6af91841fc50435c74bda8f0a76b99669bcd0a1642990746755874c26c2cf7477502f4017c84c6485f3352854985b19634ed06ce7db641307c2a13c18572
+DIST x2x_1.27-8.diff.gz 13291 SHA256 d20fcc3e81ef60ef4720737883642739bb744a1d690c74b33d9086118e8b10ab SHA512 8201ab5fd0efd93adec53cec3b48f7b4de907b2db184ffa6e85a1e16739b4d0021f4562820d0b4730a0f6a2779985b5574973c2b0ceb04b241f0d7dc15060b71 WHIRLPOOL de2e1a36f733dba3050ec22b42d2c394e4e64a16a78dc650fd88839fab3d71f7ab7db202af075bb35f662b41d44561dfb73931d9be86b5374d6ebc9987aca852
+EBUILD x2x-1.27-r3.ebuild 1552 SHA256 52d5d4be98590bd7fffd30527a18808d44e7a0fe1721f9af8db7f994d11ef9fe SHA512 a8ff5beb5ec81b184bb1829c14c27fa65b60f3b6c5b9c42ca404517f16dc2c32dc431a07e64ebe86a635f2a8d2571639f1c22e0d166b9b0ff0419b63f3f63151 WHIRLPOOL d39d0581f8ebac415935de8ce21b4a81ff6e3cc50aa32587e53f27e5eb9bfcbee5b1c3573073a01ff8c064629c5a8a42f3220b256a1ff9eb1f13fdc5d1db8da5
+MISC ChangeLog 2419 SHA256 5d9f1ac46973d28eca33df8304203b3fffe4beb6344e1962f8dfd66a77a27719 SHA512 6e49919801578385738e2eead61e4605e02102e16df840ea910e12fe2a2ec4729b7095d9a65ff70d8d5cd2c6f87634b28a110f555ae84d75890322b7c3c4d3da WHIRLPOOL f4e42066f894d642e335a03110bd781c5bb301e16ec0224f4d35500fd7f42c09ded0eb259326aa91fa1e524678636cce834d035b9d8d432f8ddaac5c0117e2a9
+MISC ChangeLog-2015 3995 SHA256 a686b65d96a02965c2efc05db0758e74b35b0c5f4d189af0fbc44202ee84cf1c SHA512 56fd1915e5d3f1680a6a720ec1ef09fbd8646fef57d1420245494d24785b1a8167f9c5dc22374e7471866d62ae3746b132024bbab96ac9cb449b60fe809eedb3 WHIRLPOOL d0586c102a8d8e3491604d634d566e5b2af7011f51f3527ffea72e9c60d97d0086e82256340b8432b5aaa8dfcebfcc3eea5ae940a903bf21c9d2e6530fc82e2c
+MISC metadata.xml 276 SHA256 437f3dba7deca9da3b3f8ecda9bb5e97253de0412cbb3095d876f39140f3ea98 SHA512 3497963f4fb51bb32521472b54a995091cb457d2cda65c786bd4b46e5af325caf8f6d5c969cefa0c09fe717df09fb015ec59b52f5571c3b2b9d4ea33e6c843ab WHIRLPOOL 8550fd604cf609511bf7c34245ebd6682dd6d058d8cbfa099a77c94d1afcf592909eb679a28a0806957ac0949c6cff350675e0182303ec5890a5e2c2c26d29c5
diff --git a/x11-misc/x2x/metadata.xml b/x11-misc/x2x/metadata.xml
new file mode 100644
index 000000000000..2ba8e9e851e4
--- /dev/null
+++ b/x11-misc/x2x/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/x11-misc/x2x/x2x-1.27-r3.ebuild b/x11-misc/x2x/x2x-1.27-r3.ebuild
new file mode 100644
index 000000000000..491301daa029
--- /dev/null
+++ b/x11-misc/x2x/x2x-1.27-r3.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="A utility to connect the Mouse and KeyBoard to another X"
+HOMEPAGE="http://www.the-labs.com/X11/#x2x"
+LICENSE="x2x"
+SRC_URI="http://ftp.digital.com/pub/Digital/SRC/x2x/${P}.tar.gz
+ mirror://debian/pool/main/x/x2x/x2x_1.27-8.diff.gz
+ mirror://gentoo/x2x_1.27-8-initvars.patch.gz
+ mirror://gentoo/${P}-license.patch.gz
+ mirror://gentoo/${P}-keymap.diff.gz"
+SLOT="0"
+KEYWORDS="amd64 ~arm ~mips ppc x86"
+IUSE=""
+
+RDEPEND="x11-libs/libX11
+ x11-libs/libXtst
+ x11-libs/libXext"
+DEPEND="${RDEPEND}
+ x11-proto/inputproto
+ app-text/rman
+ x11-misc/imake
+ x11-proto/xproto"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ # Patch from Debian to add -north and -south, among other fixes
+ epatch "${DISTDIR}"/x2x_1.27-8.diff.gz
+ # Revert part of debian patch messing with CFLAGS
+ sed -i '/CFLAGS = -Wall/d' Imakefile || die
+
+ # Fix variable initialization in Debian patch
+ epatch "${DISTDIR}"/x2x_1.27-8-initvars.patch.gz
+
+ # Patch to add LICENSE
+ epatch "${DISTDIR}"/${P}-license.patch.gz
+
+ # Patch to fix bug #126939
+ # AltGr does not work in x2x with different keymaps:
+ epatch "${DISTDIR}"/${P}-keymap.diff.gz
+
+ # Man-page is packaged as x2x.1 but needs to be x2x.man for building
+ mv x2x.1 x2x.man || die
+}
+
+src_compile() {
+ xmkmf || die
+ emake CC="$(tc-getCC)" CDEBUGFLAGS="${CFLAGS}" \
+ EXTRA_LDOPTIONS="${LDFLAGS}" || die
+}
+
+src_install () {
+ emake DESTDIR="${D}" install || die
+ newman x2x.man x2x.1 || die
+}
diff --git a/x11-misc/xaos/Manifest b/x11-misc/xaos/Manifest
new file mode 100644
index 000000000000..cbee4ebe89c9
--- /dev/null
+++ b/x11-misc/xaos/Manifest
@@ -0,0 +1,13 @@
+AUX xaos-3.4-include.patch 216 SHA256 5af6025bab16b6da5619d83aa7ef58688625bcb2ed5b1e1d22832c534675c078 SHA512 d3ce4cc8a792ca22e63043d89a427cf46be2dd7e3427aefd364dacb7e721782ed8aefa7eee338fb658d5a2f13704eafbcd03e18ae589186d1c1718ff808337c3 WHIRLPOOL 23061985dcbbd32927c9a142a6ab25a8e644c6b371ecc3bcc54cae9416983ab07933a0d91ffb616ab82cfb7277b25ee5a476c60a48b21676f802faee4db3b6af
+AUX xaos-3.4-png.patch 328 SHA256 4e20fe771648e8fdbfacc3525dfa3341f05b93deacea790c23bb27a7a8d4c3f2 SHA512 90ab707e2a6ad6fec1467afe7ed0f6cb44e5ac965eece94642966010b871fb7b7ef71745485869c7a94c4ddd73b176284a3b6a66866e9539f1dfe9b1934ef26b WHIRLPOOL c590951fddd88d330b9a4a80ba915647e171c77a04c2cda984037b751c6c21e7fec9172787707479ed34d8fd863f1adc70ed4984e35332a558048654ded3885b
+AUX xaos-3.5-build-fix-i686.patch 708 SHA256 f17252481e9f59d8a599321a7a48d0a336702112c5f1c4cb173e592b87448475 SHA512 f1732cc5116f92893fc9e560e293e86df10901655dd12a2e6e81a90b13c216a613c5be60bce7adfc99ee21f5a6208c4f30a6730d1d5d3963e5efcba6d728c481 WHIRLPOOL 2f653a4539e66a4350021623e39ee65da671f0012b6a52140851a9e97640eadaa572b1f03b106f267c73347cd372847605bf24c255613c1b80002dfb008bbde6
+AUX xaos-3.5-gettext.patch 3853 SHA256 6c34508de76b95710a442bdbf8e784bd2593c3e4c14e94dcc73fc249cf2421bd SHA512 bd62bfe5c686a8baaf93aeaee96ad916c299168c19e061c9d50696fb6b34054fef9c34b980df57c373fcdba65ac93ce92cb17520443dccd048b0d59b3c319091 WHIRLPOOL abfce9d4ecf10d52bdfd54d7aceef55f620dce600ef98b6cc4c1d06fb437a07c64ee47c144f549f08163c6950ae2d4da4ae84610ab9e2fd2dc4f36cba93ca5a1
+AUX xaos-3.5-libpng15.patch 4260 SHA256 177ac125fe109a8326df3326df5b50f3a416fa8b9e9703202aefaf7e50bcbe8e SHA512 38881e3fa2f03832db271988dcb0a6a1249bb8e99e1c1ed986686207e17bea56a99ee12b9d794c307fb6bb30c375252fe872957f427610d6df86c9414e1518e7 WHIRLPOOL 2ef71a6537a8e645156c5eb922fb4fe44e64e21ef1d8ede283a01e7ff269e430963a40ae9ac3fcccf73e75cc75a8c1c73ed569415b267b1516c8d5c95c565342
+AUX xaos-3.6-locale-dir.patch 346 SHA256 8439106f0600fd671a18f0e9bd44f3b5cb612b63b2269af6d92884d048c88998 SHA512 c62b6c2b77bdb11bbd970f8f3d6ddc6844a86059918c7a54207a0e57bcd31e2f3feeb3c86f8ce58a3c9ee36939dbbe89ec5359d7fa0d5015dc6ad6cd8de24d6f WHIRLPOOL 13a0d9862c87852a26bd24041138caf1645bdd636e6e8b506854efcdbe00f56c77473a55eb5bf897b8f16792decc1c584d33c431a67ea185e547e3c6f6cf98ce
+AUX xaos-3.6-no-auto-strip.patch 1025 SHA256 d56dced8e2faaf7102fa6ec3a485c71bda4b5110cc68a5163a18b38dd58c4b6b SHA512 6a89bb992e2e503576f18a069c6f67b42a92a3f88b958f4b8b54d6ffc309ff30914cbf36b73400449306cd2ce1f646e9745820206c0be5ca39d26bbc4e469c8c WHIRLPOOL 5caf5e298d8162188d4377eaad65afd9b29e4643685112411a1b00afb4e27fd89efaec7e1ee2cf7e2283f763088412353c2a690f4d37e310807e8dd7fcd9a3cd
+DIST xaos-3.6.tar.gz 2040707 SHA256 989f3e38f7793810cbb1496d5291d44836a7d7c058422b9ee1cffb163a0b8d95 SHA512 5f61df978b7842b84a52cfb28f7daf1a5ab11d9d7adadbd0dd5bfb60240fcb2fc59b2a3d34faff7896c0c44c32daaf3941071d70db3d58b06b1aef1bcd1022c1 WHIRLPOOL c860b2b16150ffd285a0617ba5f1fcd87d6840df47152258cb54c2ea78171574c96427a8ac2ad05cbe7c80c9dde36b290fe3d2681679bd0135df430873dd2d14
+DIST xaos.png.tar 10240 SHA256 23806369fa304bf58439f39d9c672fe7f2b4293b3b1bfcccffd0c7994faeaa6a SHA512 43d51a07ac8014162b0ff4e9bbefdeeca759d3613816a95149b6fd2397b7c661adcfb33bb45b8de4dedfa41d8799ef7df3eacb426712679e867098eaf144a262 WHIRLPOOL 3c13eaf9c287c035cb6fcdd4150daac9e97bedbc258064b53e68095656cac1faf959c691e847e7a263a3c43938e820bb7da6e1589ced9ed33aa2821252b22298
+EBUILD xaos-3.6.ebuild 2211 SHA256 b91eb1bd9a620f8ca3e0b1df513fc8bf2f07bf347c5d8f9792714a5918b9c8e0 SHA512 9bf9e5ccb2e07ab5f1e2bcbe78b5efbb745db8f01fa16491450650acc4c499bc1294ba95e66e042545390184d858ec72d6d3a0f8add560f03806166aed54eb6d WHIRLPOOL 24e5080d0fd649b16ead5197338cf1cc9c38786d6bc21069689993b69f7c01af6d7f3d2c3e1f0fe3dca9f804a2bfbbc5d6624b60e6f9c8aae049b020018bb276
+MISC ChangeLog 2739 SHA256 bfa7638e6b3716f810fa29ba360ce7630c58b8ad62bfaaf02af528bbcd8229a9 SHA512 d8fc21c835d3677d0e1c29cd20a059846c8855aa5e369f97e4ec2d6d71882f2aa5351e03a541c4a2c84636afb6414885b7a36f98f484a661e70c36518f5b6b9a WHIRLPOOL 4bc75846127c5819a1921b275368954b6048cbd06c3b92a4722c5196fe9ec456716cbee5a85fd0b13f77ba1edc26a185654d23deeea763dc89f1dfcbd6aa8cf9
+MISC ChangeLog-2015 6451 SHA256 733f6fdbe0445f31212eef1e7b6c3b472f167ff4c704b5789168e74ef96eb8dc SHA512 d25350354c4a585cd6703dd56af5e47e2a2ad6b0b8d29acc62de6910463a46ba38c01c6eadad778117e7cb1a039cefb1aa29492d178bc691c23611af511773a4 WHIRLPOOL 0209dab795c62cd48606b07d14ad824247d084ce7e48992d6786480f7b38ce75e39ecc7a2fec232c962c08969a90dc99ef73d29e669f80e2ddec8b3f8f8c81d3
+MISC metadata.xml 766 SHA256 508021f22eaa66f171eb66241acff34f7e7119eed746d2223986059b1accb6a8 SHA512 8e3ff6323fadbb15a6144c80bbbe33056072758dabb6e96e8b331f3327ea7e99b2a2c9b87b3532e70a1bd331b9d0e59be8b22c2fcad262eacf317c5b33647519 WHIRLPOOL b11141261b3ef3ecc0dffd64ba5a4e582cbc7b01b9f34f43d25771f30740cbde220d55b151cd0aca07e5903b883c1939d7e13d85a6c0aa2444cd3357780b2fa7
diff --git a/x11-misc/xaos/files/xaos-3.4-include.patch b/x11-misc/xaos/files/xaos-3.4-include.patch
new file mode 100644
index 000000000000..65f7b8c5630c
--- /dev/null
+++ b/x11-misc/xaos/files/xaos-3.4-include.patch
@@ -0,0 +1,7 @@
+--- src/util/thread.c.orig 2009-03-28 10:50:49.817619387 +0000
++++ src/util/thread.c 2009-03-28 10:59:40.048185946 +0000
+@@ -1,3 +1,4 @@
++#include <stdlib.h>
+ #ifndef _plan9_
+ #include <signal.h>
+ #include <stdio.h>
diff --git a/x11-misc/xaos/files/xaos-3.4-png.patch b/x11-misc/xaos/files/xaos-3.4-png.patch
new file mode 100644
index 000000000000..454f8acaa994
--- /dev/null
+++ b/x11-misc/xaos/files/xaos-3.4-png.patch
@@ -0,0 +1,11 @@
+--- configure.in.orig 2009-03-28 09:50:18.764999182 +0000
++++ configure.in 2009-03-28 09:49:18.685947638 +0000
+@@ -98,7 +98,7 @@
+ AC_ARG_WITH(png,
+ [ --with-png=yes/no enables/disables PNG saving support],[
+ if test x$withval = xyes; then
+- png=test
++ png=yes
+ fi
+ if test x$withval = xno; then
+ png=no
diff --git a/x11-misc/xaos/files/xaos-3.5-build-fix-i686.patch b/x11-misc/xaos/files/xaos-3.5-build-fix-i686.patch
new file mode 100644
index 000000000000..4736dd389b5a
--- /dev/null
+++ b/x11-misc/xaos/files/xaos-3.5-build-fix-i686.patch
@@ -0,0 +1,20 @@
+--- xaos-3.5/src/engine/zoomd.c.orig 2009-07-18 00:50:31.000000000 +0100
++++ xaos-3.5/src/engine/zoomd.c 2012-05-20 19:04:55.891065437 +0100
+@@ -280,6 +280,7 @@ dosymetry2(void /*@unused@ */ *data, str
+ #endif
+ #undef bpp1
+
++REGISTERS(0)
+ static INLINE void fillline(int line)
+ {
+ register unsigned char *RESTRICT vbuff = cimage.currlines[line];
+--- xaos-3.5/src/engine/zoom.c.fix-build 2009-07-18 00:50:31.000000000 +0100
++++ xaos-3.5/src/engine/zoom.c 2012-05-20 19:11:53.625083113 +0100
+@@ -933,6 +933,7 @@ static /*INLINE */ void preparemoveoldpo
+ }
+
+ #ifndef USE_i386ASM
++REGISTERS(0)
+ static /*INLINE */ void
+ moveoldpoints(void /*@unused@ */ *data1,
+ struct taskinfo /*@unused@ */ *task,
diff --git a/x11-misc/xaos/files/xaos-3.5-gettext.patch b/x11-misc/xaos/files/xaos-3.5-gettext.patch
new file mode 100644
index 000000000000..b83b24346cd8
--- /dev/null
+++ b/x11-misc/xaos/files/xaos-3.5-gettext.patch
@@ -0,0 +1,88 @@
+diff -ur xaos-3.5.orig/src/i18n/cs.po xaos-3.5/src/i18n/cs.po
+--- xaos-3.5.orig/src/i18n/cs.po 2014-06-08 15:19:23.313803520 +0200
++++ xaos-3.5/src/i18n/cs.po 2014-06-08 15:20:35.071009379 +0200
+@@ -10,6 +10,7 @@
+ "PO-Revision-Date: 2002-08-17 21:44+0200\n"
+ "Last-Translator: MadSoft <madsoft@centrum.cz>\n"
+ "Language-Team: Czech\n"
++"Language: cs\n"
+ "MIME-Version: 1.0\n"
+ "Content-Type: text/plain; charset=ISO-8859-2\n"
+ "Content-Transfer-Encoding: 8-bit\n"
+diff -ur xaos-3.5.orig/src/i18n/de.po xaos-3.5/src/i18n/de.po
+--- xaos-3.5.orig/src/i18n/de.po 2014-06-08 15:19:23.314803662 +0200
++++ xaos-3.5/src/i18n/de.po 2014-06-08 15:20:59.684508120 +0200
+@@ -11,6 +11,7 @@
+ "PO-Revision-Date: 2008-04-27 21:48+0200\n"
+ "Last-Translator: \n"
+ "Language-Team: <de@li.org>\n"
++"Language: de\n"
+ "MIME-Version: 1.0\n"
+ "Content-Type: text/plain; charset=ISO-8859-1\n"
+ "Content-Transfer-Encoding: 8bit\n"
+diff -ur xaos-3.5.orig/src/i18n/es.po xaos-3.5/src/i18n/es.po
+--- xaos-3.5.orig/src/i18n/es.po 2014-06-08 15:19:23.314803662 +0200
++++ xaos-3.5/src/i18n/es.po 2014-06-08 15:21:10.917104552 +0200
+@@ -10,6 +10,7 @@
+ "PO-Revision-Date: 2002-10-04 15:22+0200\n"
+ "Last-Translator: César Pérez <oroz@users.sourceforge.net>\n"
+ "Language-Team: Spanish <es@li.org>\n"
++"Language: es\n"
+ "MIME-Version: 1.0\n"
+ "Content-Type: text/plain; charset=ISO-8859-1\n"
+ "Content-Transfer-Encoding: 8-bit\n"
+diff -ur xaos-3.5.orig/src/i18n/fr.po xaos-3.5/src/i18n/fr.po
+--- xaos-3.5.orig/src/i18n/fr.po 2014-06-08 15:19:23.315803804 +0200
++++ xaos-3.5/src/i18n/fr.po 2014-06-08 15:21:24.653056586 +0200
+@@ -10,6 +10,7 @@
+ "PO-Revision-Date: 2006-02-05 17:35+0200\n"
+ "Last-Translator: Philippe Wautelet <traduc _at_ fractalzone _dot_ be>\n"
+ "Language-Team: French\n"
++"Language: fr\n"
+ "MIME-Version: 1.0\n"
+ "Content-Type: text/plain; charset=ISO-8859-1\n"
+ "Content-Transfer-Encoding: 8-bit\n"
+diff -ur xaos-3.5.orig/src/i18n/hu.po xaos-3.5/src/i18n/hu.po
+--- xaos-3.5.orig/src/i18n/hu.po 2014-06-08 15:19:23.315803804 +0200
++++ xaos-3.5/src/i18n/hu.po 2014-06-08 15:21:49.950651185 +0200
+@@ -10,6 +10,7 @@
+ "PO-Revision-Date: 2002-08-17 21:44+0200\n"
+ "Last-Translator: Zoltan Kovacs <kovzol@math.u-szeged.hu>\n"
+ "Language-Team: Hungarian\n"
++"Language: hu\n"
+ "MIME-Version: 1.0\n"
+ "Content-Type: text/plain; charset=ISO-8859-2\n"
+ "Content-Transfer-Encoding: 8-bit\n"
+diff -ur xaos-3.5.orig/src/i18n/it.po xaos-3.5/src/i18n/it.po
+--- xaos-3.5.orig/src/i18n/it.po 2014-06-08 15:19:23.316803947 +0200
++++ xaos-3.5/src/i18n/it.po 2014-06-08 15:22:00.324125022 +0200
+@@ -11,6 +11,7 @@
+ "PO-Revision-Date: 2008-04-08 10:10+0000\n"
+ "Last-Translator: Sergio Zanchetta <Unknown>\n"
+ "Language-Team: Italian <it@li.org>\n"
++"Language: it\n"
+ "MIME-Version: 1.0\n"
+ "Content-Type: text/plain; charset=ISO-8859-1\n"
+ "Content-Transfer-Encoding: 8bit\n"
+diff -ur xaos-3.5.orig/src/i18n/pt.po xaos-3.5/src/i18n/pt.po
+--- xaos-3.5.orig/src/i18n/pt.po 2014-06-08 15:19:23.316803947 +0200
++++ xaos-3.5/src/i18n/pt.po 2014-06-08 15:22:12.961920461 +0200
+@@ -9,6 +9,7 @@
+ "PO-Revision-Date: 2009-06-01 14:07-0300\n"
+ "Last-Translator: Lucio de Araujo <lucio.matema@gmail.com>\n"
+ "Language-Team: Portuguese <zeliagarcia@seed.pr.gov.br>\n"
++"Language: pt\n"
+ "MIME-Version: 1.0\n"
+ "Content-Type: text/plain; charset=ISO-8859-1\n"
+ "Content-Transfer-Encoding: 8bit\n"
+diff -ur xaos-3.5.orig/src/i18n/ro.po xaos-3.5/src/i18n/ro.po
+--- xaos-3.5.orig/src/i18n/ro.po 2014-06-08 15:19:23.317804089 +0200
++++ xaos-3.5/src/i18n/ro.po 2014-06-08 15:22:21.969200049 +0200
+@@ -10,6 +10,7 @@
+ "PO-Revision-Date: 2008-04-28 11:21+0100\n"
+ "Last-Translator: Zoltan Kovacs <kovzol@matek.hu>\n"
+ "Language-Team: The XaoS Development Team <xaos-devel@lists.sf.net>\n"
++"Language: ro\n"
+ "MIME-Version: 1.0\n"
+ "Content-Type: text/plain; charset=utf-8\n"
+ "Content-Transfer-Encoding: 8bit\n"
diff --git a/x11-misc/xaos/files/xaos-3.5-libpng15.patch b/x11-misc/xaos/files/xaos-3.5-libpng15.patch
new file mode 100644
index 000000000000..beece8339e31
--- /dev/null
+++ b/x11-misc/xaos/files/xaos-3.5-libpng15.patch
@@ -0,0 +1,131 @@
+http://code.google.com/p/gnuxaos/issues/detail?id=55
+
+--- src/util/png.c
++++ src/util/png.c
+@@ -3,6 +3,7 @@
+ #include <aconfig.h>
+ #ifdef USE_PNG
+ #include <png.h>
++#include <zlib.h>
+ #endif
+ #include <stdlib.h>
+ #include <stdio.h>
+@@ -31,6 +32,9 @@
+ png_structp png_ptr;
+ png_infop info_ptr;
+ png_color palette[256];
++ png_color_8 sig_bit;
++ int color_type;
++ int bit_depth;
+ volatile unsigned short a = 255;
+ volatile unsigned char *b = (volatile unsigned char *) &a;
+ #ifdef _undefined_
+@@ -59,7 +63,7 @@
+ png_destroy_write_struct(&png_ptr, (png_infopp) NULL);
+ return "No memory to create png info structure";
+ }
+- if (setjmp(png_ptr->jmpbuf)) {
++ if (setjmp(png_jmpbuf(png_ptr))) {
+ png_destroy_write_struct(&png_ptr, &info_ptr);
+ fclose(file);
+ return strerror(errno);
+@@ -78,57 +82,70 @@
+ png_set_compression_window_bits(png_ptr, 15);
+ png_set_compression_method(png_ptr, 8);
+
+- info_ptr->width = image->width;
+- info_ptr->height = image->height;
+- /*info_ptr->gamma=1.0; */
+- info_ptr->gamma = 0.5;
+- info_ptr->valid |= PNG_INFO_gAMA | PNG_INFO_pHYs;
+- info_ptr->x_pixels_per_unit = (png_uint_32) (100 / image->pixelwidth);
+- info_ptr->y_pixels_per_unit = (png_uint_32) (100 / image->pixelheight);
++ switch (image->palette->type)
++ {
++ case C256:
++ color_type = PNG_COLOR_TYPE_PALETTE;
++ bit_depth = image->bytesperpixel * 8;
++ break;
++ case SMALLITER:
++ case LARGEITER:
++ case GRAYSCALE:
++ color_type = PNG_COLOR_TYPE_GRAY;
++ bit_depth = image->bytesperpixel * 8;
++ break;
++ case TRUECOLOR:
++ case TRUECOLOR24:
++ case TRUECOLOR16:
++ color_type = PNG_COLOR_TYPE_RGB;
++ bit_depth = 8;
++ break;
++ }
+
++ png_set_IHDR (png_ptr, info_ptr, image->width, image->height, bit_depth,
++ color_type, PNG_INTERLACE_NONE, PNG_COMPRESSION_TYPE_BASE,
++ PNG_FILTER_TYPE_BASE);
+
+ switch (image->palette->type) {
+ case C256:
+ {
+ int i;
+- info_ptr->color_type = PNG_COLOR_TYPE_PALETTE;
+- info_ptr->bit_depth = image->bytesperpixel * 8;
+- info_ptr->palette = palette;
+- info_ptr->valid |= PNG_INFO_PLTE;
++ png_color png_palette[257];
++ int png_num_palette;
+ for (i = 0; i < image->palette->end; i++)
+- info_ptr->palette[i].red = image->palette->rgb[i][0],
+- info_ptr->palette[i].green = image->palette->rgb[i][1],
+- info_ptr->palette[i].blue = image->palette->rgb[i][2],
+- info_ptr->num_palette = image->palette->end;
++ png_palette[i].red = image->palette->rgb[i][0],
++ png_palette[i].green = image->palette->rgb[i][1],
++ png_palette[i].blue = image->palette->rgb[i][2],
++ png_num_palette = image->palette->end;
++ png_set_PLTE(png_ptr, info_ptr, png_palette, png_num_palette);
+ }
+ break;
+- case SMALLITER:
+- case LARGEITER:
+- case GRAYSCALE:
+- info_ptr->color_type = PNG_COLOR_TYPE_GRAY;
+- info_ptr->bit_depth = image->bytesperpixel * 8;
+- break;
+ case TRUECOLOR:
+ case TRUECOLOR24:
+ case TRUECOLOR16:
+- info_ptr->color_type = PNG_COLOR_TYPE_RGB;
+- info_ptr->bit_depth = 8;
+- info_ptr->sig_bit.red = 8 - image->palette->info.truec.rprec;
+- info_ptr->sig_bit.green = 8 - image->palette->info.truec.gprec;
+- info_ptr->sig_bit.blue = 8 - image->palette->info.truec.bprec;
++ sig_bit.red = 8 - image->palette->info.truec.rprec;
++ sig_bit.green = 8 - image->palette->info.truec.gprec;
++ sig_bit.blue = 8 - image->palette->info.truec.bprec;
++ png_set_sBIT(png_ptr, info_ptr, &sig_bit);
+ break;
+ }
+- info_ptr->interlace_type = 0;
++
++ png_write_info (png_ptr, info_ptr);
++
+ #ifdef _undefined_
+ png_set_text(png_ptr, info_ptr, comments,
+ sizeof(comments) / sizeof(png_text));
+ #endif
+
+- png_write_info(png_ptr, info_ptr);
++ png_set_gAMA(png_ptr, info_ptr, 0.5 /* 1.0 */);
++ png_set_pHYs(png_ptr, info_ptr, (png_uint_32) (100 / image->pixelwidth),
++ (png_uint_32) (100 / image->pixelheight),
++ PNG_RESOLUTION_UNKNOWN);
++
+ /*png_set_filler(png_ptr,0,PNG_FILLER_AFTER); */
+ png_set_packing(png_ptr);
+ if (image->palette->type & (TRUECOLOR | TRUECOLOR24 | TRUECOLOR16))
+- png_set_shift(png_ptr, &(info_ptr->sig_bit));
++ png_set_shift (png_ptr, &sig_bit);
+ if (*b == 255)
+ png_set_swap(png_ptr);
+ png_set_bgr(png_ptr);
diff --git a/x11-misc/xaos/files/xaos-3.6-locale-dir.patch b/x11-misc/xaos/files/xaos-3.6-locale-dir.patch
new file mode 100644
index 000000000000..740f32d18985
--- /dev/null
+++ b/x11-misc/xaos/files/xaos-3.6-locale-dir.patch
@@ -0,0 +1,11 @@
+--- configure.in.orig 2014-06-09 10:54:18.459186718 -0700
++++ configure.in 2014-06-09 10:56:47.472204763 -0700
+@@ -141,7 +141,7 @@
+ dnl Checks for programs.
+
+ DRIVERDIRS=""
+-LOCALEDIR="/usr/share/locale"
++LOCALEDIR="$prefix/share/locale"
+ DRIVERLIBS="lib/libui.a lib/libui-hlp.a lib/libengine.a lib/libutil.a lib/libfilter.a"
+ AC_PROG_INSTALL
+
diff --git a/x11-misc/xaos/files/xaos-3.6-no-auto-strip.patch b/x11-misc/xaos/files/xaos-3.6-no-auto-strip.patch
new file mode 100644
index 000000000000..ab6e6b56a9b8
--- /dev/null
+++ b/x11-misc/xaos/files/xaos-3.6-no-auto-strip.patch
@@ -0,0 +1,20 @@
+--- Makefile.in.orig 2014-06-09 10:42:00.574129368 -0700
++++ Makefile.in 2014-06-09 10:43:04.035568767 -0700
+@@ -36,7 +36,7 @@
+ @INSTALL@ -d $(DESTDIR)$(datadir)/XaoS/help
+ @INSTALL@ -d $(DESTDIR)$(bindir)
+ @INSTALL@ -d $(DESTDIR)$(mandir)/man6
+- @INSTALL@ -s bin/xaos $(DESTDIR)$(bindir)
++ @INSTALL@ bin/xaos $(DESTDIR)$(bindir)
+ @INSTALL@ -m 444 tutorial/*.x[ah]f $(DESTDIR)$(datadir)/XaoS/tutorial
+
+ @INSTALL@ -m 444 examples/README $(DESTDIR)$(datadir)/XaoS/examples
+@@ -49,7 +49,7 @@
+
+ @INSTALL@ -m 444 catalogs/*.cat catalogs/README $(DESTDIR)$(datadir)/XaoS/catalogs
+ @INSTALL@ -m 444 help/xaos.hlp $(DESTDIR)$(datadir)/XaoS/help
+- @INSTALL@ -m 444 AUTHORS NEWS COPYING TODO INSTALL ChangeLog ChangeLog.old $(DESTDIR)$(datadir)/XaoS/doc
++ @INSTALL@ -m 444 AUTHORS NEWS TODO ChangeLog ChangeLog.old $(DESTDIR)$(datadir)/XaoS/doc
+ @INSTALL@ -m 444 doc/xaos.6 $(DESTDIR)$(mandir)/man6
+ test -z "$(infodir)" || @INSTALL@ -d "$(DESTDIR)$(infodir)"
+ @INSTALL@ -m 444 doc/xaos.info $(DESTDIR)$(infodir)/xaos.info
diff --git a/x11-misc/xaos/metadata.xml b/x11-misc/xaos/metadata.xml
new file mode 100644
index 000000000000..820421b0993a
--- /dev/null
+++ b/x11-misc/xaos/metadata.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>sci@gentoo.org</email>
+ <name>Gentoo Science Project</name>
+ </maintainer>
+ <longdescription lang="en">
+ XaoS is a fast, portable real-time interactive fractal zoomer. It
+ displays the Mandelbrot set (among other escape time fractals) and
+ allows you zoom smoothly into the fractal. Various coloring modes are
+ provided for both the points inside and outside the selected set. XaoS
+ supports switching between Julia and Mandelbrot fractal types and
+ on-the-fly plane switching.
+</longdescription>
+ <upstream>
+ <remote-id type="sourceforge">xaos</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/xaos/xaos-3.6.ebuild b/x11-misc/xaos/xaos-3.6.ebuild
new file mode 100644
index 000000000000..f6eee716fe67
--- /dev/null
+++ b/x11-misc/xaos/xaos-3.6.ebuild
@@ -0,0 +1,99 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+AUTOTOOLS_AUTORECONF=1
+AUTOTOOLS_IN_SOURCE_BUILD=1
+
+inherit autotools-utils eutils
+
+DESCRIPTION="Very fast real-time fractal zoomer"
+HOMEPAGE="http://matek.hu/xaos/doku.php"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz
+ https://dev.gentoo.org/~jlec/distfiles/${PN}.png.tar"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="amd64 ppc sparc x86 ~amd64-linux ~x86-linux"
+IUSE="aalib doc -gtk nls png svga threads X"
+
+RDEPEND="
+ sci-libs/gsl:0=
+ sys-libs/zlib:0=
+ aalib? ( media-libs/aalib:0= )
+ gtk? ( x11-libs/gtk+:2= )
+ nls? ( sys-devel/gettext )
+ png? ( media-libs/libpng:0= )
+ X? ( x11-libs/libX11:0=
+ x11-libs/libXext:0=
+ x11-libs/libXxf86vm:0= )"
+
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ doc? ( virtual/texi2dvi )
+ X? (
+ x11-proto/xf86vidmodeproto
+ x11-proto/xextproto
+ x11-proto/xproto )"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-3.4-png.patch
+ "${FILESDIR}"/${PN}-3.4-include.patch
+ "${FILESDIR}"/${PN}-3.5-build-fix-i686.patch
+ "${FILESDIR}"/${PN}-3.6-locale-dir.patch
+ "${FILESDIR}"/${PN}-3.6-no-auto-strip.patch
+)
+
+src_prepare() {
+ autotools-utils_src_prepare
+ if use nls; then
+ if [[ "${LINGUAS+set}" == "set" ]]; then
+ strip-linguas -i src/i18n
+ sed -i -e '/^ALL_LINGUAS=/d' configure || die
+ export ALL_LINGUAS="${LINGUAS}"
+ fi
+ else
+ sed -i -e '/^ALL_LINGUAS=/d' configure || die
+ fi
+}
+
+src_configure() {
+ local myeconfargs=(
+ --with-sffe=yes
+ --with-gsl=yes
+ $(use_enable nls)
+ $(use_with png)
+ $(use_with aalib aa-driver)
+ $(use_with gtk gtk-driver)
+ $(use_with threads pthread)
+ $(use_with X x11-driver)
+ $(use_with X x)
+ )
+ autotools-utils_src_configure
+}
+
+src_compile() {
+ autotools-utils_src_compile
+ if use doc; then
+ cd "${BUILD_DIR}"/doc
+ emake xaos.dvi
+ dvipdf xaos.dvi || die
+ cd "${BUILD_DIR}"/help
+ emake html
+ fi
+}
+
+src_install() {
+ autotools-utils_src_install
+ if use doc; then
+ insinto /usr/share/doc/${PF}
+ doins doc/xaos.pdf
+ dohtml -r help/*
+ fi
+ local driver="x11"
+ use gtk && driver="\"GTK+ Driver\""
+ make_desktop_entry "xaos -driver ${driver}" "XaoS Fractal Zoomer" \
+ xaos "Application;Education;Math;Graphics;"
+ doicon "${WORKDIR}"/${PN}.png
+}
diff --git a/x11-misc/xautolock/Manifest b/x11-misc/xautolock/Manifest
new file mode 100644
index 000000000000..c386c7b68911
--- /dev/null
+++ b/x11-misc/xautolock/Manifest
@@ -0,0 +1,6 @@
+DIST xautolock-2.2.tgz 35288 SHA256 11f0275175634e6db756e96f5713ec91b8b1c41f8663df54e8a5d27dc71c4da2 SHA512 5f9dcc25cda706610e77a74235c4b421ca3a833d154b1a269057f0774579e1c6ec36fe0e5be5fadd6942ce8c1640a760f891397586b162e6024b524635153d04 WHIRLPOOL c10262350dd39d9e69d491ee2164911ccb6077dd7f8be08981256e4fcb3d7059133fb172360d8f33b12d89e6576f4c4aa6b9d3ea4cdff427e4d5a0dab6ba757c
+DIST xautolock_2.2-5.1.debian.tar.xz 5828 SHA256 52aae5907807b5a39546859e174a30ed0e2dba800bf62c66f5fdb160ba9543d2 SHA512 315f27518b89fa6633e3ce157423cd271f3db3b797fc59febc35aa8b33379bd6eda55ac9c7ccdf996c2d9d50bb6bef3b15add84b39236ace425740238de77e59 WHIRLPOOL 153b319cd804f287d2f5ef026da1a89af0d606cf00840eda0fb31dbaa29e35d5856a878aba8033200b9d177e9b37f674a6c79cd0a6636ad99b9cf54f430a33c2
+EBUILD xautolock-2.2_p5_p1.ebuild 1382 SHA256 54bc38a7e3cc907619dc726f74042352dd2959e48d751dd647628b3bf3755c4f SHA512 5f83774fec75f53de7c5ea8e496f7abaa1ba2d857b3c1630704031da8b60bc1e896f4a3333d112080946692c23aa12512c930b9c02a2ee5a244362ed1b8932f0 WHIRLPOOL 860928bb35438f3881f299951e7233933dbdd50071bfd914dbf1d6788edc11290187e18c9ccc6da6b8839e156fa0aea7e27122e9fde8c46b9fa2976ceb439890
+MISC ChangeLog 3640 SHA256 dade4879fdfef72cadf6508505738d41ace5dc7ad636f622e828588d705b1b13 SHA512 468ffe04b9b36ad5dd320812b1869e54605dc0c8112cc7dfa8d580a230d668453534c6d36f21a797f616eb5bc5e3af4623d434bd366636e50a33de6eb0f696f2 WHIRLPOOL 80b7a5721113617cd3ffe8fbbaabcab919a761ae8163594108094cf93449f913c725217571badfd58a49c705e657fb1e400b7b3f5be1ffe0a06a40f003415209
+MISC ChangeLog-2015 3585 SHA256 3cb44f6b9b11aa478777c41edacd0204ceaf00f715e94f8e92186a8abb6f5164 SHA512 6e2a0c700eeee7255ec9e0367af5cc001d22bcd0001306846d2d53966f1ced0b4d0708d0e6edf603e7443979b69728278c63fa5c3dcf1e7586bcce5c830c09fc WHIRLPOOL e8a6d8e213294935c7083f6680e7194126003da75f98058e090498d71146656cda80e3c4d99fd11237f1fa2bd296b2ee0c0a35daae140ec2bd6543f48802658e
+MISC metadata.xml 276 SHA256 437f3dba7deca9da3b3f8ecda9bb5e97253de0412cbb3095d876f39140f3ea98 SHA512 3497963f4fb51bb32521472b54a995091cb457d2cda65c786bd4b46e5af325caf8f6d5c969cefa0c09fe717df09fb015ec59b52f5571c3b2b9d4ea33e6c843ab WHIRLPOOL 8550fd604cf609511bf7c34245ebd6682dd6d058d8cbfa099a77c94d1afcf592909eb679a28a0806957ac0949c6cff350675e0182303ec5890a5e2c2c26d29c5
diff --git a/x11-misc/xautolock/metadata.xml b/x11-misc/xautolock/metadata.xml
new file mode 100644
index 000000000000..2ba8e9e851e4
--- /dev/null
+++ b/x11-misc/xautolock/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/x11-misc/xautolock/xautolock-2.2_p5_p1.ebuild b/x11-misc/xautolock/xautolock-2.2_p5_p1.ebuild
new file mode 100644
index 000000000000..7192ed11358a
--- /dev/null
+++ b/x11-misc/xautolock/xautolock-2.2_p5_p1.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit toolchain-funcs versionator
+
+DESCRIPTION="An automatic X screen-locker/screen-saver"
+HOMEPAGE="http://www.ibiblio.org/pub/Linux/X11/screensavers/"
+
+DEB_REV_MAJ="$(get_version_component_range 3)"
+DEB_REV_MIN="$(get_version_component_range 4)"
+DEB_REVISION="${DEB_REV_MAJ/p}.${DEB_REV_MIN/p}"
+SRC_URI="
+ ${HOMEPAGE}/${P/_p*/}.tgz
+ mirror://debian/pool/main/x/${PN}/${PN}_${PV/_p*/}-${DEB_REVISION}.debian.tar.xz
+"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc sparc x86"
+
+RDEPEND="
+ || (
+ x11-misc/alock
+ x11-misc/i3lock
+ x11-misc/slim
+ x11-misc/slock
+ x11-misc/xlockmore
+ x11-misc/xtrlock
+ )
+ x11-libs/libXScrnSaver
+"
+DEPEND="
+ ${RDEPEND}
+ app-text/rman
+ x11-misc/imake
+ x11-proto/scrnsaverproto
+"
+
+S=${WORKDIR}/${P/_p*}
+
+PATCHES=(
+ "${WORKDIR}"/debian/patches/10-fix-memory-corruption.patch
+ "${WORKDIR}"/debian/patches/11-fix-no-dpms.patch
+ "${WORKDIR}"/debian/patches/12-fix-manpage.patch
+ "${WORKDIR}"/debian/patches/13-fix-hppa-build.patch
+ "${WORKDIR}"/debian/patches/14-do-not-use-union-wait-type.patch
+)
+
+src_configure() {
+ xmkmf || die
+}
+
+src_compile() {
+ emake \
+ CC="$(tc-getCC)" \
+ CDEBUGFLAGS="${CFLAGS}" \
+ EXTRA_LDOPTIONS="${LDFLAGS}"
+}
+
+src_install () {
+ dobin xautolock
+ newman xautolock.man xautolock.1
+ dodoc Changelog Readme Todo
+}
diff --git a/x11-misc/xautomation/Manifest b/x11-misc/xautomation/Manifest
new file mode 100644
index 000000000000..db3843cc5597
--- /dev/null
+++ b/x11-misc/xautomation/Manifest
@@ -0,0 +1,5 @@
+DIST xautomation-1.09.tar.gz 123995 SHA256 ee8f2c61165da682f58371a51cfc263d6e54609b614e712320b0987779d95f0d SHA512 60de78ef9e4bd605ff2cdf1cd34771940d043a2ba0498a053d54dad82476aa123afe91690e7f57d2f346845d4b1313bc0e4d3df524815265c817961978ef4ad8 WHIRLPOOL 51315082d23227805ce969760e12fadf4fa54b2cf6bfe7ccf93af5e5cf7faed9dfffb8a27fa922560c5720e2dea644a82b1e4d2b568dc69270efd70e06cb1c20
+EBUILD xautomation-1.09-r1.ebuild 530 SHA256 5e0e34630a5073e77d30502d32fa678e00221b8a8aef34902b46cc52d729c1ac SHA512 5f3329aad1bada91335e9e06e41a67fa117b45849ed24cfcd4084f5a0afef09f26793f64c139db6ef222180d290898b21fbef51723b516a6fde5b5630af6a7e5 WHIRLPOOL 0e2063ac957b27015bd6ae112b0e67639549c6d97241fd7183f26fdf0386f872cf428e22e85b8b5c4fe56e03a20f09b628ea1b4f6fd6c1c35ec714d58be59bc5
+MISC ChangeLog 2555 SHA256 63b275c462eedc9d7f70a2e2b108c98dc87f0fb076de8919b819da285aed0258 SHA512 e0d3f352a5aeaa91a01c25522673b53dedc51ea4f65917071cb21f51954c7ebc9b880ccf64856bb2b791e8378e52c6f513a5faf135c489107aaeb3dc2b20a08f WHIRLPOOL 3a23760ac4414457829303cd23e10fc64b2ca2015ad1db62a6da771ea086db1472a5c99d89f3599db5259bbb3c1a08d4a6ab28ad497c8edc38d62094b4c47e33
+MISC ChangeLog-2015 4280 SHA256 678520dc472e0492735315a878c37d1aa423ff4f7567bcf26a806028c7d0101f SHA512 b77153153cb58195f86e6b23dc75afa6f6bd428191b58ccebdb39cf9355b23d09dda3e6978249d0cee5de322cbc93cb96fc1a9e03422fbf31e8d296fce868a90 WHIRLPOOL 87137819e286a8c25a146e3ca5f269656ab0917375de8b2f9a1a7f2e399ba1199ef2804a82f1a3940f437c7fb9d54b699b0fca41b7496f3b50dd7ba27a8fa63a
+MISC metadata.xml 276 SHA256 437f3dba7deca9da3b3f8ecda9bb5e97253de0412cbb3095d876f39140f3ea98 SHA512 3497963f4fb51bb32521472b54a995091cb457d2cda65c786bd4b46e5af325caf8f6d5c969cefa0c09fe717df09fb015ec59b52f5571c3b2b9d4ea33e6c843ab WHIRLPOOL 8550fd604cf609511bf7c34245ebd6682dd6d058d8cbfa099a77c94d1afcf592909eb679a28a0806957ac0949c6cff350675e0182303ec5890a5e2c2c26d29c5
diff --git a/x11-misc/xautomation/metadata.xml b/x11-misc/xautomation/metadata.xml
new file mode 100644
index 000000000000..2ba8e9e851e4
--- /dev/null
+++ b/x11-misc/xautomation/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/x11-misc/xautomation/xautomation-1.09-r1.ebuild b/x11-misc/xautomation/xautomation-1.09-r1.ebuild
new file mode 100644
index 000000000000..920febc767b0
--- /dev/null
+++ b/x11-misc/xautomation/xautomation-1.09-r1.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="Control X from command line and find things on screen"
+HOMEPAGE="http://hoopajoo.net/projects/xautomation.html"
+SRC_URI="http://hoopajoo.net/static/projects/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~arm ppc x86"
+
+RDEPEND="
+ >=media-libs/libpng-1.2:0
+ x11-libs/libX11
+ x11-libs/libXi
+ x11-libs/libXtst
+"
+DEPEND="
+ ${RDEPEND}
+ x11-proto/inputproto
+ x11-proto/xextproto
+ x11-proto/xproto
+"
diff --git a/x11-misc/xbatt/Manifest b/x11-misc/xbatt/Manifest
new file mode 100644
index 000000000000..2ea530b1c059
--- /dev/null
+++ b/x11-misc/xbatt/Manifest
@@ -0,0 +1,8 @@
+AUX xbatt-1.2.1-implicits.patch 297 SHA256 b41d6c234d471c07faf3bc41afe0fbca22051e865061eb49b08e6b317285aefe SHA512 a05010e7e51d2d9ca3d25344c3ed8b3d6c1761660140b7759827e30043ec0af75a444330eeee264df79fa89874886e120469d2f47ef2672471dbc6aed2e0cda4 WHIRLPOOL 666ed73b09ac7f22f709997e3760298d04fc875ccc711ce3bf070aea4e3d80da5b3c5d598a6094ec433a421f98f33df7228996423fb6d7780b28566f8023e593
+DIST xbatt-1.2.1.tar.gz 12779 SHA256 6c184c23e2be2b4934ccfcae39b158d5bab81e9f602a412bdbce57b436fd3b66 SHA512 db96f89e3abecd23532305069806ac094d5a31797f6f730d0f0d5345ac3f339286a5e3bcfc73d42a44a666bcbc768c955b9c3d8ca2fd28bd8239dfa109fe7020 WHIRLPOOL ba4268f33202b576b39837894c71172660d4103f07e11081d3e215828f87738067ac1798c50469342d29baa7d6523e7ff30aba91b5f7a57ebac5c48cce3b2506
+DIST xbatt-1.3pr1.tar.gz 14412 SHA256 aa41269247dd818ce1f92a16af3ea286ac34b395cb39daa1196fca5adfb5ed4b SHA512 f6022a2d464e22a31c8246f20c4dcab2be381ec63a02fb9ac1d3e28dc9bdf26a949735b2eba800941f5dfde371913ea7a560413191197c44a0c156a58a60d41d WHIRLPOOL abf6148df8ae8be6ea328f41b801c28e675959b6b0ec9a4b684fa7ce6c1b3b757209176203ac0bb318eff0dfc246b939853227fb02862684f983b60e8aa7652b
+EBUILD xbatt-1.2.1-r1.ebuild 813 SHA256 52146b6c5b663466be6bc6bf528fa45539e0a42f87a3811dbe0a35f4f3c0156b SHA512 8e624ad0a2c1ab2d04b04aea873e43e0de259d4ed78c7b70cc85a10f2378e2c98c7a38437709a102f087f410dbd814efdd10bf72635e93a3ddee6abe9ae014f5 WHIRLPOOL 03b28db85afb72b0ab2956c8c2d507c66a4c67cad36cfd680c87eab2db550203ca704ace08280b7f9774bb512fb3a5a6b66b333615ea179faba0049e047a023e
+EBUILD xbatt-1.3_rc1.ebuild 920 SHA256 a44d4f56edfbe68323b3b657ec55529eeb13fe2545616298a51e1b5140f58d3a SHA512 2fe26d597ee3bd90ee45b000eb487182f662b925dc106a868292ef5ee33bdf9ecbbbda9cf25554d283dc95547ab46b5daa06b198bce7c884164802ae54ddda60 WHIRLPOOL 2aa47869489ab43bc6672c9edb913d19fe3356fed016cf56199f072d6d1e34e53c1e2f5d11bd864c27b38fda838d24f92005590d6161b057b35a1ce97ba90c4f
+MISC ChangeLog 2517 SHA256 27b021e55e2801d2ef482b7472a51f9b3e11b8a6371836a3a773a802028f5c77 SHA512 d70ffbe904528fe042ce5e0834e5f1bab4b99f9031d4dc90f4b9dcf624974879282de7b96f8079654c41696f6ea8460caa3f27471ccd57742451a588ed2c29f4 WHIRLPOOL c1cf9fdcaf1ec88edc3706a2bc486451143d4f7259d9669890b644d12942c95b46dbcfb2bd3a7f5974d6a247cb8a26f4b56c3642e6a2ce45e54199346a9e2b9d
+MISC ChangeLog-2015 2467 SHA256 348ec8b5a725600d00d8853a10cf16c702eb6cbe1fc740afec8e10e9f9f2e4e7 SHA512 4f6b96f805f507d5f42bb71b29c491876de77000a40d492ae0748eeada00638e95073ed4ac354a87991aab30cd15bbcd42d029a482e78384d4df4080cf030617 WHIRLPOOL 01e62139e8ce94bb02a365772de96a788b5ca163f0497979544237985ed430dcc78bab600c8bde365367ea497dfb9aeacda61434275607588dc9f9cd1ca4c148
+MISC metadata.xml 318 SHA256 218a00bda7df7396b1c9db4fea27cc69073dd039cb1db1e55d34cfd004209500 SHA512 7d56445a5c7fffdc1104633cdd30eafa17588079b8a1f4cb226984b1aad4e41fe84320608681143dc01c5f1ac5f104cf0717e8183164031644220f9c61086a3b WHIRLPOOL 15d65bcdc3289c77c194a26721b45e700d54a771e5a63d29a52d431b1ac8922ee7ddd7ca11b10dbbb72ba3fd70daa5fba7dba875de04362ab9c489e70d9fb895
diff --git a/x11-misc/xbatt/files/xbatt-1.2.1-implicits.patch b/x11-misc/xbatt/files/xbatt-1.2.1-implicits.patch
new file mode 100644
index 000000000000..d86e42ef3fc8
--- /dev/null
+++ b/x11-misc/xbatt/files/xbatt-1.2.1-implicits.patch
@@ -0,0 +1,14 @@
+Fix implicit functions declarations
+
+--- xbatt.c
++++ xbatt.c
+@@ -47,6 +47,9 @@
+ #include <time.h>
+ #include <sys/file.h>
+ #include <sys/ioctl.h>
++#include <unistd.h>
++#include <stdlib.h>
++#include <X11/IntrinsicP.h>
+ #include <X11/StringDefs.h>
+ #include <X11/Intrinsic.h>
+ #include <X11/Shell.h>
diff --git a/x11-misc/xbatt/metadata.xml b/x11-misc/xbatt/metadata.xml
new file mode 100644
index 000000000000..66187a0f4213
--- /dev/null
+++ b/x11-misc/xbatt/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/x11-misc/xbatt/xbatt-1.2.1-r1.ebuild b/x11-misc/xbatt/xbatt-1.2.1-r1.ebuild
new file mode 100644
index 000000000000..2030809b7733
--- /dev/null
+++ b/x11-misc/xbatt/xbatt-1.2.1-r1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=2
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Notebook battery indicator for X"
+HOMEPAGE="http://www.clave.gr.jp/~eto/xbatt/"
+SRC_URI="http://www.clave.gr.jp/~eto/xbatt/${P}.tar.gz"
+
+LICENSE="xbatt"
+SLOT="0"
+KEYWORDS="~amd64 ppc x86"
+IUSE=""
+
+RDEPEND="x11-libs/libX11
+ x11-libs/libXmu
+ x11-libs/libXt
+ x11-libs/libXaw
+ x11-libs/libXext
+ x11-libs/libxkbfile
+ x11-libs/libXpm"
+DEPEND="${RDEPEND}
+ x11-proto/xextproto
+ x11-misc/imake"
+
+src_prepare(){
+ epatch "${FILESDIR}"/${P}-implicits.patch
+}
+
+src_compile() {
+ xmkmf || die
+ emake xbatt CDEBUGFLAGS="${CFLAGS}" CC="$(tc-getCC)" \
+ EXTRA_LDOPTIONS="${LDFLAGS}" || die
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+ dodoc README* || die
+}
diff --git a/x11-misc/xbatt/xbatt-1.3_rc1.ebuild b/x11-misc/xbatt/xbatt-1.3_rc1.ebuild
new file mode 100644
index 000000000000..a3d3a1f562f4
--- /dev/null
+++ b/x11-misc/xbatt/xbatt-1.3_rc1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=2
+
+inherit versionator eutils toolchain-funcs
+
+MY_PV=${PV/_rc/pr}
+DESCRIPTION="Notebook battery indicator for X"
+HOMEPAGE="http://www.clave.gr.jp/~eto/xbatt/"
+SRC_URI="http://www.clave.gr.jp/~eto/xbatt/${PN}-${MY_PV}.tar.gz"
+
+LICENSE="xbatt"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+RDEPEND="x11-libs/libX11
+ x11-libs/libXmu
+ x11-libs/libXt
+ x11-libs/libXaw
+ x11-libs/libXext
+ x11-libs/libxkbfile
+ x11-libs/libXpm"
+DEPEND="${RDEPEND}
+ x11-proto/xextproto
+ x11-misc/imake"
+
+S="${WORKDIR}"/${PN}-$(get_version_component_range 1-2)
+
+src_prepare(){
+ epatch "${FILESDIR}"/${PN}-1.2.1-implicits.patch
+}
+
+src_compile() {
+ xmkmf || die
+ emake xbatt CDEBUGFLAGS="${CFLAGS}" CC="$(tc-getCC)" \
+ EXTRA_LDOPTIONS="${LDFLAGS}" || die
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+ dodoc README* || die
+}
diff --git a/x11-misc/xbattbar/Manifest b/x11-misc/xbattbar/Manifest
new file mode 100644
index 000000000000..5f91ced2267f
--- /dev/null
+++ b/x11-misc/xbattbar/Manifest
@@ -0,0 +1,10 @@
+AUX xbattbar-1.4.3.patch 1206 SHA256 b84759e1152c5c9988f4e283e08773557b785c91261f022f5cddd8bbf5b49237 SHA512 e8adf912868b6fef383b9c09783c7a74c74e95446c3d4e37555b2b8cec1d7753ad6ba50de308c51f3a536dc19f616e1bf1363e98153d33e87988ba3fe3d2aa5a WHIRLPOOL 7b24193fc84f86292d8b549d0c69e090f502ca72a658ab7c51ae53b69de0994f401470cac4728dba45f2ca48450f4ef40cd613c3bb4e7237c65873f5254ef4f8
+AUX xbattbar-1.4.5.patch 1427 SHA256 de265721020668420aa436387e586464f0611a66da1cedfd0bb167eb7a7c72c3 SHA512 190df4894fcb29f5b2b5387523429947b967e48fb710ad256f8ba31bf33d22e04b4325ba3d6b3228aee14257e241815a5b99c4284d1cedb6b4e977e47a9c54df WHIRLPOOL 81f2d9b3b706f1a256337043cb86615f90416bbd726007a3db77fa22f822c12ecc2427edd87e62ce80ebafd34c3319ee10557ee606de6270a5ca3c41615c2948
+AUX xbattbar-1.4.8-const.patch 303 SHA256 1e93eeb6c8ac5a8195ad2742dcd152f4db207be8168182f0b9b339a22eeea95d SHA512 987116af9d8e50b6ef96924199e5d348a9910030adbe2b2a8de0425107eee93cfe04740b343542c97edc6ed846bcff05724470b6fff1f5209c92c42e8648af0b WHIRLPOOL c162a1bb55e1b16176c2e245b58a2a77786ddd31e400ed2bac0ca8b2e1a380c67da969489d2f979cfec8959a2de25b2943bd0b89017b85d559ed1e3f6d0260be
+DIST xbattbar_1.4.3.orig.tar.gz 15722 SHA256 8f4963bac20836538530a738b7b921543e1381ea01f457c26937efba981292d9 SHA512 1c809de998cae1dd4652b20d5c8fecf8f674910893fd458115beae8f873452a82c276afeef9b1ce3293498e372a74add190dc6a447ef0de219df98c5c36fae32 WHIRLPOOL a6639a36f2473d2f47b01ae698817e5a5054db853306c3d793c5e3f1951bf7c6a576c28174b21723c72f1e9fb133df0a12dfef9f930b6448550f46d375708ced
+DIST xbattbar_1.4.8.orig.tar.gz 16254 SHA256 d7f5cb83a783c3f3376ddb83b90bec90a70d62ff30b8819cf674bf9341677939 SHA512 1ec535ba997da4aa08b225b61b22eb87d74fc15c522d30f5361e1f56db6fd774f4230a95afdb7f1170144c0939724a80118c7289ea50d027a76649fa20164191 WHIRLPOOL 8cd6d35ee4d75df20babd4127ac7be6ac9ff2086fcc10572bff65af1a9d1635bf9ec2590d2aebec56b2c6aaf99d18368490092dc730325d92e4aa2eee2e88981
+EBUILD xbattbar-1.4.3.ebuild 902 SHA256 22c6724d582157dc47281158f4ca7ceb5fa4148a3a8844a2a9c6e2651b35c7e6 SHA512 34696dc48ee16955280f979adf447e1622c2436d230852a6bf9021e1e4d98ec978025d273d482079a11de2f996e3690f03af68777ff54113345957ac88c866f2 WHIRLPOOL 97414c383ee1e69b2aaa72ee401b6d3361152ecbc461b3fc00d9c5e75deb5b5fde8bc2f776135abfe81ff2f149443498574ad81ab9ec2a1b9b7621253e7ce21d
+EBUILD xbattbar-1.4.8.ebuild 1088 SHA256 32254fb1a2eee08bd1727bd3c41a100498e87a060ac6fabe390dec37e7ee21e5 SHA512 2dee2fa91f616b9fbdc43f43a4b8b2f1aa8e2f2c3f6c9cb4dc02535a9d5541f262faa5d56fcc352383ae7f5454371ee5b6b45c9daaa4af900a3f9d9e6fc8dd09 WHIRLPOOL 9f51c46fecf285f22f8fdef1dc56cecb5b2550738c94720e79b15bc9163d2b60f21ef7ddeaa9a515f02a9a841b2fdcdfac20044eb15dfe463dcd91df39716760
+MISC ChangeLog 2822 SHA256 f836ca85491d180ba30bfce53b7ca1fc29152cca5e5b89fa25dd20ba4908e51b SHA512 f23e162210a55cb5b5ab0531815908ba2d8593dce987d15b31f9d8c2d353c3bfca88c817e795f00846329df5de61f9e4d2f893502c7a09884581d737dd5d6cb7 WHIRLPOOL 0ca8a474caea537c54cb9190bec385fcd81a1cdcc02b13d777f1045971dcfa26895a78c332aa8c681b83b898f399506ab35a1707f6e43ddcb4a8d93cb864176c
+MISC ChangeLog-2015 2471 SHA256 04ee3cde8fab8e4b5cd6c4f50ff4101104fc17d3755b7eca50cb58cbb5f34c5f SHA512 b06bf5d6212ddda67306fcb8b188de9b0c3efddbd7d3fb75fa0fef6bd1077f8e54c658b55358506d4a50f2871058ddbac7c2b6d43845de8d1a82cf0f30e48a30 WHIRLPOOL 61217e4928b35406a284c298cebf87159d158ccfad90e030b8d6ca728952170974eb724dbb525cdc5d55aa6d7d29ee625c6b338c17367ae24e97800e290a6f82
+MISC metadata.xml 276 SHA256 437f3dba7deca9da3b3f8ecda9bb5e97253de0412cbb3095d876f39140f3ea98 SHA512 3497963f4fb51bb32521472b54a995091cb457d2cda65c786bd4b46e5af325caf8f6d5c969cefa0c09fe717df09fb015ec59b52f5571c3b2b9d4ea33e6c843ab WHIRLPOOL 8550fd604cf609511bf7c34245ebd6682dd6d058d8cbfa099a77c94d1afcf592909eb679a28a0806957ac0949c6cff350675e0182303ec5890a5e2c2c26d29c5
diff --git a/x11-misc/xbattbar/files/xbattbar-1.4.3.patch b/x11-misc/xbattbar/files/xbattbar-1.4.3.patch
new file mode 100644
index 000000000000..ad5b9e49c1fa
--- /dev/null
+++ b/x11-misc/xbattbar/files/xbattbar-1.4.3.patch
@@ -0,0 +1,38 @@
+--- Makefile
++++ Makefile
+@@ -8,16 +8,16 @@
+ all: $(TARGET) $(APM_CHECK)
+
+ $(TARGET): obj/xbattbar.o
+- gcc -o $@ $< -lX11
++ $(CC) $(LDFLAGS) $(CFLAGS) -o $@ $< -lX11
+
+ obj/xbattbar.o: xbattbar.c obj/stamp
+- gcc -MMD -o $@ -c $<
++ $(CC) $(CFLAGS) -MMD -o $@ -c $<
+
+ $(APM_CHECK): obj/xbattbar-check-apm.o
+- gcc -o $@ $<
++ $(CC) $(LDFLAGS) $(CFLAGS) -o $@ $<
+
+ obj/xbattbar-check-apm.o: xbattbar-check-apm.c obj/stamp
+- gcc -MMD -D$(OS_TYPE) -o $@ -c $<
++ $(CC) $(CFLAGS) -MMD -D$(OS_TYPE) -o $@ -c $<
+
+ obj/stamp:
+ mkdir obj
+@@ -29,11 +29,11 @@
+
+
+ install: $(TARGET) $(APM_CHECK)
+- install -d -m 0755 $(DESTDIR)/usr/lib/$(PROJECT)
++ install -d -m 0755 $(DESTDIR)/usr/lib$(LIB_SUFFIX)/$(PROJECT)
+ install -d -m 0755 $(DESTDIR)/usr/bin
+ install -d -m 0755 $(DESTDIR)/usr/share/man/man1
+- install -m 0755 $(APM_CHECK) $(DESTDIR)/usr/lib/$(PROJECT)/
+- install -m 0755 xbattbar-check-acpi $(DESTDIR)/usr/lib/$(PROJECT)/
++ install -m 0755 $(APM_CHECK) $(DESTDIR)/usr/lib$(LIB_SUFFIX)/$(PROJECT)/
++ install -m 0755 xbattbar-check-acpi $(DESTDIR)/usr/lib$(LIB_SUFFIX)/$(PROJECT)/
+ install -m 0755 $(TARGET) $(DESTDIR)/usr/bin/
+ install -m 0644 xbattbar.man $(DESTDIR)/usr/share/man/man1/$(PROJECT).1
+
diff --git a/x11-misc/xbattbar/files/xbattbar-1.4.5.patch b/x11-misc/xbattbar/files/xbattbar-1.4.5.patch
new file mode 100644
index 000000000000..2602bb91187a
--- /dev/null
+++ b/x11-misc/xbattbar/files/xbattbar-1.4.5.patch
@@ -0,0 +1,40 @@
+--- a/Makefile
++++ b/Makefile
+@@ -11,16 +11,16 @@
+ all: $(TARGET) $(APM_CHECK)
+
+ $(TARGET): obj/xbattbar.o
+- gcc -o $@ $< -lX11 $(LDFLAGS)
++ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(shell $(PKG_CONFIG) --libs x11)
+
+ obj/xbattbar.o: xbattbar.c obj/stamp
+- gcc -MMD -o $@ -c $< $(CFLAGS)
++ $(CC) $(CFLAGS) $(LDFLAGS) -MMD -o $@ -c $<
+
+ $(APM_CHECK): obj/xbattbar-check-apm.o
+- gcc -o $@ $< $(LDFLAGS)
++ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $<
+
+ obj/xbattbar-check-apm.o: xbattbar-check-apm.c obj/stamp
+- gcc -MMD -D$(OS_TYPE) -o $@ -c $< $(CFLAGS)
++ $(CC) $(CFLAGS) $(LDFLAGS) -MMD -D$(OS_TYPE) -o $@ -c $<
+
+ obj/stamp:
+ mkdir obj
+@@ -32,12 +32,12 @@
+
+
+ install: $(TARGET) $(APM_CHECK)
+- install -d -m 0755 $(DESTDIR)/usr/lib/$(PROJECT)
++ install -d -m 0755 $(DESTDIR)/usr/$(LIBDIR)/$(PROJECT)
+ install -d -m 0755 $(DESTDIR)/usr/bin
+ install -d -m 0755 $(DESTDIR)/usr/share/man/man1
+- install -m 0755 $(APM_CHECK) $(DESTDIR)/usr/lib/$(PROJECT)/
+- install -m 0755 xbattbar-check-acpi $(DESTDIR)/usr/lib/$(PROJECT)/
+- install -m 0755 xbattbar-check-sys $(DESTDIR)/usr/lib/$(PROJECT)/
++ install -m 0755 $(APM_CHECK) $(DESTDIR)/usr/$(LIBDIR)/$(PROJECT)/
++ install -m 0755 xbattbar-check-acpi $(DESTDIR)/usr/$(LIBDIR)/$(PROJECT)/
++ install -m 0755 xbattbar-check-sys $(DESTDIR)/usr/$(LIBDIR)/$(PROJECT)/
+ install -m 0755 $(TARGET) $(DESTDIR)/usr/bin/
+ install -m 0644 xbattbar.man $(DESTDIR)/usr/share/man/man1/$(PROJECT).1
+
diff --git a/x11-misc/xbattbar/files/xbattbar-1.4.8-const.patch b/x11-misc/xbattbar/files/xbattbar-1.4.8-const.patch
new file mode 100644
index 000000000000..818aa38fdbb3
--- /dev/null
+++ b/x11-misc/xbattbar/files/xbattbar-1.4.8-const.patch
@@ -0,0 +1,11 @@
+--- a/xbattbar-check-apm.c
++++ b/xbattbar-check-apm.c
+@@ -210,7 +210,7 @@
+ #define APM_STAT_LINE_ON 1
+
+ typedef struct apm_info {
+- const char driver_version[10];
++ char driver_version[10];
+ int apm_version_major;
+ int apm_version_minor;
+ int apm_flags;
diff --git a/x11-misc/xbattbar/metadata.xml b/x11-misc/xbattbar/metadata.xml
new file mode 100644
index 000000000000..2ba8e9e851e4
--- /dev/null
+++ b/x11-misc/xbattbar/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/x11-misc/xbattbar/xbattbar-1.4.3.ebuild b/x11-misc/xbattbar/xbattbar-1.4.3.ebuild
new file mode 100644
index 000000000000..50b76944e6f3
--- /dev/null
+++ b/x11-misc/xbattbar/xbattbar-1.4.3.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=2
+inherit eutils flag-o-matic multilib toolchain-funcs
+
+DESCRIPTION="Advanced Power Management battery status display for X"
+HOMEPAGE="https://packages.qa.debian.org/x/xbattbar.html"
+SRC_URI="mirror://debian/pool/main/x/${PN}/${PN}_${PV}.orig.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ppc x86"
+IUSE=""
+
+DEPEND="dev-lang/perl
+ x11-libs/libX11"
+RDEPEND="${DEPEND}
+ !ppc? ( >=sys-power/acpi-1.5 )" # ppc has APM
+
+# XXX: Avoiding imake in purpose here.
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}.patch
+
+ sed -i \
+ -e "s:usr/lib:usr/$(get_libdir):" \
+ xbattbar.c || die
+}
+
+src_compile() {
+ [[ $(tc-arch) == amd64 ]] && export LIB_SUFFIX=64
+ tc-export CC
+ use kernel_linux && append-flags -Dlinux
+ emake || die
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+ dodoc README
+}
diff --git a/x11-misc/xbattbar/xbattbar-1.4.8.ebuild b/x11-misc/xbattbar/xbattbar-1.4.8.ebuild
new file mode 100644
index 000000000000..1d3780e53a04
--- /dev/null
+++ b/x11-misc/xbattbar/xbattbar-1.4.8.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+PYTHON_COMPAT=( python2_7 )
+inherit eutils flag-o-matic multilib python-single-r1 toolchain-funcs
+
+DESCRIPTION="Advanced Power Management battery status display for X"
+HOMEPAGE="https://packages.qa.debian.org/x/xbattbar.html"
+SRC_URI="mirror://debian/pool/main/x/${PN}/${PN}_${PV}.orig.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DEPEND="
+ dev-lang/perl
+ x11-libs/libX11
+"
+RDEPEND="
+ ${DEPEND}
+ ${PYTHON_DEPS}
+ !ppc? ( >=sys-power/acpi-1.5 )
+" # ppc has APM
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}"/${PN}-1.4.5.patch \
+ "${FILESDIR}"/${PN}-1.4.8-const.patch
+
+ sed -i \
+ -e "s:usr/lib:usr/$(get_libdir):" \
+ xbattbar.c || die
+
+ tc-export PKG_CONFIG
+}
+
+src_compile() {
+ use kernel_linux && append-flags -Dlinux
+ emake \
+ CC=$(tc-getCC) \
+ LIBDIR="$(get_libdir)" \
+ LDFLAGS="${LDFLAGS}"
+ python_fix_shebang ${PN}-check-sys
+}
+
+src_install() {
+ emake DESTDIR="${D}" LIBDIR="$(get_libdir)" install
+ dodoc README
+}
diff --git a/x11-misc/xbindkeys/Manifest b/x11-misc/xbindkeys/Manifest
new file mode 100644
index 000000000000..df4fe07f8710
--- /dev/null
+++ b/x11-misc/xbindkeys/Manifest
@@ -0,0 +1,5 @@
+DIST xbindkeys-1.8.6.tar.gz 151941 SHA256 6c0d18be19fc19ab9b4595edf3a23c0a6946c8a5eb5c1bc395471c8f9a710d18 SHA512 3c77541eae9f87d2020c2272984c221094276dae2a8690c5cec9fe1b23c0139229b8f56876170da70684aeaa128642349b6835c375d473186cbf8123517173ba WHIRLPOOL b590aa52e9965b9360ecf43286e59dd240480b731769f7cccea5872925a296d8a3ea173a5326f07b377475f08a40a5e245487361e6a700ed7e0f71a143849af5
+EBUILD xbindkeys-1.8.6.ebuild 634 SHA256 31a7569c7c3288577e510cd0c441bb3aeb4edfc09477215766f3a06734c64b39 SHA512 32c781e1c959179ae6949806f79a7a275a6f590a19bfab1f81fccf8d1bddffb315f5d1f28bf1057649a3e5944d322b5d0c2bd508b56d814d6373a15a31de1b44 WHIRLPOOL ad75fe1ae74f7d653cd4a0b3e29c945b261f90e15a9b998464cc898b204c0edbc35f9dce52cdbed8d9cddfbbad82e09f357691e6227088a00f7b5aef82bee455
+MISC ChangeLog 2433 SHA256 104f010fe1a147e3691a35b12f301c807f290156e1c0ff6bc3325d4d0db8bbc7 SHA512 75b5b34ad9ce1fed5378abe7b3d2eec71fd9efe01be4703c720afd8af322ddd8dea00056e255b37fd066fbf9d775a0a43df180f9f26d047078da383515893f96 WHIRLPOOL 08595b34fef0c30edc607c84ac0ca2b1813522310ee7c48d1a4d96f65f013cbaf8f8cd350d5e0c613d668957cf3072f4de51abe5ede671c5a6c809c52aea7c9d
+MISC ChangeLog-2015 8770 SHA256 bd047e2e7a1ebf03d146b21860ace4c1dae538d1140e4c6fc289eba73e988bfa SHA512 a1780c15e2a26276724986572d2461c49346e9c4e2f095ced1f9296e2737ccea9d091c256021ac1a87c16fef828f10f5a11eaa96a953783357e3417681d6bf5f WHIRLPOOL 3e8522c6ca46d5506ccf1bc72514bf08e7186418229daae1610f88706cf07f759ac317e3d2a1164f076759224410582f086a0631cac3913f82853238f585c9bb
+MISC metadata.xml 276 SHA256 437f3dba7deca9da3b3f8ecda9bb5e97253de0412cbb3095d876f39140f3ea98 SHA512 3497963f4fb51bb32521472b54a995091cb457d2cda65c786bd4b46e5af325caf8f6d5c969cefa0c09fe717df09fb015ec59b52f5571c3b2b9d4ea33e6c843ab WHIRLPOOL 8550fd604cf609511bf7c34245ebd6682dd6d058d8cbfa099a77c94d1afcf592909eb679a28a0806957ac0949c6cff350675e0182303ec5890a5e2c2c26d29c5
diff --git a/x11-misc/xbindkeys/metadata.xml b/x11-misc/xbindkeys/metadata.xml
new file mode 100644
index 000000000000..2ba8e9e851e4
--- /dev/null
+++ b/x11-misc/xbindkeys/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/x11-misc/xbindkeys/xbindkeys-1.8.6.ebuild b/x11-misc/xbindkeys/xbindkeys-1.8.6.ebuild
new file mode 100644
index 000000000000..b1814ef74740
--- /dev/null
+++ b/x11-misc/xbindkeys/xbindkeys-1.8.6.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+DESCRIPTION="Tool for launching commands on keystrokes"
+SRC_URI="http://www.nongnu.org/${PN}/${P}.tar.gz"
+HOMEPAGE="http://www.nongnu.org/xbindkeys/xbindkeys.html"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~arm ppc ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris"
+IUSE="guile tk"
+
+RDEPEND="x11-libs/libX11
+ guile? ( >=dev-scheme/guile-1.8.4[deprecated] )
+ tk? ( dev-lang/tk )"
+DEPEND="${RDEPEND}
+ x11-proto/xproto"
+
+src_configure() {
+ econf \
+ $(use_enable tk) \
+ $(use_enable guile)
+}
diff --git a/x11-misc/xbitmaps/Manifest b/x11-misc/xbitmaps/Manifest
new file mode 100644
index 000000000000..02cfca2ff680
--- /dev/null
+++ b/x11-misc/xbitmaps/Manifest
@@ -0,0 +1,5 @@
+DIST xbitmaps-1.1.1.tar.bz2 113346 SHA256 3671b034356bbc4d32d052808cf646c940ec8b2d1913adac51b1453e41aa1e9d SHA512 172a74014e699e5f295ae726a77f1669baf4ac00d64a138b77e5502102b2a02c10127f35ccea5b6af5479d17f60a6bb63ac0f943fd071ab8b396d43ef314ae61 WHIRLPOOL 7117fc51777231332b1792e7cc7d761276f8ff4e88baa46d64206fac71fdad6fd5cad93a1bd105d0262e986faf2ab39613ea063c2b182d8c624b168261dda23e
+EBUILD xbitmaps-1.1.1-r1.ebuild 469 SHA256 5e6fe048970f3de53ae9dbeb9a6e85f27afbe3794bfcc40c4f263459b0283bca SHA512 00b7997e9722f3fffca67a76590239658e8c3cb1d42f173e055608b0eaae0f81fd0978bfb95b2017df2a15d05efd2f08c2807a32269cc33c1443b3c6190f75c4 WHIRLPOOL f418564e54205c2bc61d14b7a6430680f9a2cae51f830b30526b68a2df95b5daeaba9a2bef4a93f458173ace73a48edabcec133d7250e81c3f503454d30f40b4
+MISC ChangeLog 2430 SHA256 11f7397abfa7d78a181b3e721696e8c83a380129b15f55a1edc816c6dcd5341b SHA512 30a9fcaff996ef81895f6f47f4398c20b2f8f070bbbe0919a897122c60e1da3befa4dd6b087684e21f225fa9ad59bd5f6013a792afbd9ca256b33e07fa29ad32 WHIRLPOOL 69afe66dab5c9f9f0e09c88e21d10b49c697a085fc89e88bd760c02383eb536f968762b9d62111663771cd029994d6f79fcaed91e3eeb24f63f04b784b724bb7
+MISC ChangeLog-2015 5282 SHA256 f1e6f14e4374dfce328f5a8869ac4cafa78a2fc2f786c5b3de6ab0119a279e00 SHA512 9018a5e1302457cb7264ead679c122734b6ef4035288e6f798da3a7cca4f0531985369468e1f896a20913a7f19f62e23e3ea5b029ad484471c9de204db43a4ae WHIRLPOOL 70bb7ee0fef57594aa1265c7e8e7bc4fe8655930680ae34547b8d4d8a6b940236cdfb49a3e5c5949cd18bed598722bc05d3168fea0b2ec5f53b29affcbb14920
+MISC metadata.xml 230 SHA256 677e4595d00a3098fde05ae33118b9ac05867dc5729c9cd579dc8badd1a28f68 SHA512 d7a2643abd1904cc5ff4d91cbb6f1baeb7f75fd1db542c5e14f19412f4f0bd4b903f8e703a7662ba7482c79dac5529057760b6427599d35e0842755fd946e057 WHIRLPOOL 4866c82c6428eae526c0a514c988e4119221f77b0e8bfb04fec713dd3ba516c69afc776a0c6f53c29abfd8507aa23801614db1ba544dd0a0dd4d6a9462c27306
diff --git a/x11-misc/xbitmaps/metadata.xml b/x11-misc/xbitmaps/metadata.xml
new file mode 100644
index 000000000000..e943b72b8a48
--- /dev/null
+++ b/x11-misc/xbitmaps/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>x11@gentoo.org</email>
+ <name>X11</name>
+</maintainer>
+</pkgmetadata>
diff --git a/x11-misc/xbitmaps/xbitmaps-1.1.1-r1.ebuild b/x11-misc/xbitmaps/xbitmaps-1.1.1-r1.ebuild
new file mode 100644
index 000000000000..e3e272ec36ba
--- /dev/null
+++ b/x11-misc/xbitmaps/xbitmaps-1.1.1-r1.ebuild
@@ -0,0 +1,15 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+XORG_MODULE=data/
+XORG_STATIC=no
+inherit xorg-2
+
+DESCRIPTION="X.Org bitmaps data"
+KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
+IUSE=""
+
+RDEPEND=""
+DEPEND="${RDEPEND}"
diff --git a/x11-misc/xcalendar/Manifest b/x11-misc/xcalendar/Manifest
new file mode 100644
index 000000000000..4819a3f4cc58
--- /dev/null
+++ b/x11-misc/xcalendar/Manifest
@@ -0,0 +1,7 @@
+AUX xcalendar-4.0-implicits.patch 381 SHA256 6d84f6b075b0e838863a5732f16ceac0bdc8203bd3a289fc4f126aedf00f6a87 SHA512 56c68560d2f2d75b5e7427e870189771f85994e934f7d813eaa89e34002d769b9aa1e24ab49a84a395d1535963802a249171e423e47c5d0e741e1a6e9a07fbc2 WHIRLPOOL ac1c9a0b478bfcf52dc08ef2414fcae292a7252b38739a6f73124da66d84f1998607f34f44a2e9f18185ef91c63cafa60a248bf59a37d3e1bd124a405d1d8cbe
+AUX xcalendar-4.0-motif-gentoo.diff 1104 SHA256 c1f3fdc391f51db457b7fe1de066a6f1faced4b31d69715fbd9e2d12e847c135 SHA512 b6f15a68e2698a1d3f8dca2be8cc0751dae447268c6bca76aeccaa5a919dc31d3675fbb8d49d7d0d3293c50835b2628346f1ea5f7eb1da6152bb1ac73282ad59 WHIRLPOOL 2f14d7ffd352fe052837aff63438d9c3aea1b6e8ead0c7fd836388d28026099bb7dfb29c92d24697fee9f9c1dfdb20f218884dfd65f87428c1a979ec267a4f65
+DIST xcalendar-4.0+i18n.tar.gz 48635 SHA256 f4c45d863c2a8a04bfcc4180cb06bd13bbdc26f855578e99b1e459e834c6fd7f SHA512 c9b3756bf857e4956360cb3efa1e185bdc09d6053e1b8db040822c73320589ef825330184fa3a8b949f94a89a6ef56438927886b3740922a4bca7dbab9285a4d WHIRLPOOL b47aff079b633ab696346cd08b2fb1a7a078d077f2a47240d0ef6fd4399fc9cfbe008024e0f8b73c90422fda49d4af8569a39cf7c11d747138dcd77c6e2d3c84
+EBUILD xcalendar-4.0-r2.ebuild 1269 SHA256 f716013e0273621ebe1db4b77cf19b185cf39ae2d2d1a398284c6c2af350d343 SHA512 a51be4c83036c5ba6f867626576c9d0abd1508b679c66135561ebc4a3f1f914242a0d6da185c39b7593b613142bc6a6d3c23e7acf713fc6e316f9f6fb39bb3fc WHIRLPOOL c9e2ab4e373175c9b34dda495fa145bbf482957fd5599da60790306b4e8b8b2fc7cef904b41a5db8ad897814c1410061c11f8d90c4c7296b012ffda5fd428247
+MISC ChangeLog 2517 SHA256 6b7cad9e9c3bb694e4fe358895a25752b50c411535dc4bebe555a098a5b402bc SHA512 53adab1a51128a5a7970996b33113b08238f652377abea29247cb370abd45fee276d6d3f6e11f87e99e107c33e6329113ae593b5855bd6a16b8ea9a3c9a73cf3 WHIRLPOOL 9e3700f57bfb31f0ff86a302498f34dd9667e30a3d914727c7d6ef0e596027a67aa8c664dfd64bf203d8ca657f009a7c50ff5c8cc9309afe80788139e37b0ee7
+MISC ChangeLog-2015 4050 SHA256 d8a59ea8a68d75c62e7e40f84ef476b0795a58fa43cfc80b29fce531e70c0ed1 SHA512 9b48768baf0bd0105cf76b13b36f46d999941fccb35d1922b8f46424300aad509b94b49b6c24a90655b97a1c5a6ed473853571ca3d4fdeaf08905b1f8ad1cf96 WHIRLPOOL 6ec28c7db632b3e07b18cbcfd26788954b62af861bfa961de85a7d08121679519996d04bed2e89cb1ced8a874040922a464dedb811beea853cc75363111a8f30
+MISC metadata.xml 276 SHA256 437f3dba7deca9da3b3f8ecda9bb5e97253de0412cbb3095d876f39140f3ea98 SHA512 3497963f4fb51bb32521472b54a995091cb457d2cda65c786bd4b46e5af325caf8f6d5c969cefa0c09fe717df09fb015ec59b52f5571c3b2b9d4ea33e6c843ab WHIRLPOOL 8550fd604cf609511bf7c34245ebd6682dd6d058d8cbfa099a77c94d1afcf592909eb679a28a0806957ac0949c6cff350675e0182303ec5890a5e2c2c26d29c5
diff --git a/x11-misc/xcalendar/files/xcalendar-4.0-implicits.patch b/x11-misc/xcalendar/files/xcalendar-4.0-implicits.patch
new file mode 100644
index 000000000000..977ca96e572f
--- /dev/null
+++ b/x11-misc/xcalendar/files/xcalendar-4.0-implicits.patch
@@ -0,0 +1,22 @@
+Fix implicit functions declarations
+
+--- xcalendar/xcalendar.h
++++ xcalendar/xcalendar.h
+@@ -37,6 +37,7 @@
+
+
+ #include <stdio.h>
++#include <stdlib.h>
+ #include <X11/Xos.h>
+ #include <X11/Xlib.h>
+ #include <X11/Intrinsic.h>
+--- xcalendar/lists.c
++++ xcalendar/lists.c
+@@ -25,6 +25,7 @@
+
+ #include "xcalendar.h"
+
++is_last(LList *list);
+
+ List
+ CreateList(length, elementSize)
diff --git a/x11-misc/xcalendar/files/xcalendar-4.0-motif-gentoo.diff b/x11-misc/xcalendar/files/xcalendar-4.0-motif-gentoo.diff
new file mode 100644
index 000000000000..a35d98bcb814
--- /dev/null
+++ b/x11-misc/xcalendar/files/xcalendar-4.0-motif-gentoo.diff
@@ -0,0 +1,26 @@
+--- xcalendar.orig/Imakefile Sat Sep 30 20:19:17 1995
++++ xcalendar/Imakefile Tue Aug 20 08:37:48 2002
+@@ -1,18 +1,18 @@
+ XCALENDAR_LIBDIR = $(LIBDIR)/xcalendar
+ LIBFILES = larrow.xbm qmark.xbm quit.xbm rarrow.xbm xcalendar.hlp
+ # Comment out the following two lines for the Motif version
+-LOCAL_LIBRARIES = $(XAWLIB) $(XMULIB) $(XTOOLLIB) $(XLIB)
+- EXTRA_DEFINES = -DATHENA
++#LOCAL_LIBRARIES = $(XAWLIB) $(XMULIB) $(XTOOLLIB) $(XLIB)
++# EXTRA_DEFINES = -DATHENA
+ # Uncomment the following two lines for the Motif version
+-# LOCAL_LIBRARIES = -L/usr/local/Motif/lib -lXm $(XMULIB) $(XTOOLLIB) $(XLIB)
+-# EXTRA_DEFINES = -I/usr/local/Motif/include
++ LOCAL_LIBRARIES = -lXm $(XMULIB) $(XTOOLLIB) $(XLIB)
++ EXTRA_DEFINES =
+ SRCS = xcalendar.c dayeditor.c lists.c
+ OBJS = xcalendar.o dayeditor.o lists.o
+
+ #
+ # for Internationalization
+ #
+-EXTRA_DEFINES = -DXI18N -DATHENA
++#EXTRA_DEFINES = -DXI18N -DATHENA
+ ##if !SharedLibXwchar
+ # _UseCat($(USRLIBDIR),$(CONTRIBSRC)/lib/Xwchar,/libXwchar.a)
+ # XWCHARLIB = LoaderLibPrefix _Use(-lXwchar,$(DEPXWCHARLIB))
diff --git a/x11-misc/xcalendar/metadata.xml b/x11-misc/xcalendar/metadata.xml
new file mode 100644
index 000000000000..2ba8e9e851e4
--- /dev/null
+++ b/x11-misc/xcalendar/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/x11-misc/xcalendar/xcalendar-4.0-r2.ebuild b/x11-misc/xcalendar/xcalendar-4.0-r2.ebuild
new file mode 100644
index 000000000000..13ec7c00d2c3
--- /dev/null
+++ b/x11-misc/xcalendar/xcalendar-4.0-r2.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit toolchain-funcs
+
+DESCRIPTION="A simple interactive calendar program with a notebook capability"
+HOMEPAGE="http://www.freebsd.org/"
+SRC_URI="ftp://daemon.jp.FreeBSD.org/pub/FreeBSD-jp/ports-jp/LOCAL_PORTS/${P}+i18n.tar.gz"
+
+LICENSE="HPND"
+SLOT="0"
+KEYWORDS="alpha amd64 ppc ppc64 x86 ~x86-fbsd"
+IUSE="motif"
+
+RDEPEND="x11-libs/libX11
+ x11-libs/libXmu
+ x11-libs/libXt
+ x11-libs/libXaw
+ x11-libs/libXext"
+DEPEND="${RDEPEND}
+ x11-misc/imake
+ x11-proto/xproto
+ x11-misc/gccmakedep
+ motif? ( >=x11-libs/motif-2.3:0 )"
+
+S=${WORKDIR}/${PN}
+PATCHES=( "${FILESDIR}"/${P}-implicits.patch )
+
+src_prepare() {
+ use motif && PATCHES+=( "${FILESDIR}"/${P}-motif-gentoo.diff )
+ default
+ sed -e "s:%%XCALENDAR_LIBDIR%%:/usr/$(get_libdir)/xcalendar:" \
+ -e "s:/usr/local/X11R5/lib/X11/:/usr/$(get_libdir)/:" \
+ -i XCalendar.sed || die
+}
+
+src_compile() {
+ xmkmf -a || die
+ emake CC="$(tc-getCC)" CDEBUGFLAGS="${CFLAGS}" EXTRA_LDOPTIONS="${LDFLAGS}"
+}
+
+src_install() {
+ dobin xcalendar
+ newman xcalendar.man xcalendar.1
+
+ insinto /usr/share/X11/app-defaults
+ newins XCalendar.sed XCalendar
+
+ insinto /usr/$(get_libdir)/xcalendar
+ doins *.xbm *.hlp
+
+ einstalldocs
+}
diff --git a/x11-misc/xcalib/Manifest b/x11-misc/xcalib/Manifest
new file mode 100644
index 000000000000..7bd5e5afb688
--- /dev/null
+++ b/x11-misc/xcalib/Manifest
@@ -0,0 +1,5 @@
+DIST xcalib-0.9.0_p20161210.tar.gz 36687 SHA256 ff8eebe34da3b9e548ea94cc4ecd741e06509f85e2a4fe7a586cf80bd4bb863c SHA512 31d9159a67082cd0c63d6ed0e34872cd776adbaf14dca754a6ae2355d24a972a6db5811a3d7e69e24c88534c7f63e8d1285304272bd293e3a93c35c240d99907 WHIRLPOOL 3b16eb8860d43a2e761fb2e6023e74b5363bb8402975fbfd2ec0749e0d706c6fbd987275e3dc2a87b5b04d93604c3a20ebf5f67f88bb38972ac3f46b37b160fb
+EBUILD xcalib-0.9.0_p20161210.ebuild 584 SHA256 84ca8afb86dd861071296cb8d110ba36fdd1412c70dfac681aff0c32252baf99 SHA512 fbc739ba04d6ba757d3216f71c264a956b2f3fc850a0683a6fa813a1de650547249de778bfb0e001b865bbf173925ded2279cdd2cefc6107dcb6d3b120602d51 WHIRLPOOL df034f63d339033b139cf4423a65f4ff88a6757b568cb774e3e5bde17cc4490cffcca587424b4ab88c6f61e2f7ccae1873add6c2b71b5812cdcbdcf6d3ad8935
+MISC ChangeLog 3153 SHA256 e6ce5f606466e7e24425124d9f6fd3a034f1485a2986813c6610e8192a3bf678 SHA512 49a005a992417d61367db30ca7f4ea5d22df40444e32f3851991ae4017c5a74471a823e60743713a0043dddb1cd45cd029125374a415fd1b33e3c4fb58f1a086 WHIRLPOOL e215a5fac33f898ab07609e6d2533bfc226538b7c3f9a0e04aeb55422bb7e475b8271d507070cfa96aeb38fc60a99f14ef296df31785b32ae7636fd58602edef
+MISC ChangeLog-2015 1938 SHA256 dcb1d6b4b9bb9c99f4895574b5c0051203e1962cbc09b0d3e3ebe6ab5229893c SHA512 a5dfeb86cae0798a53ef557b8a97fb33492b03432084575d5f441df395fca2cae7b31ed3d0c89488489eb9e4df59c6cbc53b6316d8f314803553b95863b5bc75 WHIRLPOOL e00bebea38a8f53fe70ec7d11cdf6aa9c924248b6b226a0a0908b080e28c02943a9fe2624c9d42e3ad06059a0ee0411ddb47d916dd3b1e4f6c4601803ce8e654
+MISC metadata.xml 261 SHA256 b7fb7ef66e698fea11bbced794d7490f06eb61d0760799b3444e9fbf1846fcc2 SHA512 998e9c0c2f1a166088ec7e42ad68edc520448dcaf96eeac2eeaf329e5064ae216d025a483be6dfd9b22bb434e8675fe93a4e49beb745ef5b673a3670686caa28 WHIRLPOOL 134fb736a6ae616dcba33e36c2466f8bf47bcc0043e30828cd5d2a8d4ea57d205be5cbc80bb987c577b6f69bace2db51b9f457a8eeb8c5127ea0285bb27f1fa1
diff --git a/x11-misc/xcalib/metadata.xml b/x11-misc/xcalib/metadata.xml
new file mode 100644
index 000000000000..f26d6de2744f
--- /dev/null
+++ b/x11-misc/xcalib/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <upstream>
+ <remote-id type="github">OpenICC/xcalib</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/xcalib/xcalib-0.9.0_p20161210.ebuild b/x11-misc/xcalib/xcalib-0.9.0_p20161210.ebuild
new file mode 100644
index 000000000000..52da368b475d
--- /dev/null
+++ b/x11-misc/xcalib/xcalib-0.9.0_p20161210.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils
+
+DESCRIPTION="A tiny monitor calibration loader for X.org"
+HOMEPAGE="https://github.com/OpenICC/xcalib"
+COMMIT="95c932996cfc9f792dea4a6c49fec3c1ed2267ac"
+SRC_URI="${HOMEPAGE}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+RDEPEND="
+ x11-libs/libX11
+ x11-libs/libXrandr
+ x11-libs/libXxf86vm
+"
+DEPEND="${RDEPEND}
+ x11-libs/libXext
+ x11-proto/xf86vidmodeproto
+"
+
+S="${WORKDIR}/${PN}-${COMMIT}"
diff --git a/x11-misc/xcape/Manifest b/x11-misc/xcape/Manifest
new file mode 100644
index 000000000000..aea9b47d8939
--- /dev/null
+++ b/x11-misc/xcape/Manifest
@@ -0,0 +1,7 @@
+DIST xcape-1.1.tar.gz 18458 SHA256 69ae927a6b2b1268a809b9c3af7c4f94584458f022beb6e2ca3e6bc3ba8a6d4a SHA512 6234e50a38003249eae563ff22ce923c3032e44b358e8e49550001c60246be1159a47f60f52d42040dda88d5396228b8daf4f0f4b03db2bcfc514c634c81540f WHIRLPOOL 1fa89d34143fb98adabdb2b41528352a3f4cd6778324f07ffbd17a921c7fded07a91555eb877361af8452cfd3d516a5eecf6c8ac3ebf565ae89d032ee2c9b06d
+DIST xcape-1.2.tar.gz 18730 SHA256 a27ed884fd94f03058af65a39edfe3af3f2f8fbb76ba9920002a76be07fb2821 SHA512 5ae8502250a9ec55a4b0c5f7301c1597c652b76904261153b720362e3c5882e8db980c85396a2594f99ae2fb72ab7070c1b06c9432d54b7da84975ff45b25a79 WHIRLPOOL a895f38eddfaae2a4408c0e49f1b732283bb4b080f1fd36c8a031ccd7ce51112c58c40f9d9ef4fc1754e51ae2301cd499ad580d0828c937c212331d332354ac0
+EBUILD xcape-1.1.ebuild 809 SHA256 1483de4f6e3adad5c461bcd4326ad81a20ec4885e5d6ae692a4367544caa18f8 SHA512 9b6ab8a7bb34169e7b68f62da70ab9c0385610e52516fd9945a9eb4a39a99de49040d93d294f6f1b0cbdf9a18d9f7a4e3ae3f6761b38b437847be89bb9a5f15b WHIRLPOOL 47bac468c8cedcc78e4726bb0f518aa2b0d1d18c1da6aae329ec6bbbc612e35f1f577b9483d3792b955954a09ca43ca95832436f5d289204007f1773cf32290f
+EBUILD xcape-1.2.ebuild 823 SHA256 cfcafd71d8dae9b8ccebaba288c8c8162f7f6f91b836e7203a9b47a0eab6f4c1 SHA512 cc4c785ef595fc64ac059debdf57f832c7569745c8cfa6262b3bc47106d62e09469faa02fda5d37dbfd014876e7f7ee4a6aa62f947be85c945a8e35fdb7f1026 WHIRLPOOL da86705a9d8968080e44cc93c2d23938bf857874497df19b41952cdbc27836ade131433a7b1dc8d6527c078c7c21eb9c2fd27e6da5fd0a8be7fa38025865bf20
+MISC ChangeLog 2461 SHA256 4ac7722d210f7380d854cff8a855c4b67b34054d6902dcb4cb20b6f4e2b18abd SHA512 957a08b2899277005a8243da8c4e40d64f1d7aabb159085bf90c52db9ccdcc2fdbbc886698f15f848a561e6daacb78fa3ced9d4be2a114d4bcba816e3a5ec34d WHIRLPOOL ae6b55e817da56a17969034779d7a8a1ad8e22443defa41d92be6fb54c31655a0e05d9f0b5f020f72b35643a6580e8acb005edd8664ff1229f3c1c5454159b02
+MISC ChangeLog-2015 665 SHA256 133b6e75edb3c4f85b05c11e8c2c63a4d005b5a386e2e157da4acf4c8cf080fd SHA512 af76b57270cdf407570e6a01d9205639e00a0c781134dc6b76a2de0fdafd833e8cb3f1b7bf1423fbdde1139e541cb104ce8d595884846871e74d4920ace4639d WHIRLPOOL 01511aa2dacc28cdf310e712fe1f3c0fb687520b8972e4352e876ac0cf7530a33edceaabc127980612f8053a1c7ba3bb36e53f3c3a52f6f0e2fc056dd0692de9
+MISC metadata.xml 468 SHA256 d1a204307ccb27d4237ae80ffe0bef4e780503097a4c73aab56759f91525fa12 SHA512 44dfec11e036796198361e6833a4a59bdf2c04af447e3b4e5b2ea53a4d0e5d98695c9d2d72dc15d6c9c974be4a0c70a7aa7d4c99855dc958862c2c16a98fef50 WHIRLPOOL b618318c10973a9c79c096a67e256d05b5bb66bdb308f8ff7e5adb4ff934765291145301fa25a509d8503a53cedcb17ee808777b190fc816548ea66ba102f8ef
diff --git a/x11-misc/xcape/metadata.xml b/x11-misc/xcape/metadata.xml
new file mode 100644
index 000000000000..203afc385611
--- /dev/null
+++ b/x11-misc/xcape/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>aditsu@yahoo.com</email>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">alols/xcape</remote-id>
+ <bugs-to>https://github.com/alols/xcape/issues</bugs-to>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/xcape/xcape-1.1.ebuild b/x11-misc/xcape/xcape-1.1.ebuild
new file mode 100644
index 000000000000..977f0de67883
--- /dev/null
+++ b/x11-misc/xcape/xcape-1.1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Utility to make modifier keys send custom key events when pressed on their own"
+HOMEPAGE="https://github.com/alols/xcape"
+SRC_URI="https://github.com/alols/xcape/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+
+RDEPEND="x11-libs/libX11
+ x11-libs/libXtst"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_prepare() {
+ # Fix path to man and to pkg-config
+ sed -i \
+ -e "/MANDIR/s:local:share:" \
+ -e "s/pkg-config/$(tc-getPKG_CONFIG)/" \
+ Makefile || die
+
+ epatch_user
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)"
+}
+
+src_install() {
+ emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
+}
diff --git a/x11-misc/xcape/xcape-1.2.ebuild b/x11-misc/xcape/xcape-1.2.ebuild
new file mode 100644
index 000000000000..48e5ae1a3290
--- /dev/null
+++ b/x11-misc/xcape/xcape-1.2.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit toolchain-funcs
+
+DESCRIPTION="Utility to make modifier keys send custom key events when pressed on their own"
+HOMEPAGE="https://github.com/alols/xcape"
+SRC_URI="https://github.com/alols/xcape/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+
+RDEPEND="x11-libs/libX11
+ x11-libs/libXtst"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_prepare() {
+ default
+
+ # Fix path to man and to pkg-config
+ sed -i \
+ -e '/MANDIR/s:local:share:' \
+ -e 's/pkg-config/${PKG_CONFIG}/' \
+ Makefile || die
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)" PKG_CONFIG="$(tc-getPKG_CONFIG)"
+}
+
+src_install() {
+ emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
+}
diff --git a/x11-misc/xcave/Manifest b/x11-misc/xcave/Manifest
new file mode 100644
index 000000000000..8b5262af84e0
--- /dev/null
+++ b/x11-misc/xcave/Manifest
@@ -0,0 +1,5 @@
+DIST xcave-2.4.0.tar.gz 817356 SHA256 e561850fe4fc4c7ac5ea592dd43590a4049cd2cc52595333ba953d660d9dc533 SHA512 cdba5ad8b7634004a9439fd87a8eb8ed45137e78cb119310c6b7df9352aa979682edaae6440200804e23953c822d377c95cf459cc37ce227d1a41885a91afba4 WHIRLPOOL e9c4b6469adc7a6183cd431efa86ead19fd246a408b23fa84135942532531635ad9be6136145578963720944f8895d672e9b4625933e900333c75d15b56f3136
+EBUILD xcave-2.4.0.ebuild 565 SHA256 7699e2b2047c5513f6da95e716654ec8c5d46dabc00d7ad4185d8b1347d7c29f SHA512 d381cfa8a33476d4246e3364288d99d952c451267721f559fb2e1a5f2515c84fb127c978e214ea1cbd6636ecf58e828129e6ec86e859077d4799aae27f534040 WHIRLPOOL 13ab6d5bb80500a0a22e906927ce20c77621ee975afa29251cb8626bc64c964a7dc2d3e65127740cdda7bbeeeb1ed611f599dfe369aac63683d9773ccd0be67f
+MISC ChangeLog 2587 SHA256 e587319169ed1f83579d01b67d13eca43f0ee2db21b35298e8ecae3a846e10bf SHA512 b266b26fa1459785cda8b5dee74fb55cc89157eb25ff3b99bad847b7318f71a46914037ddc54d8f8de4fc977ee82c38e92c7237af64232d2034977f06eff3cd0 WHIRLPOOL 8412150376e70ed012c02f9fb1cdc5e22ec99de5d8b11b5c144d24e2d95dcd94bb0574cf7b52ca462adbe37d70efdd2934c5b58ab3290efe139d6a7249af5922
+MISC ChangeLog-2015 896 SHA256 573995b6674a21b502cc4ee33e1b39c51c696ddf9e9b79cce1c4039f01eda05e SHA512 e61d95c79fb396b9fd07710c00e0c1a6fed1635aadb668aa1107c38efd2df3f9c242ddaec1f54db3d90e3226766825ce84339ae952e0d79a9fcc082293b056a6 WHIRLPOOL f6ea706e40419355946d90a7265375ca52505a763e9084d21c681f9b8079b4ff8b392e5c62c3cfe4522af15359c41a5aa3b66366c1853f9eee01ef29bac71755
+MISC metadata.xml 282 SHA256 ac9236162462e1562a26e596e7dd457a448f9367ff1a5a27ec3513ecade3026b SHA512 06c94ffb49c985c4344b170b902427ca9ce0c23b6d68330af227ab1771794f8e8b6d0ef75b5f69293c8ef0d3264c8799e1389ccdf8dfbe7c665c6477c07479e4 WHIRLPOOL 615c807081b4bef1734f1dbf9a182cb27b7de0e9bcdebd880c6b9c1ab01b95721076ddc4b4e75e93b8f777020bfd52459e9e4b1a9deb41baacc44f6cde05fd36
diff --git a/x11-misc/xcave/metadata.xml b/x11-misc/xcave/metadata.xml
new file mode 100644
index 000000000000..bc1b97e1eb76
--- /dev/null
+++ b/x11-misc/xcave/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/x11-misc/xcave/xcave-2.4.0.ebuild b/x11-misc/xcave/xcave-2.4.0.ebuild
new file mode 100644
index 000000000000..656794b7c4d5
--- /dev/null
+++ b/x11-misc/xcave/xcave-2.4.0.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+
+DESCRIPTION="View and manage contents of your wine cellar"
+HOMEPAGE="http://xcave.free.fr/index-en.php"
+SRC_URI="http://${PN}.free.fr/backbone.php?what=download/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+RESTRICT="test"
+
+RDEPEND=">=x11-libs/gtk+-2.8:2
+ dev-libs/libxml2"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ sys-devel/gettext
+ dev-util/intltool"
+
+src_install() {
+ default
+ dodoc ChangeLog TODO
+ rm -rfv "${D}"/usr/doc
+}
diff --git a/x11-misc/xcb/Manifest b/x11-misc/xcb/Manifest
new file mode 100644
index 000000000000..262b2e766267
--- /dev/null
+++ b/x11-misc/xcb/Manifest
@@ -0,0 +1,5 @@
+DIST xcb-2.4.tar.gz 19830 SHA256 21f25d05907fa3c8393b21474e81f4043af43fb087265f1753a5d57d068bc295 SHA512 cc612231cd61507a1af1a12fab7684b074ec99ec87e82bcba13dba215d4569c0605d3861f40d858f87da9b027c440a02f03b18a968c1d73ab08b8ee41e644948 WHIRLPOOL 92c872b6567cc9525255cc2e4ff808cd7735baa5a1cacc61b56471fd24d852c74d5d21bb837b81eb7baba9725f060bed25b7d34c255514b8f0b0482c56c90a83
+EBUILD xcb-2.4-r1.ebuild 966 SHA256 5195421a04c92ea939aba4c44bef16d58a04ee81fdb7594dd69e74e5e619fa01 SHA512 375e27ebc8e5191bd86be66ed39e4a3f85ce848a7c7bbf47e8a6032973bdf94e9d44ff3c43cbd667e8e2cfde5e96e09142f185584127a1ca41fa8b805d475c85 WHIRLPOOL eb0f089de25d2f33426f3b1fcdf22a0365da0e9123935703536e53982483b85826b144e5b10772ed0ca44b442af9c7e8ccb0c99b18d4b6fa27365aab1fcb532b
+MISC ChangeLog 2720 SHA256 66ef484d228caaa9e0d3a8e4cb8e382fa1c2073c2179c6e47a43c566046f4864 SHA512 c6134f635eec0820975bfc0266e55bf9a87ed3cecad52319e08a3ceedae090e6cf9c57132fb0eb62b4cbad8e3697733b07c8943e418aa1d2ea1a0a70632f6b96 WHIRLPOOL 6cace08e32e386b9ef0589a59b02bfb86faaace90a0c2abaa71cd2a6afa61f963203d2f3adb28027974eb19f94868fe63b2a15a26bf0cc71f0bb90ce1dac7f8e
+MISC ChangeLog-2015 2336 SHA256 b09ece2b8918efaf6b352e95e1d7e5ffee5d39fc904f333ef4babcb8f7e2a414 SHA512 3f29de493c9f438b80d1ade1e5a8a6344ff53a656bbc256dc096ca7e0db5c73dbb9e217a3ab9ba10b1961f47e79c67d6d3b6dfdc2ea2a49c32a4877767955fbe WHIRLPOOL e73db77c4c84c06b40988758b7ee353d5b0f267a574385ab36e17ef2faef5ccdee6932a58763a78dbea87840ecfc54e84e5acad72d88f579c383e1e926eefb28
+MISC metadata.xml 276 SHA256 437f3dba7deca9da3b3f8ecda9bb5e97253de0412cbb3095d876f39140f3ea98 SHA512 3497963f4fb51bb32521472b54a995091cb457d2cda65c786bd4b46e5af325caf8f6d5c969cefa0c09fe717df09fb015ec59b52f5571c3b2b9d4ea33e6c843ab WHIRLPOOL 8550fd604cf609511bf7c34245ebd6682dd6d058d8cbfa099a77c94d1afcf592909eb679a28a0806957ac0949c6cff350675e0182303ec5890a5e2c2c26d29c5
diff --git a/x11-misc/xcb/metadata.xml b/x11-misc/xcb/metadata.xml
new file mode 100644
index 000000000000..2ba8e9e851e4
--- /dev/null
+++ b/x11-misc/xcb/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/x11-misc/xcb/xcb-2.4-r1.ebuild b/x11-misc/xcb/xcb-2.4-r1.ebuild
new file mode 100644
index 000000000000..f6d054fdf6be
--- /dev/null
+++ b/x11-misc/xcb/xcb-2.4-r1.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit toolchain-funcs
+
+DESCRIPTION="Marc Lehmann's improved X Cut Buffers"
+HOMEPAGE="http://oldhome.schmorp.de/marc/xcb.html"
+SRC_URI="http://oldhome.schmorp.de/marc/data/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="alpha amd64 ~ppc x86"
+IUSE="motif"
+
+RDEPEND="
+ x11-libs/libX11
+ x11-libs/libXaw
+ x11-libs/libXext
+ x11-libs/libXt
+"
+DEPEND="
+ ${RDEPEND}
+ x11-proto/xproto
+ motif? ( >=x11-libs/motif-2.3:0 )
+"
+
+src_compile() {
+ local gui libs
+
+ if use motif; then
+ gui="-DMOTIF"
+ libs="-lXm -lXt -lX11"
+ else
+ gui="-DATHENA"
+ libs="-lXaw -lXt -lXext -lX11"
+ fi
+
+ emake \
+ -f Makefile.std xcb Xcb.ad \
+ CC="$(tc-getCC)" \
+ CPP="$(tc-getCPP)" \
+ CFLAGS="${CFLAGS} ${gui}" \
+ GUI="${gui}" \
+ LIBS="${libs}" \
+ LDFLAGS="${LDFLAGS}"
+}
+
+src_install() {
+ dobin xcb
+ newman xcb.man xcb.1
+ insinto /usr/share/X11/app-defaults
+ newins Xcb.ad Xcb
+}
diff --git a/x11-misc/xclip/Manifest b/x11-misc/xclip/Manifest
new file mode 100644
index 000000000000..93d8b6958143
--- /dev/null
+++ b/x11-misc/xclip/Manifest
@@ -0,0 +1,5 @@
+DIST xclip-0.13.tar.gz 30461 SHA256 ca5b8804e3c910a66423a882d79bf3c9450b875ac8528791fb60ec9de667f758 SHA512 191a86194a1503a47c6641a55855dc4aaa8c2c99d2e6f1d46e727feec85a6639041f37ec2265c05c178c0c7d791d3e88bde89223f879effa878812f078485ed2 WHIRLPOOL 0757bd5ce14895bf77fe07da37531ae5715ff3b6980bea36991aaee21bb5baf7a65fcef409b279ac176fb8c1630208e0f1803085a6b7d7bef30a8259ee65795c
+EBUILD xclip-0.13.ebuild 560 SHA256 0692b51a843a48b2dc87d4e287a21668616e229fcbdd998ee3ee95357a77f797 SHA512 5f9dc5a72a73f9033a4cef2326be1256da2b4373cc196cf73fa7251fc63d8e603057d5ddd97b4c491560914d53729fec028643d1b2bffe8daf6bb56ee5d33078 WHIRLPOOL d2afaca60cc78cf05e881240ae1818436a09ab4fcd301a7cdcf5aceb523bea80dbcbb2e4a018779874cfb4233cf67532b5a6e1f9fce5c9d711519a13d5dfc7cc
+MISC ChangeLog 3110 SHA256 eff76a1bdfd5b46b808887d595f2cf18ca22c32784e6890487ed59d8534fae42 SHA512 3285adf4b462df493458538a33fe5b45676a7cacebab849572dd11b2791294281b11be3b91ca7ae1712daf25b638e485b619431d0eb1d76cb9cce0cbc66b245b WHIRLPOOL c33490972effb88f485d9512d5e899bd8d03d3dab2ee195ac06b6215826f5ab8f4906022abeb1941482bd21e093c9f872b5df0d9ef94bd020b2048056e7ab587
+MISC ChangeLog-2015 5175 SHA256 ccab4d8824fce0d16a137832f0085aadb6e8099a04ecb952bc612060d69ba712 SHA512 c0c6c7611be9b6f6f4f499e91d356846a3d120b19ef1e71e37de04de7a668153fe020a1c86e2676d0cc3acaedca6cf882e5572bb19471c03fb2f1af892eb4a8d WHIRLPOOL 2d140a6da00dd2933a0e64a6b2ec886ebabec43d05df152c56b0f8083a7b7509bb7fa313526866fb0b29de14570217473aabe557f6bc757e4ade68f9ba413aa6
+MISC metadata.xml 364 SHA256 27682627586e14b39b961d3719cda2a5078917f28ba6e1499554d03932158188 SHA512 fb7dd60c82f3d739a58c1451434d15d14906249ef5bc350dcda11ee6d5366f04981d93a98a290e653b8271269c3f21978ed50894da0bf5da9fdaaa9b2def4cf1 WHIRLPOOL 499a265c7acb674e1d2de48924defbacf079436cf337e29fe3e4dd4d8026dbeb13f17d910487a15db822c1ed81fe827ee94d3d5256f4348aa907386a385056f8
diff --git a/x11-misc/xclip/metadata.xml b/x11-misc/xclip/metadata.xml
new file mode 100644
index 000000000000..c85f46b30ad3
--- /dev/null
+++ b/x11-misc/xclip/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">astrand/xclip</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/xclip/xclip-0.13.ebuild b/x11-misc/xclip/xclip-0.13.ebuild
new file mode 100644
index 000000000000..0f925d76b525
--- /dev/null
+++ b/x11-misc/xclip/xclip-0.13.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools
+
+DESCRIPTION="Copy data from standard input to X clipboard"
+HOMEPAGE="https://github.com/astrand/xclip"
+SRC_URI="https://github.com/astrand/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux"
+
+RDEPEND="
+ x11-libs/libX11
+ x11-libs/libXmu"
+
+DEPEND="
+ ${RDEPEND}
+ x11-libs/libXt"
+
+src_prepare() {
+ default
+ eautoreconf
+}
diff --git a/x11-misc/xcompmgr/Manifest b/x11-misc/xcompmgr/Manifest
new file mode 100644
index 000000000000..424fab43dcf9
--- /dev/null
+++ b/x11-misc/xcompmgr/Manifest
@@ -0,0 +1,5 @@
+DIST xcompmgr-1.1.7.tar.bz2 136667 SHA256 c8049b1a2531313be7469ba9b198d334f0b91cc01efc2b20b9afcb117e4d6892 SHA512 f93a6be78169dd41ff08d71409e28746fd62902810a2f6930c0ac44f1415bc7391a8fb885b074fd40afedd7f1c1590aa7c67fc101c3b6488ddaa74495b42149c WHIRLPOOL 100d6aa734eb453976951d8341f613fdbbbb90b311eba006ca015d469f44ee3eb038acdf842e201da51a61c3d03b5c3f5c240d9a43709a9d44ebf71502c19939
+EBUILD xcompmgr-1.1.7.ebuild 500 SHA256 6fe80e0ce451cf1d7e7eebec88b5528212b11d80c2835a7a09f99b549015dae1 SHA512 5e62cbc526635fff3dc68f8a0b038ed0e8197e675ffec37a3abb8ab8aed8666e0e5ad35522e8e6852ba1ac99bc5a42aec4a417d1a68a5aafbdefe5026a9b4aa3 WHIRLPOOL 33c6575a098751f1ff341046602340319f229b6d60f825a029c4c465d78d8bd8dd928f17cf490e1cec410044adacecf577f9e9f9c13e49e60efd1bbcb7705022
+MISC ChangeLog 4430 SHA256 a0f2e209df44a01c6a2e7ec93459e4e87817852ca072d007b83c21e350ad7dd1 SHA512 df892487812cb3fdb5970c89ddaeefe0f6247a4f59a0cb64832de3722f0ff8aee443121e1f32ba508f442cfb7ea9dd8454a9f219aa6773e09c35e5eb1b83363a WHIRLPOOL 2a32d64e49d79a89091dafcccfa56672a046f2ccdfb0143900b000658ee0c7a09c49dd8c74b972b81d435551acf8923c8829b734cc34e42d3d9bbc87550c6000
+MISC ChangeLog-2015 7079 SHA256 f8d6a4b94e13de632f862c2f7e16f1af06ea226bb72a83e4d6ee7af1e9935882 SHA512 cb473212f1306f74d60d39863b7fdaef4c923c4186df9f5b7b92fa3f3ee8d3c7d241c099ec1dce68098c9f2e6661c15437c85bc43252c4f3498ec076fb67ec59 WHIRLPOOL f48b1a2f3308da9fe1488050c305ca01bc32db59ed5605323c166da77e91764d20cac15a7d0116d8a62027d635a7d445c666cc37f1122f0863977a5a987a0e20
+MISC metadata.xml 230 SHA256 677e4595d00a3098fde05ae33118b9ac05867dc5729c9cd579dc8badd1a28f68 SHA512 d7a2643abd1904cc5ff4d91cbb6f1baeb7f75fd1db542c5e14f19412f4f0bd4b903f8e703a7662ba7482c79dac5529057760b6427599d35e0842755fd946e057 WHIRLPOOL 4866c82c6428eae526c0a514c988e4119221f77b0e8bfb04fec713dd3ba516c69afc776a0c6f53c29abfd8507aa23801614db1ba544dd0a0dd4d6a9462c27306
diff --git a/x11-misc/xcompmgr/metadata.xml b/x11-misc/xcompmgr/metadata.xml
new file mode 100644
index 000000000000..e943b72b8a48
--- /dev/null
+++ b/x11-misc/xcompmgr/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>x11@gentoo.org</email>
+ <name>X11</name>
+</maintainer>
+</pkgmetadata>
diff --git a/x11-misc/xcompmgr/xcompmgr-1.1.7.ebuild b/x11-misc/xcompmgr/xcompmgr-1.1.7.ebuild
new file mode 100644
index 000000000000..f49e264c1b7f
--- /dev/null
+++ b/x11-misc/xcompmgr/xcompmgr-1.1.7.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+XORG_STATIC=no
+inherit xorg-2
+
+DESCRIPTION="X Compositing manager"
+HOMEPAGE="https://freedesktop.org/wiki/Software/xapps"
+SRC_URI="https://www.x.org/releases/individual/app/${P}.tar.bz2"
+
+LICENSE="BSD"
+KEYWORDS="amd64 ppc ppc64 sparc x86"
+IUSE=""
+
+RDEPEND="
+ x11-libs/libXrender
+ x11-libs/libXdamage
+ x11-libs/libXfixes
+ x11-libs/libXcomposite
+ x11-libs/libXext
+"
+DEPEND="${RDEPEND}"
diff --git a/x11-misc/xdaliclock/Manifest b/x11-misc/xdaliclock/Manifest
new file mode 100644
index 000000000000..0f9ad78856b3
--- /dev/null
+++ b/x11-misc/xdaliclock/Manifest
@@ -0,0 +1,5 @@
+DIST xdaliclock-2.43.tar.gz 2300886 SHA256 6b573a8bac23a72e87a1cd9966c28f1d653bdb0b28bb8fd11633a1a4c2fd9fa4 SHA512 4906632148599254d9b29b032d846fcea1a568de8156cfe9556aa1603e063015d7e3422ba9ce4f47c2877f144837a660964456584a643f274b78422c12c0c923 WHIRLPOOL 9531fadc040e23ddce6fd5e2b1192151358132a0f8e5c0b67b2266906620b0c4ba05d544a4d1dc9fec15fc45a2c463a7a2baea8f5e1fb68f2e4dd4e6e30e0404
+EBUILD xdaliclock-2.43.ebuild 596 SHA256 cd76cbc4b3833b717bb438dfb28d02b595bbef625079f1e85e2de25db1090dcf SHA512 9b3fd6333baacc3d4f62b3382b9be3d5ff10bfd1e6d6dc1336f4756b7d6194b057f46ea0e3905131e09d07e0940a11fcef8eecbb4a242a0661977258fbeddd14 WHIRLPOOL 811baf0ce4daf3df39841936bfc050bf9fdca9fe1fcafdc85fb10360e0192f88383e4261bf4ae8563c7f2eff67c4d6fe35c9222a438aba231fb360c983568921
+MISC ChangeLog 2490 SHA256 a2c5ba29ecb89b78468445ba62af3fe5364c1e967b437b6d5d775e48bea37b38 SHA512 eaa600530e561a517daf7425386c80880d6d7fd05734ca671dc34453c897620cff735148d70d86fa07515a06772872b881988a58a01479a70237a5e0faa9e4fb WHIRLPOOL 16a08ff1471d1b5b0fe0c9d031e32b2593547d339ec5d75f098a6cc8044af74ea756fd2e632603ec37d97bf29dba3e1580675ac86731bc00aaab167fe052fe4c
+MISC ChangeLog-2015 6535 SHA256 b42d794a3335e8f137a74e05370a776124986b96a1abaf9f5ebffbd9284e54bc SHA512 53d994fe2961a85f66c521d53e95150e511fdb523bfa467a2b7f07c1b6b6054dd4cf4a10189270a29242ecb50e8343251f5c92be0d46165c043faaace621543a WHIRLPOOL 5069800f4e3f7b73d1dcfdf8761690fe575fec65871e322f2d3e99615ef3df5774f0adf5217d5c8d72659b38360788959d7c17ffd15372d15082c437dfbd276b
+MISC metadata.xml 276 SHA256 437f3dba7deca9da3b3f8ecda9bb5e97253de0412cbb3095d876f39140f3ea98 SHA512 3497963f4fb51bb32521472b54a995091cb457d2cda65c786bd4b46e5af325caf8f6d5c969cefa0c09fe717df09fb015ec59b52f5571c3b2b9d4ea33e6c843ab WHIRLPOOL 8550fd604cf609511bf7c34245ebd6682dd6d058d8cbfa099a77c94d1afcf592909eb679a28a0806957ac0949c6cff350675e0182303ec5890a5e2c2c26d29c5
diff --git a/x11-misc/xdaliclock/metadata.xml b/x11-misc/xdaliclock/metadata.xml
new file mode 100644
index 000000000000..2ba8e9e851e4
--- /dev/null
+++ b/x11-misc/xdaliclock/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/x11-misc/xdaliclock/xdaliclock-2.43.ebuild b/x11-misc/xdaliclock/xdaliclock-2.43.ebuild
new file mode 100644
index 000000000000..634b4c586c7e
--- /dev/null
+++ b/x11-misc/xdaliclock/xdaliclock-2.43.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+DESCRIPTION="Dali Clock is a digital clock. When a digit changes, it melts into its new shape"
+HOMEPAGE="http://www.jwz.org/xdaliclock"
+SRC_URI="http://www.jwz.org/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="amd64 ppc ppc64 x86 ~x86-fbsd"
+IUSE=""
+
+RDEPEND="
+ x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXt
+"
+DEPEND="
+ ${RDEPEND}
+ x11-proto/xextproto
+ x11-proto/xproto
+"
+
+S=${WORKDIR}/${P}/X11
+
+src_install() {
+ dobin ${PN}
+ newman ${PN}.man ${PN}.1
+ dodoc ../README
+}
diff --git a/x11-misc/xdesktopwaves/Manifest b/x11-misc/xdesktopwaves/Manifest
new file mode 100644
index 000000000000..1178b313b161
--- /dev/null
+++ b/x11-misc/xdesktopwaves/Manifest
@@ -0,0 +1,6 @@
+AUX xdesktopwaves-1.3-gentoo.patch 1166 SHA256 fda0edda69eb62f3dcd3509af21fa02c83edbb7519e6cf3be0ffdb64f0e0c947 SHA512 03543f5244d6c22da32d845546db6ca36cf5f9c59dde9d248ef160d2824556055efb57f4becd84541b16ac82ae1bd661272fc92e8c0ac096deb32764cc849f05 WHIRLPOOL 2e89f0681bc19c871d5602a3751ee94363fec4e88e22d79d07860a7b0246ab0a512d2417f8ce24d274ea111937733e69dccad0f4b46cd1d8c6839cda0864c501
+DIST xdesktopwaves-1.3.tar.gz 49302 SHA256 185a1fe56095610e95580713eec491ad1d93f4c89015ae612f214e1ccee51779 SHA512 7dd3eb4f3a9291e9afab7aab7385cc271af2754adecde85ef3a2dfbc6a0bd96bab440cdb9f34cabb9e7c6d9ee25cdc64bf57ba7edc4df03f344b5b10404cd52e WHIRLPOOL 15bea1d6fb90e58de3190ccb284985d1e444370ad9012eb55d4bbe5689a5d7f0b37c99c2c7d422459238384d459e6fdc7557926ff0d958f9031cb31843b8469f
+EBUILD xdesktopwaves-1.3-r2.ebuild 952 SHA256 309a501f82cfad770c19ae20f904cad5dff48ac047a5f7a68c4a1680ba96644d SHA512 b3ee7de6c95039ce2f8b7b08d766c4e4964667a108566647b926a7a217ccbc042a50ebea2e493adb942c376274db718aaa01e8e62bf0f54198c22eb5db9cf892 WHIRLPOOL 7d136cb7ea63b14ddcbe65b989771dc27f552b9df21bf0f0ed8aacff669bcf39ee3c3c4e73f0bc6d04b38c3421708640434b27baab87dbdf836a1508ec9ec367
+MISC ChangeLog 2674 SHA256 0d4885649f36e1afe7434c694163b160ef9d5784ed972d11e6c185b2d5ec8b3e SHA512 e982c387121f51da36084d75387105dde3833df03adddc03317623356f4808f35c9d0dc846894d09a4fec2dabebe4bd7284bd4561e3119a69d81bb6ac0e0d030 WHIRLPOOL d69bc4d1acbfd2a5fa2898f6dc69048d7c0465213a35bee32142fae81e56b6ba56c8697a4d410813265fca64bd203c69da76905dd10c5d61c00d81cead227585
+MISC ChangeLog-2015 2812 SHA256 74039889574405e8a607ead25d1c54be67fa92c1fa7c751cd476b74daa2cd767 SHA512 e0ae67cd59a947fefa97d680195d7c7f8ed097009c0093f48f08f7a8d0348e8b342179fed5b2924743c2a2f6c46854a6812ed58ae5a8af213170134a3097c7c2 WHIRLPOOL a7b325c262b0bfa0c1a8ff643ae45a508ca211149d17994886652cc53d80ed2a0874bf054517468d77ee4cab0af10bd78da6011b6b61f3fedd814956a0536453
+MISC metadata.xml 664 SHA256 88587c57df0531960bae44ed5fe3ff0d7b4a6f2a24daa988aaee34245693e13d SHA512 fe2eaa4227fcc4170929f30432521129d2259578dc7b1af2fa2bbc844b4d93c6597a4cf0c2d46911f9b540ae0e45a8c0071d634ef164138b2c2174eecb0da099 WHIRLPOOL 2e73336c6eafb3237baf2553ac267e590e1a39d52564bebf94c32f59f1fa388c946594414c7c38526d9a1e448a8dd013ef7a37e9e3065887e8880d4ee53d01b4
diff --git a/x11-misc/xdesktopwaves/files/xdesktopwaves-1.3-gentoo.patch b/x11-misc/xdesktopwaves/files/xdesktopwaves-1.3-gentoo.patch
new file mode 100644
index 000000000000..accbb4d9baec
--- /dev/null
+++ b/x11-misc/xdesktopwaves/files/xdesktopwaves-1.3-gentoo.patch
@@ -0,0 +1,38 @@
+--- xdesktopwaves-1.3/Makefile.org 2004-12-18 06:47:40.000000000 +0100
++++ xdesktopwaves-1.3/Makefile 2010-02-08 20:05:31.000000000 +0100
+@@ -11,14 +11,13 @@
+
+ #=========================== C compiler configuration ==========================
+
+-CC = gcc
+-CFLAGS = -I/usr/X11R6/include -O2
++CFLAGS += $(shell pkg-config --cflags x11 xext)
+
+ #============================= Linker configuration ============================
+
+-LINK = gcc
+-LFLAGS = -L/usr/X11R6/lib
+-LIBS = -lm -lX11 -lXext
++LINK = $(CC)
++LFLAGS = $(LDFLAGS)
++LIBS = -lm $(shell pkg-config --libs x11 xext)
+
+ #============================ Installer configuration ==========================
+
+--- xdesktopwaves-1.3/xdwapi/Makefile.org 2004-12-18 06:47:40.000000000 +0100
++++ xdesktopwaves-1.3/xdwapi/Makefile 2010-02-08 20:08:14.000000000 +0100
+@@ -1,10 +1,9 @@
+ # Makefile for the xdesktopwaves API and its demo program
+
+-CC = gcc
+-CFLAGS = -I/usr/X11R6/include -O2
+-LINK = gcc
+-LFLAGS = -L/usr/X11R6/lib
+-LIBS = -lm -lX11
++CFLAGS += $(shell pkg-config --cflags x11 xext)
++LINK = $(CC)
++LFLAGS = $(LDFLAGS)
++LIBS = -lm $(shell pkg-config --libs x11 xext)
+
+ all: xdwapidemo
+
diff --git a/x11-misc/xdesktopwaves/metadata.xml b/x11-misc/xdesktopwaves/metadata.xml
new file mode 100644
index 000000000000..5e3210314f13
--- /dev/null
+++ b/x11-misc/xdesktopwaves/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+ <longdescription>
+ xdesktopwaves is a cellular automata setting the background of your
+ X Windows desktop under water. Windows and mouse are like ships on the
+ sea. Each movement of these ends up in moving water waves. You can even
+ have rain and/or storm stirring up the water.
+ </longdescription>
+ <upstream>
+ <remote-id type="sourceforge">xdesktopwaves</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/xdesktopwaves/xdesktopwaves-1.3-r2.ebuild b/x11-misc/xdesktopwaves/xdesktopwaves-1.3-r2.ebuild
new file mode 100644
index 000000000000..cf84faf3f802
--- /dev/null
+++ b/x11-misc/xdesktopwaves/xdesktopwaves-1.3-r2.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="A cellular automata setting the background of your X Windows desktop under water"
+HOMEPAGE="http://xdesktopwaves.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+LICENSE="GPL-2"
+
+SLOT="0"
+RDEPEND="x11-libs/libXext"
+DEPEND="${RDEPEND}
+ x11-proto/xextproto"
+KEYWORDS="amd64 ppc x86"
+IUSE=""
+
+PATCHES=( "${FILESDIR}"/${P}-gentoo.patch )
+
+src_compile() {
+ tc-export CC
+ emake
+ emake -C xdwapi
+}
+
+src_install() {
+ dobin xdesktopwaves xdwapi/xdwapidemo
+ doman xdesktopwaves.1
+ insinto /usr/share/pixmaps
+ doins xdesktopwaves.xpm
+ make_desktop_entry xdesktopwaves
+ einstalldocs
+}
+
+pkg_preinst() {
+ elog "To see what xdesktopwaves is able to do, start it by running"
+ elog "'xdesktopwaves' and then run 'xdwapidemo'. You should see the"
+ elog "supported effects on your desktop"
+}
diff --git a/x11-misc/xdg-user-dirs-gtk/Manifest b/x11-misc/xdg-user-dirs-gtk/Manifest
new file mode 100644
index 000000000000..df01658c6fb6
--- /dev/null
+++ b/x11-misc/xdg-user-dirs-gtk/Manifest
@@ -0,0 +1,6 @@
+DIST xdg-user-dirs-gtk-0.10.tar.xz 116528 SHA256 739a1a89baf34aa7261e924a21d2ae646b0475b67b3db3daa84327a99132d83e SHA512 c3ef070244cd1c87312c2c2602dbe7bc3dd26eed632b0d8d779580d7ee6259efdda453ab7bdf4415cc72fad7a74d9dd36476189fe446d5627e4db75d905302f5 WHIRLPOOL 5fc149fd8f08569cf5d1223f6c1b7d7162a3b40554dd7af765b757fb2fad555dc6630ccbdbaf740a715c21519a5a168c303a3fd18ef1971728fad828628465f7
+EBUILD xdg-user-dirs-gtk-0.10-r1.ebuild 1126 SHA256 88e94a78b1b7b3cbcbf5f39ae89003e02fcbd0e531644d9414a73ac7b8793edd SHA512 77cafd940c9a7f9611b8dbe284f73002022d4ee9c634551b0115d31b48a495da9dc3bc0207eb90a328e238ce7eaf193936962c47367be91618dec77e859c77a8 WHIRLPOOL 734b1a9a03ce119e698d20fb0764b230288181cfc0214756231e4f67d645e124031ccd19cd5a0eb035409a3134ecdceedb01353e767acf712ad7a6ac141beeac
+EBUILD xdg-user-dirs-gtk-0.10.ebuild 971 SHA256 f52a79962c86b8846eb53fb0b1e89f7b2ebcb9214a264dbd87e84020f7627572 SHA512 a0329ae6018e58854ee3af912f16b079f919c3a90628d3cdc683774b7a5ec54baf8149746d16eb75c0628e093bfadbfef0df7700886783d0b660877194a49f0f WHIRLPOOL b4956ca8eba8ff2b9a2f905d13164dbe636da470dbbcc8d1d489773b084b6e77db4751eac9e51cf7c916e9112f595edb38e5933c6f23c4e771ae98af45abc4ac
+MISC ChangeLog 3869 SHA256 868ad2d1b7416c04716a22e4593c3256bc34e58a76decc6fafb0ea2f3c3cfe0d SHA512 c7feddf3771c854dedec23eec1ba23c1fd977194f152a7b79c7edf66fa05d45f8dd0d342e2bd068387dc10e4c15021d8f998d0c0575208e50061e1a87ee4bfb4 WHIRLPOOL 8de541d9fddb2765bd06ecc1db088400c9571e938c5fc3773025b6517815a0cb8be60ba5ca4c07e4dec0b4cc3c068329720272c5fd357a633c6cc3d50c9dd998
+MISC ChangeLog-2015 4961 SHA256 6a56a36e887c416d9f0f98486606870679dedc0190cf3d9de644b895bf7a02b7 SHA512 001db61d95ef1c728ef3b206e3d1b2224c1006112ac8aec2e84407f0fd6f697c6ee01e0c7f48d550857e395672346c5022f408d4439d106be11a753bc985040b WHIRLPOOL e387632128a6cf0b93ecfa7b42a9b35c6530fd30221cd4c4f5cb9b61bd5610d3e718a2b14eb640962ad55eedb9cf4b3f7060048f522a24dde40f55b8f9377d8e
+MISC metadata.xml 232 SHA256 6f828dfe6278daec9b0b3a9eeb589d072d79dba873dca6a50422e554c2f3582c SHA512 21ba416ac701f1c9deb55d07f8afbf9da930fb04d274d84c5cf0df5e549554059959228ee6a4b8523d985fe0762af1a7c36aaefcb0e5b3c7baa5866e2841cfb4 WHIRLPOOL 95b029eb4fea616dbf4f41cb372a67a13b7f5d67d9dad52bc27b4597bd1cf73b00fa34ddd8637495337a469162e3086075e8e69734a2147eb89d940fe048159a
diff --git a/x11-misc/xdg-user-dirs-gtk/metadata.xml b/x11-misc/xdg-user-dirs-gtk/metadata.xml
new file mode 100644
index 000000000000..f3cab85cf603
--- /dev/null
+++ b/x11-misc/xdg-user-dirs-gtk/metadata.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>freedesktop-bugs@gentoo.org</email>
+ </maintainer>
+</pkgmetadata>
diff --git a/x11-misc/xdg-user-dirs-gtk/xdg-user-dirs-gtk-0.10-r1.ebuild b/x11-misc/xdg-user-dirs-gtk/xdg-user-dirs-gtk-0.10-r1.ebuild
new file mode 100644
index 000000000000..b07dd966b812
--- /dev/null
+++ b/x11-misc/xdg-user-dirs-gtk/xdg-user-dirs-gtk-0.10-r1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit gnome.org readme.gentoo-r1
+
+DESCRIPTION="Integrates xdg-user-dirs into the Gnome desktop and Gtk+ applications"
+HOMEPAGE="https://www.freedesktop.org/wiki/Software/xdg-user-dirs"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha ~amd64 arm ~arm64 ~hppa ia64 ~mips ppc ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-solaris"
+IUSE=""
+
+RDEPEND="
+ dev-libs/glib
+ >=x11-misc/xdg-user-dirs-0.14
+ >=x11-libs/gtk+-3.5.1:3
+"
+DEPEND="${RDEPEND}
+ dev-util/intltool
+ virtual/pkgconfig
+"
+
+DOC_CONTENTS="
+ This package tries to automatically use some sensible default
+ directories for your documents, music, video and other stuff.
+ If you want to change those directories to your needs, see
+ the settings in ~/.config/user-dirs.dirs
+"
+
+src_prepare() {
+ default_src_prepare
+ sed -i \
+ -e '/Encoding/d' \
+ -e 's:OnlyShowIn=GNOME;LXDE;Unity;:NotShowIn=KDE;:' \
+ user-dirs-update-gtk.desktop.in || die
+}
+
+src_install() {
+ default_src_install
+ readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+ readme.gentoo_print_elog
+}
diff --git a/x11-misc/xdg-user-dirs-gtk/xdg-user-dirs-gtk-0.10.ebuild b/x11-misc/xdg-user-dirs-gtk/xdg-user-dirs-gtk-0.10.ebuild
new file mode 100644
index 000000000000..7e92c01704fa
--- /dev/null
+++ b/x11-misc/xdg-user-dirs-gtk/xdg-user-dirs-gtk-0.10.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit gnome.org readme.gentoo
+
+DESCRIPTION="Integrates xdg-user-dirs into the Gnome desktop and Gtk+ applications"
+HOMEPAGE="https://www.freedesktop.org/wiki/Software/xdg-user-dirs"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-solaris"
+IUSE=""
+
+RDEPEND="
+ >=x11-misc/xdg-user-dirs-0.14
+ >=x11-libs/gtk+-3.5.1:3
+"
+DEPEND="${RDEPEND}
+ dev-util/intltool
+ virtual/pkgconfig
+"
+
+DOC_CONTENTS="
+ This package tries to automatically use some sensible default
+ directories for your documents, music, video and other stuff.
+ If you want to change those directories to your needs, see
+ the settings in ~/.config/user-dirs.dirs
+"
+
+src_prepare() {
+ sed -i \
+ -e '/Encoding/d' \
+ -e 's:OnlyShowIn=GNOME;LXDE;Unity;:NotShowIn=KDE;:' \
+ user-dirs-update-gtk.desktop.in || die
+}
diff --git a/x11-misc/xdg-user-dirs/Manifest b/x11-misc/xdg-user-dirs/Manifest
new file mode 100644
index 000000000000..80f033f7a896
--- /dev/null
+++ b/x11-misc/xdg-user-dirs/Manifest
@@ -0,0 +1,8 @@
+AUX xdg-user-dirs-0.15-libiconv.patch 298 SHA256 4b4f8a0f33d0846e8108f31924d81978d71efa3eff1b824392ac85ecafe14f3c SHA512 227b134d0782067f8c8688832036da8cb1afbcda247349db3502867e3f1b1eaa09885f2419762712ab9ce82655d4bb9a7ec17f63afdb9f00be5efcfd895ca7d4 WHIRLPOOL baafb72553f5398f9f196ea1b27059b857ee7f73257c171aa8960a6b2ab158ceb799ab492a690a84e8b4a2bdef44ce43b1b6fe645d0a348b517e55e2484765b2
+DIST xdg-user-dirs-0.15.tar.gz 243747 SHA256 20b4a751f41d0554bce3e0ce5e8d934be98cc62d48f0b90a894c3e1916552786 SHA512 2365003d4c116326357755dbeb462d5d7a4fd1391fe0b4ced5597db1017dff230676773aa8cd4bdd9dbb1bfb59c1c71d08ed860a047e0e9c2ab2487c814c7ca9 WHIRLPOOL 12de27ae0c386f4db740ea5104233d6782d65686fb3df74f9c516d47d253e49f41ed25b75f2bcf9667b1f8e6e6fec66030ccdc6cadb1eb6a5f1a90ab9fe12e3b
+DIST xdg-user-dirs-0.16.tar.gz 255933 SHA256 770fb42c8809d192c661585a0ee9ed9b65ebaca7532abe7dd68eca0e4962e3e6 SHA512 245513d1b16adc970b4a3c0b4a078cdeda62d36b39e4561754d8331e76ee0013a769d8c2e43c94f8b5c378619ee58bca534721a8675ceaeccbb3fdf69cf6f7ae WHIRLPOOL ae2bd05bbbbda4a8aa8a125526584f2e6749795c6dfdee8a2a8ce61121c1a3e5030416efcee168e748b3c0664e33419d83c0a34660acda173c0d2d505b1f5c48
+EBUILD xdg-user-dirs-0.15.ebuild 946 SHA256 8a4b1e7586a40eb4cc6171a2012bfc14648f6d64580150465cc32fd40ca7a84e SHA512 371f7d7c2f5b56bf19cfba64a5c4e8b7bba2d36237887475cfdcefb5fb0283a050d03823f1c4afa557c9a36b88df852a758eb48e0d9c05447fc73915b2acbca6 WHIRLPOOL 6273a2b8a8fc687851823cd271414b3dc6d7d5c24fa73ce0fe710df67c1cce7eab39d3c7778b1b42fb0c6d91f9fd43da44cb0bdfa0e9ca7f29a3443905eb364f
+EBUILD xdg-user-dirs-0.16.ebuild 967 SHA256 1beac5bdbeb217bb9a68c6b9d10bd73ba339cb2ef8809dbc9e0bdb6149abd91d SHA512 1cc1fa604b082f747a51ccc3316cab936fa0a34c5c0815587557ecdae4f110a27985b5109507a9cf437af08e97c6f6973a13d585c4e0de5145a9098645c23b1a WHIRLPOOL d795b219fa84a4e331aeef8bda13e77108d3b9a286ce83dbb1bf2ad817d84758bc5713f3977078f49c4ab19e30ffbf64b18f0aa4731e7653a6cf952e34bd5212
+MISC ChangeLog 3283 SHA256 516d9625631197baadb375bd9f9df5440f1ed4c1178bf1a28d937b614a29b581 SHA512 a736f679d0c9f1783ede5619a5425fea322aaeafa482331a3b94f939a941e04ae8d8f113fc1e42eb1fe51faa311a830edd1f29314540ef0dfb10598493268e98 WHIRLPOOL 461eec02185d95b52e1dceee14cbc6941ff48703577ac7bb21fa6221a261d33f1958208bd85b8a576f4fd5964ca9a66e786e713a69f40f8841a95047f1317009
+MISC ChangeLog-2015 5761 SHA256 bacf672aa2f6b77eb43b0c3fdc64a8cce93c8f9932fced1f7d755580a5337f18 SHA512 797084e0b00983785ed71d9ae75f1760277c516e33e5fe240e689f249697d7935dbe09a5a73a382e18397cb2cb5184fdf292907c554b8f90caf99019b4eb781a WHIRLPOOL 85888888ac2fd6d9692eb722b08d3545572dae72d51204cca79c24ba55f58dd4e9d99dd214a245b77c24526dbd2be8fb4a0d8aae19613bd37f9e830a2114716b
+MISC metadata.xml 232 SHA256 6f828dfe6278daec9b0b3a9eeb589d072d79dba873dca6a50422e554c2f3582c SHA512 21ba416ac701f1c9deb55d07f8afbf9da930fb04d274d84c5cf0df5e549554059959228ee6a4b8523d985fe0762af1a7c36aaefcb0e5b3c7baa5866e2841cfb4 WHIRLPOOL 95b029eb4fea616dbf4f41cb372a67a13b7f5d67d9dad52bc27b4597bd1cf73b00fa34ddd8637495337a469162e3086075e8e69734a2147eb89d940fe048159a
diff --git a/x11-misc/xdg-user-dirs/files/xdg-user-dirs-0.15-libiconv.patch b/x11-misc/xdg-user-dirs/files/xdg-user-dirs-0.15-libiconv.patch
new file mode 100644
index 000000000000..bf5910882c3b
--- /dev/null
+++ b/x11-misc/xdg-user-dirs/files/xdg-user-dirs-0.15-libiconv.patch
@@ -0,0 +1,14 @@
+http://bugs.gentoo.org/366885
+http://bugs.gentoo.org/499940
+
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -16,7 +16,7 @@
+ xdgdir=$(sysconfdir)/xdg
+ xdg_DATA=user-dirs.conf user-dirs.defaults
+
+-libraries = $(LIBINTL)
++libraries = $(LIBINTL) $(LIBICONV)
+
+ bin_PROGRAMS = \
+ xdg-user-dirs-update \
diff --git a/x11-misc/xdg-user-dirs/metadata.xml b/x11-misc/xdg-user-dirs/metadata.xml
new file mode 100644
index 000000000000..f3cab85cf603
--- /dev/null
+++ b/x11-misc/xdg-user-dirs/metadata.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>freedesktop-bugs@gentoo.org</email>
+ </maintainer>
+</pkgmetadata>
diff --git a/x11-misc/xdg-user-dirs/xdg-user-dirs-0.15.ebuild b/x11-misc/xdg-user-dirs/xdg-user-dirs-0.15.ebuild
new file mode 100644
index 000000000000..7ed8fb165ad0
--- /dev/null
+++ b/x11-misc/xdg-user-dirs/xdg-user-dirs-0.15.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit autotools eutils
+
+DESCRIPTION="A tool to help manage 'well known' user directories"
+HOMEPAGE="https://www.freedesktop.org/wiki/Software/xdg-user-dirs"
+SRC_URI="https://user-dirs.freedesktop.org/releases/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-solaris"
+IUSE="gtk"
+
+RDEPEND=""
+# libxslt is mandatory because 0.15 tarball is broken, re:
+# https://bugs.freedesktop.org/show_bug.cgi?id=66251
+DEPEND="app-text/docbook-xml-dtd:4.3
+ dev-libs/libxslt
+ sys-devel/gettext"
+PDEPEND="gtk? ( x11-misc/xdg-user-dirs-gtk )"
+
+DOCS=( AUTHORS ChangeLog NEWS )
+
+src_prepare() {
+ sed -i -e 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' configure.ac || die #467032
+ epatch "${FILESDIR}"/${P}-libiconv.patch
+ eautoreconf # for the above patch
+}
diff --git a/x11-misc/xdg-user-dirs/xdg-user-dirs-0.16.ebuild b/x11-misc/xdg-user-dirs/xdg-user-dirs-0.16.ebuild
new file mode 100644
index 000000000000..a642c2ed47da
--- /dev/null
+++ b/x11-misc/xdg-user-dirs/xdg-user-dirs-0.16.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit autotools
+
+DESCRIPTION="A tool to help manage 'well known' user directories"
+HOMEPAGE="https://www.freedesktop.org/wiki/Software/xdg-user-dirs"
+SRC_URI="https://user-dirs.freedesktop.org/releases/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-solaris"
+IUSE="gtk"
+
+RDEPEND=""
+# libxslt is mandatory because 0.15 tarball is broken, re:
+# https://bugs.freedesktop.org/show_bug.cgi?id=66251
+DEPEND="app-text/docbook-xml-dtd:4.3
+ dev-libs/libxslt
+ sys-devel/gettext"
+PDEPEND="gtk? ( x11-misc/xdg-user-dirs-gtk )"
+
+DOCS=( AUTHORS ChangeLog NEWS )
+PATCHES=( "${FILESDIR}"/${PN}-0.15-libiconv.patch )
+
+src_prepare() {
+ default
+ sed -i -e 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' configure.ac || die #467032
+ eautoreconf # for the above patch
+}
diff --git a/x11-misc/xdg-utils/Manifest b/x11-misc/xdg-utils/Manifest
new file mode 100644
index 000000000000..f069f762f59c
--- /dev/null
+++ b/x11-misc/xdg-utils/Manifest
@@ -0,0 +1,8 @@
+AUX xdg-utils-1.1.1-ktraderclient5.patch 1542 SHA256 b14f6d3a6c1fe0e90871a583f7f57ea9b3fea5f3d25da8ba5083b5972d30e97a SHA512 a9c1def45928026cbc460527862c73e78074e924fdf088c20afeda74c64103c42f9c551123bee3e627f0d41be632c4f4d250722719a33de20c88085d1d712b4d WHIRLPOOL 9a9ce08780f4f4ae914a30ee46e70f9fb7a3bbe23db35d0a584360fd0929300f9feffc10aeffce1efc17fd1e8bb66e18be49d59ef7eea7d6ad2eb64354e58ce7
+DIST xdg-utils-1.1.1.tar.gz 295213 SHA256 b0dd63a2576e0bb16f1aa78d6ddf7d6784784a098d4df17161cd6a17c7bc4125 SHA512 6641b17daea7eecfee0d395e621dc42481582e505bff90a6df5eb0299ed2dca7a76520f000d9545a8424f06d41590382156a2e50f3d68d5c1ab825c268e90edb WHIRLPOOL d40e89ae50d5cdf96cd7c03e9e4ab91fc46c0da2d8d79f8e27d64f4c5526c733ae5e75e89d880cd05b5c347ecb9837090ec110be5813456c690807abb1508718
+DIST xdg-utils-1.1.2.tar.gz 296735 SHA256 951952e2c6bb21214e0bb54e0dffa057d30f5563300225c24c16fba846258bcc SHA512 1927506065788b5f8bba8b0617a8ee585265342fa40c4b73000d320acd5909036daef94d49495b00982dbb67b7706b2f1ed949cb4cc519dfa534be2c1c8f74db WHIRLPOOL 230d028ea375c58e4ca96c5ae295d3768fdbef3fd142abe01e7fe8518c7df4fe5d7a6850118bbe249449981de48e4f9f1a784837a6ba8834c8f3fe4f7bff0ffa
+EBUILD xdg-utils-1.1.1-r1.ebuild 2222 SHA256 ad99e389a77aa017a3d307cdaa04e4ec48d954c5337996b18eb5bbea189c6b17 SHA512 4bacdde96a5be5a1c4265c83ac17ad0342021fb14e7e4fd2ee9009614836891bff4b14571f497fa1f8c1b39e6d2476065a44e5dda337360aa092b91a0756764f WHIRLPOOL 9b167944e4ea57b7c4df0998018203d442dbaad020d20750fed970e5dd3246e5f42fa00dea36c48af68acc81b948914e49e26b6fbcdfa7c16060ec012dcbb4f4
+EBUILD xdg-utils-1.1.2-r1.ebuild 2217 SHA256 f01d750704b2df6614b7f60ef54b74f788f521185a623e62edf070442929e313 SHA512 9d7be6be2ba5d7edf823f4ebddf3d922b92e813e9ddd18cc5c43bf298e75a828ea82352cdd50c5290250dc281b97369bea95e464f989e55f6f761ccc4ee1efb8 WHIRLPOOL 955763db36a8de0ede5de23975761c33f59637db370be7cdbed859137bfe119668a645ad607e2a1f3a57294ea395b28cfadbb3cd0a31f7aee2cbd5f08c1d06d1
+MISC ChangeLog 6128 SHA256 5898b1ee4d9fb55db4ac741f8c918fba682bad7715eaf328b88ab09b57b8b62c SHA512 3463f26ebf4c4f0a5d323097683789e2a5bed02d688aa08d8c49490f5451c078812e06a9a73fd05c0e442e67eff9a57707aca9edf3662c86da2d570ce80db52e WHIRLPOOL c18cd2df66deaa0676a460881f094e2a9f158c13d558cfb155e936278809486100ed4fbd96c1666c944960b90bb17ffe750948209f234373018388e3a5323605
+MISC ChangeLog-2015 18086 SHA256 15547bea2c4a25308f972fb72083ccbbe4411bab202f076828126a97cb43ea07 SHA512 bcaf0786e490fe430187c95a0707e6c71ecdc0673d1dcf748dea6704b591c922edd4806dc954b3c6210330b17c0ac797af9189a670cb6fad4d95db19afffd604 WHIRLPOOL 01f7265a653a6fa91a26fa951be88c3d9ac75a7c79ca6962d08e524f540105ddd3067c56a210c82bf314f549cbe4e3c9381c092f1dc895e13a7491e9d31dbbbe
+MISC metadata.xml 224 SHA256 154bec891472fe5526579d16d7e5e5e9eb3f352512a17555a459aa6029bcbbb2 SHA512 12da46d8052565f62c482e6bcc714d8c00cac256f85dc1602579c8d61e0b61af95da149d1a446e56b2eba918ab9d78b556f77c6fe034a2e578f57a9dbe62fc44 WHIRLPOOL 541aeaf2a7c858734aaae366846865ff70e6c898204bbfc9f39f58fbdb53d9b37dc8c898c23870859a9d4f5596e7898e21874c9ef529a447953a35e4d7bc13e5
diff --git a/x11-misc/xdg-utils/files/xdg-utils-1.1.1-ktraderclient5.patch b/x11-misc/xdg-utils/files/xdg-utils-1.1.1-ktraderclient5.patch
new file mode 100644
index 000000000000..eee4684c17c4
--- /dev/null
+++ b/x11-misc/xdg-utils/files/xdg-utils-1.1.1-ktraderclient5.patch
@@ -0,0 +1,43 @@
+From 31db8136bdf61e7f9cb866f9d47c99c63343558d Mon Sep 17 00:00:00 2001
+From: Massimiliano Torromeo <massimiliano.torromeo@gmail.com>
+Date: Fri, 15 Apr 2016 11:17:37 +0200
+Subject: xdg-mime: support for KDE Frameworks 5.6
+
+
+diff --git a/scripts/xdg-mime.in b/scripts/xdg-mime.in
+index 129850f..63b8a82 100644
+--- a/scripts/xdg-mime.in
++++ b/scripts/xdg-mime.in
+@@ -428,13 +428,9 @@ defapp_kde()
+ case "${KDE_SESSION_VERSION}" in
+ 4)
+ KTRADER=`which ktraderclient 2> /dev/null`
+- MIMETYPE="--mimetype"
+- SERVICETYPE="--servicetype"
+ ;;
+ 5)
+ KTRADER=`which ktraderclient${KDE_SESSION_VERSION} 2> /dev/null`
+- MIMETYPE="--mimetype"
+- SERVICETYPE="--servicetype"
+ ;;
+ esac
+ else
+@@ -442,8 +438,8 @@ defapp_kde()
+ fi
+ if [ -n "$KTRADER" ] ; then
+ DEBUG 1 "Running KDE trader query \"$MIME\" mimetype and \"Application\" servicetype"
+- trader_result=`$KTRADER $MIMETYPE "$MIME" $SERVICETYPE Application 2>/dev/null \
+- | grep DesktopEntryPath | head -n 1 | cut -d ':' -f 2 | cut -d \' -f 2`
++ trader_result=`$KTRADER --mimetype "$MIME" --servicetype Application 2>/dev/null \
++ | grep -E "^DesktopEntryPath : |\.desktop$" | head -n1 | sed "s/^DesktopEntryPath : '\(.*\.desktop\)'\$/\1/"`
+ if [ -n "$trader_result" ] ; then
+ basename "$trader_result"
+ exit_success
+@@ -954,4 +950,3 @@ esac
+ update_mime_database $xdg_base_dir
+
+ exit_success
+-
+--
+cgit v0.10.2
+
diff --git a/x11-misc/xdg-utils/metadata.xml b/x11-misc/xdg-utils/metadata.xml
new file mode 100644
index 000000000000..fb76b944f2da
--- /dev/null
+++ b/x11-misc/xdg-utils/metadata.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+<email>freedesktop-bugs@gentoo.org</email>
+</maintainer>
+</pkgmetadata>
diff --git a/x11-misc/xdg-utils/xdg-utils-1.1.1-r1.ebuild b/x11-misc/xdg-utils/xdg-utils-1.1.1-r1.ebuild
new file mode 100644
index 000000000000..c5e01113b9b4
--- /dev/null
+++ b/x11-misc/xdg-utils/xdg-utils-1.1.1-r1.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit autotools
+
+MY_P=${P/_/-}
+
+DESCRIPTION="Portland utils for cross-platform/cross-toolkit/cross-desktop interoperability"
+HOMEPAGE="https://www.freedesktop.org/wiki/Software/xdg-utils/"
+#SRC_URI="https://dev.gentoo.org/~johu/distfiles/${P}.tar.xz"
+#SRC_URI="https://people.freedesktop.org/~rdieter/${PN}/${MY_P}.tar.gz
+# https://dev.gentoo.org/~ssuominen/${P}-patchset-1.tar.xz"
+SRC_URI="https://portland.freedesktop.org/download/${MY_P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
+IUSE="doc +perl"
+
+RDEPEND="dev-util/desktop-file-utils
+ x11-misc/shared-mime-info
+ x11-apps/xprop
+ x11-apps/xset
+ perl? ( dev-perl/File-MimeInfo )"
+DEPEND=">=app-text/xmlto-0.0.26-r1[text(+)]"
+
+DOCS=( README RELEASE_NOTES TODO ) # ChangeLog is bogus, see git instead
+
+PATCHES=( "${FILESDIR}/${P}-ktraderclient5.patch" )
+
+RESTRICT="test" # Disabled because of sandbox violation(s)
+
+#S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ default
+ # If you choose to do git snapshot instead of patchset, you need to remember
+ # to run `autoconf` in ./ and `make scripts-clean` in ./scripts/ to refresh
+ # all the files
+ if [[ -d ${WORKDIR}/patch ]]; then
+ EPATCH_SUFFIX=patch EPATCH_FORCE=yes epatch
+ fi
+ eautoreconf
+ pushd scripts && make scripts-clean && popd
+}
+
+src_configure() {
+ export ac_cv_path_XMLTO="$(type -P xmlto) --skip-validation" #502166
+ default
+}
+
+src_install() {
+ default
+
+ newdoc scripts/xsl/README README.xsl
+ use doc && dodoc -r scripts/html
+
+ # Install default XDG_DATA_DIRS, bug #264647
+ echo XDG_DATA_DIRS=\"${EPREFIX}/usr/local/share\" > 30xdg-data-local
+ echo 'COLON_SEPARATED="XDG_DATA_DIRS XDG_CONFIG_DIRS"' >> 30xdg-data-local
+ doenvd 30xdg-data-local
+
+ echo XDG_DATA_DIRS=\"${EPREFIX}/usr/share\" > 90xdg-data-base
+ echo XDG_CONFIG_DIRS=\"${EPREFIX}/etc/xdg\" >> 90xdg-data-base
+ doenvd 90xdg-data-base
+}
+
+pkg_postinst() {
+ [[ -x $(type -P gtk-update-icon-cache) ]] || elog "Install x11-libs/gtk+:2 for the gtk-update-icon-cache command."
+}
diff --git a/x11-misc/xdg-utils/xdg-utils-1.1.2-r1.ebuild b/x11-misc/xdg-utils/xdg-utils-1.1.2-r1.ebuild
new file mode 100644
index 000000000000..9856867b8fb8
--- /dev/null
+++ b/x11-misc/xdg-utils/xdg-utils-1.1.2-r1.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit autotools
+
+MY_P=${P/_/-}
+
+DESCRIPTION="Portland utils for cross-platform/cross-toolkit/cross-desktop interoperability"
+HOMEPAGE="https://www.freedesktop.org/wiki/Software/xdg-utils/"
+#SRC_URI="https://dev.gentoo.org/~johu/distfiles/${P}.tar.xz"
+#SRC_URI="https://people.freedesktop.org/~rdieter/${PN}/${MY_P}.tar.gz
+# https://dev.gentoo.org/~ssuominen/${P}-patchset-1.tar.xz"
+SRC_URI="https://portland.freedesktop.org/download/${MY_P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
+IUSE="doc"
+
+RDEPEND="
+ dev-util/desktop-file-utils
+ dev-perl/File-MimeInfo
+ dev-perl/Net-DBus
+ dev-perl/X11-Protocol
+ sys-apps/dbus
+ x11-misc/shared-mime-info
+ x11-apps/xprop
+ x11-apps/xset
+"
+DEPEND=">=app-text/xmlto-0.0.26-r1[text(+)]"
+
+DOCS=( README RELEASE_NOTES TODO ) # ChangeLog is bogus, see git instead
+
+RESTRICT="test" # Disabled because of sandbox violation(s)
+
+#S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ default
+ # If you choose to do git snapshot instead of patchset, you need to remember
+ # to run `autoconf` in ./ and `make scripts-clean` in ./scripts/ to refresh
+ # all the files
+ if [[ -d "${WORKDIR}/patch" ]]; then
+ eapply patch
+ fi
+ eautoreconf
+
+ if pushd scripts &>/dev/null ; then
+ make scripts-clean
+ popd &>/dev/null
+ fi
+}
+
+src_configure() {
+ export ac_cv_path_XMLTO="$(type -P xmlto) --skip-validation" #502166
+ default
+}
+
+src_install() {
+ default
+
+ newdoc scripts/xsl/README README.xsl
+ use doc && dodoc -r scripts/html
+
+ # Install default XDG_DATA_DIRS, bug #264647
+ echo XDG_DATA_DIRS=\"${EPREFIX}/usr/local/share\" > 30xdg-data-local
+ echo 'COLON_SEPARATED="XDG_DATA_DIRS XDG_CONFIG_DIRS"' >> 30xdg-data-local
+ doenvd 30xdg-data-local
+
+ echo XDG_DATA_DIRS=\"${EPREFIX}/usr/share\" > 90xdg-data-base
+ echo XDG_CONFIG_DIRS=\"${EPREFIX}/etc/xdg\" >> 90xdg-data-base
+ doenvd 90xdg-data-base
+}
+
+pkg_postinst() {
+ [[ -x $(type -P gtk-update-icon-cache) ]] || elog "Install x11-libs/gtk+:2 for the gtk-update-icon-cache command."
+}
diff --git a/x11-misc/xdialog/Manifest b/x11-misc/xdialog/Manifest
new file mode 100644
index 000000000000..42f5c85487d2
--- /dev/null
+++ b/x11-misc/xdialog/Manifest
@@ -0,0 +1,7 @@
+AUX xdialog-2.3.1-install.patch 347 SHA256 d3353a57b313b46ccafe2fc92662b7694602bd1bb6d302df0322b738b3828aa3 SHA512 756aec03d9ee6ba0fa2f567d6c3db69916290a3b65474c2f1dd912d6f11095343c2d74a8ab60fc7d9d861165058e8ad8bbb8fc2827e663927e85747b9538ed05 WHIRLPOOL c76a2090ca4666ad557493dd80edeb3260861e96c7e8b66b2cb30e3cb9b968fb10a120291d29029cad0f3bb3b29867e02456c2e2db02d93817588fb41810a2da
+AUX xdialog-2.3.1-no-strip.patch 1449 SHA256 61e8dcbad6a26ca976f59e7b8e9ede6c12f1cac157f87246538d951cb0e1041d SHA512 352ea269be3d48aaec50ff6ec49524da80a5df837ef13851646f0cf4d38e5901e639881b4106112b3d515f764042dce70f423d501ea1dda2493b4061dbba9ea6 WHIRLPOOL 55b91cb8663db2e6bd329f67715c7e09836b7026f4584a9a5cc6a4a3b7f1c7d47626fa9e74670bbfe5a9dbf0a95b2675c82a67c66c6276450bb44b05bd0cd223
+DIST Xdialog-2.3.1.tar.bz2 457938 SHA256 1d446899697145fc36623d8afdd274066177da9383a6b619c18e8eb1b2ba589a SHA512 2a0f6e15297ae3ef54a41da1b1fe2ef376d28757d47433df2b8e9918cd4f95871a630b94ec544bd848e518df7f86934030a71bf0371a1466286bf7d912335525 WHIRLPOOL 27a2a25bf2eea348a9dbdf04aed334fa70e35f8d84d56e8ee561ebb345e8c457c6b9cff83a99c9df07686dc20e25d3bb980fae6b9d774d601ddbff2a04f49010
+EBUILD xdialog-2.3.1.ebuild 921 SHA256 7c2391504f6fc3173c63c3d1236dac03bc43b55bca6f1b6cd70b95d774f3b9c4 SHA512 bc74ed8f3bc7e434c9c43d5c1c28d78a33ec7a965b484e4909d6c3fe4bc8d19eb1b283855b1819d8cf8aafed924c4c911b1cff1c997d93d8895d875fc188dbe0 WHIRLPOOL 586b068aeff12018f4ae89bd38f826c3945467c6e6a116fdd7b58bd4202be4305f207b0ea6fa02aa6450a4ecabfd6335fc4a1edbb4bda312facafc4ea3954b6e
+MISC ChangeLog 3037 SHA256 0232ba770a7d2b8b7f7c9bcc2bcdb95e5205a5064e4a947ab6e430f021794dfa SHA512 bed7fadea7bb8215726285de428403d2d82c30fc43442d9d3b4aa4244cb2bb57356372fa1054f092f666caae967d7b78d2545709b589a7d8ae48eb1009babf3c WHIRLPOOL 149f5ac38e7a4810a0c24b485b0329e89219a80a778d6aa581fc4e3bd781fb645b9b462acd085d7bc9d31622f43172dfc61c3fd47d560eb44175d6ae78a555ed
+MISC ChangeLog-2015 4037 SHA256 9bd0df2254ce38f3b0559c5015a41a25b2b27d2c9867e0049edcb094a0db440c SHA512 c7ab54446c493e8c5d6e8360e56b33977dd1e410bcc0c75bded320d5b7433e20c45e2676df8110ff8db6c420cb72b6b0a9f062c7d0540b39755c3e501472ef9e WHIRLPOOL 881576b8e4e7e526b370b0422b2ba642e69b56c550319c6b38c18e6df237d3d850af00883a77245dc06367cfd9a1889a3490620d4ece79472358c75797ee1165
+MISC metadata.xml 272 SHA256 b389ad9ba70c18154af4fc164e31d5b1e2a4e99815d34319b4a4f46ccef2be52 SHA512 ebe67da08587903b5b82fc194aa3c8f1ab65371f60d2c134928362e089550d9e9fd9531bffe8b676a345b5bf0ab209ce7f50d37d98201a88176f002e17582493 WHIRLPOOL 3d6a9660a11c299dbb7fa3ec6821005f2540dc8fc9e499206d38d79d54023b3ddc66a019b2c88fbc92199b9f5335088b47fa3fdd781f92f2da3ad98b26bc2a50
diff --git a/x11-misc/xdialog/files/xdialog-2.3.1-install.patch b/x11-misc/xdialog/files/xdialog-2.3.1-install.patch
new file mode 100644
index 000000000000..f5a02b099d92
--- /dev/null
+++ b/x11-misc/xdialog/files/xdialog-2.3.1-install.patch
@@ -0,0 +1,13 @@
+http://bugs.gentoo.org/327353
+
+--- doc/Makefile.am
++++ doc/Makefile.am
+@@ -6,7 +6,7 @@
+
+ CLEANFILES = index.html compatibility.html changelog.html license.html Xdialog.1
+
+-doc_DATA = index.html compatibility.html changelog.html license.html $(srcdir)/*.html $(srcdir)/*.png
++doc_DATA = $(srcdir)/*.html $(srcdir)/*.png
+
+ man_MANS = Xdialog.1
+
diff --git a/x11-misc/xdialog/files/xdialog-2.3.1-no-strip.patch b/x11-misc/xdialog/files/xdialog-2.3.1-no-strip.patch
new file mode 100644
index 000000000000..a507f3f0cfbb
--- /dev/null
+++ b/x11-misc/xdialog/files/xdialog-2.3.1-no-strip.patch
@@ -0,0 +1,48 @@
+diff -Nru Xdialog-2.3.1.vanilla/configure.in Xdialog-2.3.1/configure.in
+--- Xdialog-2.3.1.vanilla/configure.in 2009-02-11 09:54:10.000000000 +0000
++++ Xdialog-2.3.1/configure.in 2009-02-11 09:59:28.000000000 +0000
+@@ -36,13 +36,8 @@
+ CPPFLAGS="$CPPFLAGS -DUSE_GTK2"
+ AC_MSG_RESULT(Compiling for GTK2)
+ ])
+-if test "$compile_for" = "gtk2" ; then
+- AM_PATH_GTK_2_0(2.2.0, ,
+- AC_MSG_ERROR(Cannot find GTK2.))
+-else
+- AM_PATH_GTK(1.2.0, ,
+- AC_MSG_ERROR(Cannot find GTK: Is gtk-config in path?))
+-fi
++AM_PATH_GTK_2_0(2.2.0, ,
++ AC_MSG_ERROR(Cannot find GTK2.))
+
+ dnl Set PACKAGE_DATA_DIR in config.h.
+ if test "x${datadir}" = 'x${prefix}/share'; then
+@@ -59,28 +54,6 @@
+ packagesrcdir=`cd $srcdir && pwd`
+ AC_DEFINE_UNQUOTED(PACKAGE_SOURCE_DIR, "${packagesrcdir}", [ ])
+
+-dnl Use -Wall if we have gcc.
+-if test "x$GCC" = "xyes"; then
+- case " $CFLAGS " in
+- *[[\ \ ]-Wall[\ \ ]]*) ;;
+- *) CFLAGS="$CFLAGS -Wall" ;;
+- esac
+- case " $CFLAGS " in
+- *[[\ \ ]-s[\ \ ]]*) ;;
+- *) CFLAGS="$CFLAGS -s" ;;
+- esac
+- case `gcc --version` in
+- 2.95*|2.96*|2.97*)
+- case " $CFLAGS " in
+- *[[\ \ ]-fno-omit-frame-pointer[\ \ ]]*) ;;
+- *) CFLAGS="$CFLAGS -fno-omit-frame-pointer" ;;
+- esac
+- AC_MSG_RESULT(Buggy GCC version: compiling with -fno-omit-frame-pointer)
+- ;;
+- *) ;;
+- esac
+-fi
+-
+ AC_ARG_WITH(french-labels,
+ [ --with-french-labels Enables french labels in menus],[
+ CPPFLAGS="$CPPFLAGS -DFRENCH"
diff --git a/x11-misc/xdialog/metadata.xml b/x11-misc/xdialog/metadata.xml
new file mode 100644
index 000000000000..49c86a887b6a
--- /dev/null
+++ b/x11-misc/xdialog/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+</maintainer>
+</pkgmetadata>
diff --git a/x11-misc/xdialog/xdialog-2.3.1.ebuild b/x11-misc/xdialog/xdialog-2.3.1.ebuild
new file mode 100644
index 000000000000..b98cd8fbe72b
--- /dev/null
+++ b/x11-misc/xdialog/xdialog-2.3.1.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit autotools eutils
+
+DESCRIPTION="drop-in replacement for cdialog using GTK"
+HOMEPAGE="http://xdialog.free.fr/"
+SRC_URI="http://${PN}.free.fr/Xdialog-${PV}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 ~hppa ppc x86"
+IUSE="doc examples nls"
+
+RDEPEND="
+ dev-libs/glib:2
+ >=x11-libs/gtk+-2.2:2
+"
+DEPEND="
+ ${RDEPEND}
+ virtual/pkgconfig
+ nls? ( sys-devel/gettext )
+"
+
+S="${WORKDIR}/${P/x/X}"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-{no-strip,install}.patch
+)
+
+src_prepare() {
+ epatch "${PATCHES[@]}"
+
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ $(use_enable nls) \
+ --with-gtk2
+}
+
+src_install() {
+ default
+
+ rm -rv "${D}"/usr/share/doc || die
+
+ dodoc AUTHORS BUGS ChangeLog README
+
+ use doc && dohtml -r doc/
+
+ if use examples; then
+ insinto "/usr/share/doc/${PF}/examples"
+ doins samples/*
+ fi
+}
diff --git a/x11-misc/xdiskusage/Manifest b/x11-misc/xdiskusage/Manifest
new file mode 100644
index 000000000000..e91d7238d0d5
--- /dev/null
+++ b/x11-misc/xdiskusage/Manifest
@@ -0,0 +1,5 @@
+DIST xdiskusage-1.51.tgz 54248 SHA256 6fb2447f311299f9cb949f6954b333371209f7d53dd6a58700a679a1001089c6 SHA512 73335bbd5dc3e1f753efb84e7921fe7568f83daae7c4026c8b23fbacc4257b885de56f4dc8f682b03663a56f7def1227b8a4b6abf419aff8ecdd26ae51d4885a WHIRLPOOL fbabff47fbf0e711e21d9f88590f153cfbfe2a4674b976337ea64a0ffde96fae83882f1e1f8dc63edab186c14ab917b8824978ddcfde1c360c108ebf6503c5c2
+EBUILD xdiskusage-1.51.ebuild 576 SHA256 aee32b61ad5e079897433b72934d857f5a4c0f3cfaffe854826c498d2912bdc1 SHA512 f322e5957ef4a9357ca2a28437b4ff66858eacc50e7eac75a9e638ad173c06fe60292aa23b1e0a69ec333a4d77216ecdba80cc1a95f2ee6e9f32ea6b938cd28e WHIRLPOOL ef8d88ebdf7fe62956bad7ccde1d34bcd67b206f8470201ce6a01d6714ad7be6252210c191005d40587407079b8011352cbeb25509ffcad20a66da52befe6567
+MISC ChangeLog 3185 SHA256 f38ce6d523e1775d842f4705d64058be015b3b8dfb29d56adc6e304ebbabf815 SHA512 b33071da4917b2d3a20841f06c222bf6ecf2ec4954747e1df78fcdbe97fb59535236461ab6a6f0f9227dc82e2093ec42139b87b3e44ad1db8f2edd1fb5c62f85 WHIRLPOOL 6fe45c1530de1711198f9557e032a359095d128bd974560cab2b347cd54026ad17a624e06f9810ea6c351e4af36d59e3369b676ab313ea3c042b37a9524ac4e4
+MISC ChangeLog-2015 3011 SHA256 2f85d2e27e39152d6ea281c1d6ff9a2e82152350d4b82003b6278bbdb5e02c3e SHA512 b55600f8ad6dc32af8f69ec3542ee15576aee890fe82571dfb689241ed7585c423f1fc55fa8a5bef3a7ee11c37c530c8cda62c1c7d99f6da12c02840cebb8dff WHIRLPOOL 2739bba77125cefb13340a0ffd4d96aae200778e9ae838530473e9febfea44d44fd7555080c4fa68ffb1d920c2abe536355917fc5fd76d8388111001ae7ca5cc
+MISC metadata.xml 366 SHA256 271da10328e90517aecc7e94917c847f8805b72547dfc757ad701fb567a99332 SHA512 70a6112f01001d3b6d064a925c778eac80c45ff1e8f5fa5474b9c21f4f27062f3eb94cf244e3996a271ab1dd1e6d28f51a201db49cb23f38f579adff27f8aad7 WHIRLPOOL af56af58f93ed158f3bdec0dcfa3e232be2d6b7257751957ba6c321eec7e641f9aa03dee2559976cab01201450353f07f38b6e8474d49231124e78dc936575a5
diff --git a/x11-misc/xdiskusage/metadata.xml b/x11-misc/xdiskusage/metadata.xml
new file mode 100644
index 000000000000..8e4097862009
--- /dev/null
+++ b/x11-misc/xdiskusage/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">xdiskusage</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/xdiskusage/xdiskusage-1.51.ebuild b/x11-misc/xdiskusage/xdiskusage-1.51.ebuild
new file mode 100644
index 000000000000..12e04ceab445
--- /dev/null
+++ b/x11-misc/xdiskusage/xdiskusage-1.51.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="user-friendly program to show you what is using up all your disk space"
+HOMEPAGE="http://xdiskusage.sourceforge.net/"
+SRC_URI="${HOMEPAGE}${P}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~ppc x86 ~x86-fbsd"
+
+RDEPEND="
+ >=x11-libs/fltk-1.3:1
+"
+DEPEND="
+ ${RDEPEND}
+"
+
+src_compile() {
+ emake \
+ CXXFLAGS="${CXXFLAGS} $(fltk-config --cxxflags)" \
+ LDLIBS="$(fltk-config --ldflags)"
+}
+
+src_install() {
+ dobin ${PN}
+ doman ${PN}.1
+ dodoc README
+}
diff --git a/x11-misc/xdo/Manifest b/x11-misc/xdo/Manifest
new file mode 100644
index 000000000000..9662b42cc665
--- /dev/null
+++ b/x11-misc/xdo/Manifest
@@ -0,0 +1,9 @@
+DIST xdo-0.5.6.tar.gz 7191 SHA256 cd2c1a672a02f288cfc08a05a0aadc716a170e27332d9db9d39d1ab7717f3a18 SHA512 0366f1eb473db32909619b9d7059e6528b071d920a3148c6f31b8911fc0cc5e0c9f8de56d95a0dfce29d554c76cdf967438d99c267826416bb03487efb78346d WHIRLPOOL f41ee47df8b26069d34a0f1776664f066f97a268b121f1c276c40535778c060209b8248352502a522afb6b432771fc8bede2186e4d7aebb603a7c4a8d05d29cc
+DIST xdo-0.5.7.tar.gz 7453 SHA256 b661229f0457939d3867cca1664c5671ae959b309feb58abe9142229c8c7ffb4 SHA512 0978a8571a35899c916495c9d38458adb6c766db4d498dfacf2f0a46e373f7caa3c3e227096b3e60e03c67b972777cf7519e5b6eee7ebb91f82d4450ac0ff98d WHIRLPOOL da5615ce65774ac0e41c6e040f0009c10a1d89ddad83508a6a9b37de6585258f6f82de9693cf5a75adf4171a21e29d3e822cd23bb02af09137ef08c4433886e7
+DIST xdo-0.5.tar.gz 6853 SHA256 2686cfbe3727586fae770a033731a92abd35146951961a5e0bf781288296566a SHA512 a33a1480d45b641e471a65b93ac6d5b8c1922559370590a49dd27f5ff139ad59484e4c82266f1a0c2e2c8d6d237a56fc7122424d1270f34f7b9ba616fd04e486 WHIRLPOOL d239fda4bc970c04aa03e0815d598a451b633d023a6277a6c1b330d18246ea36899c1e4c1095de3e8a0fc79a67771a674992331028c154347c7edae5ed1e3024
+EBUILD xdo-0.5.6.ebuild 591 SHA256 0d40e88f19d427b141ba457ec05f08e5121653a864f4268f220ad6d8a0790573 SHA512 2c869d592d97bc9eb2ed24d989ac3ae82fd8342febe64f5a964051ddcd7138b051e1935894d6701afb83d9c4973bb52980a24e108b4544fc1045af39253e3758 WHIRLPOOL a2bc3bc58656efd1d768d8cdfd2ec7efe1248746fa47deed6f14aac57630573c062de510f46d810629c500ea84e8868e56ef5cdc5444b551cb4ba562b2d55a8f
+EBUILD xdo-0.5.7.ebuild 591 SHA256 0d40e88f19d427b141ba457ec05f08e5121653a864f4268f220ad6d8a0790573 SHA512 2c869d592d97bc9eb2ed24d989ac3ae82fd8342febe64f5a964051ddcd7138b051e1935894d6701afb83d9c4973bb52980a24e108b4544fc1045af39253e3758 WHIRLPOOL a2bc3bc58656efd1d768d8cdfd2ec7efe1248746fa47deed6f14aac57630573c062de510f46d810629c500ea84e8868e56ef5cdc5444b551cb4ba562b2d55a8f
+EBUILD xdo-0.5.ebuild 572 SHA256 1e9efed8815d8590a14eb7f27a32e4af7fae2dcae9f1bc551b253dccf34c7aa8 SHA512 c3a81e361926988c38801fbf021ea02a7e610a0b7affeac5ddfbd85ddccf7608b5d801f7518c876f9c7af9f6978e3ee442eddafa5df6fa16a650f9c9ec166069 WHIRLPOOL 65252a9f8ac5835cc588069cca18a61f72f95743177737a8989e3d96b55e007bf6f12b9a4318280e363e83bfcf6144a8e66fd707d71a806a82d01ead61ca3e89
+MISC ChangeLog 2313 SHA256 43802e28deff81be9c1873f0c006897a7cc9d9b5b608d0338cc5d8f79d5dc400 SHA512 33f79fc881167f342033cf1deb89a58573d7245d17f96c9980833f3b866e2d80b4a3a26d7e153bde5838c1f7fadfde50d4eb9ede78dc5354257717ec16d52c12 WHIRLPOOL dcfcbe2ee17b7a5ea11260582da2bd2841f75a4aa2f1c6d721ea341ebe8c3c9cdd19652766df0be208b5bf548ca95dd61d4ce107dff8bceef7c2c3f5c6e96199
+MISC ChangeLog-2015 433 SHA256 78270cc8a107eee7d1cf72b3974320ae465173a7e81e72323193b59378b876de SHA512 cfc8a5d596fcdbd4501453daa38029a7e2876bd1183fbe6d97c3a1038277f70aeb18ca0569973ec64215e9921c097bb3d6225f2b9d0c8568e9f2ee0a5476377a WHIRLPOOL 43b9c68e82d469e9e24c7163fa6c574e3379c3c7f92aae51731047c4e640961df9992b1856101b0d9b2d561065e117de519887afdcd439bed39cc7b672417d4c
+MISC metadata.xml 326 SHA256 629622c27160eb3e307bb638ac61fa0c225ff1b49a94046e1f2efd913981756b SHA512 bae24931944dfc68919a1776cd4563aefc0e772e7cfd2838a93a1cc8b1f15383ded32fda000944e5100bbd40a5d993e2a55d6c7ffe74515442cbb4bd1795fc0f WHIRLPOOL 3a8bcbdbefaca2b0cf73f6ccceaba0e8f321f089aabedc61ecd76b7ff6ac2a9f9e26a23397eeec64dbf79819dfe171bd40dac73ddd4c9f6ff61b8a655eaa323a
diff --git a/x11-misc/xdo/metadata.xml b/x11-misc/xdo/metadata.xml
new file mode 100644
index 000000000000..68c50fd1490e
--- /dev/null
+++ b/x11-misc/xdo/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>radhermit@gentoo.org</email>
+ <name>Tim Harder</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">baskerville/xdo</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/xdo/xdo-0.5.6.ebuild b/x11-misc/xdo/xdo-0.5.6.ebuild
new file mode 100644
index 000000000000..785b54546acb
--- /dev/null
+++ b/x11-misc/xdo/xdo-0.5.6.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit toolchain-funcs
+
+DESCRIPTION="Small X utility to perform elementary actions on windows"
+HOMEPAGE="https://github.com/baskerville/xdo/"
+SRC_URI="https://github.com/baskerville/xdo/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="x11-libs/libxcb
+ x11-libs/xcb-util
+ x11-libs/xcb-util-wm"
+RDEPEND="${DEPEND}"
+
+src_compile() {
+ emake CC="$(tc-getCC)" PREFIX=/usr
+}
+
+src_install() {
+ emake PREFIX=/usr DESTDIR="${D}" install
+}
diff --git a/x11-misc/xdo/xdo-0.5.7.ebuild b/x11-misc/xdo/xdo-0.5.7.ebuild
new file mode 100644
index 000000000000..785b54546acb
--- /dev/null
+++ b/x11-misc/xdo/xdo-0.5.7.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit toolchain-funcs
+
+DESCRIPTION="Small X utility to perform elementary actions on windows"
+HOMEPAGE="https://github.com/baskerville/xdo/"
+SRC_URI="https://github.com/baskerville/xdo/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="x11-libs/libxcb
+ x11-libs/xcb-util
+ x11-libs/xcb-util-wm"
+RDEPEND="${DEPEND}"
+
+src_compile() {
+ emake CC="$(tc-getCC)" PREFIX=/usr
+}
+
+src_install() {
+ emake PREFIX=/usr DESTDIR="${D}" install
+}
diff --git a/x11-misc/xdo/xdo-0.5.ebuild b/x11-misc/xdo/xdo-0.5.ebuild
new file mode 100644
index 000000000000..a3b6c5acf16b
--- /dev/null
+++ b/x11-misc/xdo/xdo-0.5.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit toolchain-funcs
+
+DESCRIPTION="Small X utility to perform elementary actions on windows"
+HOMEPAGE="https://github.com/baskerville/xdo/"
+SRC_URI="https://github.com/baskerville/xdo/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="x11-libs/libxcb
+ x11-libs/xcb-util-wm"
+RDEPEND="${DEPEND}"
+
+src_compile() {
+ emake CC="$(tc-getCC)" PREFIX=/usr
+}
+
+src_install() {
+ emake PREFIX=/usr DESTDIR="${D}" install
+}
diff --git a/x11-misc/xdock/Manifest b/x11-misc/xdock/Manifest
new file mode 100644
index 000000000000..a7cf21a52caa
--- /dev/null
+++ b/x11-misc/xdock/Manifest
@@ -0,0 +1,6 @@
+AUX xdock-0.2.0-ldconfig.patch 130 SHA256 eb59ec88b81502932dfc24d59b4fe6aa0acce9fa1173add4dc782e8585a37cde SHA512 1dcb07e5aa82cbff4f6728a419587d4f661ef7d89fb63ca89949d89b6bd03554a3cfb0401d6c1eb3dc2ad214aba40235105ae95b49d3bb215ab6062e22a095da WHIRLPOOL edb1df804bdbc777705e2454f8abdafd78be467fa61227a9a2f2943da3459e80512b020a7e7adb1d45f5e04f933ca48f1a318d1a9cdd8e8123f8f2dd949bf9eb
+DIST xdock-0.3.0.tar.gz 345753 SHA256 eaa70e0890cde23d2dd6821ad4825a0b096d2def4a437ad01d2b6bfbf77f3d75 SHA512 72fcfa4ae643a054c2ea1a4a4bc2772cb961dedfbb8d85acfaa997bea574cb6b2df3f88bc6bb9dae3a2a27a7a0136887c79e2508ff2e69998c4c985d34080e88 WHIRLPOOL 77b839b3eca278a6fe602de92c92a54d76c928c2cc17ffe3ee892a98a55d5d4560935b77c9f53a052e94b778cc11e86e4677c92cecf2fc0e4df72785698b98b2
+EBUILD xdock-0.3.0.ebuild 602 SHA256 5a61855524769f0a64938d4e0e10c8e0ce5d7c65dc299c9273dda6fa6229a9e2 SHA512 890cb7b41761a3fef61e445ccc22049e7c387cb8d51a2c57f29d1cc79ef43fa1a66735e97cd3c5dd7188e2caa5e9c9dda644b3e385fc78070a3a24bccdbcb92e WHIRLPOOL ef540f7abf2ec36324bac7fb06d7ef8c29469406b753793809ae84d29069dc70b7c2358b7552280d45bd582cd876b269a2347f17f591311c22ae90e3dc525fe1
+MISC ChangeLog 2485 SHA256 5e7daa259c66b276642f44d3f72d1b993578a27fba450833c7811ef852566c6f SHA512 4c964ccdca10d2ae75b926903eb210d8015aeb71a4415196730415a165b760fdcdb8ea6c7c85778cdc87383f22685cfcd9b5d539ed775e71159fd7fe50404b6e WHIRLPOOL a0ed3eba32fec5c479d514e2fc9e9f0eb6b43cce9ca612625c9ab807e70546baa2f8279883d86772ca9fb4697759f1553870ecc4f3edac8c82698f80c4184fd5
+MISC ChangeLog-2015 841 SHA256 12edd3350b5bf31bd59781b8509fff0588ece471c274e4a6af12d00a6f538917 SHA512 7fb38528762587d7eea8bb5137dd4f38c50aab6a0a1de06fcff2eeaa2980c0d1905dd381254b4f8238346d1e6c771ecad6555e28ffd2714ec3102401f23458bd WHIRLPOOL dc8d953f0b24726ac5c0f4acfce9b23f03a17d7d7924939974d64d65443fb6ea80d8e726ad91b38a168c328cee0e03d3be42516b52425396e29089ca6fd4ec35
+MISC metadata.xml 242 SHA256 8d95a1853dc9ecb6985d4af2dc60f2899788e6dd82db7bac0a77bdb04541b369 SHA512 701935c228e920f201ac49d55cc4160ed7efa62348c372935cb2a19333450d8af53a11cb4a509a357c0856e2d09469323d3fa1592d255716a6fae468f7659ccd WHIRLPOOL d539f0eec45985689cd524929f95454288dc4839b9cd83be1ebb5e7053a2e74e7524bc61df553ca22e7976cffbbccd8a9dbd56f9fbb80cbbe9cce051057a64cf
diff --git a/x11-misc/xdock/files/xdock-0.2.0-ldconfig.patch b/x11-misc/xdock/files/xdock-0.2.0-ldconfig.patch
new file mode 100644
index 000000000000..31956ccd8362
--- /dev/null
+++ b/x11-misc/xdock/files/xdock-0.2.0-ldconfig.patch
@@ -0,0 +1,8 @@
+--- a/src/lib/Makefile.am
++++ b/src/lib/Makefile.am
+@@ -8,5 +8,3 @@
+
+ include_HEADERS = xdock.h
+
+-install-exec-hook:
+- ldconfig
diff --git a/x11-misc/xdock/metadata.xml b/x11-misc/xdock/metadata.xml
new file mode 100644
index 000000000000..41d3ac17be6e
--- /dev/null
+++ b/x11-misc/xdock/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <upstream>
+ <remote-id type="sourceforge">xdock</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/xdock/xdock-0.3.0.ebuild b/x11-misc/xdock/xdock-0.3.0.ebuild
new file mode 100644
index 000000000000..63c9381744b7
--- /dev/null
+++ b/x11-misc/xdock/xdock-0.3.0.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit autotools eutils
+
+DESCRIPTION="emulates Window Maker docks (runs in any window manager)"
+HOMEPAGE="http://xdock.sourceforge.net"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="x11-libs/libX11"
+DEPEND="${RDEPEND}"
+
+DOCS=( API AUTHORS ChangeLog README TODO )
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-0.2.0-ldconfig.patch
+ sed -i -e 's|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|g' configure.ac || die
+ eautoreconf
+}
diff --git a/x11-misc/xdotool/Manifest b/x11-misc/xdotool/Manifest
new file mode 100644
index 000000000000..58b03691fcea
--- /dev/null
+++ b/x11-misc/xdotool/Manifest
@@ -0,0 +1,7 @@
+DIST xdotool-3.20150503.1.tar.gz 102125 SHA256 e8326883bd5e91bede7336cbee186e6e9143f40b3fb61c84afc9bb31b87e96d1 SHA512 d8eb411490d2f4936d63cd459e3319f76faf6dd415a3c2c68446b5a98d24290794dbffd22fbccfef5acc7d8aec6ce92b2135ecb3e1178607fc7d5b1e1767ede1 WHIRLPOOL 624b6fe82248ad31d4446dc5f42269c82d8d366e46d40313b77a78af18502cc57e8bf430fc7f175ed6d5474fe0c7de8643fd6cfba146ebc72e4f5545be48086c
+DIST xdotool-3.20160805.1.tar.gz 105388 SHA256 35be5ff6edf0c620a0e16f09ea5e101d5173280161772fca18657d83f20fcca8 SHA512 e27b1029ee954ea17643ed489a00a1856e5687b03772c0f10a8e50cde3c3c957b57a3ba9890005474a744a228ef4827a83770d6890479c37a1f98f4fd7b1ff6c WHIRLPOOL 507279ba24036ce763a84a589d4fac7cf1c8ca4c931b6f6cb9649caaa1534d14f5cd572338f11328631b9cc5fd04042b8d6d629c74d661e6638d246aaded454e
+EBUILD xdotool-3.20150503.1-r1.ebuild 1298 SHA256 ab2ed7869c1823448fccaa82b27137883dbdc724be66e7da2c96b09daa28372e SHA512 37ea78350290a4bdfdac0c238b491ec464484e8bdb4bd8f64b2688a9f56728a93ffed84f913a098d0aed6ed5a3323a68b3bc353cf6299dc76f596226afee230b WHIRLPOOL 49bef000921e31a5703d97f0f37d45561d80588d644e4d548a212574a98c5d6073f166be34a25c13b5c06018014fbe01bc685a5d29efac138dbf55ae07a20b41
+EBUILD xdotool-3.20160805.1.ebuild 1352 SHA256 cb450b304cd8e61cd40246778c66423bd90acbd9812d16ca34963a791732d34c SHA512 f46e55a45da523f968366f87ccae014f8ec5627f692bb6a6e123070996afe0d277b36365af13e373580271531d2bb755f7301164fb1ad7ce6fa378601ee5cb5e WHIRLPOOL db684f0b605d7b6e77423ce926d4eb9ae97c2fd73f74eb447efeefebb1b4f6ee2e442e436d70519fe43440fec9661bbac0d8222a26b1a6ecef74a850cad62030
+MISC ChangeLog 3258 SHA256 f90f8afc968360c573a123b29c0717cbbba8a3ac5c0ed48be58caaaa4ea318ae SHA512 f2d131493002cdf5b43870b1aa82ac42a1482f226abbeae48ed60aeb08f0b320283e63c0b0b18ed7b7284c2069edd167158fdb491ad8e890bc45a31bd748eee9 WHIRLPOOL ca1dc704aa289fcba5a71d3255b3933ec44567c1397852c10b0e9e06ddc2c53f876e2a69e65b533f02e7ca3abc16145e9311fc425d3d0954dae9f1d7b1aebe6b
+MISC ChangeLog-2015 5049 SHA256 3f2fa92941411f6821d5b9f2f0689aca309dcce0c92d028fa154ef41fa89acc1 SHA512 b08ce0d0479e6f1ef710ee1e844723f3dbad7e5b437c6fb2abe0abb47002ef7b8eb604c96d28000884426cb26fe1a6374aceabe61a233bb62eab8d7b305b9ec6 WHIRLPOOL a1b6533b3bfa824b41f619cc499b0d591ce708c58c4e9342ba92cc7ddb1c49c45428d1f0cc8db4bc3fcd7d464b758342ca53450077748d841bcc331d624826ad
+MISC metadata.xml 583 SHA256 6b31b88fb0a9d1901b323e2a3104f17d40e11ae1a0bef83b48572df4a4908778 SHA512 7c09064d2334d1f6b4d488bd9aaf091e0b27a7e674f151c62bea6e988d58c71996cf20f5d63587e14903a80b5f93e77305d493b94fe03a68ab24fbf1a438df76 WHIRLPOOL c6228ab9c1be833d9d110bcf3e482f4255f6eb96d87f9e7acd0a88746a854624d2314c909533e0031084f208c53d80909a7c5662b2fc80eeb31904d1627fdf2d
diff --git a/x11-misc/xdotool/metadata.xml b/x11-misc/xdotool/metadata.xml
new file mode 100644
index 000000000000..f872516554a8
--- /dev/null
+++ b/x11-misc/xdotool/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type='project'>
+<email>desktop-misc@gentoo.org</email>
+</maintainer>
+<longdescription>
+This tool lets you programatically (or manually) simulate keyboard input and
+mouse activity, move and resize windows, etc. It does this using X11's XTEST
+extension and other Xlib functions.
+</longdescription>
+<upstream>
+<remote-id type="google-code">semicomplete</remote-id>
+<remote-id type="github">jordansissel/xdotool</remote-id>
+</upstream>
+</pkgmetadata>
diff --git a/x11-misc/xdotool/xdotool-3.20150503.1-r1.ebuild b/x11-misc/xdotool/xdotool-3.20150503.1-r1.ebuild
new file mode 100644
index 000000000000..ff99623dbe7f
--- /dev/null
+++ b/x11-misc/xdotool/xdotool-3.20150503.1-r1.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit toolchain-funcs flag-o-matic multilib
+
+DESCRIPTION="Simulate keyboard input and mouse activity, move and resize windows"
+HOMEPAGE="http://www.semicomplete.com/projects/xdotool/"
+SRC_URI="https://github.com/jordansissel/xdotool/releases/download/v${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="amd64 arm ppc x86"
+IUSE="examples"
+
+RDEPEND="x11-libs/libXtst
+ x11-libs/libX11
+ x11-libs/libXinerama
+ x11-libs/libxkbcommon"
+DEPEND="${RDEPEND}"
+
+# The test wants to manualy start Xvfb, wont use VirtualX and it tries
+# to run a full gnome-session. For such a tiny application i consider
+# it overkill to rewrite the test scripts to not use it's own X server
+# and add a full blown gnome just to run the tests.
+RESTRICT="test"
+
+src_prepare() {
+ default
+ sed -i \
+ -e "s/installheader post-install$/installheader/" \
+ -e 's:\<pkg-config\>:$(PKG_CONFIG):' \
+ Makefile || die "sed failed"
+}
+
+src_compile() {
+ tc-export CC LD PKG_CONFIG
+ default
+}
+
+src_install() {
+ emake PREFIX="${D}usr" INSTALLMAN="${D}usr/share/man" INSTALLLIB="${D}usr/$(get_libdir)" install
+
+ dodoc CHANGELIST README
+ if use examples; then
+ insinto /usr/share/doc/${PF}/examples
+ doins examples/*
+ fi
+}
diff --git a/x11-misc/xdotool/xdotool-3.20160805.1.ebuild b/x11-misc/xdotool/xdotool-3.20160805.1.ebuild
new file mode 100644
index 000000000000..08639af89e26
--- /dev/null
+++ b/x11-misc/xdotool/xdotool-3.20160805.1.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit toolchain-funcs flag-o-matic multilib
+
+DESCRIPTION="Simulate keyboard input and mouse activity, move and resize windows"
+HOMEPAGE="http://www.semicomplete.com/projects/xdotool/"
+SRC_URI="https://github.com/jordansissel/xdotool/releases/download/v${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc ~x86"
+IUSE="examples"
+
+RDEPEND="
+ x11-libs/libXtst
+ x11-libs/libX11
+ x11-libs/libXinerama
+ x11-libs/libxkbcommon
+"
+DEPEND="
+ ${RDEPEND}
+ x11-proto/xineramaproto
+ x11-proto/xproto
+"
+
+# The test wants to manualy start Xvfb, wont use VirtualX and it tries
+# to run a full gnome-session. For such a tiny application i consider
+# it overkill to rewrite the test scripts to not use it's own X server
+# and add a full blown gnome just to run the tests.
+RESTRICT="test"
+
+src_prepare() {
+ default
+
+ sed -i \
+ -e "s/installheader post-install$/installheader/" \
+ -e 's:\<pkg-config\>:$(PKG_CONFIG):' \
+ Makefile || die
+}
+
+src_compile() {
+ tc-export CC LD PKG_CONFIG
+
+ emake PREFIX="/usr"
+}
+
+src_install() {
+ emake PREFIX="${D}usr" INSTALLMAN="${D}usr/share/man" INSTALLLIB="${D}usr/$(get_libdir)" install
+
+ dodoc CHANGELIST README
+ if use examples; then
+ insinto /usr/share/doc/${PF}/examples
+ doins examples/*
+ fi
+}
diff --git a/x11-misc/xearth/Manifest b/x11-misc/xearth/Manifest
new file mode 100644
index 000000000000..4a4f3d2c4a68
--- /dev/null
+++ b/x11-misc/xearth/Manifest
@@ -0,0 +1,6 @@
+AUX xearth-1.1-include.patch 231 SHA256 1a47fae774bc74ac750b878eed1dad38a7ac4272c02ea161ac12dd22141857d8 SHA512 9e4fd1d44eeda5c79ab22ceeb20fd005cab71869bcadd17adcb1cee10157c35145e7c7aa6d3c62f3da1be83cc79763b9ad77cfaddd4021dbcb56c8efcbccadb7 WHIRLPOOL ac9a03569975ef92ac69de4c03f35e251ee8775900aa4549822e668f5e0c2cb4a378e4f1ae0d110a3e131f99871a32311cd9761c8d6a6ce48bc85ed716a22859
+DIST xearth-1.1.tar.gz 157887 SHA256 bcb1407cc35b3f6dd3606b2c6072273b6a912cbd9ed1ae22fb2d26694541309c SHA512 ab1c146385a0e61f6208a0218cabc8a10902f52feb50f328a330cdbddc5d2eff2c3efdf6719b625bcc07171ed2fd6201230ad8a71cd77a451ad9c81383bfd46e WHIRLPOOL c5884f3d7bed815f3e9ebe96c078d8646602117744377d8b83065aa4218869a9acdfcd6373d65d6702a1f051a301a0f881cb7f2aae00b0e1db057b13759ab727
+EBUILD xearth-1.1-r1.ebuild 871 SHA256 60d2025020876efa238d6268d57964beb85100ca6065b80a71c200c10382eca3 SHA512 2e98183e2e0afdaed4f8ed20abefda0e502ebc458f71f5ef2c6781613882931870376af66d66a73091c6b04ce9be7dffe21d186f1a8c95d16b1036419bfda45d WHIRLPOOL 6f7bc59d4eb4e8ab976f75c61403a772b284d1a0b5ea2abac7b695c6b80cf8c071c2da6d91c27896442598e1d884c6e41a2887535aeb8d9d92fe9c463eaf55af
+MISC ChangeLog 2852 SHA256 a5abe981be8f382f1343689b9b46b116b9a0069304f9462a7498c400f5413be3 SHA512 95530746283d933237073327992cdc80cb758879194c0ef07ba9204aa71f48725d5146de693a10cdf8e9935a4452949d3d7e429373aee0b94e716651eb1f3e18 WHIRLPOOL da6d34d2bb2d5020f6bda344f61c092fa73a6ef5013afc4e6781cf599010234d003b0eb613e026e18ca6227e5a9ced8f37b3413b002c197f33b85e2d773188c9
+MISC ChangeLog-2015 3259 SHA256 8eb0d491abfc832014b4d30640f2d883a8fb46081eaea23f8a3b9bbb2bccc3dd SHA512 e413a83479a9b56f7dd9f1b82bdd324d56a45cc13c72d46edf63b0a6d7000e08d2aa2b7f065738c64c4363545a4a188f824d1986c68f185b25a3675cae78d5e0 WHIRLPOOL 16302c8dcf9f63009fabea46cf81d188d4a6b264f717da84351780ec1b72f1673ba534c55c667195a9bcfdc44e057cb893619bc889de75f13e9ed96d6267f679
+MISC metadata.xml 318 SHA256 218a00bda7df7396b1c9db4fea27cc69073dd039cb1db1e55d34cfd004209500 SHA512 7d56445a5c7fffdc1104633cdd30eafa17588079b8a1f4cb226984b1aad4e41fe84320608681143dc01c5f1ac5f104cf0717e8183164031644220f9c61086a3b WHIRLPOOL 15d65bcdc3289c77c194a26721b45e700d54a771e5a63d29a52d431b1ac8922ee7ddd7ca11b10dbbb72ba3fd70daa5fba7dba875de04362ab9c489e70d9fb895
diff --git a/x11-misc/xearth/files/xearth-1.1-include.patch b/x11-misc/xearth/files/xearth-1.1-include.patch
new file mode 100644
index 000000000000..d3974b43f2e7
--- /dev/null
+++ b/x11-misc/xearth/files/xearth-1.1-include.patch
@@ -0,0 +1,10 @@
+--- a/gifout.c 1999-11-07 07:51:34.000000000 +0100
++++ b/gifout.c 2010-09-18 02:44:44.000000000 +0200
+@@ -44,6 +44,7 @@
+ */
+
+ #include <stdio.h>
++#include <stdlib.h>
+ #include "port.h"
+ #include "gifint.h"
+ #include "kljcpyrt.h"
diff --git a/x11-misc/xearth/metadata.xml b/x11-misc/xearth/metadata.xml
new file mode 100644
index 000000000000..66187a0f4213
--- /dev/null
+++ b/x11-misc/xearth/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/x11-misc/xearth/xearth-1.1-r1.ebuild b/x11-misc/xearth/xearth-1.1-r1.ebuild
new file mode 100644
index 000000000000..97ec7ce03faa
--- /dev/null
+++ b/x11-misc/xearth/xearth-1.1-r1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit eutils toolchain-funcs
+
+HOMEPAGE="http://hewgill.com/xearth/original/"
+DESCRIPTION="Xearth sets the X root window to an image of the Earth"
+SRC_URI="ftp://cag.lcs.mit.edu/pub/tuna/${P}.tar.gz
+ ftp://ftp.cs.colorado.edu/users/tuna/${P}.tar.gz"
+
+SLOT="0"
+LICENSE="xearth"
+KEYWORDS="alpha amd64 ppc ppc64 x86"
+IUSE=""
+
+RDEPEND="
+ x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXt
+"
+DEPEND="${RDEPEND}
+ x11-misc/imake
+ app-text/rman
+ x11-proto/xproto
+"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-include.patch
+}
+
+src_configure() {
+ xmkmf || die
+}
+
+src_compile() {
+ emake CC=$(tc-getCC) \
+ CCOPTIONS="${CFLAGS}" \
+ EXTRA_LDOPTIONS="${LDFLAGS}"
+}
+
+src_install() {
+ newman xearth.man xearth.1
+ dobin xearth
+ dodoc BUILT-IN GAMMA-TEST HISTORY README
+}
diff --git a/x11-misc/xembedsniproxy/Manifest b/x11-misc/xembedsniproxy/Manifest
new file mode 100644
index 000000000000..f428bb8f0c37
--- /dev/null
+++ b/x11-misc/xembedsniproxy/Manifest
@@ -0,0 +1,4 @@
+AUX xembedsniproxy-5.10.3-Standalone-build.patch 1238 SHA256 9c8ebba25f4c2c2d67af73355363c8fb0ddb0dd3fcf4b74e1c7c3af8ba54a6d3 SHA512 f82b253e67fbdb01ba95d8987eacbcb06f18507c4a9a24e9cda2b56a53455ecacdaaca1a8bd24583156e0316d6e7b2ad638ee9a6cad0821856c9774fd7bf11d3 WHIRLPOOL 40adcaf007ded2c94fb1c9ce20d80926fb0991c521dd1323cce6e5cdcc6f66e487fc6cf6bd8b0fded3d649cdb685f7dffce2bf6763b84a8c0dfb755815c02cce
+DIST plasma-workspace-5.10.3.tar.xz 6994932 SHA256 69d7513ad0ba0acc224cd0dee824795c20e8733f52704e3cf3dca5f6ae6cdf71 SHA512 010d1c125ceaf8fced30221cf2cf890227f55f0fbc87c0701c60466a00be925eda09e2eb07a655e000cfe279dfc89222e7fe216dd248c90d59bb0137c9ab9d66 WHIRLPOOL 447a7430066d4afa0daecf4576c65fd8182323951edeac633f59abc211d193815dd3fc55b120b77f3035e87bcdccf7b7e10412037db09442eaacfee7677dd4b2
+EBUILD xembedsniproxy-5.10.3.ebuild 774 SHA256 8ee29f8a2fa32f5cea18ffe86b47f48b4ffb016f297a4931cfa29953c7d67777 SHA512 0da7cd99d479021c53b3ff3ab4da25ea698f19bbdde0567bc847023aaef6f31ae4d0dcd7c25d34f7e6ff1ab1df4099c431ee190b187035efba6f1a3334e41d5e WHIRLPOOL fe4c211a3a36bdfaf6ea31816193be6ccdd4f8758bfb41bd2f78d13dc753759d9e8f485754603220467a4b20f5e65ce2ce8b529bd8a950213553dd95eef1d98d
+MISC metadata.xml 383 SHA256 dec6ea6a790914dc62dd0d5f5c58e00840969c5da5902eae6e269f0447535bd7 SHA512 43b9dc9d256d23f9fe81341771dfb4ad64776552c44ebbe3333f8b3136e9e37d0db4b90d0a2d962149f84e93a4fdc43ca0f65e955bbd7b2da9b41975a8849644 WHIRLPOOL 9b3a1f82f3b373de9f791601e2474db35622b31e2d77b3c9de11345f393174dc4e033f00579eabad9ff2e07f0e4bf5f1bc5daa04d8f24c6b611bf1f3956f625e
diff --git a/x11-misc/xembedsniproxy/files/xembedsniproxy-5.10.3-Standalone-build.patch b/x11-misc/xembedsniproxy/files/xembedsniproxy-5.10.3-Standalone-build.patch
new file mode 100644
index 000000000000..8ccd2ad0bd59
--- /dev/null
+++ b/x11-misc/xembedsniproxy/files/xembedsniproxy-5.10.3-Standalone-build.patch
@@ -0,0 +1,47 @@
+From c19bc38c85ca14df7034ef4c97b0681de1c1a6a2 Mon Sep 17 00:00:00 2001
+From: Mykyta Holubakha <hilobakho@gmail.com>
+Date: Sat, 15 Jul 2017 15:52:30 +0300
+Subject: [PATCH] Standalone xembedsniproxy build
+
+---
+ xembed-sni-proxy/CMakeLists.txt | 27 +++++++++++++++++++++++++++
+ 1 file changed, 27 insertions(+)
+
+diff --git a/xembed-sni-proxy/CMakeLists.txt b/xembed-sni-proxy/CMakeLists.txt
+index c2f67ac6..e74c7437 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -1,3 +1,30 @@
++cmake_minimum_required(VERSION 2.8.12 FATAL_ERROR)
++
++project(plasma-workspace)
++
++set(QT_MIN_VERSION "5.7.0")
++set(KF5_MIN_VERSION "5.34.0")
++
++find_package(Qt5 ${QT_MIN_VERSION} CONFIG REQUIRED COMPONENTS
++ Core
++ DBus
++ X11Extras
++)
++
++
++find_package(ECM 1.8.0 REQUIRED NO_MODULE)
++set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR})
++
++include(KDEInstallDirs)
++include(KDECMakeSettings)
++include(KDECompilerSettings NO_POLICY_SCOPE)
++include(FeatureSummary)
++include(ECMOptionalAddSubdirectory)
++include(ECMQtDeclareLoggingCategory)
++
++find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS WindowSystem)
++find_package(X11)
++
+ add_definitions(-DQT_NO_CAST_TO_ASCII
+ -DQT_NO_CAST_FROM_ASCII
+ -DQT_NO_URL_CAST_FROM_STRING
+--
+2.13.1
+
diff --git a/x11-misc/xembedsniproxy/metadata.xml b/x11-misc/xembedsniproxy/metadata.xml
new file mode 100644
index 000000000000..3554bdb770b5
--- /dev/null
+++ b/x11-misc/xembedsniproxy/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>hilobakho@gmail.com</email>
+ <name>Mykyta Holubakha</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Gentoo Proxy Maintainers Project</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/x11-misc/xembedsniproxy/xembedsniproxy-5.10.3.ebuild b/x11-misc/xembedsniproxy/xembedsniproxy-5.10.3.ebuild
new file mode 100644
index 000000000000..12f437f17b69
--- /dev/null
+++ b/x11-misc/xembedsniproxy/xembedsniproxy-5.10.3.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils
+
+DESCRIPTION="A program to use legacy Xembed tray icons with SNI-only trays"
+HOMEPAGE="https://kde.org"
+SRC_URI="mirror://kde/stable/plasma/${PV}/plasma-workspace-${PV}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+CDEPEND="
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtdbus:5
+ dev-qt/qtx11extras:5
+ kde-frameworks/kwindowsystem:5
+ x11-libs/libxcb
+ x11-libs/libXtst
+ x11-libs/xcb-util-image
+"
+DEPEND="
+ kde-frameworks/extra-cmake-modules:5
+ ${CDEPEND}
+"
+RDEPEND="
+ !kde-plasma/plasma-workspace:5
+ ${CDEPEND}
+"
+
+S="${WORKDIR}/plasma-workspace-${PV}/xembed-sni-proxy"
+PATCHES=( "${FILESDIR}/${PN}-5.10.3-Standalone-build.patch" )
diff --git a/x11-misc/xfe/Manifest b/x11-misc/xfe/Manifest
new file mode 100644
index 000000000000..a0d0c5052d17
--- /dev/null
+++ b/x11-misc/xfe/Manifest
@@ -0,0 +1,5 @@
+DIST xfe-1.42.tar.gz 2727833 SHA256 a1e3e892584988c80b3a492f7b3cb78e1ee84d7148e6d1fc9d6054bbd8063bec SHA512 858dd761e45ff09d32d2a230304be0817eab4b6a772376b08d778bb8e1eef681228e5d88e53c441f9b8722d8b7eeae96980e30f8c5e8bb603d4d9a3b3d267351 WHIRLPOOL 388d95e5623a49a6a9eae22a5ee2a97d496445fb6bf395c4129d5be82f786cefea5c6c771423facd139241bf04777ea8b1ee839be503e171f3493b0751d517bd
+EBUILD xfe-1.42.ebuild 1501 SHA256 3f07ff95c787d26b9fa91cdcc173b35ff244c8b1e13ba07b7034382de4fc4466 SHA512 9dfe2f4abf6e1a1b2d04e0d4feee6890b9f2fca96a7ab7332c68449568eb135a2a1b2442e82ab38a3fb17e040a3a5133b9c614a41b2f4a1a4c31a5bacbd9add5 WHIRLPOOL a6b08304bbc854d49e34502d55ce0e4b85672eb2100e1b0c355d877465dd2758f2cb57179413a7ddf2b1bd35a78890c3a91f734a501485975ad988e9599ac47e
+MISC ChangeLog 4089 SHA256 7bb223534be4ba087a4b23ce5b5d0f061f6fa03d518ced93bb25ff2b72160481 SHA512 c252c8b9ae0b06cceead5cb63c07889eb4c959af9c8b47646843d940299f59c61e2c2a00b1f2281d0649545cf52f521ea9a73029fb2d8cf51b6c5547289340ed WHIRLPOOL 1ac0b9c9e90bed7c3ca8284166dc5b6f4d30a5869df5cffed7adba229c0b47e27bc1d52513315adc6fd2561e23b4eb9251df8b70f878b729ec57627fbbe2616d
+MISC ChangeLog-2015 12622 SHA256 01227ca2257b07132db5ebcb2fb2a647416a07d9fdd1bd74a53584a414f75ef1 SHA512 345f46c58ffbc681075e33127feacd6cf8e9d84bd8449708cd949d0835a43b55a60b26cd45a8ea9d4db913fa722be15d2563abb5d36e1a9c1b4e80ff52df3d3f WHIRLPOOL b6d4f8a6693ca051ca8de14e05d87afa756bfda3dada20418df6d39e2677b4ee3a06cd7f7f9305927ecae375d3b69b251fd7b0676229f3a6e9109838e7164642
+MISC metadata.xml 349 SHA256 9de9c2a589eaaef1495de4f23ff3ccdb3650cc8809e42fc69360e3a25434502d SHA512 08958aec505d6e35611988ed33f184112fecea69197b2f2e5d784d2db216a0b643d27c6ac24ca265fd89d612b67586925d6b768bdf86aa0060919c96ecda48cb WHIRLPOOL 9f31e5a31707ae88a8d527cb16c78d5bb281ba598d474e6580f80bb2266f05d805e151f541f48fae6615785248fbe94bc2d7313d5e2f4ae0b1435d32f815085e
diff --git a/x11-misc/xfe/metadata.xml b/x11-misc/xfe/metadata.xml
new file mode 100644
index 000000000000..110d70c42283
--- /dev/null
+++ b/x11-misc/xfe/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">xfe</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/xfe/xfe-1.42.ebuild b/x11-misc/xfe/xfe-1.42.ebuild
new file mode 100644
index 000000000000..df2bd089efc3
--- /dev/null
+++ b/x11-misc/xfe/xfe-1.42.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PLOCALES="
+ bs ca cs da de el es_AR es_CO es fr hu it ja nl no pl pt_BR pt_PT ru sv tr
+ zh_CN zh_TW
+"
+inherit autotools eutils l10n
+
+DESCRIPTION="MS-Explorer-like minimalist file manager for X"
+HOMEPAGE="http://roland65.free.fr/xfe"
+SRC_URI="mirror://sourceforge/${PN}/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc ppc64 ~sparc x86"
+IUSE="debug nls startup-notification"
+
+RDEPEND="
+ media-libs/libpng:0
+ x11-libs/fox:1.6[png,truetype]
+ x11-libs/libX11
+ x11-libs/libXft
+ startup-notification? ( x11-libs/startup-notification )
+"
+DEPEND="
+ ${RDEPEND}
+ virtual/pkgconfig
+ nls? (
+ dev-util/intltool
+ sys-devel/gettext
+ )
+"
+
+DOCS=( AUTHORS BUGS ChangeLog README TODO )
+
+src_prepare() {
+ default
+
+ cat >po/POTFILES.skip <<-EOF
+ src/icons.cpp
+ xfe.desktop.in.in
+ xfi.desktop.in.in
+ xfp.desktop.in.in
+ xfv.desktop.in.in
+ xfw.desktop.in.in
+ EOF
+
+ # malformed LINGUAS file
+ # recent intltool expects newline for every linguas
+ sed -i \
+ -e '/^#/!s:\s\s*:\n:g' \
+ po/LINGUAS || die
+
+ # remove not selected locales
+ rm_locale() { sed -i -e "/${1}/d" po/LINGUAS || die ;}
+ l10n_for_each_disabled_locale_do rm_locale
+
+ sed -i \
+ -e 's|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|g' \
+ configure.ac || die
+
+ eapply_user
+
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ $(use_enable debug) \
+ $(use_enable nls) \
+ $(use_enable startup-notification sn) \
+ --enable-minimalflags
+}
diff --git a/x11-misc/xfishtank/Manifest b/x11-misc/xfishtank/Manifest
new file mode 100644
index 000000000000..a2edadfb4fc1
--- /dev/null
+++ b/x11-misc/xfishtank/Manifest
@@ -0,0 +1,6 @@
+AUX xfishtank-2.1-implicits.patch 1446 SHA256 cecb3e03211e437ba5ee9f3ec51cf2c76c97eeb5bb4f49917a2b2b33aa7eeedc SHA512 9c04b8bc38f629a7590500c24a2e22c8c7ffae77f9eb55a174ea8eac75ce90ae762baa3ff550a55b1afd6788d8dcba6eb0b0ef6a70382b6da78936bc747065f0 WHIRLPOOL 6d0551686b2a5f01c25f06c54517e302f6379bea1937dc9614d81c35f15e2fc73226ac3ecd1be7f90a286b3567610a458a886209af26cadbdd4a5b8d0d035aac
+DIST xfishtank-2.1tp.tar.gz 187513 SHA256 afaedcecd61716fce6c008598dc5750f8d061ae23a36afbab426d0d2cc922240 SHA512 641efa1104685d94589c2d9d365108308cb1b0dd238dbba6dc333c5922bda371536c0e26a63645351ac245a18f2386e4c47b4a1fc2a7f4b0400d37db846976a1 WHIRLPOOL 64640730ec9ed6c84f249ae62de8ec08722722f800069edfcc0a5d04aa6d2a3ef9c8ed0db625523d062b6cc6b8df4d782a56748b4447923eb72ab3cfa9c7455d
+EBUILD xfishtank-2.1-r2.ebuild 720 SHA256 b043b64b856c5d4ba7e26490279056af13e07d88429d243d5427bfdffb95d641 SHA512 2bb4cea27f4e3a8d42372fee3dac2e821fc4189e1f2f8f82ff0b5d4742c34d4caac112c13f765bbd2f5de2b7ea8f1cafca0fe48218a4f96aa4b82dd7a48cf789 WHIRLPOOL 6f8d0bd6444ffb09cc2968ac5dac5bb65ba14acdbf0440db955b960c2e9688b0c18906597bf5b0c22101d9f61fc54caa39dda6698728cb976511682051d9adc8
+MISC ChangeLog 2688 SHA256 12feed3155ddd536905a0583f7d4fda9ab3fd939863fecd418eed6d37a71c76c SHA512 11266121f05c3561a2a0e6f32c1ab2623984a9bb2318960a59977dbc76083174ecf3ac1549caddc8f9d279ec60f3e283eb95c817326eeeefba4fdc2dd051a591 WHIRLPOOL 8b2444c568039ef13c8403dc5b54c6c55fd6fa3eefb91d15cfa892225c516e846062504e7407c395cbf270777a7077b144e9b759e0004c1bdaab370dc89a3958
+MISC ChangeLog-2015 2695 SHA256 ac3f80b37658246362c65a18d77021f39897d734195bed2b1dca4a06faf02b92 SHA512 698260d25c80a3b5e575d0ff2018ce3f510a214c66a900f88a989a429cbdc9f566cfe30b93e1419c054720131e57335f5b329b2c3e2237587b7b09afc0e05839 WHIRLPOOL b4b775603cbe0245e682991eeb71ad8e7bf63ac1541b4e592b8a80805de2991281dd62a267cb69df9c82f962dd70445b036f36651d5b4113a9fcb480e4792f17
+MISC metadata.xml 276 SHA256 437f3dba7deca9da3b3f8ecda9bb5e97253de0412cbb3095d876f39140f3ea98 SHA512 3497963f4fb51bb32521472b54a995091cb457d2cda65c786bd4b46e5af325caf8f6d5c969cefa0c09fe717df09fb015ec59b52f5571c3b2b9d4ea33e6c843ab WHIRLPOOL 8550fd604cf609511bf7c34245ebd6682dd6d058d8cbfa099a77c94d1afcf592909eb679a28a0806957ac0949c6cff350675e0182303ec5890a5e2c2c26d29c5
diff --git a/x11-misc/xfishtank/files/xfishtank-2.1-implicits.patch b/x11-misc/xfishtank/files/xfishtank-2.1-implicits.patch
new file mode 100644
index 000000000000..0a4a03503246
--- /dev/null
+++ b/x11-misc/xfishtank/files/xfishtank-2.1-implicits.patch
@@ -0,0 +1,75 @@
+--- xfishtank-2.1tp/read.c
++++ xfishtank-2.1tp/read.c
+@@ -1,5 +1,7 @@
+ #include <X11/Xlib.h>
+ #include <stdio.h>
++#include <stdlib.h>
++#include <string.h>
+ #include "compact.h"
+ #include "medcut.h"
+
+--- xfishtank-2.1tp/medcut.c
++++ xfishtank-2.1tp/medcut.c
+@@ -1,4 +1,5 @@
+ #include <stdio.h>
++#include <stdlib.h>
+ #include "medcut.h"
+
+ #define RED 0
+--- xfishtank-2.1tp/xfish.c
++++ xfishtank-2.1tp/xfish.c
+@@ -46,6 +46,9 @@
+ #endif
+
+ #include <stdio.h>
++#include <stdlib.h>
++#include <string.h>
++#include <unistd.h>
+ #ifdef sgi
+ #define _BSD_SIGNALS
+ #endif
+@@ -848,8 +850,8 @@
+ struct colr_data colrs[256];
+
+ colormap = XDefaultColormap(Dpy, screen);
+
+- if (colormap == NULL)
++ if (colormap == 0)
+ {
+ return;
+ }
+@@ -1812,9 +1814,11 @@
+ high_res_sleep(seconds)
+ double seconds;
+ {
+- int fds = 0;
++ fd_set fds;
+ struct timeval timeout;
+
++ FD_ZERO(&fds);
++
+ timeout.tv_sec = seconds;
+ timeout.tv_usec = (seconds - timeout.tv_sec) * 1000000.0;
+ select(0, &fds, &fds, &fds, &timeout);
+--- xfishtank-2.1tp/makeh.c
++++ xfishtank-2.1tp/makeh.c
+@@ -1,6 +1,6 @@
+-
++#include <stdlib.h>
+ #include <stdio.h>
+-
++#include <string.h>
+ main()
+ {
+ FILE *fp;
+--- xfishtank-2.1tp/gifread.c
++++ xfishtank-2.1tp/gifread.c
+@@ -56,6 +56,8 @@
+
+ #include <X11/Xlib.h>
+ #include <stdio.h>
++#include <stdlib.h>
++#include <string.h>
+ #if defined(SYSV) || defined(SVR4)
+ #include <string.h>
+ #else /* SYSV */
diff --git a/x11-misc/xfishtank/metadata.xml b/x11-misc/xfishtank/metadata.xml
new file mode 100644
index 000000000000..2ba8e9e851e4
--- /dev/null
+++ b/x11-misc/xfishtank/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/x11-misc/xfishtank/xfishtank-2.1-r2.ebuild b/x11-misc/xfishtank/xfishtank-2.1-r2.ebuild
new file mode 100644
index 000000000000..dbd26fe73cc3
--- /dev/null
+++ b/x11-misc/xfishtank/xfishtank-2.1-r2.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit toolchain-funcs
+
+MY_P=${P}tp
+
+DESCRIPTION="Turns your root window into an aquarium"
+HOMEPAGE="http://www.ibiblio.org/pub/Linux/X11/demos/"
+SRC_URI="http://www.ibiblio.org/pub/Linux/X11/demos/${MY_P}.tar.gz"
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="amd64 ppc ppc64 x86 ~x86-linux"
+IUSE=""
+
+RDEPEND="x11-libs/libX11
+ x11-libs/libXt
+ x11-libs/libXext"
+DEPEND="${RDEPEND}
+ x11-proto/xproto
+ x11-misc/imake"
+
+S=${WORKDIR}/${MY_P}
+
+PATCHES=( "${FILESDIR}"/${P}-implicits.patch )
+
+src_compile() {
+ xmkmf || die
+ emake CDEBUGFLAGS="${CFLAGS}" CC="$(tc-getCC)" \
+ EXTRA_LDOPTIONS="${LDFLAGS}" ${PN}
+}
diff --git a/x11-misc/xfractint/Manifest b/x11-misc/xfractint/Manifest
new file mode 100644
index 000000000000..81a9700f3cb7
--- /dev/null
+++ b/x11-misc/xfractint/Manifest
@@ -0,0 +1,7 @@
+AUX xfractint-20.04p09-ldflags.patch 1063 SHA256 0da3670026a960233d0b604631b7b75f9beaaa33d088d74a387f297e26ff7b0e SHA512 803f0e922218e721de01012a2d6cefa7ed0ab7fa52ddf78e554245560347cbc6df171c1caef857c64afcfc31b5ce163e1af6b7dcc6a0574ca71ef324ff025661 WHIRLPOOL b0122e87bc6b764cfcda89f8ec8902d723ce9ed2359691b0ee784d4aebcf21d6f3970982ab115015d1b475c4f7f339e26377c0b7778d940b3e33a99183faa6a0
+AUX xfractint.envd 63 SHA256 e79fe65b29137d40f6d4e26cff359be9e5422c1408138c5657f85380e9b82b4d SHA512 1e923957e93a53af47a8bc3205c350b9fe4bbfa9f955c5eb5673c1ce857808bdf0ad020c643c7f81dda1c0b5caf2480005c2f31eabdaa39908ef68649687b5a2 WHIRLPOOL 08bc84219a91e043598fc17f6c7d55b750edc0e579179dc7aa0a016dd43e65509a9dc88b8113911af3d445d93f76ef41a7f58e4f4488e3fc8fc5907622888c71
+DIST xfractint-20.04p12.tar.gz 1335480 SHA256 e81affa9d3b3826f14502cedf1fc4a4dd41bcfa71ba32f8e4224748c5b9c69e0 SHA512 ef233b417ccdff153e53b70f4ac0500be99e9fc6e87360b341640573592320b2485f18fd6426436432d968d33fa41d4862babf193c3b11c480f514a4602bb8f2 WHIRLPOOL 47a2f4c0919232109309a00a131ffc4a5a87519727469af09f51101f7984b54851e71d928147faed27d51d167ce3c13f5332cd0747e63cf96c18cbed2d81b404
+EBUILD xfractint-20.04_p12.ebuild 1052 SHA256 55bf953d11e87d76a6c48e0f04d2c8fac669deb22092df8d2eaba47e2cc87eeb SHA512 521f53a85591ef4b937aaca9bc14e5bd7cf99568b3859e85eddfa65de94288eaf6325887b5c048b5204aebbd9c88f7c4f91d53142f2c9a5a4a10e1b820d65fbc WHIRLPOOL 789f2d9bb584bf4bb6bb23faeb60d11ddcc869579f0ba1955b10e5f0f392212e3c64649be53c3adb183ed988b53d4f7ed003b25ec0893ae9cfe5a51235e2c27b
+MISC ChangeLog 2602 SHA256 87eaf9ca5e833bf5aff61d2cc7dd8e11d459463359a1613d3d1582e01ee916f8 SHA512 f59e2c776906755fba0cf4906d3e88929378c69b6edae08c3cddeca083f515000e39fbc413dba87bbe1dd4148ce316f7426ce30588bb0979ee172f78d56f5140 WHIRLPOOL 4cceeb6017a202a77f70f0c34c84e96eb65eb7868994be9367836cb2eec03299943f9c38d98b2cabfaf71116b6abd7c23094aae889c2d5a10c05e2dd3aab9600
+MISC ChangeLog-2015 9817 SHA256 79fe4701f169ff6ff9f0ee8716e1bd84c6244017a78677d18e0a12d15940a21e SHA512 6dc16e9cf70ba0184b36a71e8d5b361ebf6189c702c898064c7d743a422f5c28b23601a7b96e6bf614a63b266d17c70fbf4a06a3bcf9ba0c8345dafedd1f64ad WHIRLPOOL 59463d05efed440f40c23d542c11c75f5b236b4bffb33e917d3552ae77dce78d168afd1538f558668a51c4cc6bf0f64afca15a381adeadce6a18dcdbcaffc79c
+MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968
diff --git a/x11-misc/xfractint/files/xfractint-20.04p09-ldflags.patch b/x11-misc/xfractint/files/xfractint-20.04p09-ldflags.patch
new file mode 100644
index 000000000000..382bdc6a285c
--- /dev/null
+++ b/x11-misc/xfractint/files/xfractint-20.04p09-ldflags.patch
@@ -0,0 +1,29 @@
+--- Makefile
++++ Makefile
+@@ -125,7 +125,7 @@
+
+ ifeq ($(AS),/usr/bin/nasm)
+
+-CFLAGS = -I$(HFD) $(DEFINES) -g -DBIG_ANSI_C -DLINUX -DNASM -fno-builtin
++CFLAGS = -I$(HFD) $(DEFINES) -DBIG_ANSI_C -DLINUX -DNASM -fno-builtin
+ #CFLAGS = -I. -D_CONST $(DEFINES)
+ #CFLAGS = -I$(HFD) $(DEFINES) -g -DBIG_ANSI_C -DLINUX \
+ # -march=$(ARCH) -DNASM -fno-builtin
+@@ -133,7 +133,7 @@
+
+ else
+
+-CFLAGS = -I$(HFD) $(DEFINES) -g -DBIG_ANSI_C -DLINUX -fno-builtin
++CFLAGS = -I$(HFD) $(DEFINES) -DBIG_ANSI_C -DLINUX -fno-builtin
+ #CFLAGS = -I$(HFD) $(DEFINES) -g -DBIG_ANSI_C -DLINUX \
+ # -march=$(ARCH) -fno-builtin
+ #CFLAGS = -I. $(DEFINES) -g -DBIG_ANSI_C -DLINUX -Os -fno-builtin
+@@ -312,7 +312,7 @@
+ "HFD=.${HFD}"
+ cd unix ; ${MAKE} all "CC=${CC}" "CFLAGS= -I.${HFD} -I${XFTHFD} ${CFLAGS} ${OPT}" "SRCDIR=${SHRDIR}" \
+ "AS=${AS}" "AFLAGS=${AFLAGS}" "HFD=.${HFD}"
+- $(CC) -o xfractint $(CFLAGS) $(OPT) $(OBJS) $(U_OBJS) $(LIBS)
++ $(CC) -o xfractint $(CFLAGS) $(LDFLAGS) $(OPT) $(OBJS) $(U_OBJS) $(LIBS)
+ # strip xfractint
+
+ fractint:
diff --git a/x11-misc/xfractint/files/xfractint.envd b/x11-misc/xfractint/files/xfractint.envd
new file mode 100644
index 000000000000..3dd0cbcda664
--- /dev/null
+++ b/x11-misc/xfractint/files/xfractint.envd
@@ -0,0 +1,4 @@
+#Specifies xfractint directory
+
+FRACTDIR=/usr/share/xfractint
+
diff --git a/x11-misc/xfractint/metadata.xml b/x11-misc/xfractint/metadata.xml
new file mode 100644
index 000000000000..6f49eba8f496
--- /dev/null
+++ b/x11-misc/xfractint/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<!-- maintainer-needed -->
+</pkgmetadata>
diff --git a/x11-misc/xfractint/xfractint-20.04_p12.ebuild b/x11-misc/xfractint/xfractint-20.04_p12.ebuild
new file mode 100644
index 000000000000..ba46f9dec381
--- /dev/null
+++ b/x11-misc/xfractint/xfractint-20.04_p12.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+
+inherit eutils toolchain-funcs
+
+MY_P=${P/_}
+
+DESCRIPTION="A fractal generator"
+HOMEPAGE="http://www.fractint.org"
+SRC_URI="http://www.fractint.org/ftp/current/linux/${MY_P}.tar.gz"
+
+LICENSE="freedist"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE=""
+
+RDEPEND="x11-libs/libX11"
+DEPEND="${RDEPEND}
+ x11-libs/libXft"
+# x86? ( dev-lang/nasm )"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+ epatch "${FILESDIR}/xfractint-20.04p09-ldflags.patch"
+}
+
+src_compile() {
+ # Untested, any x86 archteam dev. is allowed to uncomment this.
+ local myasm="foo"
+# use x86 && myasm="/usr/bin/nasm"
+ emake CC="$(tc-getCC)" AS="${myasm}" OPT="${CFLAGS}" LDFLAGS="${LDFLAGS}"
+}
+
+src_install() {
+ emake DESTDIR="${D}/usr" STRIP="true" install
+ newenvd "${FILESDIR}"/xfractint.envd 60xfractint
+}
+
+pkg_postinst() {
+ elog "XFractInt requires the FRACTDIR variable to be set in order to start."
+ elog "Please re-login or \`source /etc/profile\` to have this variable set."
+}
diff --git a/x11-misc/xgestures/Manifest b/x11-misc/xgestures/Manifest
new file mode 100644
index 000000000000..5375050de595
--- /dev/null
+++ b/x11-misc/xgestures/Manifest
@@ -0,0 +1,5 @@
+DIST xgestures-0.4.tar.bz2 77902 SHA256 aec17a79e411abf00388f78adf8ceaaa1f4cbbc18e0f5c1b81d48ff3821459ca SHA512 c61108e609fb0f28affb5d5cc4002a7f840f123bb96b79265a47e74a541b1ca8deee016f90fc801fa682e61b9df008c0323d36482abaa83f8f6d4a5c73137abf WHIRLPOOL c3088c2a93b211c06737a7f18b9c0935270df7db91a7dae0d95749bf06570ad4a0a67c2c052c68e842c1e5b741f5ec185cfadcb709b7ed30d5c83a8f97f3e044
+EBUILD xgestures-0.4.ebuild 692 SHA256 945d29f3082535edeb1423f554e83633239cd719cdc7205ab01e55a05f8836db SHA512 01f722e74aa795d58445adc810f1373b541a1a918e24bf9e37dca4476a69b033fc04069ccc69babbed2f3f10f06c2b407181b8137c33423f0b944cdd882fae86 WHIRLPOOL fb28f726b3bcff0be4a66b9314cb570d2fecb26115d26f103cf82bfe0d3c20e3b010f07bc2d8e505b721d6bb557926410a45a55eaf6994cd0042387f08ce80d7
+MISC ChangeLog 2302 SHA256 57ff80c55fd4b0f66574dab293681e77db5e17bc252c1fad488501e85f76331e SHA512 0ae9ed86989161d498703b01f33c7fa7c2550977e11225f50398ddcea5edaa7e35fcc49aa16b15a18cd3ec33b658ff737a7b98ac8ee55700e5af76d53168d641 WHIRLPOOL 8987af778dc255f1afba82f0f1fcb8bc406ba835d5309dc7c6f86713fa761693fe71cdd1aa5f4813e171e498b6a4fa1b48b1bec107f702b754373c1e1d9fd66e
+MISC ChangeLog-2015 425 SHA256 c054276ecf6fd210a01730168538350ef3ad0dd51eca85d83f29141dcd1a235b SHA512 6c43d27e9a57d41f20836f050091d559cbc8ad5250a30023f945dcc7e767f9b209e9e8085598130669b7dd9392c5e7d95584919f2c0f5b0b50fe17d5552e1e70 WHIRLPOOL 28f2c2452a46339ce2d9027c8e57ebce6777a99421a9823b89b28fb34994ab0ed21b47bc2c957d0bc32c6b0eb89017c38a14db9a04fa083aee44d386665867db
+MISC metadata.xml 326 SHA256 dff7da5b427ede0bced585997e95b0dd6787a7d706cae6f665a9dedc862bf507 SHA512 24d5688cdf1063860034793a509a9d26f1a38397264ee7d1bdea1dd5c74ef29f850861871af4a04771bfa6a9cbc16303d4386b893c9cac2e7806f624addfbcf8 WHIRLPOOL 4662b5363a62eeba371c70eee4491939249858889d0481918fce7c272ae14f8feb9a7bb95a451a5e2b9756ebe8d0ade56d0dcb2cefce472c34511db41c6080a7
diff --git a/x11-misc/xgestures/metadata.xml b/x11-misc/xgestures/metadata.xml
new file mode 100644
index 000000000000..cc37087c5caf
--- /dev/null
+++ b/x11-misc/xgestures/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>pinkbyte@gentoo.org</email>
+ <name>Sergey Popov</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">xgestures</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/xgestures/xgestures-0.4.ebuild b/x11-misc/xgestures/xgestures-0.4.ebuild
new file mode 100644
index 000000000000..a9921db7a5d5
--- /dev/null
+++ b/x11-misc/xgestures/xgestures-0.4.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="A mouse gesture recognition program for X11 desktops"
+HOMEPAGE="http://www.cs.bgu.ac.il/~tzachar/xgestures.html"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="x11-libs/libXmu
+ x11-libs/libX11
+ x11-libs/libXrender
+ x11-libs/libXtst
+ x11-libs/libXt"
+DEPEND="${RDEPEND}
+ x11-proto/xextproto
+ x11-proto/xproto"
+
+DOCS=( AUTHORS ChangeLog NEWS README )
+
+src_install() {
+ default
+ newdoc .gestures gestures
+}
+
+pkg_postinst()
+{
+ elog "Unpack /usr/share/doc/${PF}/gestures* and copy it to \$HOME/.gestures"
+}
diff --git a/x11-misc/xhkeys/Manifest b/x11-misc/xhkeys/Manifest
new file mode 100644
index 000000000000..7c6ba12b957c
--- /dev/null
+++ b/x11-misc/xhkeys/Manifest
@@ -0,0 +1,8 @@
+AUX xhkeys 337 SHA256 7064153d7761f9a29cbe90c4be16f5b43e49d40e3d3cf99d7b04456f0b9bd7ba SHA512 550209f4dbfb8317e1e8c1409809de41233d164e94ef3ad591994785d5ea50f3729ff8c14b2a321260ecad24dacb660898c1eb115f4a8c4a61ee1fb371b23772 WHIRLPOOL b77558ef4ff3973c90397e813fbfde85b48356523251a82d770429ebb45077e220078a8a0eed00702d172bf5b46d1e14c6cb72d25d6136e812d0d22f5e1d0a53
+AUX xhkeys-2.2.1-CC.patch 578 SHA256 7fb8dab0fa5097efe71d11c4b0f1a1e84755cdd2acbf9d9afe40d9f5a32e289c SHA512 65ef3acc6767d0bb599612b05a6224e01cb4e30e7208cc269bdda75af2bd18495afba83feec9f0fcfbd5772fe3289156f83c1a3c184ec2b2ac07b6cb4ed2f81e WHIRLPOOL 611800acba3c15c06c9c387f3f4bdc20f9678646c1d159f8e60a7d0a088337173cb189d6a3f7ab784ffe03471b0a1e681a6126452ebb90bf8f051ed2f6d4fd10
+AUX xhkeys-2.2.1-linux_headers.patch 261 SHA256 1d1b21c491268470b61cc87ad226245608209326a663de32332e6c03b42961f7 SHA512 e03973df62353cec87fa814cd6e8094d12827f20c41b09e92219d76d0e68494496b55bf52cc600fb0fa5df27f9871dcc4fa3f2f384057ec411fc7906f2b55180 WHIRLPOOL 39dbaaf153183a03bca76691cfe04c1aa3f73a0c6482a18ffcba28747d81aad5fc521a5a67550e379d09714e5284d330dd911d8c5359c0cc4baa957929d3c003
+DIST xhkeys-2.2.1.tar.gz 146338 SHA256 4ddcdbb9687bdbfdd6c0f0974dfb463d939421ab3d3245368a18636b79fd6be9 SHA512 8bf0e33d69e6685c6e0ade500e1c1d3b5f574de6906cc3535d3b95db5bfde0fead842921b6642f18f0bc1c8efd980ed5a4180108416315c09f65418e542c1f66 WHIRLPOOL 0bddee84581301199c6446e6fd5c1c40b07a6e38662b06d4fc0c7f911b55b9efdd712d38687fe72a9aa97ce6277d99c66650893d5281dea08224bdd9b1a47bc1
+EBUILD xhkeys-2.2.1.ebuild 599 SHA256 6ea657b078f80ed4e1eeffc1b2894fd8b485d85c766bd6449da5add77fb62e8b SHA512 f3d5e26dc8c231801ff6286eb17ceec775e9c6d037a01bb6ed291be0ddec3225050ed6707cc6f8df2c984963a369547757aa85b2d7e684fc9ef42f4cb55fef10 WHIRLPOOL ce48301b23358180ca110d5b301f24161d5055635a061dda5fd76ad5537934afd245bd916505677862d8342543ce408cc94878d3177043339b45e26618816bfd
+MISC ChangeLog 3065 SHA256 3e01090b40a328b15745efbcbe531d19f18d604383c188d7be1e1892107a750f SHA512 5fd46c21fd22245205606041f9ee2d7897f5009c131b6ada7a7d54c9297303f45fec72a77341d09c06e6283d8715068399b41e55623b6fd174c2f6826d790eea WHIRLPOOL 0aa09773cb739d01d54c5707e382bb4d9980e8bc728468e188007985aaeea80c6ff31fc37216f5794298d1eab901bd9b3a2f4aca425287f549ced821df8d795a
+MISC ChangeLog-2015 2083 SHA256 626e2e8a4836989d95d587b4d46f07e01f471212c3d126927a4208b5feab686d SHA512 9482c7e3cbc3b024c1cf859edc3fa2cf80fee94183ccfa29090727b919dd6ac257ca0d2c170e8ec1411587f048c28b5975f4ac64a034d9cee6ac4af5c8545a63 WHIRLPOOL ba8c402025035fc5665211261adbceb2d6b84b6a4ee175872dabd403734f3277d6611df1eac805a442e333b7ed81d4c0466d133fb8509e457f12a697ebbdebef
+MISC metadata.xml 318 SHA256 218a00bda7df7396b1c9db4fea27cc69073dd039cb1db1e55d34cfd004209500 SHA512 7d56445a5c7fffdc1104633cdd30eafa17588079b8a1f4cb226984b1aad4e41fe84320608681143dc01c5f1ac5f104cf0717e8183164031644220f9c61086a3b WHIRLPOOL 15d65bcdc3289c77c194a26721b45e700d54a771e5a63d29a52d431b1ac8922ee7ddd7ca11b10dbbb72ba3fd70daa5fba7dba875de04362ab9c489e70d9fb895
diff --git a/x11-misc/xhkeys/files/xhkeys b/x11-misc/xhkeys/files/xhkeys
new file mode 100644
index 000000000000..91d0b804f3a7
--- /dev/null
+++ b/x11-misc/xhkeys/files/xhkeys
@@ -0,0 +1,15 @@
+#!/sbin/openrc-run
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+start() {
+ ebegin "Starting xhkeys"
+ start-stop-daemon --start --quiet --exec /usr/bin/xhkeys
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping xhkeys"
+ start-stop-daemon --stop --quiet --exec /usr/bin/xhkeys
+ eend $?
+}
diff --git a/x11-misc/xhkeys/files/xhkeys-2.2.1-CC.patch b/x11-misc/xhkeys/files/xhkeys-2.2.1-CC.patch
new file mode 100644
index 000000000000..4e1f7dae7e7d
--- /dev/null
+++ b/x11-misc/xhkeys/files/xhkeys-2.2.1-CC.patch
@@ -0,0 +1,15 @@
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -127,10 +127,10 @@
+ xhkeys_mixer.lo: xhkeys_mixer.c plugin_common.h xhkeys_plugin.h
+
+ xhkeys_cdaudio.so: $(MODULES_CDAUDIO)
+- gcc -shared -Wl,-soname,xhkeys_cdaudio.so -o xhkeys_cdaudio.so $(MODULES_CDAUDIO)
++ $(CC) -shared -Wl,-soname,xhkeys_cdaudio.so -o xhkeys_cdaudio.so $(MODULES_CDAUDIO)
+
+ xhkeys_mixer.so: $(MODULES_MIXER)
+- gcc -shared -Wl,-soname,xhkeys_mixer.so -o xhkeys_mixer.so $(MODULES_MIXER)
++ $(CC) -shared -Wl,-soname,xhkeys_mixer.so -o xhkeys_mixer.so $(MODULES_MIXER)
+
+ %.lo: %.c
+ $(CC) -c $(CFLAGS_LO) $< -o $@
diff --git a/x11-misc/xhkeys/files/xhkeys-2.2.1-linux_headers.patch b/x11-misc/xhkeys/files/xhkeys-2.2.1-linux_headers.patch
new file mode 100644
index 000000000000..38901576c26a
--- /dev/null
+++ b/x11-misc/xhkeys/files/xhkeys-2.2.1-linux_headers.patch
@@ -0,0 +1,12 @@
+Fix compilation for >=linux-headers-2.6.35
+
+--- a/xhkeys_cdaudio.c
++++ b/xhkeys_cdaudio.c
+@@ -16,6 +16,7 @@
+ #include <string.h>
+ #include <stdarg.h>
+ #include <ctype.h>
++#include <limits.h>
+ #include <linux/cdrom.h>
+ #include <sys/ioctl.h>
+ #include <fcntl.h>
diff --git a/x11-misc/xhkeys/metadata.xml b/x11-misc/xhkeys/metadata.xml
new file mode 100644
index 000000000000..66187a0f4213
--- /dev/null
+++ b/x11-misc/xhkeys/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/x11-misc/xhkeys/xhkeys-2.2.1.ebuild b/x11-misc/xhkeys/xhkeys-2.2.1.ebuild
new file mode 100644
index 000000000000..e4c4db3ec3a4
--- /dev/null
+++ b/x11-misc/xhkeys/xhkeys-2.2.1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit eutils
+
+DESCRIPTION="assign particular actions to any key or key combination"
+HOMEPAGE="http://wmalms.tripod.com/#XHKEYS"
+SRC_URI="mirror://gentoo/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86 ppc"
+
+RDEPEND="
+ x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXt
+"
+DEPEND="
+ ${RDEPEND}
+ x11-proto/xextproto
+ x11-proto/xproto
+"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-linux_headers.patch
+ "${FILESDIR}"/${P}-CC.patch
+)
+
+src_install() {
+ dobin xhkeys xhkconf
+ dodoc README VERSION
+}
diff --git a/x11-misc/xiccd/Manifest b/x11-misc/xiccd/Manifest
new file mode 100644
index 000000000000..f16455e110c8
--- /dev/null
+++ b/x11-misc/xiccd/Manifest
@@ -0,0 +1,6 @@
+DIST xiccd-0.2.3.tar.gz 30136 SHA256 b455cd08ad917b40cb89971e93ccc6f13f98e13e4c07be585499c8abecece993 SHA512 2c68c5de95dd6390c4196e198c63a78f82903d4f1210b98b8e67ee7b0ebc5d06e21e553288e2ced26c2df9c232c0b6fd1972308bf0a0e31dbdfae8ec208a86ec WHIRLPOOL b6648d378c38ebf5a4c383cf6ccc3f500d84962f07c49ffd296b7b57799b4c546784c8bc9b7ebeb49df9f110836132e3832be526936d8b2e78f76a31edc7ca3e
+DIST xiccd-0.2.4.tar.gz 30981 SHA256 9bf45ade74fad4fa1509769e3111cbc921b2651acfceea144e7bb07b69bbf7bd SHA512 40101467a38e9369b171b44d5d7fd4b07968dfcd74ace89e15f3dfad32131a3dc3b26249af2340e408908bd3df766785b46e885a3b68ff26b24ed2627a40cd2c WHIRLPOOL 3d75505af39623d216f0eb0fae36a408bff0e12621a0161c46fd150b87d1d69f62a4b7d77a6c9e2d1a8a3831f7fe99b97f54543c7b140a786a81ec0a4f177957
+EBUILD xiccd-0.2.3.ebuild 506 SHA256 78055abe0f83ef68832a144395b98047e92a7e3af1ead8f003865cc316e6303f SHA512 85650c8738fb06ae5981bf6d42e1dacdc0dccbf28cdc083a57ae5d167d40059ceffdd770da8d40f5c438653b13066cf175ea516c2c117241efd0ec66cbda2ac5 WHIRLPOOL e365d6bbd9ab3d925c59a75aab4b4b5f72a41c9f487a678e56acec5b1923ddea62a28f6488771ea62edb9ab0f3768c4990098db0429add9137f4f2dea3ed8b9f
+EBUILD xiccd-0.2.4.ebuild 506 SHA256 d0a8885f5d394456ed774219b57f2a7d40bf29b67e6ba911156657a754853a5d SHA512 ffd40914be02c49134a58f419e49423dbeb8bb612a56537331ff948b9c08e09cdea7bbf29a5eedf63586fa80e4e911717b8fa61c84cf1139585c8c3415a7aa7a WHIRLPOOL ce3cc1b3f57f2a0ac58f2985348a32a1fc264faf6c906838e86e1bc484b540d328a67ce9ad33cb39ca372176770dc3a1645a69e00bc12617d603ff6a02344ff2
+MISC ChangeLog 407 SHA256 e55720bd2021a49e38b0db9df99cbb637be768a2739ab5f75b96b23db26ffce2 SHA512 d8f63a1beeca8dcb39ef3c513a5a3e9df05982b03d5417371e4f4a99044b7d61dce1b1d9a02feae3659e1a447baa34201b4427fb60d3a7886b48513dc56c653f WHIRLPOOL 3d290b5565c6b3faf4d5c4dfef38aaf11bd714ce78d013f470893543e8df42fac7a6ca0eb7334608a7d243a7ead315ef60034900460bfd229d7556bf3c2fb771
+MISC metadata.xml 764 SHA256 aa67491c636f02137de4b854e785279a6fc6dc6f4d9f81e254abec951b2fcfb7 SHA512 91b048281b6c4ca83e6ba61e870e5f04b90bae2668727edf18946c1ee703284b48a4caf4a1f259c80106fcdcaba91c10048c9f4569a2a5b45110a8acd2e1b2db WHIRLPOOL 6474e448e7ef1e32536698507afc9338ce44d16fa2e69c9e7750669a6481134dfdaa10d5a7be065a44527ae1e55cb69eb133aaa1bfb406546532e1bb6221b54a
diff --git a/x11-misc/xiccd/metadata.xml b/x11-misc/xiccd/metadata.xml
new file mode 100644
index 000000000000..0f9feee94985
--- /dev/null
+++ b/x11-misc/xiccd/metadata.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>marecki@gentoo.org</email>
+ <name>Marek Szuba</name>
+ </maintainer>
+ <longdescription lang="en">
+ xiccd enumerates displays and register them in colord, creates default
+ ICC profiles based on EDID data, applies ICC profiles provided by
+ colord, and maintains user's private ICC storage directory. It does
+ basically the same as <pkg>gnome-base/gnome-settings-daemon</pkg>
+ colord plugin or <pkg>kde-misc/colord-kde</pkg> but does not depend on
+ any particular desktop environment.
+ </longdescription>
+ <upstream>
+ <remote-id type="github">agalakhov/xiccd</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/xiccd/xiccd-0.2.3.ebuild b/x11-misc/xiccd/xiccd-0.2.3.ebuild
new file mode 100644
index 000000000000..71eb9b4bf531
--- /dev/null
+++ b/x11-misc/xiccd/xiccd-0.2.3.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools
+
+DESCRIPTION="A desktop environment-independent bridge between colord and X"
+HOMEPAGE="https://github.com/agalakhov/xiccd"
+SRC_URI="https://github.com/agalakhov/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="dev-libs/glib:2
+ x11-apps/xrandr
+ x11-misc/colord"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ default
+ eautoreconf
+}
diff --git a/x11-misc/xiccd/xiccd-0.2.4.ebuild b/x11-misc/xiccd/xiccd-0.2.4.ebuild
new file mode 100644
index 000000000000..9bf0afa6a032
--- /dev/null
+++ b/x11-misc/xiccd/xiccd-0.2.4.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools
+
+DESCRIPTION="A desktop environment-independent bridge between colord and X"
+HOMEPAGE="https://github.com/agalakhov/xiccd"
+SRC_URI="https://github.com/agalakhov/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="dev-libs/glib:2
+ x11-apps/xrandr
+ x11-misc/colord"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ default
+ eautoreconf
+}
diff --git a/x11-misc/xidle/Manifest b/x11-misc/xidle/Manifest
new file mode 100644
index 000000000000..c7bbfec98384
--- /dev/null
+++ b/x11-misc/xidle/Manifest
@@ -0,0 +1,6 @@
+AUX xidle-26052015-dead.patch 501 SHA256 374a66af1b74ebb26f2d497a0b3679329206a818adaaefb9153a42cd173d09ef SHA512 cfc6005d3143c7c5f0605f6ad09a9431c0e10a0b99e7eabe3610cd7e5cd7fb4a0d9f55af752fcec38665bcb5d228b5f1cf18682a7f8363f3d117113fadc2f950 WHIRLPOOL d63bae79e8998277697ac5ccb31f2dabbcd4119703643ce2e53ca85f5dbf171f9c5281c934a7cc180b04842bf9f5d036db08f6d3c2f2230f04d4f8bf2700e222
+DIST xidle-26052015.tar.bz2 5897 SHA256 a7ba1b887c0f4d9d080dc7f49569bf48e3df1d9f2c08b11cffd159c5a15b174c SHA512 bb132a431a5dd585be6a93519aa06a73eade63dde81bbe582a5dd966646c5eeaca65fa2573e6795b73bbfd08388390b4e92954929577051f13098ef8e38c2200 WHIRLPOOL 25a0dbb3d49eeb6241b8a291863a5286b4d4bf75f5412dac9ff895afa278b73aa68438b1381ddced0bddc9db5393f0ed1b2a0af3ec082eda16c84636dc76cb2f
+EBUILD xidle-26052015.ebuild 993 SHA256 dc63e5da2ca0ee5ea04c5339768d2e7d87c717b4859244520f14c0fa4d904b1e SHA512 f7ebd65aa183a06f8e14ca550cd9cec9db7078dbd9f362150eec1b77bf5dea691a81b2caa3e523369ba1675bf4b4720f68e50443e87770269b4e34673c80a787 WHIRLPOOL 18584b8c00a9581bed6e39a8c4a39ba012caeb6d7af05ff0bd160687bc6647429803d6e5ea24178bc525b4e891b8e075bbbc001900fa4f4d7b14b666b00745f8
+MISC ChangeLog 2210 SHA256 5f89052fc10b1c00f5b4ed5b62229a11fee61f320507958df6d912d87d0983bf SHA512 17dc8fc87c7bae0f61ea2f0715611052bd501f5d60b529f26ea34dcef302a7bea1a86c32b9ba6c6397150fec1e9dca8baeafb7fe05252831488da212b37c8a32 WHIRLPOOL 43c76efcf852d514a2d3b6d996ca0f7f2886a3b467043cf8a5fd77a7dd18880dad29057d6ba0fe5e83b5b7577edd685f1d8ef5675c4d36adb40a07fd96a61cf6
+MISC ChangeLog-2015 745 SHA256 9b6baadf31fb0f0d3e078ffe6da6c178e3b5c17882f25bbca63ebd8db16f693e SHA512 7b93f572a5a8d298fdd89717345e689cbb4769c6d5da6937562be6c86111ebe955a530ca2b37824ee6d4e71921d9aaf83e74079af6a00d0473c0c32b737b0939 WHIRLPOOL 7f4a29058d9715f7b9c719f3f5baec137aaa1872e4358516ff2737962e3f89c96ddce58cb2fca712c46214a515f4da2a9ea38125ac759a38decc42e109f35856
+MISC metadata.xml 240 SHA256 58d315d79d6b07d798e12d1f8f2481ca4eb03b71d430e68989603732bcd392c8 SHA512 25affa2d6d2fe48707ae81553343451aff9797885b4232e73973a29d4cc1d28a937d024cefca49f92383f01eb8cb811546cd2334cbb78f8e66f1db1f63ff4572 WHIRLPOOL 7d0fb1efdaf8bcd6f9a04c6f8635a1071bd50e6b223334139c275d55fabf5ad9e93390120ea7c823495048176a74f66b6dd09d3ffabc9a6e67f63cae2af73f24
diff --git a/x11-misc/xidle/files/xidle-26052015-dead.patch b/x11-misc/xidle/files/xidle-26052015-dead.patch
new file mode 100644
index 000000000000..715ab6c7d2b1
--- /dev/null
+++ b/x11-misc/xidle/files/xidle-26052015-dead.patch
@@ -0,0 +1,24 @@
+--- a/xidle.c 2015-05-26 08:22:15.000000000 +0300
++++ b/xidle.c 2017-02-20 20:28:02.693153198 +0200
+@@ -43,7 +43,7 @@
+ #endif
+
+ #ifndef PATH_PROG
+-#define PATH_PROG "/usr/X11R6/bin/xlock"
++#define PATH_PROG "/usr/bin/xlock"
+ #endif
+
+
+@@ -98,10 +98,10 @@
+ void parse_opts(int, char **, Display **, int *, int *, int *, int *,
+ char **);
+ int str2pos(const char *);
+-__dead void usage(void);
++void usage(void);
+
+
+-__dead void
++void
+ usage()
+ {
+ fprintf(stderr, "Usage:\n%s %s\n", __progname,
diff --git a/x11-misc/xidle/metadata.xml b/x11-misc/xidle/metadata.xml
new file mode 100644
index 000000000000..f9f8bbfd9405
--- /dev/null
+++ b/x11-misc/xidle/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person">
+ <email>jer@gentoo.org</email>
+ <name>Jeroen Roovers</name>
+</maintainer>
+</pkgmetadata>
diff --git a/x11-misc/xidle/xidle-26052015.ebuild b/x11-misc/xidle/xidle-26052015.ebuild
new file mode 100644
index 000000000000..0ca23a545d60
--- /dev/null
+++ b/x11-misc/xidle/xidle-26052015.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit toolchain-funcs
+
+DESCRIPTION="Monitors inactivity in X and runs the specified program when a timeout occurs"
+HOMEPAGE="http://www.freebsdsoftware.org/x11/xidle.html"
+SRC_URI="http://distcache.freebsd.org/local-distfiles/novel/${P}.tar.bz2"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~x86"
+IUSE=""
+
+DEPEND="
+ x11-libs/libX11
+ x11-libs/libXScrnSaver
+ "
+RDEPEND="${DEPEND}"
+
+PATCHES=( "${FILESDIR}/${P}-dead.patch" )
+
+src_compile() {
+ local my_compile="$(tc-getCC) ${CFLAGS} ${LDFLAGS} -o ${PN}{,.c}
+ $($(tc-getPKG_CONFIG) --libs xscrnsaver) $($(tc-getPKG_CONFIG) --libs x11)"
+ echo ${my_compile} || die
+ eval ${my_compile} || die
+}
+
+src_install() {
+ dobin ${PN}
+ doman ${PN}.1
+}
+
+pkg_postinst() {
+ elog "If you don't specify -program argument for xidle, xlock is ran by default."
+ elog "Install x11-misc/xlockmore for xlock if you wish to use default behaviour."
+}
diff --git a/x11-misc/xkbd/Manifest b/x11-misc/xkbd/Manifest
new file mode 100644
index 000000000000..d070b01e3465
--- /dev/null
+++ b/x11-misc/xkbd/Manifest
@@ -0,0 +1,9 @@
+AUX xkbd-0.8.15-fix-keysyms-search.patch 438 SHA256 68ab701557b9d8f10686cc7530eeb79c025e7885243e8907285a2c0d8f68f102 SHA512 ae494c10df66179739a19a5f5a21ec7c00ab6674fff64042006958778d2fac9c2da9b5a9e945dcd654827850444121b0135a143b4b0e5783f6b420c767009505 WHIRLPOOL 854a2fcc49ec28d7a45b1c1165009953c238076ee90611f5c881795bd48240cca27ed4995f11ce89ee47a001edebb095c8211d712a247d640b838ca0cb5dd55d
+AUX xkbd-0.8.15-increase-delay.patch 770 SHA256 9be58a299820e70bb0289c26ce0bf20fd973f0351974b8493a145c89ce6cecc0 SHA512 49487d975134d2319d194b5d5110bd6d93b45f712129d1f6f05d00e6611403a9acd5a6a1183e371d56619a9d7456a00cfefded4aa21a63bdf3e1493a59085fcd WHIRLPOOL 5cd954efd0ca2285ad4bb122f6cab1d688f2d4da77497b6a43dd8dcefb204158ab84a74764fb28054ac195444423f06feca9081e1d4bbfd67adfc5246b82fd78
+AUX xkbd-0.8.16-desktop.patch 1172 SHA256 5b6c453a47d7c072595b43c97f33d39218e0fe39f699940eadfcd152c16e9bcc SHA512 26d4281cfc15a8aaadb0bd9ffc70df7c63b31abc54fd45ec0055abe37d7f960ac4d05056dabaca14bb33f19d34c5e293b4b0b45fe96b7d0078b73897d9ac388e WHIRLPOOL d87ded6c5bd42acd18489453be98a48302793ff72e2ef0f68775033012f228a0571ec12a7af96104e05edd5ad39982dd7cb6949e3295acedbd57291963877264
+AUX xkbd-0.8.16-fix-geometry.patch 1081 SHA256 dcf3e412429458f03f4ff246532d2eb4f9ac5e6ebf77223a1fc77da96072a44b SHA512 03c2fcc4a2d731ea3dc3bb9c596e9d867b01e09713c65f5614f37eb86c2e41edacd16ee67b67a01fb7fab9e2e9e936cfa9ab5bee214f3427710a88829a538899 WHIRLPOOL 666af437b1ed0f0db21fdc27fabd0aa8c0a12c1a84555423cabef8b633073a44cebb5dadf773f9cd3ea0abf5a889eafa26162e86fcaaba2cf59b5cbb83d706bd
+DIST xkbd-0.8.16.tar.gz 347616 SHA256 c85848851dfa42636a4eebec7f7f121365aa28b27554a0c1d5eca15ed4107471 SHA512 8410f722cb93069eea26f9d1ed6b9fea76ed5222b8586c2f78ccc1a0f040a964e165df0611ce72c108dbc7adeec31515595c81be3867e68c0cadd8846d985d4a WHIRLPOOL 38f729d2cddfb246b823dc49e3e4e9cc86060bb3bd6c11b46d289907f00ea66de57ecbc168494710d7dbb2efa418978e3e9c117fc98b7a70de3efdb1b3bf57bd
+EBUILD xkbd-0.8.16-r1.ebuild 829 SHA256 050687b872161804919a178a509f6bf04d9bfc3ca582285994e7ad1c9e616230 SHA512 d9abaf8907763bb7c18c67396fe559959e2706773cee453498defecd03d9879c9a1a892eba827f78b7c8bbb375e5a4d6f3c3e8cc72256f8159e6d9a00a7cf875 WHIRLPOOL 4cd89d25091c52dd7b171256523d26164d126bcb21ba127f0d397e7e56f8f5cad91db353ee6bdd1502844350819b91ebb586f242404ddf70b9cc9ca2f80ae2c7
+MISC ChangeLog 2646 SHA256 d13de382643234740856a4a14e313aae9030570004382b030b21ee5620f4afd1 SHA512 c26055d1eef7d21cde1aa3fc49c09dbb5d8607b7c5c314f09357787a4b76f2d92401c8c97452d37ce322f4dfb515149fd5d953cff918cb048e2066558a02dda4 WHIRLPOOL 091ef59f36222dafcbabd7c860b726d5fd0bf7c9a925a24d021cf5aa062f80e12fa716792d65d91e433162cdad8d4214947c659abf5396d2fa3f0ef1608a4fb7
+MISC ChangeLog-2015 2738 SHA256 3fae6629b87b0190f00c71ae148a1a8da7d2dfe67bb7792ef22ecedcf564643c SHA512 2c1c222dbc49e901d96cbc78890eb03220d588fd1424fd6da9eca21a5726c36b6c7031d671bda9adf8040c8e30c4d656845ce63b74d7ff4933c1f5b47ad037b8 WHIRLPOOL 716eae7a7930f8dabe1727cc8024bf36c56907aaa2fa8455aa6495d032a79add020da62ac2f57dfa31b21c090e57694b13403207111354cf69dbc9ce31025563
+MISC metadata.xml 272 SHA256 b389ad9ba70c18154af4fc164e31d5b1e2a4e99815d34319b4a4f46ccef2be52 SHA512 ebe67da08587903b5b82fc194aa3c8f1ab65371f60d2c134928362e089550d9e9fd9531bffe8b676a345b5bf0ab209ce7f50d37d98201a88176f002e17582493 WHIRLPOOL 3d6a9660a11c299dbb7fa3ec6821005f2540dc8fc9e499206d38d79d54023b3ddc66a019b2c88fbc92199b9f5335088b47fa3fdd781f92f2da3ad98b26bc2a50
diff --git a/x11-misc/xkbd/files/xkbd-0.8.15-fix-keysyms-search.patch b/x11-misc/xkbd/files/xkbd-0.8.15-fix-keysyms-search.patch
new file mode 100644
index 000000000000..ff30537add44
--- /dev/null
+++ b/x11-misc/xkbd/files/xkbd-0.8.15-fix-keysyms-search.patch
@@ -0,0 +1,13 @@
+http://bugs.gentoo.org/287075
+
+--- a/src/libvirtkeys.c
++++ b/src/libvirtkeys.c
+@@ -341,7 +341,7 @@
+
+ for (keycode = 0; ((keycode < (maxKeycode - minKeycode + 1)) && !found); keycode++)
+ {
+- for (column = 0; ((column < keysymsPerKeycode) && !found); column++)
++ for (column = 0; ((column < (keysymsPerKeycode > 4 ? 4 : keysymsPerKeycode)) && !found); column++)
+ {
+ if (keymap[(keycode * keysymsPerKeycode + column)] == ks)
+ {
diff --git a/x11-misc/xkbd/files/xkbd-0.8.15-increase-delay.patch b/x11-misc/xkbd/files/xkbd-0.8.15-increase-delay.patch
new file mode 100644
index 000000000000..deadcd7cddb1
--- /dev/null
+++ b/x11-misc/xkbd/files/xkbd-0.8.15-increase-delay.patch
@@ -0,0 +1,22 @@
+diff -ruN xkbd-0.8.15/data/en_GB.qwerty.xkbd.in xkbd-0.8.15-new/data/en_GB.qwerty.xkbd.in
+--- xkbd-0.8.15/data/en_GB.qwerty.xkbd.in 2003-08-10 10:46:29.000000000 -0700
++++ xkbd-0.8.15-new/data/en_GB.qwerty.xkbd.in 2008-03-23 02:52:52.000000000 -0700
+@@ -24,6 +24,7 @@
+
+ # button style, can be rounded ( default ), square or plain
+ button_style square
++repeat_delay 50
+
+ </global>
+ #
+diff -ruN xkbd-0.8.15/data/en_US.qwerty.xkbd.in xkbd-0.8.15-new/data/en_US.qwerty.xkbd.in
+--- xkbd-0.8.15/data/en_US.qwerty.xkbd.in 2002-11-28 03:46:04.000000000 -0800
++++ xkbd-0.8.15-new/data/en_US.qwerty.xkbd.in 2008-03-23 02:50:39.000000000 -0700
+@@ -26,6 +26,7 @@
+
+ # button style, can be rounded ( default ), square or plain
+ # button_style plain
++repeat_delay 50
+
+ </global>
+
diff --git a/x11-misc/xkbd/files/xkbd-0.8.16-desktop.patch b/x11-misc/xkbd/files/xkbd-0.8.16-desktop.patch
new file mode 100644
index 000000000000..987270d1d398
--- /dev/null
+++ b/x11-misc/xkbd/files/xkbd-0.8.16-desktop.patch
@@ -0,0 +1,19 @@
+Fixes following QA issues:
+ * QA Notice: This package installs one or more .desktop files that do not
+ * pass validation.
+ *
+ * /usr/share/applications/inputmethods/xkbd.desktop: error: (will be fatal in the future): value "xkbd.png" for key "Icon" in group "Desktop Entry" is an icon name with an extension, but there should be no extension as described in the Icon Theme Specification if the value is not an absolute path
+ * /usr/share/applications/inputmethods/xkbd.desktop: error: value "Panel;Utility;MB" for key "Categories" in group "Desktop Entry" contains an unregistered value "MB"; values extending the format should start with "X-"
+ * /usr/share/applications/inputmethods/xkbd.desktop: error: value "Panel;Utility;MB" for key "Categories" in group "Desktop Entry" contains an unregistered value "Panel"; values extending the format should start with "X-"
+ *
+--- a/xkbd.desktop 2003-09-29 20:29:35.000000000 +0300
++++ b/xkbd.desktop 2017-02-16 16:23:40.927035269 +0200
+@@ -3,6 +3,6 @@
+ Comment=Virtual Keyboard
+ Exec=xkbd
+ Type=Application
+-Icon=xkbd.png
+-Categories=Panel;Utility;MB
++Icon=xkbd
++Categories=Utility;Accessibility
+ X-MB-INPUT-MECHANSIM=True
diff --git a/x11-misc/xkbd/files/xkbd-0.8.16-fix-geometry.patch b/x11-misc/xkbd/files/xkbd-0.8.16-fix-geometry.patch
new file mode 100644
index 000000000000..d90824085ea4
--- /dev/null
+++ b/x11-misc/xkbd/files/xkbd-0.8.16-fix-geometry.patch
@@ -0,0 +1,36 @@
+--- xkbd-0.8.16/src/xkbd.c
++++ xkbd-0.8.16/src/xkbd.c
+@@ -307,21 +307,22 @@
+ 0, BlackPixel(display, screen_num),
+ WhitePixel(display, screen_num));
+
++ wret = DisplayWidth(display, screen_num);
++ hret = DisplayHeight(display, screen_num)/4;
++ xret = 0;
++ yret = DisplayHeight(display, screen_num) - hret;
++
+ // deactivate geometry for 0.8.16 release - mb
+ geometry = NULL;
+ if (geometry != NULL)
+ {
+- XParseGeometry(geometry, &xret, &yret, &wret, &hret );
+- }
+- else
+- {
+- if (wm_type != WM_MATCHBOX)
+- {
+- wret = DisplayWidth(display, screen_num);
+- hret = DisplayHeight(display, screen_num)/4;
+- xret = 0;
+- yret = DisplayHeight(display, screen_num) - hret;
+- }
++ int flags;
++
++ flags = XParseGeometry(geometry, &xret, &yret, &wret, &hret );
++ if( flags & XNegative )
++ xret += DisplayWidth( display, screen_num ) - wret;
++ if( flags & YNegative )
++ yret += DisplayHeight( display, screen_num ) - hret;
+ }
+
+ /* check for user selected keyboard conf file */
diff --git a/x11-misc/xkbd/metadata.xml b/x11-misc/xkbd/metadata.xml
new file mode 100644
index 000000000000..49c86a887b6a
--- /dev/null
+++ b/x11-misc/xkbd/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+</maintainer>
+</pkgmetadata>
diff --git a/x11-misc/xkbd/xkbd-0.8.16-r1.ebuild b/x11-misc/xkbd/xkbd-0.8.16-r1.ebuild
new file mode 100644
index 000000000000..986dae594ba3
--- /dev/null
+++ b/x11-misc/xkbd/xkbd-0.8.16-r1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="onscreen soft keyboard for X11"
+HOMEPAGE="http://trac.hackable1.org/trac/wiki/Xkbd"
+SRC_URI="http://trac.hackable1.org/trac/raw-attachment/wiki/Xkbd/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~arm ~ppc x86"
+IUSE="debug"
+
+RDEPEND="x11-libs/libXrender
+ x11-libs/libX11
+ x11-libs/libXft
+ x11-libs/libXtst
+ x11-libs/libXpm
+ media-libs/freetype
+ dev-libs/expat
+ sys-libs/zlib"
+DEPEND="${RDEPEND}
+ x11-proto/xproto
+ x11-proto/xextproto"
+
+DOCS=( AUTHORS )
+PATCHES=(
+ "${FILESDIR}"/${P}-fix-geometry.patch
+ "${FILESDIR}"/${P}-desktop.patch
+ "${FILESDIR}"/${PN}-0.8.15-increase-delay.patch
+ "${FILESDIR}"/${PN}-0.8.15-fix-keysyms-search.patch
+)
+
+src_configure() {
+ econf \
+ $(use_enable debug)
+}
diff --git a/x11-misc/xkbset/Manifest b/x11-misc/xkbset/Manifest
new file mode 100644
index 000000000000..21d6dcfe5d0b
--- /dev/null
+++ b/x11-misc/xkbset/Manifest
@@ -0,0 +1,8 @@
+AUX xkbset-0.5-ldflags.patch 412 SHA256 66753c40a3b20168e0296a72b16df861ebe90c6300aa6239be1bc6cb0a9e01ba SHA512 594eb6ff7f812633d4e7c3e8ab1a90f3f71856556680ba3643d40eb75602a0e9b09cee129929f7d7aabc70d009f3b511c0fafb8dfe6943b4456b9da95a9eba39 WHIRLPOOL cbd9c749c8d7806204e1e524f3101797cbdb7923b6729f7c7c4ff52c86681954c8710ac6ada222f6017666879f492ac2a6098489655813a3a1df5c396237b1ad
+DIST xkbset-0.5.tar.gz 13933 SHA256 01c2579495b39e00d870f50225c441888dc88021e9ee3b693a842dd72554d172 SHA512 64de1a18076c0e0fd3e3189444b6033880028f53777566286caf935bfafcf062ccbd408d20926e2a4febb77d15b026349e0288f2aa93c815ddd9437b96589d8c WHIRLPOOL 225d5f0e35ed7efb7c6b122f87d607ba25dd5f3bf92e9daea1a580f7b488f7ad2141c57d755fbdda8c723de4d4c482846448ab341ebbec96bb0e118a713a946c
+DIST xkbset_0.5-5.1.diff.gz 3744 SHA256 a50a099c79d6bfed830e98b7797b3adfe31fe4480cc20d3d31a7a363db2995ee SHA512 92c362653088d5249dc26959cc898d4f8882f77b410ae09bbb2f03972940ed64ee2864b6da3425692c5cfa2bfe3b34d8316f5d7aa619f25c6311ac7a91a8db4b WHIRLPOOL d87e38c617e1eb0981f6e98929b1e2d94395b5f14f2dc7daa6bcdcd64bcf8c692058295a59b020dcb22cdc01fd594ea83b2446176978f57b7402083ff853531d
+DIST xkbset_0.5-6.debian.tar.xz 4028 SHA256 3621012d2a179cfb318b31cf8f1b39fbbcada1329f4dca9be62b89206515b48a SHA512 c7d806406756785c77c12152a092c3f1245941682d063d503f3279d033a1adffa29c7b62723c720cdc03ebde882c134c494b30eda240211f899ceffbc874c366 WHIRLPOOL 5fdf9316cd2f625d17e2a63cd20ac4f7f673aca49d2e893cd5defe1b6ce1a0fe705a4dfaa0046e8bcf005b0b5c26438f18ba36710082da40331ac3d58c853391
+EBUILD xkbset-0.5_p5_p1.ebuild 1159 SHA256 d996e7dcc3108719ed7271175f1b42137429439dfb043041b94cb22c30f2b276 SHA512 0e6e53ff85335d789bf9dc12d6e731f8223598785b9a127b37ac0c131e965a77b239c00ef95c245f94f12159b95c4202ff0f73b36e6ce90e976aa0596b8106e6 WHIRLPOOL 2510bdc45463bff4ee6b1198b59011029672abf9bd446c0b1f3bc2c34afe9ddcd0569ae16e443f519a43762e5b8e0d322415027519467d53eeb298d53c2efd34
+EBUILD xkbset-0.5_p6.ebuild 981 SHA256 d90d9c209335f55c5e724a7131b122bdf64311216da09d7a837b38d89a425338 SHA512 acd96bbb958d997a5ac8642e2706be3a57ced9a71eb9f3fd286327a9d44b016895300bfbc62692c18334055a765c04178f0a9b8afc79a05acddbc2f60d2345a1 WHIRLPOOL 8fe68a8a07e8fc3328b4e1c3c9fb41301fd13a9bb119bc91a1a822e0c860dd81597531cb7bda15febd337067a991e50d238f4857a705969c286fef02211ec90b
+MISC ChangeLog 438 SHA256 ed3bad960774fd06f05b7357d5baed43f1faf7caefc79874b5103b21c12e5598 SHA512 e51d4e1f34fe5d5661edfcfdafcbd0a0d8f66ec402b01cc5c4fe9175cbd3a5d15d98d5e84b3bfa842cbce588f2aac2251818c4eb6869b72ac49cd8ccbcf12ed0 WHIRLPOOL b527926c7154e72a726727268c885d19c7ca8bf1ed9bdd5358cb7ab5948874baf97a40b673eced0a2106af8196d3cefc908c0d81a4cd4e4d2aa1e005c3f076e8
+MISC metadata.xml 306 SHA256 5738e5f4d98a8d40c62dc1808b41c4485aba95234e0f10432437a0403b18e098 SHA512 68c4dd0cd53c28d3b53db38e239dee94fa5377570b86ede8f8aa844bd9a036deb8b777dced87a437b16dc25106e9cb8dd53c8ffa9f42f0a6db60d6f51e897795 WHIRLPOOL 3c1e4f6883292a5c24475785f066dd08791053df11dafc88747dabe63ef6a884826ae997b2b236bd2e3a0ca5ff9a2a4445291f9ddfc27d2295f15f0492cd79e5
diff --git a/x11-misc/xkbset/files/xkbset-0.5-ldflags.patch b/x11-misc/xkbset/files/xkbset-0.5-ldflags.patch
new file mode 100644
index 000000000000..440d428b7a68
--- /dev/null
+++ b/x11-misc/xkbset/files/xkbset-0.5-ldflags.patch
@@ -0,0 +1,11 @@
+--- a/Makefile
++++ b/Makefile
+@@ -11,7 +11,7 @@
+ all: xkbset xkbset.1
+
+ xkbset: getargs.o print.o usage.o main.o misc.o
+- ${CC} ${CFLAGS} ${INC_PATH} ${LIB_PATH} getargs.o print.o usage.o main.o misc.o -o $@ ${LIBS}
++ ${CC} ${CFLAGS} ${LDFLAGS} ${INC_PATH} ${LIB_PATH} getargs.o print.o usage.o main.o misc.o -o $@ ${LIBS}
+
+ getargs.o: getargs.c xkbset.h
+ ${CC} ${CFLAGS} ${INC_PATH} ${LIB_PATH} -c getargs.c
diff --git a/x11-misc/xkbset/metadata.xml b/x11-misc/xkbset/metadata.xml
new file mode 100644
index 000000000000..9cd3e9988810
--- /dev/null
+++ b/x11-misc/xkbset/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person">
+<email>jer@gentoo.org</email>
+</maintainer>
+<use>
+<flag name="tk">Install the <pkg>dev-perl/Tk</pkg> based xkbset-gui utility</flag>
+</use>
+</pkgmetadata>
diff --git a/x11-misc/xkbset/xkbset-0.5_p5_p1.ebuild b/x11-misc/xkbset/xkbset-0.5_p5_p1.ebuild
new file mode 100644
index 000000000000..87d2b2816bdc
--- /dev/null
+++ b/x11-misc/xkbset/xkbset-0.5_p5_p1.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit eutils toolchain-funcs versionator
+
+DEBIAN_P_MAJOR=$(get_version_component_range 3)
+DEBIAN_P_MAJOR=${DEBIAN_P_MAJOR/p/}
+DEBIAN_P_MINOR=$(get_version_component_range 4)
+DEBIAN_P_MINOR=${DEBIAN_P_MINOR/p/}
+
+DESCRIPTION="User preference utility for XKB extensions for X"
+HOMEPAGE="https://faculty.missouri.edu/~stephen/software/#xkbset"
+SRC_URI="
+ https://faculty.missouri.edu/~stephen/software/${PN}/${P/_p*/}.tar.gz
+ mirror://debian/pool/main/x/${PN}/${PN}_${PV/_p*/}-${DEBIAN_P_MAJOR}.${DEBIAN_P_MINOR}.diff.gz
+"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="tk"
+
+CDEPEND="
+ x11-libs/libX11
+"
+DEPEND="
+ ${CDEPEND}
+"
+RDEPEND="
+ ${CDEPEND}
+ tk? ( dev-perl/Tk )
+"
+
+S=${WORKDIR}/${P/_p*/}
+
+PATCHES=(
+ "${FILESDIR}"/${P/_p*/}-ldflags.patch
+ "${WORKDIR}"/${PN}_${PV/_p*}-${DEBIAN_P_MAJOR}.${DEBIAN_P_MINOR}.diff
+ "${WORKDIR}"/${P/_p*/}/debian/patches/02_clarify_errors.dpatch
+)
+
+src_compile() {
+ emake CC=$(tc-getCC) INC_PATH= LIB_PATH=
+}
+
+src_install() {
+ dobin xkbset
+ use tk && dobin xkbset-gui
+ doman xkbset.1
+ dodoc README TODO
+}
diff --git a/x11-misc/xkbset/xkbset-0.5_p6.ebuild b/x11-misc/xkbset/xkbset-0.5_p6.ebuild
new file mode 100644
index 000000000000..7ac0f9aa012e
--- /dev/null
+++ b/x11-misc/xkbset/xkbset-0.5_p6.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit eutils toolchain-funcs versionator
+
+DEBIAN_P_MAJOR=$(get_version_component_range 3)
+DEBIAN_P_MAJOR=${DEBIAN_P_MAJOR/p/}
+
+DESCRIPTION="User preference utility for XKB extensions for X"
+HOMEPAGE="https://faculty.missouri.edu/~stephen/software/#xkbset"
+SRC_URI="
+ https://faculty.missouri.edu/~stephen/software/${PN}/${P/_p*/}.tar.gz
+ mirror://debian/pool/main/x/${PN}/${PN}_${PV/_p*/}-${DEBIAN_P_MAJOR}.debian.tar.xz
+"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="tk"
+
+CDEPEND="
+ x11-libs/libX11
+"
+DEPEND="
+ ${CDEPEND}
+"
+RDEPEND="
+ ${CDEPEND}
+ tk? ( dev-perl/Tk )
+"
+
+S=${WORKDIR}/${P/_p*/}
+
+PATCHES=(
+ "${FILESDIR}"/${P/_p*/}-ldflags.patch
+ "${WORKDIR}"/debian/patches/02-clarify-errors.patch
+)
+
+src_compile() {
+ emake CC=$(tc-getCC) INC_PATH= LIB_PATH=
+}
+
+src_install() {
+ dobin xkbset
+ use tk && dobin xkbset-gui
+ doman xkbset.1
+ dodoc README TODO
+}
diff --git a/x11-misc/xkeyboard-config/Manifest b/x11-misc/xkeyboard-config/Manifest
new file mode 100644
index 000000000000..5cd25157a0b0
--- /dev/null
+++ b/x11-misc/xkeyboard-config/Manifest
@@ -0,0 +1,9 @@
+DIST xkeyboard-config-2.20.tar.bz2 978275 SHA256 d1bfc72553c4e3ef1cd6f13eec0488cf940498b612ab8a0b362e7090c94bc134 SHA512 29584096874cf8f1444ed00374150fb186e9a74221b384d779bcf01c0762977f8a6a1b3dfa37acd560667a79cc80d4c0d39729b7dc21809520a7254026439db4 WHIRLPOOL f03b1e05e3c2897cab96bf569e97bb1095f13a8ce1eb2aaae4ae0ff1a588974c9e7e5bd066026f95a2c4939d0bc151aad77a233b7dbf994e3caeb50a5210f539
+DIST xkeyboard-config-2.21.tar.bz2 994972 SHA256 30c17049fae129fc14875656da9aa3099e3031d6ce0ee1d77aae190fd9edcec5 SHA512 c8c3da9d78365878b051bcfecc7c51e89c5aa15e6e3ba5e8c84612eaca4ca7741702c023f9571ac04c865f2951a7ca33f4fbbedb3baf6c76441ebf59c4e41068 WHIRLPOOL 4addfc267203bf3e5d66d9b8cb07c62bba75ddf42fe0cbb832d94373941c768d136e6724d28433728ecde3d0c9eb39f66e65ae72e0462d1c94e86b1d7ac9959e
+DIST xkeyboard-config-2.22.tar.bz2 1046333 SHA256 deaec9989fbc443358b43864437b7b6d39caff07890a4a8055105ce9fcaa59bd SHA512 1697cc1a49625eb608d8ab1f54f9f37e37facc482fc8bae5ebff9e3336efdd2f57e0ed95db0a9745d49f1bc21e2cfa792d0849f4057745d8be8f7abac4893f97 WHIRLPOOL 93931c41e8aa4ad705bfd1aef9b69ffdd32b6d387005d7e143f2436d9e205ea146a27d1eb5b62509604ed54e50f8146ecab9076b8bcc44bda4554165d72768b7
+EBUILD xkeyboard-config-2.20.ebuild 1086 SHA256 39d77d00a02800a567a45677befe72b80fcdbe17819ed61ec2d523ad6f91b7c4 SHA512 047047ca71e89b11bf602c965a487d28571fd3bd68f3648970be46cd9ea9b23ee9b696333615bb8d4d2413cdb2bb209b4bf7411f8b45433899ae47c8db142d08 WHIRLPOOL 482dd7a1d422044dd05c6e0a6a38ed5e9444674d5fb6d86594dcd6853c3f8090fd20a18f405f90f1625b4d06e1800015460e574ebdcb52014c17775034612666
+EBUILD xkeyboard-config-2.21.ebuild 1095 SHA256 835c98d7d580ccaab2cf4ef0ccc63cc78defd4063eccfcf29e57c57fe0927059 SHA512 63c9db467b36f66ce54248f7eb5c8dc6528242a3d2844a70905bd8f006233678de67003f0cd81f092a0fa2db2a4570d15e63f6a2c97a42a26eda5fdd52b1c364 WHIRLPOOL eee526c3dea94eec33f0e4d836e1c772d8a9c9d885a227cf704c42310ad98bc41280d052b36b644dbe683870e700990276f8fd16ac8b5a9cace08ab3d0d8064c
+EBUILD xkeyboard-config-2.22.ebuild 1095 SHA256 835c98d7d580ccaab2cf4ef0ccc63cc78defd4063eccfcf29e57c57fe0927059 SHA512 63c9db467b36f66ce54248f7eb5c8dc6528242a3d2844a70905bd8f006233678de67003f0cd81f092a0fa2db2a4570d15e63f6a2c97a42a26eda5fdd52b1c364 WHIRLPOOL eee526c3dea94eec33f0e4d836e1c772d8a9c9d885a227cf704c42310ad98bc41280d052b36b644dbe683870e700990276f8fd16ac8b5a9cace08ab3d0d8064c
+MISC ChangeLog 7491 SHA256 52d48b39427281dd01606c6ba73b152aa8302a984b1c44069a3a6a150d1bf8a0 SHA512 accc3ce3e9fbcda59423dd10c65cb324376568e51f10d498ae73074b7d0545db3c96b79abb0c1145dda17dd0a63be043ab9b6743bcb87901ba6d3a20a26d3285 WHIRLPOOL d8d42df87fa60699ba86d65e54e55627e4b1f3c9027db65cecfdc3750493f81f85ea8a4d16efc0639ba7cde9abe1a75f5edd0bc54c5c1c14ac7f80dfae75ad7a
+MISC ChangeLog-2015 30375 SHA256 515281df69c894190e0bd26d017776d805d12bf1c05cbfc5ab74e825627f09fe SHA512 bae164ad0cce166218d1e46778f803d11b7dad75c039b44bec8da32fc7300c3e1307e2c1df2822408886eed8a362c9f91d99b8a373b8e00a78dd713750c9dfb0 WHIRLPOOL ce356086fc96bdae46b3fb8613db42e52493b2cfa8bdcb9573cc45c8da0081678b432f1eae1ab9a89e4c5e817a773022cbe6fe15c0f289d1f53055e63f53a6e3
+MISC metadata.xml 230 SHA256 677e4595d00a3098fde05ae33118b9ac05867dc5729c9cd579dc8badd1a28f68 SHA512 d7a2643abd1904cc5ff4d91cbb6f1baeb7f75fd1db542c5e14f19412f4f0bd4b903f8e703a7662ba7482c79dac5529057760b6427599d35e0842755fd946e057 WHIRLPOOL 4866c82c6428eae526c0a514c988e4119221f77b0e8bfb04fec713dd3ba516c69afc776a0c6f53c29abfd8507aa23801614db1ba544dd0a0dd4d6a9462c27306
diff --git a/x11-misc/xkeyboard-config/metadata.xml b/x11-misc/xkeyboard-config/metadata.xml
new file mode 100644
index 000000000000..e943b72b8a48
--- /dev/null
+++ b/x11-misc/xkeyboard-config/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>x11@gentoo.org</email>
+ <name>X11</name>
+</maintainer>
+</pkgmetadata>
diff --git a/x11-misc/xkeyboard-config/xkeyboard-config-2.20.ebuild b/x11-misc/xkeyboard-config/xkeyboard-config-2.20.ebuild
new file mode 100644
index 000000000000..c301928f46af
--- /dev/null
+++ b/x11-misc/xkeyboard-config/xkeyboard-config-2.20.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+XORG_STATIC=no
+inherit xorg-2
+
+EGIT_REPO_URI="https://anongit.freedesktop.org/git/xkeyboard-config.git"
+
+DESCRIPTION="X keyboard configuration database"
+HOMEPAGE="https://www.freedesktop.org/wiki/Software/XKeyboardConfig"
+[[ ${PV} == *9999* ]] || SRC_URI="https://www.x.org/releases/individual/data/xkeyboard-config/${P}.tar.bz2"
+
+KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris"
+IUSE=""
+
+LICENSE="MIT"
+SLOT="0"
+
+RDEPEND="!<x11-apps/xkbcomp-1.2.3
+ !<x11-libs/libX11-1.4.3"
+DEPEND="
+ sys-devel/gettext
+ dev-util/intltool"
+
+XORG_CONFIGURE_OPTIONS=(
+ --with-xkb-base="${EPREFIX}/usr/share/X11/xkb"
+ --enable-compat-rules
+ # do not check for runtime deps
+ --disable-runtime-deps
+ --with-xkb-rules-symlink=xorg
+)
+
+src_prepare() {
+ xorg-2_src_prepare
+ if [[ ${XORG_EAUTORECONF} != no ]]; then
+ intltoolize --copy --automake || die
+ fi
+}
diff --git a/x11-misc/xkeyboard-config/xkeyboard-config-2.21.ebuild b/x11-misc/xkeyboard-config/xkeyboard-config-2.21.ebuild
new file mode 100644
index 000000000000..4dede12071f8
--- /dev/null
+++ b/x11-misc/xkeyboard-config/xkeyboard-config-2.21.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+XORG_STATIC=no
+inherit xorg-2
+
+EGIT_REPO_URI="https://anongit.freedesktop.org/git/xkeyboard-config.git"
+
+DESCRIPTION="X keyboard configuration database"
+HOMEPAGE="https://www.freedesktop.org/wiki/Software/XKeyboardConfig"
+[[ ${PV} == *9999* ]] || SRC_URI="https://www.x.org/releases/individual/data/xkeyboard-config/${P}.tar.bz2"
+
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris"
+IUSE=""
+
+LICENSE="MIT"
+SLOT="0"
+
+RDEPEND="!<x11-apps/xkbcomp-1.2.3
+ !<x11-libs/libX11-1.4.3"
+DEPEND="
+ sys-devel/gettext
+ dev-util/intltool"
+
+XORG_CONFIGURE_OPTIONS=(
+ --with-xkb-base="${EPREFIX}/usr/share/X11/xkb"
+ --enable-compat-rules
+ # do not check for runtime deps
+ --disable-runtime-deps
+ --with-xkb-rules-symlink=xorg
+)
+
+src_prepare() {
+ xorg-2_src_prepare
+ if [[ ${XORG_EAUTORECONF} != no ]]; then
+ intltoolize --copy --automake || die
+ fi
+}
diff --git a/x11-misc/xkeyboard-config/xkeyboard-config-2.22.ebuild b/x11-misc/xkeyboard-config/xkeyboard-config-2.22.ebuild
new file mode 100644
index 000000000000..4dede12071f8
--- /dev/null
+++ b/x11-misc/xkeyboard-config/xkeyboard-config-2.22.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+XORG_STATIC=no
+inherit xorg-2
+
+EGIT_REPO_URI="https://anongit.freedesktop.org/git/xkeyboard-config.git"
+
+DESCRIPTION="X keyboard configuration database"
+HOMEPAGE="https://www.freedesktop.org/wiki/Software/XKeyboardConfig"
+[[ ${PV} == *9999* ]] || SRC_URI="https://www.x.org/releases/individual/data/xkeyboard-config/${P}.tar.bz2"
+
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris"
+IUSE=""
+
+LICENSE="MIT"
+SLOT="0"
+
+RDEPEND="!<x11-apps/xkbcomp-1.2.3
+ !<x11-libs/libX11-1.4.3"
+DEPEND="
+ sys-devel/gettext
+ dev-util/intltool"
+
+XORG_CONFIGURE_OPTIONS=(
+ --with-xkb-base="${EPREFIX}/usr/share/X11/xkb"
+ --enable-compat-rules
+ # do not check for runtime deps
+ --disable-runtime-deps
+ --with-xkb-rules-symlink=xorg
+)
+
+src_prepare() {
+ xorg-2_src_prepare
+ if [[ ${XORG_EAUTORECONF} != no ]]; then
+ intltoolize --copy --automake || die
+ fi
+}
diff --git a/x11-misc/xkeycaps/Manifest b/x11-misc/xkeycaps/Manifest
new file mode 100644
index 000000000000..4e8f22cbf911
--- /dev/null
+++ b/x11-misc/xkeycaps/Manifest
@@ -0,0 +1,7 @@
+AUX xkeycaps-2.47-Imakefile.patch 758 SHA256 6d82c2e6cfcdc12c27a64ea690485ae1b7ab8fbe2d678bbb0fafe2a4d60f38d6 SHA512 f3bef8615e6a040ab05fc71cf45323515f752ffc8cc1914098b1a8433a77c91c0f9aaba11e73bc984c808d1e5421f94c5dab4562e5f442a8558d2987145928a5 WHIRLPOOL 2615cd49da00cabb4a2bc72b987a121844f89e65f4cac8922e90d6303dfb0c7d2c0cc0de12a61b508fbd238fb0e6f913c20878568216328a53ae0b265183e006
+AUX xkeycaps-2.47-man.patch 639 SHA256 c56ceda9483ebf96c040deff495a8c03a2a629c1a32d209817a331bd6182127b SHA512 6eab220c2c5c274ae5bfdc5bcf9c028409a3f0ee1b764aaaae81b2b7496fea48e64ea6fbcba0bf175ee10bcc81309ddcaeed3c4b9b831b9f8d8341df20a9c950 WHIRLPOOL 1142b75ca96a51c4cc880607cd37839b40316109803b41ae2b650aaa38e1c6db85096747e08b3ec1126924003f08058695a8267b58f64b2cad0273091623b6a7
+DIST xkeycaps_2.47.orig.tar.gz 351418 SHA256 efd92e6179ec4506cbb08db11091185f3bd1567eecb2291f91f70980e175d8f4 SHA512 f5f5ecdf83c2bd86eb3d8b8a28b26af25a2dc9ff0a9c44091d8eb154d617b4373191a2e4479bb0e3025c023d6e5d785a088c64bc269c1c43431a3d2fc91c1a7e WHIRLPOOL c5f82eb323774a9341c49f5216bc30f25fd12c021b531abeed454e2178808f701f6282b75bb934278a99475b80a3ffb483a435c76741e9aa4a326967422d7e49
+EBUILD xkeycaps-2.47-r2.ebuild 942 SHA256 a4ef07aca04539a4af69fe4707e22d34c43952280be2ac8f35b24293df69f58d SHA512 4832deeb6537f5de4717176cdcc60dea67399cb7d33560fddf922aa12e9c03c20259ad74d79a8ae00fad966cfd94d816becf7f464efc1d9b4823cfb60bbc7cdb WHIRLPOOL f4377a63700b52411ecffda1dd911c4ed6b7c84bc8607ba598b84dc614b59f85affac558ac8233ca7651dab489c43478d2127b3175b90a0b92e031e0353a64f4
+MISC ChangeLog 2506 SHA256 f7801f409cf776804402836a60107d8aa55237f70d1725ca4f61e9236e1c39c8 SHA512 7a5b7b7187571d9ba3653902fefed0c4088f1c97f999446cf9d9452563e42b90b18282a650a8a9409751826dea8275c1634eebc47d690a32d561bb124d4c4362 WHIRLPOOL de6f8662a266d89cde09623e354827d4b7b6dd9c7a2794a5a018d782571f0cdecf61e0f576196c7248dd6de60bdae605176a906781aba50cb09ed1c38d092423
+MISC ChangeLog-2015 3612 SHA256 6034810228e74b283cd86a54d7c967f17ed8accbd5404b6bb8eecedcbbd39432 SHA512 4e945f2dd9ec6fc95e55bff425189e97c20638c1d09801f9433116e3ebf6d302e664792519d9a478a727e4bfd177841a0e533571d44fe7d92b87c0e83cfef9cc WHIRLPOOL 8a7fb241898416be49f7c994a070d4b2d3944a4f0addf35692a90350f9ab6bb1e307c9864848061f694368ec42b52dc5588d42e500229a48d0f179a1387b6c81
+MISC metadata.xml 276 SHA256 437f3dba7deca9da3b3f8ecda9bb5e97253de0412cbb3095d876f39140f3ea98 SHA512 3497963f4fb51bb32521472b54a995091cb457d2cda65c786bd4b46e5af325caf8f6d5c969cefa0c09fe717df09fb015ec59b52f5571c3b2b9d4ea33e6c843ab WHIRLPOOL 8550fd604cf609511bf7c34245ebd6682dd6d058d8cbfa099a77c94d1afcf592909eb679a28a0806957ac0949c6cff350675e0182303ec5890a5e2c2c26d29c5
diff --git a/x11-misc/xkeycaps/files/xkeycaps-2.47-Imakefile.patch b/x11-misc/xkeycaps/files/xkeycaps-2.47-Imakefile.patch
new file mode 100644
index 000000000000..42f7ab6e344d
--- /dev/null
+++ b/x11-misc/xkeycaps/files/xkeycaps-2.47-Imakefile.patch
@@ -0,0 +1,22 @@
+diff -ur xkeycaps-2.47.orig/Imakefile xkeycaps-2.47/Imakefile
+--- xkeycaps-2.47.orig/Imakefile 2005-02-23 00:33:15.000000000 +0200
++++ xkeycaps-2.47/Imakefile 2008-12-07 22:55:24.000000000 +0200
+@@ -1,5 +1,5 @@
+-/**/# Imakefile for xkeycaps;
+-/**/# Copyright (c) 1991, 1992, 1993, 1994, 1995, 1999 Jamie Zawinski.
++/* Imakefile for xkeycaps;
++ Copyright (c) 1991, 1992, 1993, 1994, 1995, 1999 Jamie Zawinski. */
+
+ /*
+ * To specify a different default keyboard (for when the vendor display
+@@ -353,8 +353,8 @@
+ TAR = tar
+ COMPRESS = compress
+ COMPRESS_EXT = Z
+-/**/# COMPRESS = gzip --verbose --best
+-/**/# COMPRESS_EXT = gz
++/* COMPRESS = gzip --verbose --best */
++/* COMPRESS_EXT = gz */
+
+ ComplexProgramTarget(xkeycaps)
+
diff --git a/x11-misc/xkeycaps/files/xkeycaps-2.47-man.patch b/x11-misc/xkeycaps/files/xkeycaps-2.47-man.patch
new file mode 100644
index 000000000000..f68629ef3eaf
--- /dev/null
+++ b/x11-misc/xkeycaps/files/xkeycaps-2.47-man.patch
@@ -0,0 +1,12 @@
+diff -ur xkeycaps-2.47.orig/xkeycaps.man xkeycaps-2.47/xkeycaps.man
+--- xkeycaps-2.47.orig/xkeycaps.man 2006-01-02 02:22:17.000000000 +0200
++++ xkeycaps-2.47/xkeycaps.man 2008-12-07 22:51:38.000000000 +0200
+@@ -267,7 +267,7 @@
+ the physical keys: it is immutable (unless you repaint your keyboard...)
+ .TP 10
+ .B \fIChord\fP
+-This term refers to a set of two or more keys held down simultaniously (by
++This term refers to a set of two or more keys held down simultaneously (by
+ analogy with piano keyboards.) All but one of the keys will generally be
+ Modifier Keys. Sometimes \fIConstellation\fP is used to mean the same thing.
+ .TP 10
diff --git a/x11-misc/xkeycaps/metadata.xml b/x11-misc/xkeycaps/metadata.xml
new file mode 100644
index 000000000000..2ba8e9e851e4
--- /dev/null
+++ b/x11-misc/xkeycaps/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/x11-misc/xkeycaps/xkeycaps-2.47-r2.ebuild b/x11-misc/xkeycaps/xkeycaps-2.47-r2.ebuild
new file mode 100644
index 000000000000..504fde9935bc
--- /dev/null
+++ b/x11-misc/xkeycaps/xkeycaps-2.47-r2.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit toolchain-funcs
+
+DESCRIPTION="GUI frontend to xmodmap"
+HOMEPAGE="https://packages.qa.debian.org/x/xkeycaps.html"
+SRC_URI="mirror://debian/pool/main/x/${PN}/${PN}_${PV}.orig.tar.gz"
+
+LICENSE="HPND"
+SLOT="0"
+KEYWORDS="amd64 ppc ppc64 x86"
+IUSE=""
+
+RDEPEND="x11-misc/xbitmaps
+ x11-libs/libX11
+ x11-libs/libXmu
+ x11-libs/libXt
+ x11-libs/libXaw
+ x11-libs/libXext"
+DEPEND="${RDEPEND}
+ x11-proto/xproto
+ x11-misc/imake
+ >=sys-apps/sed-4"
+
+DOCS=( README defining.txt hierarchy.txt sgi-microsoft.txt )
+PATCHES=(
+ "${FILESDIR}"/${P}-Imakefile.patch
+ "${FILESDIR}"/${P}-man.patch
+)
+
+src_compile() {
+ xmkmf || die
+ sed -i -e "s,all:: xkeycaps.\$(MANSUFFIX).html,all:: ,g" \
+ Makefile || die
+ emake EXTRA_LDOPTIONS="${LDFLAGS}" CC="$(tc-getCC)" \
+ CDEBUGFLAGS="${CFLAGS}"
+}
+
+src_install () {
+ default
+ newman ${PN}.man ${PN}.1
+}
diff --git a/x11-misc/xlockmore/Manifest b/x11-misc/xlockmore/Manifest
new file mode 100644
index 000000000000..c75661ca8863
--- /dev/null
+++ b/x11-misc/xlockmore/Manifest
@@ -0,0 +1,15 @@
+AUX xlockmore-5.46-freetype261.patch 587 SHA256 47d8b1f62de4af6b3a1607d07a0427429d52aec505660b075e40276917514c9b SHA512 330d2120a0e3c9c6ffffe90e1fdde255325394fc03aa4f9d532086859e6bdcb3f80aeab4a0b4d7f5eae4bcaef69fcba924ec86014c3c8e13fe8c878f9ebc8077 WHIRLPOOL 52fdba58aaa8f1df62025c79afc91dda2f6a0fbc9f27366a18a9e4e5dc1dfdc69a1f2514e7b7082dd5b6d567e6eb4c463d475c083b68f53e8c4afde8624ba059
+AUX xlockmore-5.47-CXX.patch 613 SHA256 7b5b5a14594247c123b2ddac0a6d096c28c2f4d9c77a12ab472c96dd708886dc SHA512 4eef79a2b791401433ae0c6e55179975f88b74c4e57cd64ca81df48a232723e5edaccbd7045c9f67ba81ba159e70257d5e070ea59808f52430ac08539ea91087 WHIRLPOOL 5e95ffbfea2434c8d6eaab21ce58e575b93917a3475c6045f8721b943e3dde4c3468420bf1ca9952e03734ab18071bcde6bfb9691604c5ddf1405967b4169e5b
+AUX xlockmore-5.47-_BSD_SOURCE.patch 449 SHA256 3fab062d887e0cf7cec4255d76b67c3b419a2dffe37a411ca2107708535e7c3e SHA512 c0b6c4a245792b91ad3ebee91f81cb6fecdf2ea2175a284203fc049b93cc51ba7cd6ba27b08bef464de96760077e6575c10c73fc237708033ee0db742c8acef3 WHIRLPOOL b9228bac1cc11e748af060261649b7b954f597161e232f4416b9f9725b2d365486d1930c4cb30998e703c583e513783ef8cf671ca79cf0457d8d52324aee35ed
+AUX xlockmore-5.47-strip.patch 2048 SHA256 222d4ed87b026342a1d260d3827a85c1a62394aabe0c2829c2a5cb4cab7ec527 SHA512 2de24cbacab2a54e7a41f4604625096030763ad6212ec30b34be2c2fc4035b44f146bfb9d0a34df9c9ce4fa96a0eb1c9c7701b512a917fdf3eb56a5195c8585e WHIRLPOOL 17be9075d0bfe5220897a912099c1540cf91dd9a615a6e1a2d88ae6160305c936e543b61a2187dca9009c1f25f81731a3da36854178a47cd6254fcaa96ec7700
+DIST xlockmore-5.47.tar.xz 1610604 SHA256 94e3adee284eec09dc27405bfc24651446e8c6edd6a5bc565550b08f563a0d8d SHA512 0690255cafa0e32d5b2920a611a76107565591331ef12e442069d4a7fba38b18b43a581f29488969695390aef92d4868681efb9b2a06fbb73960d4bcd4b13484 WHIRLPOOL c76dd5c9111d7e17fcbf4572d95773fd40b14f3895fb5b2e86aa36bc2b15da0b6d1fc5bcbf776da976113a76c7f14caf2507495359e0f8a15996cf574c498903
+DIST xlockmore-5.50.tar.xz 1632968 SHA256 635f72df44589d028200acf604093959968a7e19f79c4363a76599615f563a29 SHA512 627a905c4641d6083676a766931f23c06e2ac5af9b43447ccf03143d329d24b786aac6b248318929399b5fae98f1ec17e676466b5cbd09f180377c483694c569 WHIRLPOOL 2485b7805632581077554b7f2e460d94c0c094d7470e26550e8f32fb4d794ea4c2a111403542d9c07560cf0a0b2e8076cdc789336d09f3798827546ed68b8451
+DIST xlockmore-5.54.tar.xz 1647652 SHA256 9f4facb9721cc01450db0c11ffecd26a739b046e425e02628831a66080a0af55 SHA512 027a750d8fb9d17619441a8f76456614e0b91b4963a80810e24d4aff46a8c3217464347b0910c00ce54c25ab6678159dec3c3ea60ee61f7624015950590d7f5d WHIRLPOOL 7640aa4ca3ac1c9e152a0b6d7491a03c404aadbad523199e8a8015359ee86b8185fd522a4809d604195980b804131931734211cb2c7ef748caaa0460dd46faba
+DIST xlockmore-5.55ALPHA.tar.xz 1647904 SHA256 c7773535b000a0a12245bf5579619e9d29aaea5b9af0aec09a2adeebfb91d8e0 SHA512 ff3c9c1897f9ba5ab6eaf507fab595004cfecf20dd05d4264be0765b8fa78dd4b61add1362e3f509401b6f8e4d6daf13c6aeb1c375060ed14921564a0a819e5e WHIRLPOOL 76ae33b7f6d31968d676082c730d260bfd3c93fdbea3d61209a3944b32ae596d57db445a16c2a0a629645de4c37c95d0259c8af4df23b34164fc55778f9fdc8d
+EBUILD xlockmore-5.47.ebuild 2236 SHA256 c5e96ed017ee44dab425919c913c875f331d64b439d7e09c3f5b5b3003536d48 SHA512 2598b3f050f8bea8e5c1f71529a6a1d97fdc6902062f8985a9e31697a7bc048c1a07835dd97212b729766c2350a7b2df68e6ee69f45bee0a00161af38c24f53c WHIRLPOOL 3b38dc18d29b40aa585a46b2b23b36886e50efcd329b0436cf3532d3f5a48069c1fb03f0e75291147499e26a547fa4d1a726ffbbc007d4901da58f7266dfa64b
+EBUILD xlockmore-5.50.ebuild 2170 SHA256 fe3413b4b3734ad36e2216d64d07f5c7c2c428a1083b139766cca3bc5b896a53 SHA512 fd6f4bc897d68f7cf2674b0a4e378064f8ce18402bc124d0e1559182515132e99972a9b05b576e62b2b649911c14a95c5d46bf073f22480a7a9bf2679ca477ee WHIRLPOOL b52cea321bbf11a753c24cd6e2ec37f5457ffee6c415b4368814e089c825de65990ea2b1a8e76ab8499b8f468442ac894a7fd97bd25c0137c24bb4285e30dd4d
+EBUILD xlockmore-5.54.ebuild 2176 SHA256 295f3ce0117d54ad6283f035abb12ba92a2135798fce6ced539db02a47d8ecff SHA512 f2ac190a0ef5421cf4faeeca936663bf7b134fae212cbf0fa597e9feaceaee91475965dd9d0cfd4d2180d7e2fb80776f1b4ab581fcfffcfee7641f70e43d0ab3 WHIRLPOOL 32296aef3fe1f893a73fe275c4648267b68fda82d6a9a6556778ed83d86f1aae347d929b73ca5dad3c2a24ce0a8445f6a0193e09aa16bd287456f76f96943780
+EBUILD xlockmore-5.55_alpha.ebuild 2220 SHA256 3c76d9af089842648528fa7a6508a4f697dab8e3e49bd6b3c80e523a5f05bbc6 SHA512 99bfca284e7bf037002c5c89688e49fa3a23d55c2e611280a1cf8c1e33c59064330e9ee63ba974c10049c6a71bb4062f8b090e3686efa268f312facfb25f8665 WHIRLPOOL 078adbcff91156ee903e20c7d2b3376d9f25e1c0c4f303cc4636c628ed99f629412eca94b74f4fcda7717df197f2eab4dc491558c4485dbc1538d67f1e7926f5
+MISC ChangeLog 3418 SHA256 60acb02a27fec914a8d0a2fcd1a45287aafcb1acf56b43056b121935eaa7c6d2 SHA512 13bf09089a31490152e6dc5d260a3d0c444aea6d51ca508da14a5b7a15714fc48e5d041bd8c14ed6c1e9c5b778a74b89d703ad444f0c1ad0156b06153d685b86 WHIRLPOOL d74339c8557c263ebd68fcf73219749e5b42edad75637abbc3203eff57a60ad93818aa79fc1838b7ae19df347fc0b97b5f1a26d84d6f010f6f49223a07cd1042
+MISC ChangeLog-2015 20979 SHA256 382d2d1a04afa809c0dd63f027fea805604f4e5ca69a081f2afc81240b888053 SHA512 349557ede34779a16c80b6350a193d9caf5f4cb21da21864c2068d7c10bb633191534c18f7c362b31a115acb524d44013dab9baf9064757b634d94cb06d487ba WHIRLPOOL 3d4750121481442d37ee62cb0d7b61cffdfa2462d913e10d0b5d54f9f814c64b2cd91484de64a0b1541ae65ddb079ab4cffad25b57cefc201c23b5540993573a
+MISC metadata.xml 446 SHA256 9c143e4ee51d4cc04d8680b8f9abeba8cc3cf8178631fd2300a196a32f3571df SHA512 c8fafb010e63c39beeee5b53ad37354d19e98ac4cf33f29606b0af379811a0738c9c70d1fb7c31a5673d4a6365fb658a6a8bf49135b748bea9069a690ce543ed WHIRLPOOL 366be3099729a130bc980384e871bdde395ed216d36b58199d240d70b4291feca6ad1adcd2fad180558c588f96c6122854d13004087372102338b1b82c91706c
diff --git a/x11-misc/xlockmore/files/xlockmore-5.46-freetype261.patch b/x11-misc/xlockmore/files/xlockmore-5.46-freetype261.patch
new file mode 100644
index 000000000000..5258121bbbea
--- /dev/null
+++ b/x11-misc/xlockmore/files/xlockmore-5.46-freetype261.patch
@@ -0,0 +1,11 @@
+--- xlockmore-5.46/configure.ac
++++ xlockmore-5.46/configure.ac
+@@ -1912,7 +1912,7 @@
+ AC_DEFUN([AC_PATH_FREETYPE_DIRECT],
+ [test -z "$freetype_direct_test_library" && freetype_direct_test_library=freetype
+ test -z "$freetype_direct_test_function" && freetype_direct_test_function=FT_Init_FreeType
+-test -z "$freetype_direct_test_include" && freetype_direct_test_include=freetype2/freetype.h
++test -z "$freetype_direct_test_include" && freetype_direct_test_include=freetype2/ft2build.h
+ for ac_dir in \
+ /usr/X11R6.5.1/include \
+ /usr/X11R6.4/include \
diff --git a/x11-misc/xlockmore/files/xlockmore-5.47-CXX.patch b/x11-misc/xlockmore/files/xlockmore-5.47-CXX.patch
new file mode 100644
index 000000000000..0617c5199d46
--- /dev/null
+++ b/x11-misc/xlockmore/files/xlockmore-5.47-CXX.patch
@@ -0,0 +1,19 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -10,11 +10,11 @@
+ AC_PROG_CC
+ dnl Check if C++ compiler is present. If not set CXX to the C-compiler used
+ dnl for the other compilations.
+-if test "$CC" = gcc; then
+- AC_CHECK_PROGS(CXX, $CCC g++ CC C++ c++ cxx cc++ xlC $CC, gcc)
+-else
+- AC_CHECK_PROGS(CXX, $CCC CC C++ g++ c++ cxx cc++ xlC $CC, gcc)
+-fi
++dnl if test "$CC" = gcc; then
++dnl AC_CHECK_PROGS(CXX, $CCC g++ CC C++ c++ cxx cc++ xlC $CC, gcc)
++dnl else
++dnl AC_CHECK_PROGS(CXX, $CCC CC C++ g++ c++ cxx cc++ xlC $CC, gcc)
++dnl fi
+ AC_PROG_CXX
+ if test "${CXX}" = "xlC" ; then
+ CXXFLAGS="${CXXFLAGS} -+"
diff --git a/x11-misc/xlockmore/files/xlockmore-5.47-_BSD_SOURCE.patch b/x11-misc/xlockmore/files/xlockmore-5.47-_BSD_SOURCE.patch
new file mode 100644
index 000000000000..9d88a342db5f
--- /dev/null
+++ b/x11-misc/xlockmore/files/xlockmore-5.47-_BSD_SOURCE.patch
@@ -0,0 +1,11 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -3946,7 +3946,7 @@
+ AC_DEFINE([linux], [1], [Linux OS])
+ dnl AC_DEFINE([__i386__], [1], [Intel 386 machine])
+ AC_DEFINE([_POSIX_SOURCE], [1], [POSIX source])
+- AC_DEFINE([_BSD_SOURCE], [1], [BSD source])
++ AC_DEFINE([_DEFAULT_SOURCE], [1], [DEFAULT source])
+ AC_DEFINE([_GNU_SOURCE], [1], [GNU source])
+ dnl AC_DEFINE([DX_LOCALE], [1], [DX Locale])
+ if test -e /etc/shadow ; then
diff --git a/x11-misc/xlockmore/files/xlockmore-5.47-strip.patch b/x11-misc/xlockmore/files/xlockmore-5.47-strip.patch
new file mode 100644
index 000000000000..e2d76251b4d7
--- /dev/null
+++ b/x11-misc/xlockmore/files/xlockmore-5.47-strip.patch
@@ -0,0 +1,64 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -3895,7 +3895,7 @@
+ BITMAPTYPE="bsd"
+ PIXMAPTYPE="bsd"
+ FORTUNE=""
+- INSTPGMFLAGS="-s -o root -m 4111"
++ INSTPGMFLAGS="-o root -m 4111"
+ cpp_name=`echo $CC | cut -f1 -d' '`
+ if test "$cpp_name" = "gcc"; then
+ dirname=`which gcc`
+@@ -3960,7 +3960,6 @@
+ ;;
+ esac
+ fi
+- INSTPGMFLAGS="-s $INSTPGMFLAGS"
+ BITMAPTYPE="linux"
+ PIXMAPTYPE="linux"
+ dnl if Shadow and not elf
+@@ -3985,7 +3984,7 @@
+ AC_SUBST(OSF1_ENH_SEC)
+ XLOCKLIBS="${XLOCKLIBS} -lsecurity"
+ # SETGID auth may not be enough for Tru64 5.x.
+- INSTPGMFLAGS="-s -g auth -m 2111"
++ INSTPGMFLAGS="-g auth -m 2111"
+ else
+ AC_MSG_RESULT(no)
+ fi
+@@ -4011,7 +4010,7 @@
+ PIXMAPTYPE="sol"
+ ;;
+ esac
+- INSTPGMFLAGS="-s -o root -m 4111"
++ INSTPGMFLAGS="-o root -m 4111"
+ AC_DEFINE([HAVE_SHADOW], [1], [Shadow passwording])
+ AC_DEFINE([SYSV], [1], [System 5])
+ AC_DEFINE([SVR4], [1], [System 5 Release 4])
+@@ -4040,7 +4039,7 @@
+ ;;
+
+ *-*-sysv5* )
+- INSTPGMFLAGS="-s -o root -m 4111"
++ INSTPGMFLAGS="-o root -m 4111"
+ AC_DEFINE([HAVE_SHADOW], [1], [Shadow passwording])
+ AC_DEFINE([SYSV], [1], [System 5])
+ AC_DEFINE([SVR4], [1], [System 5 Release 4])
+@@ -4820,7 +4819,7 @@
+ case ${canonical} in
+ *-*-linux*)
+ if test "$vtlock" = "yes"; then
+- INSTPGMFLAGS="-s -o root -g bin -m 4111"
++ INSTPGMFLAGS="-o root -g bin -m 4111"
+ AC_MSG_RESULT([defining install options (setuid/setgid) = "$INSTPGMFLAGS" for vtlock])
+ echo "experimental: Big buffer overrun security risk"
+ else
+@@ -4838,7 +4837,7 @@
+ case ${canonical} in
+ *-*-linux*)
+ if test "$vtlock" = "yes"; then
+- INSTPGMFLAGS="-s -o root -g bin -m 4111"
++ INSTPGMFLAGS="-o root -g bin -m 4111"
+ AC_MSG_RESULT([defining install options (setuid/setgid) = "$INSTPGMFLAGS" for vtlock])
+ else
+ AC_MSG_RESULT([defining install options (setuid/setgid) = "$INSTPGMFLAGS"])
diff --git a/x11-misc/xlockmore/metadata.xml b/x11-misc/xlockmore/metadata.xml
new file mode 100644
index 000000000000..673b683e2429
--- /dev/null
+++ b/x11-misc/xlockmore/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+ <use>
+ <flag name="xlockrc">Enables xlockrc for people without PAM</flag>
+ <flag name="vtlock">Enables support for virtual terminal locking</flag>
+ </use>
+</pkgmetadata>
diff --git a/x11-misc/xlockmore/xlockmore-5.47.ebuild b/x11-misc/xlockmore/xlockmore-5.47.ebuild
new file mode 100644
index 000000000000..102232ab3b5e
--- /dev/null
+++ b/x11-misc/xlockmore/xlockmore-5.47.ebuild
@@ -0,0 +1,106 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit autotools eutils flag-o-matic pam
+
+DESCRIPTION="Just another screensaver application for X"
+HOMEPAGE="http://www.tux.org/~bagleyd/xlockmore.html"
+SRC_URI="http://www.tux.org/~bagleyd/xlock/${P}.tar.xz"
+
+LICENSE="BSD GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 ~arm hppa ppc ppc64 sparc x86"
+IUSE="crypt debug gtk imagemagick motif nas opengl pam truetype xinerama xlockrc vtlock"
+
+REQUIRED_USE="
+ || ( crypt pam )
+ pam? ( !xlockrc )
+ xlockrc? ( !pam )
+"
+RDEPEND="
+ gtk? ( x11-libs/gtk+:2 )
+ imagemagick? ( media-gfx/imagemagick:= )
+ motif? ( >=x11-libs/motif-2.3:0 )
+ nas? ( media-libs/nas )
+ opengl? (
+ virtual/opengl
+ virtual/glu
+ truetype? ( >=media-libs/ftgl-2.1.3_rc5 )
+ )
+ pam? ( virtual/pam )
+ truetype? ( media-libs/freetype:2 )
+ x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXmu
+ x11-libs/libXpm
+ x11-libs/libXt
+ xinerama? ( x11-libs/libXinerama )
+"
+DEPEND="
+ ${RDEPEND}
+ virtual/pkgconfig
+ x11-proto/xineramaproto
+"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-5.46-freetype261.patch
+ "${FILESDIR}"/${PN}-5.47-_BSD_SOURCE.patch
+ "${FILESDIR}"/${PN}-5.47-CXX.patch
+ "${FILESDIR}"/${PN}-5.47-strip.patch
+)
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ local myconf=()
+
+ if use opengl && use truetype; then
+ myconf=( --with-ftgl )
+ append-flags -DFTGL213
+ else
+ myconf=( --without-ftgl )
+ fi
+
+ econf \
+ $(use_enable pam) \
+ $(use_enable xlockrc) \
+ $(use_enable vtlock) \
+ $(use_with crypt) \
+ $(use_with debug editres) \
+ $(use_with gtk gtk2) \
+ $(use_with imagemagick magick) \
+ $(use_with motif) \
+ $(use_with nas) \
+ $(use_with opengl mesa) \
+ $(use_with opengl) \
+ $(use_with truetype freetype) \
+ $(use_with truetype ttf) \
+ $(use_with xinerama) \
+ --disable-mb \
+ --enable-appdefaultdir=/usr/share/X11/app-defaults \
+ --enable-syslog \
+ --enable-vtlock \
+ --without-esound \
+ --without-gtk \
+ ${myconf[@]}
+}
+
+src_install() {
+ default
+
+ pamd_mimic_system xlock auth
+
+ if use pam; then
+ fperms 755 /usr/bin/xlock
+ else
+ fperms 4755 /usr/bin/xlock
+ fi
+
+ dodoc README docs/{3d.howto,cell_automata,HACKERS.GUIDE,Purify,Revisions,TODO}
+ docinto html
+ dodoc docs/xlock.html
+}
diff --git a/x11-misc/xlockmore/xlockmore-5.50.ebuild b/x11-misc/xlockmore/xlockmore-5.50.ebuild
new file mode 100644
index 000000000000..a8b965034af0
--- /dev/null
+++ b/x11-misc/xlockmore/xlockmore-5.50.ebuild
@@ -0,0 +1,106 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit autotools eutils flag-o-matic pam
+
+DESCRIPTION="Just another screensaver application for X"
+HOMEPAGE="http://www.sillycycle.com/xlockmore.html"
+SRC_URI="http://www.sillycycle.com/xlock/${P}.tar.xz"
+
+LICENSE="BSD GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 ~arm hppa ppc ppc64 ~sparc x86"
+IUSE="crypt debug gtk imagemagick motif nas opengl pam truetype xinerama xlockrc vtlock"
+
+REQUIRED_USE="
+ || ( crypt pam )
+ pam? ( !xlockrc )
+ xlockrc? ( !pam )
+"
+RDEPEND="
+ gtk? ( x11-libs/gtk+:2 )
+ imagemagick? ( media-gfx/imagemagick:= )
+ motif? ( >=x11-libs/motif-2.3:0 )
+ nas? ( media-libs/nas )
+ opengl? (
+ virtual/opengl
+ virtual/glu
+ truetype? ( >=media-libs/ftgl-2.1.3_rc5 )
+ )
+ pam? ( virtual/pam )
+ truetype? ( media-libs/freetype:2 )
+ x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXmu
+ x11-libs/libXpm
+ x11-libs/libXt
+ xinerama? ( x11-libs/libXinerama )
+"
+DEPEND="
+ ${RDEPEND}
+ virtual/pkgconfig
+ x11-proto/xineramaproto
+"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-5.46-freetype261.patch
+ "${FILESDIR}"/${PN}-5.47-CXX.patch
+ "${FILESDIR}"/${PN}-5.47-strip.patch
+)
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ local myconf=()
+
+ if use opengl && use truetype; then
+ myconf=( --with-ftgl )
+ append-flags -DFTGL213
+ else
+ myconf=( --without-ftgl )
+ fi
+
+ myconf+=(
+ $(use_enable pam)
+ $(use_enable xlockrc)
+ $(use_enable vtlock)
+ $(use_with crypt)
+ $(use_with debug editres)
+ $(use_with gtk gtk2)
+ $(use_with imagemagick magick)
+ $(use_with motif)
+ $(use_with nas)
+ $(use_with opengl mesa)
+ $(use_with opengl)
+ $(use_with truetype freetype)
+ $(use_with truetype ttf)
+ $(use_with xinerama)
+ --disable-mb
+ --enable-appdefaultdir=/usr/share/X11/app-defaults
+ --enable-syslog
+ --enable-vtlock
+ --without-esound
+ --without-gtk
+ )
+ econf "${myconf[@]}"
+}
+
+src_install() {
+ local DOCS=( README docs/{3d.howto,cell_automata,HACKERS.GUIDE,Purify,Revisions,TODO} )
+ default
+
+ pamd_mimic_system xlock auth
+
+ if use pam; then
+ fperms 755 /usr/bin/xlock
+ else
+ fperms 4755 /usr/bin/xlock
+ fi
+
+ docinto html
+ dodoc docs/xlock.html
+}
diff --git a/x11-misc/xlockmore/xlockmore-5.54.ebuild b/x11-misc/xlockmore/xlockmore-5.54.ebuild
new file mode 100644
index 000000000000..c5181b227ac2
--- /dev/null
+++ b/x11-misc/xlockmore/xlockmore-5.54.ebuild
@@ -0,0 +1,106 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit autotools eutils flag-o-matic pam
+
+DESCRIPTION="Just another screensaver application for X"
+HOMEPAGE="http://www.sillycycle.com/xlockmore.html"
+SRC_URI="http://www.sillycycle.com/xlock/${P}.tar.xz"
+
+LICENSE="BSD GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86"
+IUSE="crypt debug gtk imagemagick motif nas opengl pam truetype xinerama xlockrc vtlock"
+
+REQUIRED_USE="
+ || ( crypt pam )
+ pam? ( !xlockrc )
+ xlockrc? ( !pam )
+"
+RDEPEND="
+ gtk? ( x11-libs/gtk+:2 )
+ imagemagick? ( media-gfx/imagemagick:= )
+ motif? ( >=x11-libs/motif-2.3:0 )
+ nas? ( media-libs/nas )
+ opengl? (
+ virtual/opengl
+ virtual/glu
+ truetype? ( >=media-libs/ftgl-2.1.3_rc5 )
+ )
+ pam? ( virtual/pam )
+ truetype? ( media-libs/freetype:2 )
+ x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXmu
+ x11-libs/libXpm
+ x11-libs/libXt
+ xinerama? ( x11-libs/libXinerama )
+"
+DEPEND="
+ ${RDEPEND}
+ virtual/pkgconfig
+ x11-proto/xineramaproto
+"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-5.46-freetype261.patch
+ "${FILESDIR}"/${PN}-5.47-CXX.patch
+ "${FILESDIR}"/${PN}-5.47-strip.patch
+)
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ local myconf=()
+
+ if use opengl && use truetype; then
+ myconf=( --with-ftgl )
+ append-flags -DFTGL213
+ else
+ myconf=( --without-ftgl )
+ fi
+
+ myconf+=(
+ $(use_enable pam)
+ $(use_enable xlockrc)
+ $(use_enable vtlock)
+ $(use_with crypt)
+ $(use_with debug editres)
+ $(use_with gtk gtk2)
+ $(use_with imagemagick magick)
+ $(use_with motif)
+ $(use_with nas)
+ $(use_with opengl mesa)
+ $(use_with opengl)
+ $(use_with truetype freetype)
+ $(use_with truetype ttf)
+ $(use_with xinerama)
+ --disable-mb
+ --enable-appdefaultdir=/usr/share/X11/app-defaults
+ --enable-syslog
+ --enable-vtlock
+ --without-esound
+ --without-gtk
+ )
+ econf "${myconf[@]}"
+}
+
+src_install() {
+ local DOCS=( README docs/{3d.howto,cell_automata,HACKERS.GUIDE,Purify,Revisions,TODO} )
+ default
+
+ pamd_mimic_system xlock auth
+
+ if use pam; then
+ fperms 755 /usr/bin/xlock
+ else
+ fperms 4755 /usr/bin/xlock
+ fi
+
+ docinto html
+ dodoc docs/xlock.html
+}
diff --git a/x11-misc/xlockmore/xlockmore-5.55_alpha.ebuild b/x11-misc/xlockmore/xlockmore-5.55_alpha.ebuild
new file mode 100644
index 000000000000..1cfdbd5a51e2
--- /dev/null
+++ b/x11-misc/xlockmore/xlockmore-5.55_alpha.ebuild
@@ -0,0 +1,107 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit autotools eutils flag-o-matic pam
+
+DESCRIPTION="Just another screensaver application for X"
+HOMEPAGE="http://www.sillycycle.com/xlockmore.html"
+SRC_URI="http://www.sillycycle.com/xlock/${P/_alpha/ALPHA}.tar.xz"
+
+LICENSE="BSD GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86"
+IUSE="crypt debug gtk imagemagick motif nas opengl pam truetype xinerama xlockrc vtlock"
+
+REQUIRED_USE="
+ || ( crypt pam )
+ pam? ( !xlockrc )
+ xlockrc? ( !pam )
+"
+RDEPEND="
+ gtk? ( x11-libs/gtk+:2 )
+ imagemagick? ( media-gfx/imagemagick:= )
+ motif? ( >=x11-libs/motif-2.3:0 )
+ nas? ( media-libs/nas )
+ opengl? (
+ virtual/opengl
+ virtual/glu
+ truetype? ( >=media-libs/ftgl-2.1.3_rc5 )
+ )
+ pam? ( virtual/pam )
+ truetype? ( media-libs/freetype:2 )
+ x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXmu
+ x11-libs/libXpm
+ x11-libs/libXt
+ xinerama? ( x11-libs/libXinerama )
+"
+DEPEND="
+ ${RDEPEND}
+ virtual/pkgconfig
+ x11-proto/xineramaproto
+"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-5.46-freetype261.patch
+ "${FILESDIR}"/${PN}-5.47-CXX.patch
+ "${FILESDIR}"/${PN}-5.47-strip.patch
+)
+S=${WORKDIR}/${P/_alpha/ALPHA}
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ local myconf=()
+
+ if use opengl && use truetype; then
+ myconf=( --with-ftgl )
+ append-flags -DFTGL213
+ else
+ myconf=( --without-ftgl )
+ fi
+
+ myconf+=(
+ $(use_enable pam)
+ $(use_enable xlockrc)
+ $(use_enable vtlock)
+ $(use_with crypt)
+ $(use_with debug editres)
+ $(use_with gtk gtk2)
+ $(use_with imagemagick magick)
+ $(use_with motif)
+ $(use_with nas)
+ $(use_with opengl mesa)
+ $(use_with opengl)
+ $(use_with truetype freetype)
+ $(use_with truetype ttf)
+ $(use_with xinerama)
+ --disable-mb
+ --enable-appdefaultdir=/usr/share/X11/app-defaults
+ --enable-syslog
+ --enable-vtlock
+ --without-esound
+ --without-gtk
+ )
+ econf "${myconf[@]}"
+}
+
+src_install() {
+ local DOCS=( README docs/{3d.howto,cell_automata,HACKERS.GUIDE,Purify,Revisions,TODO} )
+ default
+
+ pamd_mimic_system xlock auth
+
+ if use pam; then
+ fperms 755 /usr/bin/xlock
+ else
+ fperms 4755 /usr/bin/xlock
+ fi
+
+ docinto html
+ dodoc docs/xlock.html
+}
diff --git a/x11-misc/xmobar/Manifest b/x11-misc/xmobar/Manifest
new file mode 100644
index 000000000000..f8f6432935ee
--- /dev/null
+++ b/x11-misc/xmobar/Manifest
@@ -0,0 +1,10 @@
+AUX xmobar-0.24.3-noxpm.patch 363 SHA256 d709852d7044d6de9bb71fbab954fd78d9cbf6e8d024f00d7ce5580945ef623a SHA512 54e87bfac3476d0821c7b42ace5f9f3f2709ca89bdb182f3e93bdfb3e09cb0432267698e20aa325099949694120f0f81810e5c5a026839899de2b1d4550485c8 WHIRLPOOL 568debfe89f57130762009beafea0587442949732679f5a03f9dd3ff428b395e19da3bbea2eb6f6dfe901c4bd87813f5662e3bcc9117e4321f17feaa9b448ec1
+DIST xmobar-0.23.1.tar.gz 96169 SHA256 3b31558373bdb8561f06440da902dd0db8398e5c774fa027931785c263f5567a SHA512 0215c02d32d90efff4d041d48b663755ccfb1944281f8a2cabb3e88cc9fd77221da03dd709b9c96f5ca8d7204561fe33fdabf37a2d919a83374df71909cc5978 WHIRLPOOL 9357a6bb809c7fe65ac8fd2c52eba9807d41b358bac10417416fa8b9aa1bb17c8cd62495b102d56c8ff1cd8ed2550a33fad3bfce0b56510968308418b4a7e352
+DIST xmobar-0.24.2.tar.gz 100179 SHA256 a8aa243ec8d86b88da2c072eeef4d09be00091254ad05eaf517756e20483cd64 SHA512 c271e50d615d509c2c15ffa716b45df3211cfa143b128126c55a78a056475c9fbb6d7abc60a6a058e20a12aced5f33b94cecc35c73a76505e33e62ea1f1561f8 WHIRLPOOL 515dfff222b604b7fcfcd510cdb085b1a02969aafe6376b16d0108a37e71fc5b90402673c31961047b5b2dc0e18a98826f49508b12dca8610d0f5bd31c0294c6
+DIST xmobar-0.24.3.tar.gz 100317 SHA256 d330079dd60e22004a4cfa271eb9e00a1bb36b8dafcbbf1b1a5980d401dcf510 SHA512 aa16d55b16cf108005ee8ec6c3d1b348b3e70a5182cbb97eed2aeb67bed83bee4b23acff6d29d5bda5a30ce35dc87463a6ade6e0814b588f53b173a1c3b5a5b3 WHIRLPOOL 7a1e445d38b67d7e4931956b0ddd1a0f107f54dab8ad5a45f941beab2ef7aeb4dbe57526ee2f652a1c18c83ea5626040a9cb861a9c72fac8b3c2044a51021018
+EBUILD xmobar-0.23.1.ebuild 2879 SHA256 1fe19d80fa45fdc5dc0b562304d2e824ff2cd6a726b4a363fd2c00d098073643 SHA512 0acad8ab127e2b401f6e8a1b901b196f7361ac3a3d68c890917d84dd395803e8bb4dae03f8583c7029b13fd2dc241d108044ae581bd8b56803dc8e95c9b4344f WHIRLPOOL a8296a0a69927f5b03de40bcbee7b8deb1a148d3bbf1a8248e8d570b49444098b837215075c3256ad1feca2b1b44ef941e967a295093e146ae9e4bcab5343844
+EBUILD xmobar-0.24.2.ebuild 3049 SHA256 b2a3bc3f801a59cd4689c5b8bb3e2fd5885fd7d6387302d184ad9ce1bfbf8408 SHA512 b9ee096d5eac6e7b58bbb8fc54d5f4c07895c47cdcc384d5e40afa84afd9516237a6fcc406e5d31a64fddb9d5c397feedad082288038bed6641fba00b5c09e59 WHIRLPOOL dced256b0319759ba34bf888e9e855cafc3cfc30ba1aedc7f6ae467ef1c636a1cbd5b2a9034b1b22027872cabf0718de41001d1d38ced96a0194cb65cbd3638f
+EBUILD xmobar-0.24.3.ebuild 3068 SHA256 3740c607fc221c3625873681c20b7648ab5dfa3831bb7c59a95537effb5ae21d SHA512 982bba19184c8fc31bee661c5fe36886eec3fc8f9cb57b9240512df995ec3b70246aefdad2e23b77a58368ca6525b70494d1b2e1c4e26be658ec8d1ddba8a0c8 WHIRLPOOL 6fcbf1d3d00ad8b23fddf7ae0fb62dec49c79f86b5d7f6ae8207efe570d7c4b5aea0fd74fc1b58b97abd258e434e169b7c771e9c242ddfbec7746a64a8dabe0a
+MISC ChangeLog 3985 SHA256 fb0daba43717e4fee4aee9d882a79c592904ec0f93163b73541fc665393ebdd7 SHA512 67ab2f4eff6fe9e63eee2efe0f6b806068e7fac547f2ca999882c3751065b16afbac031a2680d3d4f3c76c31bd2c7de36fdc6d6aa5737f69de243e9cf323fc77 WHIRLPOOL a0e1897a16cdf863b92714ded60ba002b26f0d55152dea33f8eb16dc3bfc56d69bdddad13b130b963cbacf7193c4ae372d9058339ddd3e219a8e754e19207878
+MISC ChangeLog-2015 5432 SHA256 85272d311d83c49ef478d96be8726b62251dba625a07299c8687e7476629bc52 SHA512 7df2b988807aa9c1acfca322dcef8e4842569f8c4fa7c45d0353182878d4a17b2177fdc175634303f00d29c70474ea924f808aefc9fd28c1435110bf585bac6d WHIRLPOOL 66897c57cb11ddd1cddfb1efaea349627c33c1e4219fc4c29674e2b56c20bab72d9a5ef37c7d43b352926a27ae4ff4e5566af5e256fe1ad82a4dc103998577ab
+MISC metadata.xml 817 SHA256 0339725a1c2bdbc9eb6c0cae1a0470b09aed174649532331d2033c065f9d2dcd SHA512 f4c3fe7d5869d364cdba2756367488b8ae2b9ad2c72684d1725d57da44db1600c5ad37a93b1579316309e0ae12dd5cca986710ce5a6bd0a44ac3add03137fd3a WHIRLPOOL eed2fa08d8f8ab67ba178b38c47c6c79fdc526b3641b93d1f728808721589cf616f4c20c7089bd8bec0460373aa1feb0e4d696fa48756458faab58bf93157056
diff --git a/x11-misc/xmobar/files/xmobar-0.24.3-noxpm.patch b/x11-misc/xmobar/files/xmobar-0.24.3-noxpm.patch
new file mode 100644
index 000000000000..8f4da6b78847
--- /dev/null
+++ b/x11-misc/xmobar/files/xmobar-0.24.3-noxpm.patch
@@ -0,0 +1,9 @@
+diff --git a/xmobar.cabal b/xmobar.cabal
+index f6a6dae..8a17579 100644
+--- a/xmobar.cabal
++++ b/xmobar.cabal
+@@ -89,3 +89,3 @@ executable xmobar
+ Xmobar, Actions, Bitmap, Config, Parsers, Commands, Localize,
+- XUtil, XPMFile, StatFS, Runnable, ColorCache, Window, Signal,
++ XUtil, StatFS, Runnable, ColorCache, Window, Signal,
+ Environment,
diff --git a/x11-misc/xmobar/metadata.xml b/x11-misc/xmobar/metadata.xml
new file mode 100644
index 000000000000..7cb1b0df7941
--- /dev/null
+++ b/x11-misc/xmobar/metadata.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>haskell@gentoo.org</email>
+ <name>Gentoo Haskell</name>
+ </maintainer>
+ <use>
+ <flag name="mpd">Support mpd plugin</flag>
+ <flag name="mpris">Enables MPRIS v1, v2 support</flag>
+ <flag name="timezone">Enables localized date support</flag>
+ <flag name="with_conduit">Use conduit to fetch weather data.</flag>
+ <flag name="with_uvmeter">Plugin to show UV data for Australia.</flag>
+ </use>
+ <longdescription>
+ Xmobar is a minimalistic text based status bar.
+
+ Inspired by the Ion3 status bar, it supports similar
+ features, like dynamic color management, output templates,
+ and extensibility through plugins.
+ </longdescription>
+</pkgmetadata>
diff --git a/x11-misc/xmobar/xmobar-0.23.1.ebuild b/x11-misc/xmobar/xmobar-0.23.1.ebuild
new file mode 100644
index 000000000000..042e167767a6
--- /dev/null
+++ b/x11-misc/xmobar/xmobar-0.23.1.ebuild
@@ -0,0 +1,88 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+# ebuild generated by hackport 0.4.5.9999
+#hackport: flags: -all_extensions,+with_threaded,+with_utf8,with_iwlib:wifi,with_alsa:alsa,with_xft:xft,with_datezone:timezone,with_dbus:dbus,with_mpd:mpd,with_inotify:inotify,with_mpris:mpris,with_xpm:xpm
+
+CABAL_FEATURES="bin"
+inherit haskell-cabal
+
+DESCRIPTION="A Minimalistic Text Based Status Bar"
+HOMEPAGE="http://xmobar.org"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="alsa dbus inotify mpd mpris timezone wifi xft xpm"
+
+RDEPEND=">=dev-haskell/http-4000.2.4:=
+ >=dev-haskell/mtl-2.1:= <dev-haskell/mtl-2.3:=
+ dev-haskell/old-locale:=
+ >=dev-haskell/parsec-3.1:= <dev-haskell/parsec-3.2:=
+ dev-haskell/regex-compat:=
+ >=dev-haskell/stm-2.3:= <dev-haskell/stm-2.5:=
+ dev-haskell/transformers:=
+ >=dev-haskell/utf8-string-0.3:= <dev-haskell/utf8-string-1.1:=
+ >=dev-haskell/x11-1.6.1:=
+ >=dev-lang/ghc-7.4.1:=
+ x11-libs/libXrandr
+ x11-libs/libXrender
+ alsa? ( >=dev-haskell/alsa-core-0.5:= <dev-haskell/alsa-core-0.6:=
+ >=dev-haskell/alsa-mixer-0.2:= <dev-haskell/alsa-mixer-0.3:= )
+ dbus? ( >=dev-haskell/dbus-0.10:= )
+ inotify? ( >=dev-haskell/hinotify-0.3:= <dev-haskell/hinotify-0.4:= )
+ mpd? ( >=dev-haskell/libmpd-0.9:= <dev-haskell/libmpd-0.10:= )
+ mpris? ( >=dev-haskell/dbus-0.10:= )
+ timezone? ( >=dev-haskell/timezone-olson-0.1:= <dev-haskell/timezone-olson-0.2:=
+ >=dev-haskell/timezone-series-0.1:= <dev-haskell/timezone-series-0.2:= )
+ wifi? ( net-wireless/wireless-tools )
+ xft? ( >=dev-haskell/x11-xft-0.2:= <dev-haskell/x11-xft-0.4:= )
+ xpm? ( x11-libs/libXpm )
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.6
+"
+
+src_prepare() {
+ # xmobar is an idle multithreaded program
+ # which sits in 'while { sleep(1); }'
+ # loops in multiple threads.
+ # It has a pathological behaviour in GHC:
+ # everything program does is thread context switch
+ # 100 times per second. It's easily seen with
+ #
+ # $ strace -f -p `pidof xmobar`
+ #
+ # where rt_sigreturn() manages to enter/exit
+ # kernel 32 times in each second to do nothing
+ # This workaround allows shrinkng wakeups/thread
+ # switches down to one per second (internal xmobar's
+ # cycle).
+ # Be careful when remove it :]
+ HCFLAGS+=" -with-rtsopts=-V0"
+}
+
+src_configure() {
+ haskell-cabal_src_configure \
+ --flag=-all_extensions \
+ $(cabal_flag alsa with_alsa) \
+ $(cabal_flag timezone with_datezone) \
+ $(cabal_flag dbus with_dbus) \
+ $(cabal_flag inotify with_inotify) \
+ $(cabal_flag wifi with_iwlib) \
+ $(cabal_flag mpd with_mpd) \
+ $(cabal_flag mpris with_mpris) \
+ --flag=with_threaded \
+ --flag=with_utf8 \
+ $(cabal_flag xft with_xft) \
+ $(cabal_flag xpm with_xpm)
+}
+
+src_install() {
+ cabal_src_install
+
+ dodoc samples/xmobar.config readme.md news.md
+}
diff --git a/x11-misc/xmobar/xmobar-0.24.2.ebuild b/x11-misc/xmobar/xmobar-0.24.2.ebuild
new file mode 100644
index 000000000000..6444bb6aae47
--- /dev/null
+++ b/x11-misc/xmobar/xmobar-0.24.2.ebuild
@@ -0,0 +1,93 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+# ebuild generated by hackport 0.5.9999
+#hackport: flags: -all_extensions,+with_threaded,+with_utf8,with_iwlib:wifi,with_alsa:alsa,with_xft:xft,with_datezone:timezone,with_dbus:dbus,with_mpd:mpd,with_inotify:inotify,with_mpris:mpris,with_xpm:xpm
+
+CABAL_FEATURES="bin"
+inherit haskell-cabal
+
+DESCRIPTION="A Minimalistic Text Based Status Bar"
+HOMEPAGE="http://xmobar.org"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="alsa dbus inotify mpd mpris timezone wifi with_conduit with_uvmeter xft xpm"
+
+RDEPEND=">=dev-haskell/http-4000.2.4:=
+ >=dev-haskell/mtl-2.1:= <dev-haskell/mtl-2.3:=
+ dev-haskell/old-locale:=
+ >=dev-haskell/parsec-3.1:= <dev-haskell/parsec-3.2:=
+ dev-haskell/regex-compat:=
+ >=dev-haskell/stm-2.3:= <dev-haskell/stm-2.5:=
+ dev-haskell/transformers:=
+ >=dev-haskell/utf8-string-0.3:= <dev-haskell/utf8-string-1.1:=
+ >=dev-haskell/x11-1.6.1:=
+ >=dev-lang/ghc-7.4.1:=
+ x11-libs/libXrandr
+ x11-libs/libXrender
+ alsa? ( >=dev-haskell/alsa-core-0.5:= <dev-haskell/alsa-core-0.6:=
+ >dev-haskell/alsa-mixer-0.2.0.2:= )
+ dbus? ( >=dev-haskell/dbus-0.10:= )
+ inotify? ( >=dev-haskell/hinotify-0.3:= <dev-haskell/hinotify-0.4:= )
+ mpd? ( >=dev-haskell/libmpd-0.9:= <dev-haskell/libmpd-0.10:= )
+ mpris? ( >=dev-haskell/dbus-0.10:= )
+ timezone? ( >=dev-haskell/timezone-olson-0.1:= <dev-haskell/timezone-olson-0.2:=
+ >=dev-haskell/timezone-series-0.1:= <dev-haskell/timezone-series-0.2:= )
+ wifi? ( net-wireless/wireless-tools )
+ with_conduit? ( dev-haskell/http-conduit:=
+ dev-haskell/http-types:= )
+ xft? ( >=dev-haskell/x11-xft-0.2:= <dev-haskell/x11-xft-0.4:= )
+ xpm? ( x11-libs/libXpm )
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.6
+"
+
+src_prepare() {
+ default
+ # xmobar is an idle multithreaded program
+ # which sits in 'while { sleep(1); }'
+ # loops in multiple threads.
+ # It has a pathological behaviour in GHC:
+ # everything program does is thread context switch
+ # 100 times per second. It's easily seen with
+ #
+ # $ strace -f -p `pidof xmobar`
+ #
+ # where rt_sigreturn() manages to enter/exit
+ # kernel 32 times in each second to do nothing
+ # This workaround allows shrinkng wakeups/thread
+ # switches down to one per second (internal xmobar's
+ # cycle).
+ # Be careful when remove it :]
+ HCFLAGS+=" -with-rtsopts=-V0"
+}
+
+src_configure() {
+ haskell-cabal_src_configure \
+ --flag=-all_extensions \
+ $(cabal_flag alsa with_alsa) \
+ $(cabal_flag with_conduit with_conduit) \
+ $(cabal_flag timezone with_datezone) \
+ $(cabal_flag dbus with_dbus) \
+ $(cabal_flag inotify with_inotify) \
+ $(cabal_flag wifi with_iwlib) \
+ $(cabal_flag mpd with_mpd) \
+ $(cabal_flag mpris with_mpris) \
+ --flag=with_threaded \
+ --flag=with_utf8 \
+ $(cabal_flag with_uvmeter with_uvmeter) \
+ $(cabal_flag xft with_xft) \
+ $(cabal_flag xpm with_xpm)
+}
+
+src_install() {
+ cabal_src_install
+
+ dodoc samples/xmobar.config readme.md news.md
+}
diff --git a/x11-misc/xmobar/xmobar-0.24.3.ebuild b/x11-misc/xmobar/xmobar-0.24.3.ebuild
new file mode 100644
index 000000000000..99ba81604786
--- /dev/null
+++ b/x11-misc/xmobar/xmobar-0.24.3.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+# ebuild generated by hackport 0.5.9999
+#hackport: flags: -all_extensions,+with_threaded,+with_utf8,with_iwlib:wifi,with_alsa:alsa,with_xft:xft,with_datezone:timezone,with_dbus:dbus,with_mpd:mpd,with_inotify:inotify,with_mpris:mpris,with_xpm:xpm
+
+CABAL_FEATURES="bin"
+inherit haskell-cabal
+
+DESCRIPTION="A Minimalistic Text Based Status Bar"
+HOMEPAGE="http://xmobar.org"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="alsa dbus inotify mpd mpris timezone wifi with_conduit with_uvmeter xft xpm"
+
+RDEPEND=">=dev-haskell/http-4000.2.4:=
+ >=dev-haskell/mtl-2.1:= <dev-haskell/mtl-2.3:=
+ dev-haskell/old-locale:=
+ >=dev-haskell/parsec-3.1:= <dev-haskell/parsec-3.2:=
+ dev-haskell/regex-compat:=
+ >=dev-haskell/stm-2.3:= <dev-haskell/stm-2.5:=
+ >=dev-haskell/utf8-string-0.3:= <dev-haskell/utf8-string-1.1:=
+ >=dev-haskell/x11-1.6.1:=
+ >=dev-lang/ghc-7.8.2:=
+ x11-libs/libXrandr
+ x11-libs/libXrender
+ alsa? ( >=dev-haskell/alsa-core-0.5:= <dev-haskell/alsa-core-0.6:=
+ >dev-haskell/alsa-mixer-0.2.0.2:= )
+ dbus? ( >=dev-haskell/dbus-0.10:= )
+ inotify? ( >=dev-haskell/hinotify-0.3:= <dev-haskell/hinotify-0.4:= )
+ mpd? ( >=dev-haskell/libmpd-0.9:= <dev-haskell/libmpd-0.10:= )
+ mpris? ( >=dev-haskell/dbus-0.10:= )
+ timezone? ( >=dev-haskell/timezone-olson-0.1:= <dev-haskell/timezone-olson-0.2:=
+ >=dev-haskell/timezone-series-0.1:= <dev-haskell/timezone-series-0.2:= )
+ wifi? ( net-wireless/wireless-tools )
+ with_conduit? ( dev-haskell/http-conduit:=
+ dev-haskell/http-types:= )
+ xft? ( >=dev-haskell/x11-xft-0.2:= <dev-haskell/x11-xft-0.4:= )
+ xpm? ( x11-libs/libXpm )
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.18.1.3
+"
+
+PATCHES=("${FILESDIR}"/${P}-noxpm.patch)
+
+src_prepare() {
+ default
+ # xmobar is an idle multithreaded program
+ # which sits in 'while { sleep(1); }'
+ # loops in multiple threads.
+ # It has a pathological behaviour in GHC:
+ # everything program does is thread context switch
+ # 100 times per second. It's easily seen with
+ #
+ # $ strace -f -p `pidof xmobar`
+ #
+ # where rt_sigreturn() manages to enter/exit
+ # kernel 32 times in each second to do nothing
+ # This workaround allows shrinkng wakeups/thread
+ # switches down to one per second (internal xmobar's
+ # cycle).
+ # Be careful when remove it :]
+ HCFLAGS+=" -with-rtsopts=-V0"
+}
+
+src_configure() {
+ haskell-cabal_src_configure \
+ --flag=-all_extensions \
+ $(cabal_flag alsa with_alsa) \
+ $(cabal_flag with_conduit with_conduit) \
+ $(cabal_flag timezone with_datezone) \
+ $(cabal_flag dbus with_dbus) \
+ $(cabal_flag inotify with_inotify) \
+ $(cabal_flag wifi with_iwlib) \
+ $(cabal_flag mpd with_mpd) \
+ $(cabal_flag mpris with_mpris) \
+ --flag=with_threaded \
+ --flag=with_utf8 \
+ $(cabal_flag with_uvmeter with_uvmeter) \
+ $(cabal_flag xft with_xft) \
+ $(cabal_flag xpm with_xpm)
+}
+
+src_install() {
+ cabal_src_install
+
+ dodoc samples/xmobar.config readme.md news.md
+}
diff --git a/x11-misc/xmonad-log-applet/Manifest b/x11-misc/xmonad-log-applet/Manifest
new file mode 100644
index 000000000000..1b09663abb4b
--- /dev/null
+++ b/x11-misc/xmonad-log-applet/Manifest
@@ -0,0 +1,6 @@
+AUX xmonad.hs 1801 SHA256 c41e925429aaa0ca4a8c9c7013531e76008e37f998a33e5b213964cac2a7c6e0 SHA512 3d20f037dabff24c69811672850734396a4c4f57a9e33e03a15f93d8e5b4edcf43dadf9d95ab82c310dbf0064e8fb7a6a0e8e330c5b51997e0dffe719dd0cb21 WHIRLPOOL cd6bff95ffe7de5b9833e223d881720f87cdaf9deb0b38907d80be774b8cabbe909d22764fc316743aae569b4c507570df6567545db1f563599e0b8820be2133
+DIST xmonad-log-applet-2.0.0.tar.gz 82881 SHA256 154bdb5b857195b318837ef086ddd3091d100884ada29a146ff18a5589549fa0 SHA512 1885ac97569d909ab1c6af99d9b271d0f782de905dfe035df27524f428d09cefa20a468103477132656dea8945faf886270fd70a49e5a08be538e04f3f05baca WHIRLPOOL 87bce2156b8a5f7a2c3b8b0597d24eee5238333e6a10c161a49e3cab08f3e1cdd3facfbf60ab879109b151143823e99d2d2c3470904e361fe892f950902e7d9f
+EBUILD xmonad-log-applet-2.0.0-r301.ebuild 896 SHA256 cd48f921d90e0f8bebb75f682066bd4ec966440370b4f4b426813b62d9ff4ccf SHA512 f3cc04eeaaa647a64addef0be1d4786b2cd4c04ffd569e209bbca1014a836083641bade34280e242811bb901f17e006aca9a25bb2160bb43fe301c98660b34dd WHIRLPOOL 10dcee58e11e73d362ac28930b2bf39578d416daef57fe9847bf933c9b4e879ff4c7a7ef58457365d27f0edf38fd8717e1936fddb314b8edf14200a99b49cff7
+MISC ChangeLog 2622 SHA256 5931672f2e17c9bb282d7a624a459831155a37861f9d424bd8f2974e3616e518 SHA512 614bedb2c873f2256af5ea8d9c59901ebaf1e589c60575d4f4e851a6ab824418e27bb3de9b24f6d7555b616b2b2cc39e99da3cfad37067355c20c23ef3f537ee WHIRLPOOL 06085f38ee23f77e63fcaecf2ecd416ad0cc70fbef38babcb9d90c95df41126e3d5cf0b82bfc54a31c3f91f61a112a34e9ee53e381998b855f90fdbac29fb035
+MISC ChangeLog-2015 1394 SHA256 7fbbcbd6c871595d6aaafa6752df868054af0449fdb35acc8b88117d2bb141ad SHA512 a7270c3e289087bac23342e3ee00d3fe5ccdcfae0b220efc32fae772fc8cb4f85c0eb6563eea57200392bc68a15203ef6b1a48dc6ecf4c2dd91424b1769f4813 WHIRLPOOL 7a28387c3d24416d4b32c8c2a3f725b31b2b16c6c9b250bfed03706ca7c9772ccd50d2393c73663ca54a737220fdc117921d0441435ed33f5603845434df5b5f
+MISC metadata.xml 716 SHA256 56b9d9628292f9d553cd0b1950f3998d9d218dac11cf15f4058ba27f9216e7eb SHA512 96c994e5f75ee8af7c4695e67fc8997bc7a23b39969a0b733011b8c03edee444fd3cafb1eb47bf440aea4135f03a322ff8999eaacaf26891b3c7b8ec4af05229 WHIRLPOOL 4c54195503cb6ff88a3afe2f4a1d229dca26cf4827158b6a1ece9d3aad6e8a4248dbc3c07a438fd1b1ee405c1e28bfc1b6fca9b927f302f35b15085381ab76ae
diff --git a/x11-misc/xmonad-log-applet/files/xmonad.hs b/x11-misc/xmonad-log-applet/files/xmonad.hs
new file mode 100644
index 000000000000..54b0025a97c4
--- /dev/null
+++ b/x11-misc/xmonad-log-applet/files/xmonad.hs
@@ -0,0 +1,60 @@
+import XMonad
+import XMonad.Config.Gnome
+import XMonad.Hooks.DynamicLog
+
+import Control.OldException
+
+import DBus
+import DBus.Connection
+import DBus.Message
+
+main :: IO ()
+main = withConnection Session $ \dbus -> do
+ getWellKnownName dbus
+ xmonad $ gnomeConfig
+ { logHook = dynamicLogWithPP (prettyPrinter dbus)
+ }
+
+prettyPrinter :: Connection -> PP
+prettyPrinter dbus = defaultPP
+ { ppOutput = dbusOutput dbus
+ , ppTitle = pangoSanitize
+ , ppCurrent = pangoColor "green" . wrap "[" "]" . pangoSanitize
+ , ppVisible = pangoColor "yellow" . wrap "(" ")" . pangoSanitize
+ , ppHidden = const ""
+ , ppUrgent = pangoColor "red"
+ , ppLayout = const ""
+ , ppSep = " "
+ }
+
+getWellKnownName :: Connection -> IO ()
+getWellKnownName dbus = tryGetName `catchDyn` (\(DBus.Error _ _) -> getWellKnownName dbus)
+ where
+ tryGetName = do
+ namereq <- newMethodCall serviceDBus pathDBus interfaceDBus "RequestName"
+ addArgs namereq [String "org.xmonad.Log", Word32 5]
+ sendWithReplyAndBlock dbus namereq 0
+ return ()
+
+dbusOutput :: Connection -> String -> IO ()
+dbusOutput dbus str = do
+ msg <- newSignal "/org/xmonad/Log" "org.xmonad.Log" "Update"
+ addArgs msg [String ("<b>" ++ str ++ "</b>")]
+ -- If the send fails, ignore it.
+ send dbus msg 0 `catchDyn` (\(DBus.Error _ _) -> return 0)
+ return ()
+
+pangoColor :: String -> String -> String
+pangoColor fg = wrap left right
+ where
+ left = "<span foreground=\"" ++ fg ++ "\">"
+ right = "</span>"
+
+pangoSanitize :: String -> String
+pangoSanitize = foldr sanitize ""
+ where
+ sanitize '>' xs = "&gt;" ++ xs
+ sanitize '<' xs = "&lt;" ++ xs
+ sanitize '\"' xs = "&quot;" ++ xs
+ sanitize '&' xs = "&amp;" ++ xs
+ sanitize x xs = x:xs
diff --git a/x11-misc/xmonad-log-applet/metadata.xml b/x11-misc/xmonad-log-applet/metadata.xml
new file mode 100644
index 000000000000..d916bff47cc2
--- /dev/null
+++ b/x11-misc/xmonad-log-applet/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>haskell@gentoo.org</email>
+ </maintainer>
+ <maintainer type="person">
+ <email>flo@geekplace.eu</email>
+ <description>Maintainer, CC him on bugs</description>
+ </maintainer>
+ <longdescription>
+ xmonad-log-applet is for Xmonad users who find the GNOME, MATE, or Xfce panel useful. The applet will show the active workspaces, the title of the selected window or whatever information you send it from your xmonad.hs.
+</longdescription>
+ <upstream>
+ <remote-id type="github">alexkay/xmonad-log-applet</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/xmonad-log-applet/xmonad-log-applet-2.0.0-r301.ebuild b/x11-misc/xmonad-log-applet/xmonad-log-applet-2.0.0-r301.ebuild
new file mode 100644
index 000000000000..f0c5379f92e9
--- /dev/null
+++ b/x11-misc/xmonad-log-applet/xmonad-log-applet-2.0.0-r301.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit autotools gnome2
+
+DESCRIPTION="Gnome and XFCE applet for displaying XMonad log"
+HOMEPAGE="https://github.com/alexkay/xmonad-log-applet"
+SRC_URI="mirror://github/alexkay/${PN}/${P}.tar.gz"
+LICENSE="BSD"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RESTRICT="mirror"
+
+RDEPEND="
+ sys-apps/dbus
+ xfce-base/xfce4-panel
+ dev-libs/glib:2
+ dev-haskell/dbus
+ x11-libs/gtk+:3
+"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ eautoreconf
+ gnome2_src_prepare
+}
+
+src_configure() {
+ gnome2_src_configure --sysconfdir=/etc --with-panel=xfce4
+}
+
+src_install() {
+ gnome2_src_install
+ dodoc AUTHORS.md README.md
+ dodoc "${FILESDIR}"/xmonad.hs
+}
+
+pkg_postinst() {
+ gnome2_pkg_postinst
+ elog "Remember to update your xmonad.hs accordingly"
+ elog "a sample xmonad.hs is provided in /usr/share/doc/${PF}"
+}
diff --git a/x11-misc/xmountains/Manifest b/x11-misc/xmountains/Manifest
new file mode 100644
index 000000000000..6ded54e8556e
--- /dev/null
+++ b/x11-misc/xmountains/Manifest
@@ -0,0 +1,5 @@
+DIST xmountains_2.9.tar.gz 27951 SHA256 3830f48ab46d770f0ce1c5e8fd1861e28fa1b8373aa82fac66a563f017aaee89 SHA512 635fe9ae6a53996bcc5c537499d3c74d8fef9a6d2a422fa7469637a6a20fb52de9fb20e265becc0d2dae3a1d1793a7fa7f33c9d4de62837639142b37b431b898 WHIRLPOOL 4f3105b57827ce2d227d83a41d57faa126b1ee4cc56cdda946036368177e9e9080829d4a71417f464055fa6f7b6bf656c555c5b2f204559990b357686f83c80b
+EBUILD xmountains-2.9-r1.ebuild 927 SHA256 b11ce3bb907f5623cbeec4ea084870ef43174e809aa3335efaaa50f94b675150 SHA512 b11d0d6edd118a2b9cd546244ab90621a907ab2505ce1fae6f9972f7fd6324fff0777eac3fa36f28beeb9e03c0cd57bc67f72adc3002e5cb8a1e6ea27f8244b8 WHIRLPOOL a15e5d81f0ec6d3dcee17d770bd5b082fd859b1c14d2b60fac6d710e161913ca17bcd178e4f9ae88af962184402cc199e26afb44085451c16acfe940f091e164
+MISC ChangeLog 2432 SHA256 8248ba3913bfd51740526707690e25b45fa194cfe7d4aa7465cb6695934bcd26 SHA512 1ecd91ef3895c1932868e7b87eecf8f7363b0c8effa6cc86451c088eb189e257ccd9df88390de145c499a9041b80ffdc806733657b5449ccf834e90d72e7f1a9 WHIRLPOOL a8142844af705b602fb92834e4d6d000a955b5992f0797a553cd9ab54113e047fb6a212a59447e19c7377fc3d5af63243add18b4fe193e0073784397c025300c
+MISC ChangeLog-2015 3041 SHA256 80eb3170e6fd26f8d64cd3f1c3b9b5c4d85390bb5c24b36e4e602d688a68dd03 SHA512 5833932d8a9a25cc23180c42667052e9d45e5d6bb6ee779554402ff3088eb3879f8a2e34f56aaf39739d17b18457bb86d4c534913b99a9bec6faf1d9cb33a06f WHIRLPOOL d4feed3ead4cc1746e4e628dba19cce30ed6172cb30316897e3cb5b6c918715072797b610a24f11dbc2b64a759258ce2cb3422cdb3d9f3f6d6f6ec66b5455496
+MISC metadata.xml 276 SHA256 437f3dba7deca9da3b3f8ecda9bb5e97253de0412cbb3095d876f39140f3ea98 SHA512 3497963f4fb51bb32521472b54a995091cb457d2cda65c786bd4b46e5af325caf8f6d5c969cefa0c09fe717df09fb015ec59b52f5571c3b2b9d4ea33e6c843ab WHIRLPOOL 8550fd604cf609511bf7c34245ebd6682dd6d058d8cbfa099a77c94d1afcf592909eb679a28a0806957ac0949c6cff350675e0182303ec5890a5e2c2c26d29c5
diff --git a/x11-misc/xmountains/metadata.xml b/x11-misc/xmountains/metadata.xml
new file mode 100644
index 000000000000..2ba8e9e851e4
--- /dev/null
+++ b/x11-misc/xmountains/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/x11-misc/xmountains/xmountains-2.9-r1.ebuild b/x11-misc/xmountains/xmountains-2.9-r1.ebuild
new file mode 100644
index 000000000000..b3e18f2cd2bb
--- /dev/null
+++ b/x11-misc/xmountains/xmountains-2.9-r1.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit toolchain-funcs
+
+MY_P=${P/-/_}
+
+DESCRIPTION="Fractal terrains of snow-capped mountains near water"
+HOMEPAGE="https://spbooth.github.io/xmountains/"
+SRC_URI="http://www.epcc.ed.ac.uk/~spb/${PN}/${MY_P}.tar.gz"
+
+LICENSE="HPND"
+SLOT="0"
+KEYWORDS="amd64 ppc x86 ~x86-fbsd"
+IUSE=""
+
+RDEPEND="
+ x11-libs/libX11
+ x11-misc/xbitmaps"
+DEPEND="${RDEPEND}
+ x11-proto/xproto"
+
+S=${WORKDIR}
+
+src_prepare() {
+ default
+ # add missing include for strcmp
+ sed -i xmountains.c -e '1a#include <string.h> /* strcmp() */' || die
+ # remove obsolete references to global.*
+ sed -i Makefile.alt README -e 's|global\..||g' || die
+}
+
+src_compile() {
+ emake \
+ -f Makefile.alt \
+ CC="$(tc-getCC)" \
+ CFLAGS="${CFLAGS}" \
+ LDFLAGS="${LDFLAGS}" \
+ ${PN}
+}
+
+src_install() {
+ dobin ${PN}
+ newman ${PN}.man ${PN}.1
+ einstalldocs
+}
diff --git a/x11-misc/xnee/Manifest b/x11-misc/xnee/Manifest
new file mode 100644
index 000000000000..d47a47f0c6d3
--- /dev/null
+++ b/x11-misc/xnee/Manifest
@@ -0,0 +1,6 @@
+AUX xnee-3.18-linker.patch 273 SHA256 1360c855b96af4bce0fcc7c2dddcd95997ab9e8ddc1b4b8a94687cde19dbd14f SHA512 2223bcd952b828d0704b3e3a0f3d55742a9837753187e4a8df84b6fa40a272174506de9341894b56024d9ac81ab1fff326012c13a3dedd0921dc7802e36761f0 WHIRLPOOL a62c4d6bb732f02afd3d8a0d641cb092d356ee7d20619a00004d51f89f7dbf59955505887ee0bb2df25856239a0db7787bb053a1bed233c0d1920551ee3c6e57
+DIST xnee-3.19.tar.gz 1893109 SHA256 52a41e5cf62f81b7a3e5b58124eb3565e1e12028abda63f547fbbe0d98a2c212 SHA512 a4a82839a4597b0d7f5b65ad76092f03eb5c665d36298505a320475daacbf66f30b022c04284ce8795360e4481fdfb1d9138f0b8b173b66d23b7f1542d0acbe8 WHIRLPOOL 9b938ccc540e91d71860600cb6c120bd33dae214fe38a6004cee29bb0d96f813536d073a23874905302a2f2552afe2866ad19d1db12234d7ae1ecf80b305339d
+EBUILD xnee-3.19-r1.ebuild 1449 SHA256 e35efe2167ab0ae84025411a97ed2fa33d97d0f5f5b728ddea278e125e8c35ae SHA512 4c35fa40096eb16b35cdde8813a5278b684b0c1d926618c64e4d19ab174b0ccaedddda88560b5436d5be2c06386fe18beac516c4f5afc87f7dbf3afb54ff81d4 WHIRLPOOL 4cbfabca6ee353888dfba581028ad9ed80ced66a1cfa6a71391e9308ae961395481c6a5cef248c109fcb32efece0e97b7451a32a4622de867cb174382d678a0e
+MISC ChangeLog 2447 SHA256 5b8743f73115e664afccb57d191db420cc1abce0debaa7313cc8b47c392c8763 SHA512 f5dea86f364e4848909044b1a085e03fa77d84be453e92f26014324c00390326aa2bdb1959a634d1b6d5aed8481615e3a17949a02b97658d3a81028b589c151e WHIRLPOOL a37b4e82c53b6c58f42ce71cc8f00bc99657424239b7a175d79ace68398fa6275f737e04c6c99ca6f24682e3afbc46435e39c82de210267f15a630d7c0147001
+MISC ChangeLog-2015 5162 SHA256 4c60b6be0a42dea98e623a341da44a5792408434226aac422b833eadb0798388 SHA512 463d46a599d0be82bbb243c554cc1ba886ef669111eaed80c52ce709f0f1fecea2048908c7306c2fb238e6d9f5002efab3b340c662f9f4309cfd90f59b2d44b4 WHIRLPOOL c0ac4bd754d18b8fad1d1b5b4ca726a1d6a9269d488a22d56a336b9d1e448423e94728b5a629e0ee2768f5476753e939ee7bdf06d4975d1dabdc6125fde6ccdb
+MISC metadata.xml 318 SHA256 218a00bda7df7396b1c9db4fea27cc69073dd039cb1db1e55d34cfd004209500 SHA512 7d56445a5c7fffdc1104633cdd30eafa17588079b8a1f4cb226984b1aad4e41fe84320608681143dc01c5f1ac5f104cf0717e8183164031644220f9c61086a3b WHIRLPOOL 15d65bcdc3289c77c194a26721b45e700d54a771e5a63d29a52d431b1ac8922ee7ddd7ca11b10dbbb72ba3fd70daa5fba7dba875de04362ab9c489e70d9fb895
diff --git a/x11-misc/xnee/files/xnee-3.18-linker.patch b/x11-misc/xnee/files/xnee-3.18-linker.patch
new file mode 100644
index 000000000000..b841bc0182e7
--- /dev/null
+++ b/x11-misc/xnee/files/xnee-3.18-linker.patch
@@ -0,0 +1,10 @@
+--- a/libxnee/src/Makefile.am
++++ b/libxnee/src/Makefile.am
+@@ -78,6 +78,7 @@
+ libxnee_la_LDFLAGS = -rpath '$(libdir)'
+ #dnl libxnee_la_SOURCES = $(LIB_XNEE_SOURCE_FILES)
+ libxnee_a_CFLAGS = $(AM_CFLAGS)
++libxnee_la_LIBADD = @X11_LIBS@
+
+ #noinst_LIBRARIES = libxnee.a
+
diff --git a/x11-misc/xnee/metadata.xml b/x11-misc/xnee/metadata.xml
new file mode 100644
index 000000000000..66187a0f4213
--- /dev/null
+++ b/x11-misc/xnee/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/x11-misc/xnee/xnee-3.19-r1.ebuild b/x11-misc/xnee/xnee-3.19-r1.ebuild
new file mode 100644
index 000000000000..c4eab6452b7f
--- /dev/null
+++ b/x11-misc/xnee/xnee-3.19-r1.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit autotools eutils
+
+DESCRIPTION="Program suite to record, replay and distribute user actions"
+HOMEPAGE="http://www.sandklef.com/xnee/"
+SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="amd64 ~x86"
+IUSE="gnome static-libs xosd"
+
+RDEPEND="
+ x11-libs/libX11
+ x11-libs/libXau
+ x11-libs/libXdmcp
+ x11-libs/libXext
+ x11-libs/libXi
+ x11-libs/libXtst
+ x11-libs/libxcb
+ gnome? (
+ x11-libs/gtk+:2
+ >=gnome-base/libgnomeui-2
+ >=gnome-base/gconf-2
+ )
+"
+DEPEND="${RDEPEND}
+ x11-proto/inputproto
+ virtual/pkgconfig
+ sys-devel/gettext
+ gnome? ( virtual/imagemagick-tools[jpeg,png] )
+"
+
+# This needs RECORD extension from X.org server which isn't necessarily
+# enabled. Xlib: extension "RECORD" missing on display ":0.0".
+RESTRICT="test"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-3.18-linker.patch
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ $(use_enable gnome gui) \
+ $(use_enable static-libs static) \
+ $(use_enable xosd buffer_verbose) \
+ $(use_enable xosd verbose) \
+ $(use_enable xosd) \
+ --disable-gnome-applet \
+ --disable-static-programs \
+ --enable-cli \
+ --enable-lib
+}
+
+src_test() {
+ Xemake check
+}
+
+src_install() {
+ default
+ dodoc AUTHORS BUGS ChangeLog FAQ NEWS README TODO
+ use gnome && make_desktop_entry gnee Gnee ${PN} "Utility;GTK"
+ use static-libs || rm -f "${ED}"usr/lib*/lib*.la
+}
diff --git a/x11-misc/xnots/Manifest b/x11-misc/xnots/Manifest
new file mode 100644
index 000000000000..8774165c3f06
--- /dev/null
+++ b/x11-misc/xnots/Manifest
@@ -0,0 +1,8 @@
+AUX xnots-0.2.1-gcc6.patch 1341 SHA256 1b6e08502487ec773cc6880fcb6cadb2e9ea796848210294d26ac3a0b9afbf21 SHA512 3d7e976f93e1a67234bcaa55dfbfe980e9e5ba95f2d8c43c29ce9ef003bf93f7924218cee45892292f11db6e6af51879e37f4aeb4a20f946fb0c73dd8d95ded7 WHIRLPOOL 280234baa176814c40d0dc2c9db954861e3ae668e463e530dfebe5025011f88e23afe6835601d660e9ba8c43941ae0f0134a31a62738c300087618ab3d12e04e
+DIST xnots-0.2.1.tar.gz 41442 SHA256 80bbab0334880f79aa12cf17ebffc5730a85dc537e8e6208169720656ecd72ca SHA512 bb1a334150aac932839c8d9e04d8c9f1c419f5221a218fbbe3523060fbb8d62e616f89ec06a8237fa290de37db103e98a560953ef820ef016f35dd5c844eb65c WHIRLPOOL 1ed783f7167fd8836bf939ec09eabc7e25a229e6f95c3d3f5e52975dc97e2b94064d48f5a8b03ec6d55121292ff661283943e0c2b562965b7bf74068232a70b7
+EBUILD xnots-0.2.1-r1.ebuild 990 SHA256 27884a7bb5135ac69adf12e34b07b2a3059dc8c64c38435fd491f30ec7247bc7 SHA512 a58f070c30634ef0b3fc69be8169473e08754aff16f36385ab061878658479f1ebd9beb7db85ff452d74f9cf21ae22f313c529d6f39a2f607c434e5accf51a4b WHIRLPOOL b9f1960f4a66a0f7caa540927cbd9934774228a9f1f1c97001882509f24b7dec0dc1492abb6ceb8a4b017a5c61ca83f2b632aea37d6371cce8058cce2742418d
+EBUILD xnots-0.2.1-r2.ebuild 1053 SHA256 e7f7869581b0952285a19942991b53925bcabae91a0ba36401d1fb717d6faf6c SHA512 ece90ba2e795ba8ee57121e889a55b1fecd4b3ff1574ecc0f5f98fbe509d613c8e2f0fa2327e68416e620294caea25a0f129c920e6f681c64f4209bf44cc2ba8 WHIRLPOOL 74f67aedfb0bf491db075850f058a6d27b825f25739b044e62d04e560d37ff302af40b9a3de6e3a609ba129a11807cc3d4638e96d7ef9daa9da41bdc75276a21
+EBUILD xnots-9999.ebuild 993 SHA256 cbd7635ce2ed5dba4e261cebfeb83c80a6d27a601fbfaaa547ac14be4565c761 SHA512 ab2fd8880e59ff5ec8dcb31348c80da1d4a38d409e547b42b81c700348a90fa9d521e483d785d2b6ffd93d268592430c59555260e892cfd29130c50f40d194f6 WHIRLPOOL 9465fc6f3402df8007f8d8155d1055d0a23c2920dedf895b1cadd832414b23bcf99cd381b6209dddc638dbfe2867776dfbf0fa256c5c0513fd750ab5f91653ee
+MISC ChangeLog 2905 SHA256 a8f6a3f07e5a399067736f34d5692af7eee993817a07f36ff182f8ccbddf5ced SHA512 27a0f132f9e3026a45742821b1f2fc35f1cba5888ff3c0ca9c6bbfabb229401cda8f7a06ab600af7754bfee84179ca6ed960553aaf0943b04b913bc1d9b2db75 WHIRLPOOL e20c0de8b8feea04527f2eb337824a17553598f4562c3b07287606a7c64cf6fec1803906a25c64f06b5c3a2a117118c9d68b3c9715653ba1bedd1dff9e038063
+MISC ChangeLog-2015 2074 SHA256 918d3b007c32180fd1ccaf6c7bcb3e0b767378570504368e9c0c2822cdb0b28f SHA512 890716d1b7a5962bcc60d3ee05b68488757ac6f141947d9dad0b262a0cec957a400c03ceb57ca9a0635b3204fd93ecd116679b6351287b31e0b3229229870c56 WHIRLPOOL 8a11021295dd6337639be681127e54eeefde9648051d752001ac86d8638227b76d40043f920852456ebe96be2d98ea5fc6bd1462a6f621de4ab33681debf254c
+MISC metadata.xml 410 SHA256 305464fd03a4e6b6b2098076025aedd3b1bcab42b2e7f7c67898bc64d54632eb SHA512 fc75f0e956d59b3231440882242a1c9ef59f3e694c3c0ed16673cdb99aa92b58d94679d6b3385c373e8aa7bbf7b1ced73ed50ca26be76ebf54a72341c284bdbf WHIRLPOOL f600ca6f5cea077db88eee61dd5a0b1fcc3061fa35b6cdbda83f4143d4b2c90e5685cdcb997c6744fd2b4f11d36688ef5ca78a4123dc7bbe2f4e9f0b71e15a7a
diff --git a/x11-misc/xnots/files/xnots-0.2.1-gcc6.patch b/x11-misc/xnots/files/xnots-0.2.1-gcc6.patch
new file mode 100644
index 000000000000..df65f009cdb7
--- /dev/null
+++ b/x11-misc/xnots/files/xnots-0.2.1-gcc6.patch
@@ -0,0 +1,46 @@
+diff --git a/src/Makefile b/src/Makefile
+index 4f8aaf1..7b527a6 100644
+--- a/src/Makefile
++++ b/src/Makefile
+@@ -28,7 +28,7 @@ else
+ CFLAGS += -DDEBUG_LEVEL=1 -g
+ endif
+
+-CFLAGS += -fno-strict-aliasing
++CFLAGS += -fno-strict-aliasing -fgnu89-inline
+ CFLAGS += -DVERSION=\"$(VERSION)\" -Wall
+ CFLAGS += $(shell pkg-config $(PKGS) --cflags)
+ LDLIBS += $(shell pkg-config $(PKGS) --libs)
+diff --git a/src/main.c b/src/main.c
+index aef54d6..f1571f3 100644
+--- a/src/main.c
++++ b/src/main.c
+@@ -228,7 +228,6 @@ processOptions( int argc, char **argv )
+ char text[1024];
+ unsigned long flags, flagsMask;
+ char *options[NOPTIONS];
+- int nbytes;
+
+ int i;
+
+@@ -295,7 +294,7 @@ OPTIONS\n\
+ for( i=0; i < NOPTIONS; i++)
+ options[i] = NULL;
+
+- nbytes = readOptionsFromFile( options, &flags, &flagsMask, text, 1024,
++ readOptionsFromFile( options, &flags, &flagsMask, text, 1024,
+ config_file);
+
+ /* Initialize the global xnots_t structure. */
+diff --git a/src/xnots.h b/src/xnots.h
+index 52316fe..6b9f577 100644
+--- a/src/xnots.h
++++ b/src/xnots.h
+@@ -330,6 +330,7 @@ void correctNoteGeometry ( Note *note,
+ unsigned height
+ );
+ void correctNoteHeight ( Note *note );
++extern
+ inline void resetNoteWidth ( Note *note );
+ void freeNote ( Note *note );
+ void showNotes ();
diff --git a/x11-misc/xnots/metadata.xml b/x11-misc/xnots/metadata.xml
new file mode 100644
index 000000000000..230858f0c0fd
--- /dev/null
+++ b/x11-misc/xnots/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">xnots</remote-id>
+ <remote-id type="github">thePalindrome/xnots</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/xnots/xnots-0.2.1-r1.ebuild b/x11-misc/xnots/xnots-0.2.1-r1.ebuild
new file mode 100644
index 000000000000..0438e287b2d9
--- /dev/null
+++ b/x11-misc/xnots/xnots-0.2.1-r1.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit flag-o-matic toolchain-funcs
+
+DESCRIPTION="A desktop sticky note program for the unix geek"
+HOMEPAGE="http://xnots.sourceforge.net https://github.com/thePalindrome/xnots"
+SRC_URI="mirror://sourceforge/xnots/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="vim-syntax"
+
+RDEPEND="
+ x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXrandr
+ x11-libs/libXrender
+ x11-libs/pango[X]
+"
+
+DEPEND="
+ ${RDEPEND}
+ virtual/pkgconfig
+ x11-proto/randrproto
+ x11-proto/renderproto
+ x11-proto/xextproto
+"
+
+src_prepare() {
+ sed -i -e 's|LICENCE||g' Makefile || die
+
+ append-cflags -std=gnu89
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)" NO_DEBUG=1
+}
+
+src_install() {
+ emake \
+ DESTDIR="${D}" \
+ docdir=/usr/share/doc/${PF} \
+ mandir=/usr/share/man \
+ prefix=/usr \
+ install
+ if use vim-syntax; then
+ insinto /usr/share/vim/vimfiles/syntax
+ doins etc/xnots.vim
+ fi
+}
diff --git a/x11-misc/xnots/xnots-0.2.1-r2.ebuild b/x11-misc/xnots/xnots-0.2.1-r2.ebuild
new file mode 100644
index 000000000000..15752d347787
--- /dev/null
+++ b/x11-misc/xnots/xnots-0.2.1-r2.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit flag-o-matic toolchain-funcs
+
+DESCRIPTION="A desktop sticky note program for the unix geek"
+HOMEPAGE="http://xnots.sourceforge.net https://github.com/thePalindrome/xnots"
+SRC_URI="mirror://sourceforge/xnots/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="vim-syntax"
+
+RDEPEND="
+ x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXrandr
+ x11-libs/libXrender
+ x11-libs/pango[X]
+"
+
+DEPEND="
+ ${RDEPEND}
+ virtual/pkgconfig
+ x11-proto/randrproto
+ x11-proto/renderproto
+ x11-proto/xextproto
+"
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.2.1-gcc6.patch
+)
+
+src_prepare() {
+ default
+
+ sed -i -e 's|LICENCE||g' Makefile || die
+
+ append-cflags -std=gnu89
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)" NO_DEBUG=1
+}
+
+src_install() {
+ emake \
+ DESTDIR="${D}" \
+ docdir=/usr/share/doc/${PF} \
+ mandir=/usr/share/man \
+ prefix=/usr \
+ install
+
+ if use vim-syntax; then
+ insinto /usr/share/vim/vimfiles/syntax
+ doins etc/xnots.vim
+ fi
+}
diff --git a/x11-misc/xnots/xnots-9999.ebuild b/x11-misc/xnots/xnots-9999.ebuild
new file mode 100644
index 000000000000..4574a53d43aa
--- /dev/null
+++ b/x11-misc/xnots/xnots-9999.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit flag-o-matic git-r3 toolchain-funcs
+
+DESCRIPTION="A desktop sticky note program for the unix geek"
+HOMEPAGE="http://xnots.sourceforge.net https://github.com/thePalindrome/xnots"
+EGIT_REPO_URI="https://github.com/thePalindrome/xnots"
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="vim-syntax"
+
+RDEPEND="
+ x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXrandr
+ x11-libs/libXrender
+ x11-libs/pango[X]
+"
+
+DEPEND="
+ ${RDEPEND}
+ virtual/pkgconfig
+ x11-proto/randrproto
+ x11-proto/renderproto
+ x11-proto/xextproto
+"
+
+src_prepare() {
+ default
+
+ sed -i -e 's|LICENCE||g' Makefile || die
+
+ append-cflags -std=gnu89
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)" NO_DEBUG=1
+}
+
+src_install() {
+ emake \
+ DESTDIR="${D}" \
+ docdir=/usr/share/doc/${PF} \
+ mandir=/usr/share/man \
+ prefix=/usr \
+ install
+
+ if use vim-syntax; then
+ insinto /usr/share/vim/vimfiles/syntax
+ doins etc/xnots.vim
+ fi
+}
diff --git a/x11-misc/xorg-cf-files/Manifest b/x11-misc/xorg-cf-files/Manifest
new file mode 100644
index 000000000000..8302fea1cb81
--- /dev/null
+++ b/x11-misc/xorg-cf-files/Manifest
@@ -0,0 +1,6 @@
+AUX xorg-cf-files-1.0.2-solaris-prefix.patch 23137 SHA256 5270962cfdc9f815fa61922c2b1388bd5e9b90aa053fbdcdd12828cdabce7799 SHA512 96c01caab1cc77a16e4e103e57a625df3fa6dea399a6ac7df64f821b20edec8025d8d7bd6f1e15a5e2509d3032726eee15710ca5f354e2fd7f0a33a569fa336f WHIRLPOOL 56c4d7cef47dc3fb031a67e9d2ccebb817d013a129abb68ba7010bef91f45ef7e237f5204443c360aa8fb1cedf56f15a16334446d56c8470eaba0174c6a0fc0a
+DIST xorg-cf-files-1.0.6.tar.bz2 337859 SHA256 4dcf5a9dbe3c6ecb9d2dd05e629b3d373eae9ba12d13942df87107fdc1b3934d SHA512 1749a5fbcda2c15c300028abce79a3304cfb10f215bf98cf30558144eb64f9fa06a69203159f44405224ed567ac5bc0ff1222e3656367f69acc99f44871424fa WHIRLPOOL ef7d0581bd2d36ba61ccd47d7928dff43839494252af37350582cbab7ca3740cecb7a0d2c913aeb73fafeef1cbde7e2daf7ca9425dad6a6a29dd922dc80d7c97
+EBUILD xorg-cf-files-1.0.6.ebuild 1728 SHA256 b0f2361d34ce204012bcb2bd007a7ec89e09a76e240b82fa1ee2f6d8a71e18f8 SHA512 f12986c415dc4cf118bb4ca49d73fdf9d66cb995bdc03ab49d7754652f304e9504927e99ce575dc6dc948f6a921e8e0d3b07f50cd3748e8f007c2ab0f01c969e WHIRLPOOL 75834af51ea7852198f8d505b4296f340b1945ca01955ec2d41e7b79be9ff1d9994572b78cee89ce3575293b9d9f9e3fa42b2c5a59cd958ccc52d7f7a1083164
+MISC ChangeLog 4278 SHA256 c504c320485a5c3f22b6c06625b059ae8be321c4676267a8c64bad72a069604f SHA512 da46ca48b666935abb73fcb864f76b121fa7ef5f53eb3fce486c1df04b4c984c673f09a531e62e32dcd2aab79739115d141239e5cd0405c6edd6d65886d21f9f WHIRLPOOL 22ab297c705b8b93eeb6718e8d1277517963f2f99e89dd81def8245b6b83510b15fc0cf8b73ac1fcbfe5149609ca319cb1610617fbda9a1be8903dcab6d99a19
+MISC ChangeLog-2015 8061 SHA256 9e66bd2304298ee1d3c5f31590ccb066d06ab040aa97a3c85c50fad275e0100b SHA512 669991602cf9ee4009cbba2131960044645c85fa4ce0971ecab4deb0b00c323c4e5a97bd0719f980db991eb206efc0242f0be28cb8ba8ec50f0e68219cad99a4 WHIRLPOOL 2dcbc6a309f6279464ee04f7470695510f92db4a9de5e428bc7a900d961ce642904dae5c3406b4e4269d96b7295828a5986c43fa66bc8702aa88cf4ebe229c82
+MISC metadata.xml 230 SHA256 677e4595d00a3098fde05ae33118b9ac05867dc5729c9cd579dc8badd1a28f68 SHA512 d7a2643abd1904cc5ff4d91cbb6f1baeb7f75fd1db542c5e14f19412f4f0bd4b903f8e703a7662ba7482c79dac5529057760b6427599d35e0842755fd946e057 WHIRLPOOL 4866c82c6428eae526c0a514c988e4119221f77b0e8bfb04fec713dd3ba516c69afc776a0c6f53c29abfd8507aa23801614db1ba544dd0a0dd4d6a9462c27306
diff --git a/x11-misc/xorg-cf-files/files/xorg-cf-files-1.0.2-solaris-prefix.patch b/x11-misc/xorg-cf-files/files/xorg-cf-files-1.0.2-solaris-prefix.patch
new file mode 100644
index 000000000000..b797b2588d1d
--- /dev/null
+++ b/x11-misc/xorg-cf-files/files/xorg-cf-files-1.0.2-solaris-prefix.patch
@@ -0,0 +1,663 @@
+--- sunLib.rules.orig 2008-12-18 13:43:19.032933408 +0100
++++ sunLib.rules 2008-12-18 13:51:12.494555406 +0100
+@@ -7,127 +7,268 @@
+ XCOMM $XFree86: xc/config/cf/sunLib.rules,v 1.3 2001/01/17 16:38:49 dawes Exp $
+
+ #ifndef HasSharedLibraries
+-#define HasSharedLibraries YES
++# define HasSharedLibraries YES
+ #endif
+-#ifndef SharedDataSeparation
+-#define SharedDataSeparation YES
++#ifndef ForceNormalLib
++# define ForceNormalLib NO
+ #endif
+-#ifndef SharedCodeDef
+-#define SharedCodeDef -DSHAREDCODE
+-#endif
+-#ifndef SharedLibraryDef
+-#define SharedLibraryDef -DSUNSHLIB
+-#endif
+-#ifndef ShLibIncludeFile
+-#define ShLibIncludeFile <sunLib.tmpl>
+-#endif
+-#ifndef SharedLibraryLoadFlags
+-#define SharedLibraryLoadFlags -assert pure-text
+-#endif
+-#ifndef PositionIndependentCFlags
+-#if HasGcc2
+-#define PositionIndependentCFlags -fPIC
+-#else
+-#define PositionIndependentCFlags -pic
++
++#ifndef UseRpath
++#define UseRpath NO
+ #endif
++
++#ifndef SharedOldX
++# define SharedOldX NO
+ #endif
+-#ifndef PositionIndependentCplusplusFlags
+-#if HasGcc2ForCplusplus
+-#define PositionIndependentCplusplusFlags -fPIC
++# ifndef SharedDataSeparation
++# define SharedDataSeparation NO
++# endif
++# ifndef SharedCodeDef
++# define SharedCodeDef /**/
++# endif
++# ifndef SharedLibraryDef
++# define SharedLibraryDef /**/
++# endif
++# ifndef ShLibIncludeFile
++# define ShLibIncludeFile <sunLib.tmpl>
++# endif
++#ifndef RpathLoadFlags
++#if UseRpath
++#define RpathLoadFlags -R$(USRLIBDIRPATH)
+ #else
+-#define PositionIndependentCplusplusFlags -pic
++#define RpathLoadFlags /**/
+ #endif
+ #endif
+-
+-/*
+- * SharedDSLibDependencies - shared library dependencies with data separation
+- */
+-#ifndef SharedDSLibDependencies
+-#define SharedDSLibDependencies(libname,libsource,revname) _UseCat($(USRLIBDIR)/lib,libsource/lib,libname.sa.$(revname))
++#ifndef LibraryRpathLoadFlags
++#define LibraryRpathLoadFlags RpathLoadFlags
+ #endif
++# ifndef SharedLibraryLoadFlags
++# define SharedLibraryLoadFlags -shared
++# endif
++# ifndef PositionIndependentCFlags
++# define PositionIndependentCFlags -fPIC
++# endif
++# ifndef PositionIndependentCplusplusFlags
++# define PositionIndependentCplusplusFlags -fPIC
++# endif
++# ifndef ExtraLoadFlags
++# if LinuxBinUtilsMajorVersion >= 26
++# ifdef UseInstalled
++# if LinuxBinUtilsMajorVersion < 27
++# define ExtraLoadFlags RpathLoadFlags -Wl,-rpath-link,$(USRLIBDIRPATH)
++# endif
++# else
++# define ExtraLoadFlags RpathLoadFlags -Wl,-rpath-link,$(BUILDLIBDIR)
++# endif
++# else
++# define ExtraLoadFlags RpathLoadFlags
++# endif
++# endif
++# ifndef HardCodeLibdirFlag
++# define HardCodeLibdirFlag RpathLoadFlags
++# endif
++# if !defined(ShlibGlobalsFlags)
++# define ShlibGlobalsFlags -Wl,-Bsymbolic
++# endif
+
+ /*
+ * InstallSharedLibrary - generate rules to install the shared library.
++ * NOTE: file must be executable, hence "INSTBINFLAGS"
+ */
+-#ifndef InstallSharedLibrary
+-#define InstallSharedLibrary(libname,rev,dest) @@\
+-InstallTarget(install,Concat(lib,libname.so.rev),$(INSTLIBFLAGS),dest)
+-#endif /* InstallSharedLibrary */
++# ifndef InstallSharedLibrary
++# define InstallSharedLibrary(libname,rev,dest) @@\
++install:: Concat(lib,libname.so.rev) @@\
++ MakeDir($(DESTDIR)dest) @@\
++ $(INSTALL) $(INSTALLFLAGS) $(INSTBINFLAGS) Concat(lib,libname.so.rev) $(DESTDIR)dest @@\
++ @T=`echo Concat($(DESTDIR)dest/lib,libname.so.rev) | sed 's/\(lib[^\.]*\.so\.[0-9]*\)\(\.[0-9]*\)\{1,2\}/\1/'`;\
++ set -x; $(RM) $$T && $(LN) Concat(lib,libname.so.rev) $$T @@\
++ @if $(SOSYMLINK); then (set -x; \
++ $(RM) Concat($(DESTDIR)dest/lib,libname.so); \ @@\
++ $(LN) Concat(lib,libname.so.rev) Concat($(DESTDIR)dest/lib,libname.so)); fi
++# endif /* InstallSharedLibrary */
++
++# ifndef InstallSharedLibtoolLibrary
++
++# define SetRevisions(rev) V=`expr rev : '\([^:]*\)'`; \ @@\
++ R=`expr rev : '.*:\([^:]*\):'`; \ @@\
++ A=`expr rev : '.*:\([^:]*\)'`; \ @@\
++ MAJ=`expr $$V - $$A`; \ @@\
++ MIN=$$A.$$R
++
++# define InstallSharedLibtoolLibrary(libname,rev,dest) @@\
++install:: Concat(lib,libname.so) @@\
++ MakeDir($(DESTDIR)dest) @@\
++ @set +e; SetRevisions(rev); \ @@\
++ set -xe; \ @@\
++ $(INSTALL) $(INSTALLFLAGS) $(INSTBINFLAGS) Concat(lib,libname.so.$$MAJ.$$MIN) $(DESTDIR)dest; \ @@\
++ $(RM) Concat($(DESTDIR)dest/lib,libname.so.$$MAJ); \ @@\
++ $(LN) Concat(lib,libname.so.$$MAJ.$$MIN) Concat($(DESTDIR)dest/lib,libname.so.$$MAJ); \ @@\
++ $(RM) Concat($(DESTDIR)dest/lib,libname.so); \ @@\
++ $(LN) Concat(lib,libname.so.$$MAJ.$$MIN) Concat($(DESTDIR)dest/lib,libname.so)
++# endif /* InstallSharedLibrary */
+
+ /*
+ * InstallSharedLibraryData - generate rules to install the shared library data
+ */
+-#ifndef InstallSharedLibraryData
+-#define InstallSharedLibraryData(libname,rev,dest) @@\
+-install:: Concat(lib,libname.sa.rev) @@\
+- MakeDir($(DESTDIR)dest) @@\
+- $(INSTALL) $(INSTALLFLAGS) $(INSTLIBFLAGS) Concat(lib,libname.sa.rev) $(DESTDIR)dest @@\
+- RanLibrary($(RANLIBINSTFLAGS) Concat($(DESTDIR)dest/lib,libname.sa.rev))
+-#endif /* InstallSharedLibraryData */
+-
+-#if HasPurify
+-#define PureCleanSharedLibrary(libname,rev) @@\
+-clean clean.pure:: @@\
+- $(RM) Concat3(lib,libname,_pure_*.so.rev)
+-#else
+-#define PureCleanSharedLibrary(libname,rev) /**/
+-#endif
++# ifndef InstallSharedLibraryData
++# define InstallSharedLibraryData(libname,rev,dest)
++# endif /* InstallSharedLibraryData */
++
+
+ /*
+ * SharedLibraryTarget - generate rules to create a shared library;
+ * build it into a different name so that we do not hose people by having
+ * the library gone for long periods.
+ */
+-#ifndef SharedLibraryTarget
+-#define SharedLibraryTarget(libname,rev,solist,down,up) @@\
++# ifndef SharedLibraryTarget
++# define SharedLibraryTarget(libname,rev,solist,down,up) @@\
+ AllTarget(Concat(lib,libname.so.rev)) @@\
+ @@\
+ Concat(lib,libname.so.rev): solist $(EXTRALIBRARYDEPS) @@\
+ $(RM) $@~ @@\
+- (cd down; $(LD) -o up/$@~ $(SHLIBLDFLAGS) solist $(REQUIREDLIBS)) @@\
++ @SONAME=`echo $@ | sed 's/\(lib[^\.]*\.so\.[0-9]*\)\(\.[0-9]*\)\{1,2\}/\1/'`; (set -x; \ @@\
++ cd down; $(CC) -o up/$@~ $(SHLIBLDFLAGS) -Wl,-soname,$$SONAME solist $(REQUIREDLIBS)) || exit 1; \ @@\
++ (set -x; $(RM) $$SONAME; $(LN) $@ $$SONAME); \ @@\
++ LinkBuildSonameLibrary($$SONAME) @@\
+ $(RM) $@ @@\
+ $(MV) $@~ $@ @@\
++ @if $(SOSYMLINK); then (set -x; \ @@\
++ $(RM) Concat(lib,libname.so); \ @@\
++ $(LN) $@ Concat(lib,libname.so)); fi @@\
+ LinkBuildLibrary($@) @@\
++ LinkBuildLibraryMaybe(Concat(lib,libname.so),$(SOSYMLINK)) @@\
+ @@\
+ clean:: @@\
+- $(RM) Concat(lib,libname.so.rev) @@\
++ @MAJREV=`echo rev | sed 's/\([0-9]*\)\(\.[0-9]*\)\{1,2\}/\1/'`; \ @@\
++ set -x; $(RM) Concat(lib,libname.so.$$MAJREV) @@\
++ $(RM) Concat(lib,libname.so.rev) Concat(lib,libname.so)
++
++# endif /* SharedLibraryTarget */
++
++
++# ifndef SharedLibtoolLibraryTarget
++# define SharedLibtoolLibraryTarget(libname,rev,solist,down,up) @@\
++AllTarget(Concat(lib,libname.so)) @@\
++ @@\
++Concat(lib,libname.so): solist $(EXTRALIBRARYDEPS) @@\
++ $(RM) $@~ @@\
++ @set +e; SetRevisions(rev); set -e; \ @@\
++ SONAME=$@.$$MAJ; \ @@\
++ (set -x; \ @@\
++ $(RM) $@.$$MAJ.$$MIN~; \ @@\
++ cd down; $(CC) -o up/$@.$$MAJ.$$MIN~ $(SHLIBLDFLAGS) -Wl,-soname,$$SONAME solist $(REQUIREDLIBS)) || exit 1; \ @@\
++ (set -x; \ @@\
++ $(RM) $$SONAME; $(LN) $@.$$MAJ.$$MIN $$SONAME); \ @@\
++ LinkBuildSonameLibrary($$SONAME); \ @@\
++ (set -x; \ @@\
++ $(RM) $@.$$MAJ.$$MIN; \ @@\
++ $(MV) $@.$$MAJ.$$MIN~ $@.$$MAJ.$$MIN; \ @@\
++ $(RM) $@; \ @@\
++ $(LN) $@.$$MAJ.$$MIN $@); \ @@\
++ LinkBuildLibraryInline($@.$$MAJ.$$MIN); \ @@\
++ LinkBuildLibraryInline($@) @@\
+ @@\
+-PureCleanSharedLibrary(libname,rev)
+-#endif /* SharedLibraryTarget */
++clean:: @@\
++ @set +e; SetRevisions(rev); \ @@\
++ set -xe; \ @@\
++ $(RM) Concat(lib,libname.so.$$MAJ); \ @@\
++ $(RM) Concat(lib,libname.so.$$MAJ.$$MIN) @@\
++ $(RM) Concat(lib,libname.so)
++
++# endif /* SharedLibtoolLibraryTarget */
+
+ /*
+ * SharedDepLibraryTarget - generate rules to create a shared library.
+ */
+-#ifndef SharedDepLibraryTarget
+-#define SharedDepLibraryTarget(libname,rev,deplist,solist,down,up) @@\
++# ifndef SharedDepLibraryTarget
++# define SharedDepLibraryTarget(libname,rev,deplist,solist,down,up) @@\
+ AllTarget(Concat(lib,libname.so.rev)) @@\
+ @@\
+ Concat(lib,libname.so.rev): deplist $(EXTRALIBRARYDEPS) @@\
+ $(RM) $@~ @@\
+- (cd down; $(LD) -o up/$@~ $(SHLIBLDFLAGS) solist $(REQUIREDLIBS)) @@\
++ @SONAME=`echo $@ | sed 's/\(lib[^\.]*\.so\.[0-9]*\)\(\.[0-9]*\)\{1,2\}/\1/'`; set -x; \ @@\
++ (cd down; $(CC) -o up/$@~ $(SHLIBLDFLAGS) -Wl,-soname,$$SONAME solist $(REQUIREDLIBS)); \ @@\
++ $(RM) $$SONAME; $(LN) $@ $$SONAME; \ @@\
++ LinkBuildSonameLibrary($$SONAME) @@\
+ $(RM) $@ @@\
+ $(MV) $@~ $@ @@\
++ @if $(SOSYMLINK); then (set -x; \ @@\
++ $(RM) Concat(lib,libname.so); \ @@\
++ $(LN) $@ Concat(lib,libname.so)); fi @@\
+ LinkBuildLibrary($@) @@\
++ LinkBuildLibraryMaybe(Concat(lib,libname.so),$(SOSYMLINK)) @@\
+ @@\
+ clean:: @@\
+- $(RM) Concat(lib,libname.so.rev) @@\
+- @@\
+-PureCleanSharedLibrary(libname,rev)
++ @MAJREV=`echo rev | sed 's/\([0-9]*\)\(\.[0-9]*\)\{1,2\}/\1/'`; \ @@\
++ set -x; $(RM) Concat(lib,libname.so.$$MAJREV) @@\
++ $(RM) Concat(lib,libname.so.rev) Concat(lib,libname.so)
++
+ #endif /* SharedDepLibraryTarget */
+
+ /*
+- * SharedLibraryDataTarget - generate rules to create shlib data file;
++ * SharedDepCplusplusLibraryTarget - generate rules to create a shared library.
+ */
+-#ifndef SharedLibraryDataTarget
+-#define SharedLibraryDataTarget(libname,rev,salist) @@\
+-AllTarget(Concat(lib,libname.sa.rev)) @@\
++#ifndef SharedDepCplusplusLibraryTarget
++#define SharedDepCplusplusLibraryTarget(libname,rev,deplist,solist,down,up) @@\
++AllTarget(Concat(lib,libname.so.rev)) @@\
+ @@\
+-Concat(lib,libname.sa.rev): salist @@\
+- $(RM) $@ @@\
+- $(AR) $@ salist @@\
+- RanLibrary($@) @@\
++Concat(lib,libname.so.rev): deplist $(EXTRALIBRARYDEPS) @@\
++ $(RM) $@~ @@\
++ @SONAME=`echo $@ | sed 's/\(lib[^\.]*\.so\.[0-9]*\)\(\.[0-9]*\)\{1,2\}/\1/'`; set -x; \ @@\
++ (cd down; $(CXX) -o up/$@~ $(SHLIBLDFLAGS) -Wl,-soname,$$SONAME solist $(REQUIREDLIBS)); \ @@\
++ $(RM) $$SONAME; $(LN) $@ $$SONAME; \ @@\
++ LinkBuildSonameLibrary($$SONAME) @@\
++ $(RM) $@ @@\
++ $(MV) $@~ $@ @@\
++ @if $(SOSYMLINK); then (set -x; \ @@\
++ $(RM) Concat(lib,libname.so); \ @@\
++ $(LN) $@ Concat(lib,libname.so)); fi @@\
+ LinkBuildLibrary($@) @@\
++ LinkBuildLibraryMaybe(Concat(lib,libname.so),$(SOSYMLINK)) @@\
+ @@\
+ clean:: @@\
+- $(RM) Concat(lib,libname.sa.rev)
+-#endif /* SharedLibraryDataTarget */
++ @MAJREV=`echo rev | sed 's/\([0-9]*\)\(\.[0-9]*\)\{1,2\}/\1/'`; \ @@\
++ set -x; $(RM) Concat(lib,libname.so.$$MAJREV) @@\
++ $(RM) Concat(lib,libname.so.rev) Concat(lib,libname.so)
++
++#endif /* SharedDepCplusplusLibraryTarget */
++
++# ifndef SharedDepModuleTarget
++# define SharedDepModuleTarget(name,deps,solist) @@\
++AllTarget(name) @@\
++ @@\
++name: deps @@\
++ $(RM) $@~ @@\
++ $(CC) -o $@~ $(SHLIBLDFLAGS) solist $(REQUIREDLIBS) @@\
++ $(RM) $@ @@\
++ $(MV) $@~ $@ @@\
++ @@\
++clean:: @@\
++ $(RM) name
++
++# endif /* SharedDepModuleTarget */
++
++# ifndef SharedDriModuleTarget
++# define SharedDriModuleTarget(name,deps,solist) @@\
++AllTarget(name) @@\
++ @@\
++name: deps @@\
++ $(RM) $@~ $@.map @@\
++ @(echo 'DRI_MODULE { global: __dri*; local: *; };' > $@.map) @@\
++ $(CC) -o $@~ -Wl,--version-script=$@.map $(SHLIBLDFLAGS) solist $(REQUIREDLIBS) @@\
++ $(RM) $@ $@.map @@\
++ $(MV) $@~ $@ @@\
++ @@\
++clean:: @@\
++ $(RM) name @@\
++ $(RM) name.map
++
++# endif /* SharedDriModuleTarget */
++
++/*
++ * SharedLibraryDataTarget - generate rules to create shlib data file;
++ */
++# ifndef SharedLibraryDataTarget
++# define SharedLibraryDataTarget(libname,rev,salist)
++# endif /* SharedLibraryTarget */
++
+--- sunLib.tmpl.orig 2008-12-18 13:43:14.856762538 +0100
++++ sunLib.tmpl 2008-12-18 13:53:25.489781023 +0100
+@@ -7,252 +7,71 @@
+
+ XCOMM $XFree86: xc/config/cf/sunLib.tmpl,v 3.12tsi Exp $
+
+-/*
+- * SunOS shared library template
+- */
+-
+-#if OSMajorVersion <= 4
+-
+-# if SunPost411FCSLd
+-# define SharedXmuReqs $(LDPRELIBS) $(XTOOLLIB) $(XLIB)
+-# define SharedXrenderReqs $(LDPRELIB) $(XLIB)
+-# endif
+-
+-#ifndef SharedX11Rev
+-#define SharedX11Rev 4.30
+-#endif
+-#ifndef SharedOldXRev
+-#define SharedOldXRev 4.20
+-#endif
+-#ifndef SharedXtRev
+-#define SharedXtRev 4.20
+-#endif
+-#ifndef SharedXawRev
+-#define SharedXawRev 6.10
+-#endif
+-#ifndef SharedXmuRev
+-#define SharedXmuRev 4.20
+-#endif
+-#ifndef SharedXextRev
+-#define SharedXextRev 4.50
+-#endif
+-#ifndef SharedXiRev
+-#define SharedXiRev 4.20
+-#endif
+-#ifndef SharedXtstRev
+-#define SharedXtstRev 1.20
+-#endif
+-
+-#else /* else it's Solaris */
+-
+-/* Solaris uses single digit library versions, and versions of libraries
+- * defined in SVID specs should match the versions specified there.
+- */
+-
+-#ifndef SharedX11Rev
+-# define SharedX11Rev 4
+-#endif
+-#ifndef SharedOldXRev
+-# define SharedOldXRev 6
+-#endif
+-#ifndef SharedXextRev
+-# define SharedXextRev 0
+-#endif
+-#ifndef SharedXauRev
+-# define SharedXauRev 6
+-#endif
+-#ifndef SharedXdmcpRev
+-# define SharedXdmcpRev 6
+-#endif
+-#ifndef SharedXmuRev
+-# define SharedXmuRev 4
+-#endif
+-#ifndef SharedXmuuRev
+-# define SharedXmuuRev 1
+-#endif
+-#ifndef SharedXpRev
+-# define SharedXpRev 1
+-#endif
+-#ifndef SharedXpmRev
+-# define SharedXpmRev 4
+-#endif
+-#ifndef SharedXtRev
+-# define SharedXtRev 4
+-#endif
+-#ifndef SharedXaw6Rev
+-# define SharedXaw6Rev 5
+-#endif
+-#ifndef SharedXiRev
+-# define SharedXiRev 5
+-#endif
+-#ifndef SharedXtstRev
+-# define SharedXtstRev 1
+-#endif
+-#ifndef SharedFSRev
+-# define SharedFSRev 5
+-#endif
+-#ifndef SharedICERev
+-# define SharedICERev 6
+-#endif
+-#ifndef SharedSMRev
+-# define SharedSMRev 6
+-#endif
+-#ifndef SharedXcursor
+-# define SharedXcursorRev 1
+-#endif
+-#ifndef SharedXdamageRev
+-# define SharedXdamageRev 1
+-#endif
+-#ifndef SharedXevieRev
+-# define SharedXevieRev 1
+-#endif
+-#ifndef SharedXfixesRev
+-# define SharedXfixesRev 1
+-#endif
+-#ifndef SharedXftRev
+-# define SharedXftRev 2
+-#endif
+-#ifndef SharedXineramaRev
+-# define SharedXineramaRev 1
+-#endif
+-#ifndef SharedXrenderRev
+-# define SharedXrenderRev 1
+-#endif
+-#ifndef SharedXResRev
+-# define SharedXResRev 1
+-#endif
+-#ifndef SharedXvRev
+-# define SharedXvRev 1
+-#endif
+-#ifndef SharedXvMCRev
+-# define SharedXvMCRev 1
+-#endif
+-#ifndef SharedXrandrRev
+-# define SharedXrandrRev 2
+-#endif
+-#ifndef SharedXssRev
+-# define SharedXssRev 1
+-#endif
+-#ifndef SharedFontconfigRev
+-# define SharedFontconfigRev 1
+-#endif
+-#ifndef SharedGlxRev
+-# define SharedGlxRev 1
+-#endif
+-#ifndef SharedGluRev
+-# define SharedGluRev 1
+-#endif
+-#ifndef SharedGLwRev
+-# define SharedGLwRev 1
+-#endif
+-#ifndef SharedOSMesaRev
+-# define SharedOSMesaRev 4
+-#endif
+-#ifndef SharedxkbfileRev
+-# define SharedxkbfileRev 5
+-#endif
+-#ifndef SharedXxf86miscRev
+-# define SharedXxf86miscRev 1
+-#endif
+-#ifndef SharedXxf86vmRev
+-# define SharedXxf86vmRev 1
+-#endif
+-
+-# if ThreadedX
+-# if OSMinorVersion > 3
+-# define SharedThreadReqs /**/
+-# endif
+-# endif
+-
+-# define SharedX11Reqs $(LDPRELIB) SharedThreadReqs $(EXTRA_LIBRARIES) -lc DlLibrary
+-# define SharedXlibi18nReqs $(LDPRELIB) $(XLIBONLY) -lc
+-# define SharedOldXReqs $(LDPRELIB) $(XLIBONLY) -lc
+-# define SharedXtReqs $(LDPRELIB) $(XLIBONLY) $(SMLIB) $(ICELIB) -lc
+-# define SharedXawReqs $(LDPRELIB) $(XMULIB) $(XTOOLLIB) $(XPMLIB) $(EXTRAXAWREQS) $(XLIB) -lc
+-# define SharedXaw7Reqs $(LDPRELIB) $(XMULIB) $(XTOOLLIB) $(XPMLIB) $(XLIB) -lc
+-# define SharedXaw6Reqs $(LDPRELIB) $(XMULIB) $(XTOOLLIB) $(XLIB) -lc
+-# define SharedXmuReqs $(LDPRELIB) $(XTOOLLIB) $(XLIB) -lnsl -lc
+-# define SharedXmuuReqs $(LDPRELIB) $(XLIBONLY) -lc
+-# define SharedXextReqs $(LDPRELIB) $(XLIBONLY) -lc
+-# define SharedXiReqs $(LDPRELIB) $(XLIB) -lc
+-# define SharedXtstReqs $(LDPRELIB) $(XLIB) -lc
+-# define SharedFSReqs $(EXTRA_LIBRARIES) -lc
+-# define SharedICEReqs $(EXTRA_LIBRARIES) -lc
+-# define SharedSMReqs $(LDPRELIB) $(ICELIB) $(EXTRA_LIBRARIES) -lc
+-# define SharedXineramaReqs $(LDPRELIB) $(XLIB) -lc
+-# define SharedXpReqs $(LDPRELIB) $(XLIB) -lc
+-# define SharedXpmReqs $(LDPRELIB) $(XLIBONLY) -lc
+-# define SharedXResReqs $(LDPRELIB) $(XLIB) -lc
+-# define SharedXrenderReqs $(LDPRELIB) $(XLIBONLY) -lc
+-# define SharedXrandrReqs $(LDPRELIB) $(XRENDERLIB) $(XLIB) -lc
+-# define SharedXssReqs $(LDPRELIB) $(XLIB) -lc
+-# define SharedXvReqs $(LDPRELIB) $(XLIB) -lc
+-# define SharedXvMCReqs $(LDPRELIB) $(XLIB) -lc
+-# define SharedXfontReqs $(LDPRELIB) $(FREETYPE2LIB) GzipLibrary -lsocket MathLibrary -lc
+-# define SharedXfontcacheReqs $(LDPRELIB) $(XLIB)
+-# define SharedFontencReqs $(LDPRELIB) GzipLibrary -lc
+-# define SharedXxf86dgaReqs $(LDPRELIB) $(XLIB) -lc
+-# define SharedXxf86miscReqs $(LDPRELIB) $(XLIB) -lc
+-# define SharedXxf86vmReqs $(LDPRELIB) $(XLIB) -lc
+-# define SharedDPSReqs $(LDPRELIB) $(SMLIB) $(ICELIB) $(XTOOLLIB) $(XLIBONLY) $(EXTRA_LIBRARIES) -lc
+-# define SharedDPSTKReqs $(LDPRELIB) $(SMLIB) $(ICELIB) $(XTOOLLIB) $(DPSLIB) $(XLIBONLY) -lc
+-# define SharedPSResReqs -lc
+-# define SharedGLReqs $(LDPRELIB) $(XLIB) -lc
+-# define SharedGLUReqs $(LDPRELIBS) $(XLIB) $(GLXLIB) $(CXXLIB) MathLibrary -lc
+-# define SharedGLwReqs $(LDPRELIBS) $(MOTIFLIB) $(GLXLIB) $(XTOOLLIB) $(XLIB)
+-# define SharedOSMesaReqs $(LDPRELIB) $(XLIB) $(GLXLIB) MathLibrary -lc
+-# define SharedxkbfileReqs $(LDPRELIB) $(XONLYLIB) -lc
+-# define SharedxkbuiReqs $(LDPRELIB) $(XKBFILELIB) $(XONLYLIB) MathLibrary -lc
+-# define SharedXfixesReqs $(LDPRELIB) $(XLIB) -lc
+-# define SharedXdamageReqs $(LDPRELIB) $(XLIB) -lc
+-# define SharedXauReqs -lc
+-# define SharedXdmcpReqs -lsocket -lc
+-# define SharedXcompositeReqs $(LDPRELIB) $(XDAMAGELIB) $(XFIXESLIB) $(XLIB) -lc
+-# define SharedXcursorReqs $(LDPRELIB) $(XRENDERLIB) $(XONLYLIB) -lc
+-# define SharedXevieReqs $(LDPRELIB) $(XLIB)
+-
+-# define FixupLibReferences() /**/
+-
+-# define SharedPamReqs DlLibrary
+-# define SharedPamUnixReqs $(LDPRELIBS) -lpam $(LDPOSTLIBS) -lnsl -lmp -lcmd SharedThreadReqs
+-# define SharedPamSampleReqs $(LDPRELIBS) -lpam $(LDPOSTLIBS) SharedThreadReqs
+-# define SharedPamDialAuthReqs $(LDPRELIBS) -lpam $(LDPOSTLIBS) SharedThreadReqs
+-# define SharedPamRhostsAuthReqs $(LDPRELIBS) -lpam $(LDPOSTLIBS) -lsocket SharedThreadReqs
+-# define SharedPamDceAuthReqs $(LDPRELIBS) -lpam $(LDPOSTLIBS) -ldce -lnsl -lsocket SharedThreadReqs
+-# define SharedTtReqs -lnsl -lsocket -lintl DlLibrary -lc -lw
+-# define SharedDtSvcReqs $(LDPRELIBS) $(TTLIB) $(XMLIB) $(XTOOLLIB) $(XPLIB) $(XLIB) $(LDPOSTLIBS) SharedThreadReqs -lgen -lc -lsocket -lnsl DlLibrary
+-# define SharedDtMmdbReqs $(LDPRELIBS) $(DTSVCLIB) $(TTLIB) $(XMLIB) $(XTOOLLIB) $(XPLIB) $(XLIB) $(LDPOSTLIBS) SharedThreadReqs -lgen -lc -lsocket -lnsl DlLibrary
+-# define SharedDtSearchReqs -lm -lc
+-# define SharedDtWidgetReqs $(LDPRELIBS) $(DTSVCLIB) $(XMLIB) -lintl $(LDPOSTLIBS) -lw -lm -lc
+-# define SharedDtHelpReqs $(LDPRELIBS) $(DTSVCLIB) $(XMLIB) $(XTOOLLIB) $(XPLIB) $(XLIB) $(LDPOSTLIBS) -lw -lgen -lm -lc
+-# define SharedDtPrintReqs $(LDPRELIBS) $(DTSVCLIB) $(DTHELPLIB) $(XMLIB) -lintl $(LDPOSTLIBS) -lw -lm -lc
+-# define SharedDtTermReqs SharedDtHelpReqs DlLibrary -lgen
+-# define SharedDtMrmReqs $(LDPRELIBS) $(DTTERMLIB) $(DTPRINTLIB) $(DTHELPLIB) $(DTWIDGETLIB) $(MRESOURCELIB) $(XMLIB) $(XTOOLLIB) $(XPLIB) $(XLIB) $(LDPOSTLIBS) -lw -lsocket -lnsl -lc
+-# define SharedDtMailReqs $(LDPRELIBS) -lw $(CXXLIB) -lm DlLibrary
+-# define SharedCsaReqs $(LDPRELIBS) $(DTSVCLIB) $(XMLIB) SharedXmReqs
+-
+-# define DtClientExtraLibs -lintl
+-
+-/* The inbuf paramter to iconv(3) is "const char**", not "char **" */
+-ICONV_INBUF_DEFINE = -DICONV_INBUF_CONST=const
+-
+-# if HasCplusplus
+-# if HasGcc2ForCplusplus
+-UNSHARED_CXXLIB = -static -lC
+-# elif HasSunCplusplus
+-# if CplusplusCompilerMajorVersion > 3
+-# ifdef CplusplusWhatdir
+-UNSHARED_CXXLIB = -Bstatic -L`CplusplusWhatdir CC`/../lib -lC -Bdynamic
+-# else
+-UNSHARED_CXXLIB = -Bstatic -L/opt/SUNWspro/SC4.0/lib -lC -Bdynamic
+-# endif
+-# else
+-UNSHARED_CXXLIB = -Bstatic -lC -Bdynamic -lm -lc -Bstatic
+-# endif
+-# endif
+-# endif
+-
+-# define IafSysLib /**/
+-# include <sv4Lib.tmpl>
++#ifndef FixupLibReferences
++#define FixupLibReferences() @@\
++XMULIBONLY = -lXmu @@\
++XMULIB = $(XMULIBONLY) $(XTOOLLIB) $(XLIB)
++#endif
++
++#ifndef XawClientLibs
++#define XawClientLibs $(XAWLIB) $(XMULIBONLY) $(XTOOLLIB) $(XPMLIB) $(EXTRAXAWCLIENTLIBS) $(XLIB)
++#endif
++
++#define SharedX11Reqs
++#define SharedXlibi18nReqs $(LDPRELIB) $(XONLYLIB)
++#define SharedOldXReqs $(LDPRELIB) $(XONLYLIB)
++#define SharedXtReqs $(LDPRELIB) $(XONLYLIB) $(SMLIB) $(ICELIB)
++#define SharedXaw6Reqs $(LDPRELIB) $(XMULIB) $(XTOOLLIB) $(XLIB)
++#define SharedXaw7Reqs $(LDPRELIB) $(XMULIB) $(XTOOLLIB) $(XPMLIB) $(XLIB)
++#define SharedXawReqs $(LDPRELIB) $(XMULIB) $(XTOOLLIB) $(XPMLIB) $(EXTRAXAWREQS) $(XLIB)
++#define SharedXmuReqs $(LDPRELIB) $(XTOOLLIB) $(XLIB)
++#define SharedXmuuReqs $(LDPRELIB) $(XONLYLIB)
++#define SharedXextReqs $(LDPRELIB) $(XONLYLIB)
++#define SharedXiReqs $(LDPRELIB) $(XLIB)
++#define SharedXpReqs $(LDPRELIB) $(XLIB)
++#define SharedXpmReqs $(LDPRELIB) $(XLIB)
++#define SharedXrandrReqs $(LDPRELIB) $(XRENDERLIB) $(XLIB)
++#define SharedXrenderReqs $(LDPRELIB) $(XLIB)
++#define SharedXtstReqs $(LDPRELIB) $(XLIB)
++#define SharedXvReqs $(LDPRELIB) $(XLIB)
++#define SharedSMReqs $(LDPRELIB) $(ICELIB)
++#define SharedXcursorReqs $(LDPRELIB) $(XRENDERLIB) $(XLIB)
++#define SharedFontencReqs $(LDPRELIB) GzipLibrary
++
++#if GlxUseBuiltInDRIDriver
++#define ExtraSharedGLReqs /**/
++#else
++#define ExtraSharedGLReqs -ldl
++#endif
++#define SharedGLReqs $(LDPRELIB) $(XLIB) ExtraSharedGLReqs
++#ifndef SharedGLUReqs
++#define SharedGLUReqs $(LDPRELIB) $(XLIB) $(GLXLIB)
++#endif
++#define SharedDPSReqs $(LDPRELIB) $(SMLIB) $(ICELIB) $(XTOOLLIB) $(XLIB)
++#define SharedDPSTKReqs $(LDPRELIB) $(SMLIB) $(ICELIB) $(XTOOLLIB) $(DPSLIB) $(XLIB)
++#define SharedpsresReqs $(LDPRELIB) $(SMLIB) $(ICELIB) $(XTOOLLIB) $(XLIB)
++
++#define SharedXResReqs $(LDPRELIB) $(XLIB)
++#define SharedXfontcacheReqs $(LDPRELIB) $(XLIB)
++#define SharedXineramaReqs $(LDPRELIB) $(XLIB)
++#define SharedXssReqs $(LDPRELIB) $(XLIB)
++#define SharedXvMCReqs $(LDPRELIB) $(XLIB)
++#define SharedXxf86dgaReqs $(LDPRELIB) $(XLIB)
++#define SharedXxf86miscReqs $(LDPRELIB) $(XLIB)
++#define SharedXxf86vmReqs $(LDPRELIB) $(XLIB)
++#define SharedxkbfileReqs $(LDPRELIB) $(XONLYLIB)
++#define SharedxkbuiReqs $(LDPRELIB) $(XKBFILELIB) $(XONLYLIB)
++
++#ifndef SharedXReqs
++# define SharedXReqs $(XTOOLLIB) $(XPLIB) $(XLIB) $(LDPOSTLIBS)
++#endif
++
++#ifndef SharedXmReqs
++# define SharedXmReqs $(LDPRELIBS) SharedXReqs -lc
++#endif
+
++#ifndef SharedTtReqs
++# define SharedTtReqs $(LDPRELIBS) SharedXReqs $(CXXLIB)
+ #endif
++
++#define NoMessageCatalog
diff --git a/x11-misc/xorg-cf-files/metadata.xml b/x11-misc/xorg-cf-files/metadata.xml
new file mode 100644
index 000000000000..e943b72b8a48
--- /dev/null
+++ b/x11-misc/xorg-cf-files/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>x11@gentoo.org</email>
+ <name>X11</name>
+</maintainer>
+</pkgmetadata>
diff --git a/x11-misc/xorg-cf-files/xorg-cf-files-1.0.6.ebuild b/x11-misc/xorg-cf-files/xorg-cf-files-1.0.6.ebuild
new file mode 100644
index 000000000000..7b1588e9fac4
--- /dev/null
+++ b/x11-misc/xorg-cf-files/xorg-cf-files-1.0.6.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit xorg-2
+
+DESCRIPTION="Old Imake-related build files"
+KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
+IUSE=""
+
+RDEPEND=""
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.0.2-solaris-prefix.patch
+)
+
+src_install() {
+ xorg-2_src_install
+ echo "#define ManDirectoryRoot ${EPREFIX}/usr/share/man" >> "${ED}"/usr/$(get_libdir)/X11/config/host.def || die
+ sed -i -e "s/LibDirName *lib$/LibDirName $(get_libdir)/" "${ED}"/usr/$(get_libdir)/X11/config/Imake.tmpl || die "failed libdir sed"
+ sed -i -e "s|LibDir Concat(ProjectRoot,/lib/X11)|LibDir Concat(ProjectRoot,/$(get_libdir)/X11)|" "${ED}"/usr/$(get_libdir)/X11/config/X11.tmpl || die "failed libdir sed"
+ sed -i -e "s|\(EtcX11Directory \)\(/etc/X11$\)|\1${EPREFIX}\2|" "${ED}"/usr/$(get_libdir)/X11/config/X11.tmpl || die "failed etcx11dir sed"
+ sed -i -e "/# define Solaris64bitSubdir/d" "${ED}"/usr/$(get_libdir)/X11/config/sun.cf || die
+ sed -i -e 's/-DNOSTDHDRS//g' "${ED}"/usr/$(get_libdir)/X11/config/sun.cf || die
+
+ sed -r -i -e "s|LibDirName[[:space:]]+lib.*$|LibDirName $(get_libdir)|" "${ED}"/usr/$(get_libdir)/X11/config/linux.cf || die "failed libdir sed"
+ sed -r -i -e "s|SystemUsrLibDir[[:space:]]+/usr/lib.*$|SystemUsrLibDir /usr/$(get_libdir)|" "${ED}"/usr/$(get_libdir)/X11/config/linux.cf || die "failed libdir sed"
+ sed -r -i -e "s|TkLibDir[[:space:]]+/usr/lib.*$|TkLibDir /usr/$(get_libdir)|" "${ED}"/usr/$(get_libdir)/X11/config/linux.cf || die "failed libdir sed"
+}
diff --git a/x11-misc/xosview/Manifest b/x11-misc/xosview/Manifest
new file mode 100644
index 000000000000..6969e117e37a
--- /dev/null
+++ b/x11-misc/xosview/Manifest
@@ -0,0 +1,5 @@
+DIST xosview-1.19.tar.gz 143151 SHA256 08b6a9e6c1963c03ba9dcb31981b9e0e93d5d1d9959cadec86be1b09e2b22caf SHA512 57234a232617b14925e21864334f2d06dce442d552763835b1a505863dd80efc27d3d55d50692de4a548e86e25bb5ab3354bd92801b6504c030e1985f19b6a08 WHIRLPOOL 6796305fe1c78beed977758e54a0df17ed5e82f13cd5499a0f7ac8bc8f9ad8da6dc96534f406b919e92a747889a3650e97c559288a2efcd288a81602387d9e15
+EBUILD xosview-1.19.ebuild 1105 SHA256 8711f9d9178398662248bdb9519242969bb1b2cc9405ad80ab2a6407f60cbf95 SHA512 34e973a9d5c25060905e630282e3f541016d95eaaf97e39a08c0a73717cc43b6e37713b49d7e6755bd8729107f983febea758f1515951de9502f6cdd44b3cd93 WHIRLPOOL ec828f93880111517cfb683861ed7b1231ad59795629f649a1f76fc03742b18fae93fc5f6d2a0987aa3797f8a473357414bb60aa8196cc6c5f50561ba226d477
+MISC ChangeLog 5480 SHA256 1dc8c4500197b2f6b434629981267909475acfb7924e6d8066e5ad17c16c00f7 SHA512 f5d8cc65a53244ae1d396a625255622c17bb426eaf0943ab02467ed9128f05480329375fbe675092bd9616155a68fa8ebedc87342189459d6769b05fc0f2f894 WHIRLPOOL d6d6d21f606324a9fe272f47c731854422f34e3cdfaf32f7fff9ee397cf979f276cdd47222b2d377090b47db4cee355c81a2c1cb3730a2998207d4f8c7cd2ae7
+MISC ChangeLog-2015 11707 SHA256 0f73bd229efbc0415588bd1bb27a25c278704d633a85c5fe26edb99591ea1ac0 SHA512 501f3a5fe91a2ba0e7bde9c4522076802b473d34e39949d3d80e8fae05c37bcc94462b26e0d0f58a8832a5629f32a2d0d013c4627d0b2436a764df1adc844459 WHIRLPOOL fcc62dc08624b2592f849661cf7789f5693c99ee448239d8563e4f14d37556d624b0c8187407a1a9dadefa2f824804d785f00823e6e43f334d2bbac532aa17ba
+MISC metadata.xml 318 SHA256 218a00bda7df7396b1c9db4fea27cc69073dd039cb1db1e55d34cfd004209500 SHA512 7d56445a5c7fffdc1104633cdd30eafa17588079b8a1f4cb226984b1aad4e41fe84320608681143dc01c5f1ac5f104cf0717e8183164031644220f9c61086a3b WHIRLPOOL 15d65bcdc3289c77c194a26721b45e700d54a771e5a63d29a52d431b1ac8922ee7ddd7ca11b10dbbb72ba3fd70daa5fba7dba875de04362ab9c489e70d9fb895
diff --git a/x11-misc/xosview/metadata.xml b/x11-misc/xosview/metadata.xml
new file mode 100644
index 000000000000..66187a0f4213
--- /dev/null
+++ b/x11-misc/xosview/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/x11-misc/xosview/xosview-1.19.ebuild b/x11-misc/xosview/xosview-1.19.ebuild
new file mode 100644
index 000000000000..fa37b4a95fb9
--- /dev/null
+++ b/x11-misc/xosview/xosview-1.19.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="X11 operating system viewer"
+HOMEPAGE="http://www.pogo.org.uk/~mark/xosview/"
+SRC_URI="http://www.pogo.org.uk/~mark/${PN}/releases/${P}.tar.gz"
+
+LICENSE="GPL-2 BSD"
+SLOT="0"
+KEYWORDS="amd64 ppc ppc64 x86"
+IUSE="suid"
+
+COMMON_DEPS="x11-libs/libX11
+ x11-libs/libXpm
+ x11-libs/libXt"
+RDEPEND="${COMMON_DEPS}
+ media-fonts/font-misc-misc"
+DEPEND="${COMMON_DEPS}
+ x11-proto/xproto"
+
+src_prepare() {
+ default
+
+ sed -i -e 's:lib/X11/app:share/X11/app:g' -i ${PN}.1 || die
+ sed -i -e "s:Git:${PV}:g" ${PN}.cc || die
+ tc-export CXX
+}
+
+src_compile() {
+ emake OPTFLAGS=''
+}
+
+src_install() {
+ dobin ${PN}
+ use suid && fperms 4755 /usr/bin/${PN}
+ insinto /usr/share/X11/app-defaults
+ newins Xdefaults XOsview
+ doman *.1
+ dodoc CHANGES README.linux TODO
+}
+
+pkg_postinst() {
+ if ! use suid ; then
+ ewarn "If you want to use serial meters ${PN} needs to be executed as root."
+ ewarn "Please see ${EPREFIX}/usr/share/doc/${PF}/README.linux for details."
+ fi
+}
diff --git a/x11-misc/xowl/Manifest b/x11-misc/xowl/Manifest
new file mode 100644
index 000000000000..c5d849b17d98
--- /dev/null
+++ b/x11-misc/xowl/Manifest
@@ -0,0 +1,2 @@
+EBUILD xowl-9999.ebuild 818 SHA256 5c9b5614aa22dfd95884d63203eac223444f1c2f5f165adbe0f02a9c92475ef1 SHA512 7a0c0891907059349356bf5a6f679fbd27c1c0806d30c1ecc5743ddac7f2dff7593a32b1a8b5cbe7c3286c93e0a57319f5c71ca5fefb19076859c21953b0a8ed WHIRLPOOL d80a39275345ff35e0b51f0755690d4b69bd7d38d0d87c30dce65bf178d035e7ff29edb474489fa0910f4ccff832fd06be1a59d073af2780e2ddf48d56f420fc
+MISC metadata.xml 295 SHA256 f10c47bee0b7d2531666fd74651456a54c1955520470d4643ff05ffe9301d1b1 SHA512 b331dbc6e9806c42576bcaaeb54c9086004924b28b2b1f0e4e9d4d9597354d42f4b63cc9ef5d3abee5cf613279b38911f3aa4d3f8dba020c8b377fe727fdb363 WHIRLPOOL 8052f26dd48aca68401c109812535c54f9f526cddfe01cd8afcf929327d37e61609114ddb7fbe332bd2e4715bb620813096aa8b73a0b78c1d240a18d7744c94c
diff --git a/x11-misc/xowl/metadata.xml b/x11-misc/xowl/metadata.xml
new file mode 100644
index 000000000000..c39cdaf110ef
--- /dev/null
+++ b/x11-misc/xowl/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>jer@gentoo.org</email>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">seanpringle/xowl</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/xowl/xowl-9999.ebuild b/x11-misc/xowl/xowl-9999.ebuild
new file mode 100644
index 000000000000..d4d0a425dfb7
--- /dev/null
+++ b/x11-misc/xowl/xowl-9999.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit flag-o-matic git-r3 savedconfig toolchain-funcs
+
+DESCRIPTION="X11 Obstinate Window Lister"
+HOMEPAGE="https://github.com/seanpringle/xowl"
+EGIT_REPO_URI="https://github.com/seanpringle/xowl"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS=""
+
+DEPEND="
+ x11-libs/libX11
+ x11-libs/libXft
+ x11-libs/libXinerama
+"
+RDEPEND="
+ ${DEPEND}
+"
+
+src_prepare() {
+ default
+ restore_config config.h
+}
+
+src_configure() {
+ tc-export CC PKG_CONFIG
+}
+
+src_compile() {
+ XOAT_COMPILE=(
+ ${CC} -o ${PN} ${PN}.c ${CFLAGS} -std=c99 ${LDFLAGS}
+ $(${PKG_CONFIG} --cflags --libs x11 xft xinerama)
+ )
+ echo ${XOAT_COMPILE[@]}
+ ${XOAT_COMPILE[@]} || die
+}
+
+src_install() {
+ dobin xowl
+ dodoc xowl.md
+ doman xowl.1
+ save_config config.h
+}
diff --git a/x11-misc/xpad/Manifest b/x11-misc/xpad/Manifest
new file mode 100644
index 000000000000..fedeff371eca
--- /dev/null
+++ b/x11-misc/xpad/Manifest
@@ -0,0 +1,9 @@
+DIST xpad-4.2.tar.bz2 244275 SHA256 d51b0e5f813a790ca55c3a0390650cbe1c567407e0f224b8b23c6f49403ea813 SHA512 4d619c9198198f4380d37b29243b76069c0e036fd30d7c6e2aa9105e8b7b1e0520c0c35fbf71f6cbd58be4a8799ddb04602694971cb46f70789b732eaa4d59b7 WHIRLPOOL 69166df7b1dd9be00115a13e2b9dcdb17a2bc7926e285cf2a9aee1ade9e1bb0d3fd19fc98e4c131510aa4f66332394676fb083019e3c02a8a399b76919e499d5
+DIST xpad-4.9.0.tar.bz2 149978 SHA256 071ae935a6718fa9c94e21651f56c4e2c8f8e5afa1adc0b370b5e8ec5896ea34 SHA512 bd30332ddd2689c538ed5074e95cb02546afc8ce954d0ca3cb6ada101e19a1db0d636165f9cb4536f3d9ce123c51695041a5dbc7ba0396daa14d4580ee53af63 WHIRLPOOL 2f8cb06522ae5b63ff7d21cf52653f2898a8c5ad6be3e389bcac741303b77a578e650f0527ce63a7a467a35231873238e599ccc1c48a66d94322ac5dce0b04d6
+DIST xpad-5.0.0.tar.bz2 150887 SHA256 6b5673c68faad4afb44aea0ff5d72c7b5d2aef0d00a89980a27ca56f5e9fd10b SHA512 c014c553c961a6cf11529849ae9fd11738644b939cd0738a0a076c3eb1be2fd46afa0dfb9933e5f6433cb043a4a19e82476a9e6c5533d7e675ed1d3c7965865e WHIRLPOOL b584a8f50024505e1f7e4fbdca3716793f31d5f8298c28fbbe7ce952ef9921a10e13594dca5a51045208503bbd22ba3457d3a057eba7c3bfa58491fa6188e6ab
+EBUILD xpad-4.2.ebuild 574 SHA256 cd9d40adc404cb127fcbb8bd31f90b9d9c6e426029ba303cfb9e36ae7b34679b SHA512 3c22e6a96effe2daa82ef879f9cbafd5ea1c37375e4c20b96f8ed333a980c53c9b568012f4afc4d69929ffba1001ce2a54aaaaf89c145266afb039134a1d126c WHIRLPOOL d4f063ec809a18ec51ba78a5df6ab903d3e297bdd0c029db8b5fbbd58bf736f3556d976e202de1d0cb5d2a4cd15b8ccd178585539c4d3f9c3c96186fb5ccfd83
+EBUILD xpad-4.9.0.ebuild 731 SHA256 6efeb3b1a687794d774189e18b12a58086eea971f570364f40c0dac497bd0a23 SHA512 76f173387ac950f5b94b08a3feaa8101c6e6194c16b257cc55f56e510c726ef4ab1c04aa54f50b1ace3bc5509d07c22e29c2c426d29a2a9c4681cb20eb204f00 WHIRLPOOL 9dbbcd8f164c8d1cf3b57098bfb9294f837415cf80c6eab8f2195e57bdbb24d76ab75f9eb753ea73ce44e0506f5a67f2fae79319713f0ebf2e64d530bc351141
+EBUILD xpad-5.0.0.ebuild 731 SHA256 6efeb3b1a687794d774189e18b12a58086eea971f570364f40c0dac497bd0a23 SHA512 76f173387ac950f5b94b08a3feaa8101c6e6194c16b257cc55f56e510c726ef4ab1c04aa54f50b1ace3bc5509d07c22e29c2c426d29a2a9c4681cb20eb204f00 WHIRLPOOL 9dbbcd8f164c8d1cf3b57098bfb9294f837415cf80c6eab8f2195e57bdbb24d76ab75f9eb753ea73ce44e0506f5a67f2fae79319713f0ebf2e64d530bc351141
+MISC ChangeLog 2836 SHA256 beb73ef2bcbd6682b77bdd30fd2b6f0638f283e7131fea327dccd2bd630c8a3b SHA512 17ff82f6bad1ca759b5d3c9a29f278b642cd3c4b57965bd2a984ee7e44ed8c71e7ed8b25eb452f9f2f9cf2e4d28e4e5736fcce4b0d0afe4624ac7d891eed3320 WHIRLPOOL bfe7c391ed36ff8514c04fcfde056a2882cb8bd374aa0fa042799611466778c3552cd6549ddf1fd72f860a68e5d4470efa6846d3026293ff1a21be5802670992
+MISC ChangeLog-2015 10477 SHA256 5f285b3f118370bf21188b14cb6a35c78b5a93d2790dba5e8f7c373837d8f5ac SHA512 9af26092b9e0292d2b2b4ab49b8df742a77283a149c0ed030457e8ff444b31f4f3f979933e8dec7ca9d1dbe57262a9a99a624759be44490522978c9c456a4315 WHIRLPOOL 508a10fed0e0c764bb9946bfa5934226c3d212d13760cd9d5297924bdea47b058ac0a0dbda0e32d0ecf5ee4cb304b8f14b5e9f6d2771ce4d03e5c3f6f537c19a
+MISC metadata.xml 424 SHA256 075a13ea4ba3202fcfc787c8ee24c4945e615a47dc90fd27ca605037e492ae78 SHA512 b9eab4ffef3b831a8c2fdaac0ffa5d4d32b7083d54746130c4cd0e38556238ae40574d9f759f411ba070ad967675944c090214ee66b9c300b9a459cca6927235 WHIRLPOOL 368eee1527cf01b6dacdb6cfabe7abf8ff4532473d5a0a06cd35049ef32cc972a3a5349e46eb23653b639e78f2d5984333af0e145e05e47d671529898ecd2b97
diff --git a/x11-misc/xpad/metadata.xml b/x11-misc/xpad/metadata.xml
new file mode 100644
index 000000000000..5ff781a3a18f
--- /dev/null
+++ b/x11-misc/xpad/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="launchpad">xpad</remote-id>
+ <changelog>https://launchpadlibrarian.net/253130440/ChangeLog</changelog>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/xpad/xpad-4.2.ebuild b/x11-misc/xpad/xpad-4.2.ebuild
new file mode 100644
index 000000000000..af7665499c64
--- /dev/null
+++ b/x11-misc/xpad/xpad-4.2.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+DESCRIPTION="a sticky note application for jotting down things to remember"
+HOMEPAGE="https://launchpad.net/xpad"
+SRC_URI="https://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.bz2"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="amd64 ~arm ppc x86 ~x86-fbsd"
+IUSE=""
+
+RDEPEND="
+ >=x11-libs/gtk+-2.12:2
+ >=dev-libs/glib-2.38:2
+ x11-libs/libICE
+ x11-libs/libSM
+ x11-libs/pango
+"
+DEPEND="
+ ${RDEPEND}
+ >=dev-util/intltool-0.31
+ virtual/pkgconfig
+ sys-devel/gettext
+"
diff --git a/x11-misc/xpad/xpad-4.9.0.ebuild b/x11-misc/xpad/xpad-4.9.0.ebuild
new file mode 100644
index 000000000000..6cccd2701639
--- /dev/null
+++ b/x11-misc/xpad/xpad-4.9.0.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit autotools
+
+DESCRIPTION="a sticky note application for jotting down things to remember"
+HOMEPAGE="https://launchpad.net/xpad"
+SRC_URI="https://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.bz2"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc ~x86 ~x86-fbsd"
+
+RDEPEND="
+ dev-libs/glib:2
+ app-accessibility/at-spi2-atk
+ dev-libs/atk
+ sys-devel/gettext
+ x11-libs/gdk-pixbuf
+ x11-libs/gtk+:3[X]
+ x11-libs/gtksourceview:3.0
+ x11-libs/libICE
+ x11-libs/libSM
+ x11-libs/pango
+"
+DEPEND="
+ ${RDEPEND}
+ >=dev-util/intltool-0.31
+ sys-devel/gettext
+ virtual/pkgconfig
+"
+
+src_prepare() {
+ default
+
+ eautoreconf
+}
diff --git a/x11-misc/xpad/xpad-5.0.0.ebuild b/x11-misc/xpad/xpad-5.0.0.ebuild
new file mode 100644
index 000000000000..6cccd2701639
--- /dev/null
+++ b/x11-misc/xpad/xpad-5.0.0.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit autotools
+
+DESCRIPTION="a sticky note application for jotting down things to remember"
+HOMEPAGE="https://launchpad.net/xpad"
+SRC_URI="https://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.bz2"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc ~x86 ~x86-fbsd"
+
+RDEPEND="
+ dev-libs/glib:2
+ app-accessibility/at-spi2-atk
+ dev-libs/atk
+ sys-devel/gettext
+ x11-libs/gdk-pixbuf
+ x11-libs/gtk+:3[X]
+ x11-libs/gtksourceview:3.0
+ x11-libs/libICE
+ x11-libs/libSM
+ x11-libs/pango
+"
+DEPEND="
+ ${RDEPEND}
+ >=dev-util/intltool-0.31
+ sys-devel/gettext
+ virtual/pkgconfig
+"
+
+src_prepare() {
+ default
+
+ eautoreconf
+}
diff --git a/x11-misc/xplanet/Manifest b/x11-misc/xplanet/Manifest
new file mode 100644
index 000000000000..341db3c3304a
--- /dev/null
+++ b/x11-misc/xplanet/Manifest
@@ -0,0 +1,7 @@
+AUX xplanet-1.3.1-giflib.patch 1232 SHA256 6f6a315935876ddf298fdc6c2c1874cd591c20abb334395a4688b63efe969499 SHA512 56547a679361b7adf47191dfa5c011f93f1de288857f93a981c1bcdab6b4bc78c81b568748586f41fe0c49b634e5d7373875c579c0dfc05a5e256200889d7384 WHIRLPOOL 6fe2f470fa44a3b1c4029ec25642159a7fe4148195c9b500f663e37c48ba1a3bb4ccc2ecb8a7c812d791d411863cb781d182485290bab2ddf9454259b23e7778
+AUX xplanet-1.3.1-remove-null-comparison.patch 6773 SHA256 e651c7081c43ea48090186580b5a2a5d5039ab3ffbf34f7dd970037a16081454 SHA512 a3ac916070eadd2b0dbd33fbe584f5d5d2f621556389f8d0542d591d5b384eb75bfd9e9bd7411b335bfa1e530f638c1c348063a90ebf5ae62ae65995ccb3949d WHIRLPOOL dd79e90c900bc2df4e1c4e7a8b3c963d2c76aec32c2ae38be984d3ca06b5e1432bbce0697fd9fb755168c9eb8fa0b69e935787b31038544e5b9b02d4bb5f998f
+DIST xplanet-1.3.1.tar.gz 1236035 SHA256 4380d570a8bf27b81fb629c97a636c1673407f4ac4989ce931720078a90aece7 SHA512 06ce3187fbd364f4ccee768fceca559690c905c870e2fb25ca32453ce09c564ba3455ec539f1e3da177de23a0611f767b375efe2e10b601d09313c0d068e35e0 WHIRLPOOL 4c40fac4056654aa195f9955053d2dfba6791e8e2021673f05c334163ee5b1d842e6101447228844573ed41a88f37c0fd96df633716bddeb55c8940941621ad9
+EBUILD xplanet-1.3.1-r1.ebuild 1654 SHA256 846b05079b26c3b6e77e020cad8f905a65158a6458ee047d906e71690f71c78f SHA512 545671717ecd4f1ae42b85989f24d6738ca455c2df81e58c933b98d8d3abd7830c9ec3cf8ae4b2148b981c8b80b77c906255acbf89e4e5e3da86c008c54ece65 WHIRLPOOL 9fd07cbefe1453651586b426925ad42de5cfae513679914c4bdd1a6fd78bf13cdfb692f42073743bad13d984f99d1679624ec48c0e6b49dd07fa90000a523a29
+MISC ChangeLog 3423 SHA256 a17a6f7495e9a8f28fa8319ebe50c24261a574427c43856e67d3d5ec6a3bbc7a SHA512 1c131ba8d1d05a0c905c1dbe04f6ff88b011fffa2154ddf2b2328b8cb724f47972782e85e14a22487ac9af23a6ce2d41a8dc1c52ab43856e00eced111d60b713 WHIRLPOOL d6208e9fba91c0da087a67bda3666053b7f8593e5079167141fe02dd726f45577b7394221b22880bfe2ba2efb9ede4d24e38170b6e3d6b6eeccd78120bda52f3
+MISC ChangeLog-2015 10628 SHA256 cf820defe0c3d8a97de73785163a4eef8fa1728c57fa06ccfb6ddbac1daa2b9d SHA512 1c26cc4cdad60ffa3980f7087bbddcd17da3a274a9ce5e55d3ca0bca853fe32ff326e48d7c1e51bb479fd569d1dd7bde4003952fd346dcb0a13908809e46c572 WHIRLPOOL 7090ab0d164fb8e1d07063466bcd7d12dc51abad17525d8d858e542f1978e4e4f3553bd6b2e4c018772617d3586a9ad76f74103e1acde4226929056ee66ae036
+MISC metadata.xml 353 SHA256 206807d432fd618d0b0b305fc86cd2f16dbe37d1fc81ab13e31efeea6cb03736 SHA512 ec6c412d7af2d2e5541e26d007fd5244c07aae866242eed9c57e6bdd3a05c05958b69989b14f1d8d9054a70abac7344872265eb1bf96e32310f1a444a7463e6e WHIRLPOOL c66b40aa3aad9727a8ca5dfd33665137b0235077b4c9a61812295dfe9dbbfa317f449d987221dfea4129627c1bc851c36f4ee9feedb6cb78692551010c67c643
diff --git a/x11-misc/xplanet/files/xplanet-1.3.1-giflib.patch b/x11-misc/xplanet/files/xplanet-1.3.1-giflib.patch
new file mode 100644
index 000000000000..b4d6fb9ddb3c
--- /dev/null
+++ b/x11-misc/xplanet/files/xplanet-1.3.1-giflib.patch
@@ -0,0 +1,55 @@
+--- a/src/libimage/gif.c
++++ b/src/libimage/gif.c
+@@ -20,6 +20,7 @@
+
+ #include <stdio.h>
+ #include <stdlib.h>
++#include <stdbool.h>
+ #include <string.h>
+
+ #include <gif_lib.h>
+@@ -179,7 +180,11 @@
+ }
+ }
+
++#if GIFLIB_MAJOR >= 5
++ if (DGifCloseFile(GifFile, NULL) == GIF_ERROR) {
++#else
+ if (DGifCloseFile(GifFile) == GIF_ERROR) {
++#endif
+ return(0);
+ }
+
+@@ -240,7 +245,7 @@
+ * Also non of the parameter are allocated by this routine.
+ * This function returns GIF_OK if succesfull, GIF_ERROR otherwise.
+ ******************************************************************************/
+-static int
++int
+ QuantizeBuffer(unsigned int Width,
+ unsigned int Height,
+ int *ColorMapSize,
+@@ -493,7 +498,11 @@
+ static void QuitGifError(GifFileType *GifFile)
+ {
+ fprintf(stderr, "Error writing GIF file\n");
++#if GIFLIB_MAJOR >= 5
++ if (GifFile != NULL) EGifCloseFile(GifFile, NULL);
++#else
+ if (GifFile != NULL) EGifCloseFile(GifFile);
++#endif
+ }
+
+ int
+@@ -589,7 +598,11 @@
+ Ptr += width;
+ }
+
++#if GIFLIB_MAJOR >= 5
++ if (EGifCloseFile(GifFile, NULL) == GIF_ERROR)
++#else
+ if (EGifCloseFile(GifFile) == GIF_ERROR)
++#endif
+
+ {
+ QuitGifError(GifFile);
diff --git a/x11-misc/xplanet/files/xplanet-1.3.1-remove-null-comparison.patch b/x11-misc/xplanet/files/xplanet-1.3.1-remove-null-comparison.patch
new file mode 100644
index 000000000000..3ead8872e0cb
--- /dev/null
+++ b/x11-misc/xplanet/files/xplanet-1.3.1-remove-null-comparison.patch
@@ -0,0 +1,157 @@
+Index: src/libannotate/addArcs.cpp
+===================================================================
+diff --git a/src/libannotate/addArcs.cpp b/src/libannotate/addArcs.cpp
+--- a/src/libannotate/addArcs.cpp (revision 206)
++++ b/src/libannotate/addArcs.cpp (revision 207)
+@@ -258,7 +258,7 @@
+ {
+ ifstream inFile(arcFile.c_str());
+ char *line = new char[MAX_LINE_LENGTH];
+- while (inFile.getline (line, MAX_LINE_LENGTH, '\n') != NULL)
++ while (inFile.getline (line, MAX_LINE_LENGTH, '\n'))
+ readArcFile(line, planet, view, projection,
+ planetProperties, annotationMap);
+
+@@ -292,7 +292,7 @@
+ {
+ ifstream inFile(arcFile.c_str());
+ char *line = new char[256];
+- while (inFile.getline (line, 256, '\n') != NULL)
++ while (inFile.getline (line, 256, '\n'))
+ readArcFile(line, NULL, view, NULL, NULL, annotationMap);
+
+ inFile.close();
+Index: src/libannotate/addMarkers.cpp
+===================================================================
+diff --git a/src/libannotate/addMarkers.cpp b/src/libannotate/addMarkers.cpp
+--- a/src/libannotate/addMarkers.cpp (revision 206)
++++ b/src/libannotate/addMarkers.cpp (revision 207)
+@@ -429,7 +429,7 @@
+ {
+ ifstream inFile(markerFile.c_str());
+ char *line = new char[MAX_LINE_LENGTH];
+- while (inFile.getline (line, MAX_LINE_LENGTH, '\n') != NULL)
++ while (inFile.getline (line, MAX_LINE_LENGTH, '\n'))
+ {
+ unsigned char color[3];
+ memcpy(color, planetProperties->MarkerColor(), 3);
+@@ -475,7 +475,7 @@
+ {
+ ifstream inFile(markerFile.c_str());
+ char *line = new char[MAX_LINE_LENGTH];
+- while (inFile.getline (line, MAX_LINE_LENGTH, '\n') != NULL)
++ while (inFile.getline (line, MAX_LINE_LENGTH, '\n'))
+ {
+ unsigned char color[3];
+ memcpy(color, options->Color(), 3);
+Index: src/libannotate/addSatellites.cpp
+===================================================================
+diff --git a/src/libannotate/addSatellites.cpp b/src/libannotate/addSatellites.cpp
+--- a/src/libannotate/addSatellites.cpp (revision 206)
++++ b/src/libannotate/addSatellites.cpp (revision 207)
+@@ -488,10 +488,10 @@
+ {
+ ifstream inFile(tleFile.c_str());
+ char lines[3][80];
+- while (inFile.getline(lines[0], 80) != NULL)
++ while (inFile.getline(lines[0], 80))
+ {
+- if ((inFile.getline(lines[1], 80) == NULL)
+- || (inFile.getline(lines[2], 80) == NULL))
++ if ((!inFile.getline(lines[1], 80))
++ || (!inFile.getline(lines[2], 80)))
+ {
+ ostringstream errStr;
+ errStr << "Malformed TLE file (" << tleFile << ")?\n";
+@@ -542,7 +542,7 @@
+ {
+ ifstream inFile(satFile.c_str());
+ char *line = new char[MAX_LINE_LENGTH];
+- while (inFile.getline (line, MAX_LINE_LENGTH, '\n') != NULL)
++ while (inFile.getline (line, MAX_LINE_LENGTH, '\n'))
+ readSatelliteFile(line, planet, view, projection,
+ planetProperties, annotationMap);
+
+Index: src/libannotate/addSpiceObjects.cpp
+===================================================================
+diff --git a/src/libannotate/addSpiceObjects.cpp b/src/libannotate/addSpiceObjects.cpp
+--- a/src/libannotate/addSpiceObjects.cpp (revision 206)
++++ b/src/libannotate/addSpiceObjects.cpp (revision 207)
+@@ -524,7 +524,7 @@
+ {
+ ifstream inFile(kernelFile.c_str());
+ char *line = new char[MAX_LINE_LENGTH];
+- while (inFile.getline(line, MAX_LINE_LENGTH, '\n') != NULL)
++ while (inFile.getline(line, MAX_LINE_LENGTH, '\n'))
+ {
+ int ii = 0;
+ while (isDelimiter(line[ii]))
+@@ -576,7 +576,7 @@
+ {
+ ifstream inFile(spiceFile.c_str());
+ char *line = new char[MAX_LINE_LENGTH];
+- while (inFile.getline(line, MAX_LINE_LENGTH, '\n') != NULL)
++ while (inFile.getline(line, MAX_LINE_LENGTH, '\n'))
+ readSpiceFile(line, planetsFromSunMap, view, projection,
+ annotationMap);
+ inFile.close();
+Index: src/libmultiple/RayleighScattering.cpp
+===================================================================
+diff --git a/src/libmultiple/RayleighScattering.cpp b/src/libmultiple/RayleighScattering.cpp
+--- a/src/libmultiple/RayleighScattering.cpp (revision 206)
++++ b/src/libmultiple/RayleighScattering.cpp (revision 207)
+@@ -369,7 +369,7 @@
+
+ diskTemplate_.clear();
+ limbTemplate_.clear();
+- while (inFile.getline(line, MAX_LINE_LENGTH, '\n') != NULL)
++ while (inFile.getline(line, MAX_LINE_LENGTH, '\n'))
+ {
+ int i = 0;
+ while (isDelimiter(line[i]))
+@@ -439,7 +439,7 @@
+ values.clear();
+
+ char line[MAX_LINE_LENGTH];
+- while (inFile.getline(line, MAX_LINE_LENGTH, '\n') != NULL)
++ while (inFile.getline(line, MAX_LINE_LENGTH, '\n'))
+ {
+ int i = 0;
+ while (isDelimiter(line[i]))
+@@ -470,7 +470,7 @@
+ double &value)
+ {
+ char line[MAX_LINE_LENGTH];
+- while (inFile.getline(line, MAX_LINE_LENGTH, '\n') != NULL)
++ while (inFile.getline(line, MAX_LINE_LENGTH, '\n'))
+ {
+ int i = 0;
+ while (isDelimiter(line[i]))
+Index: src/libmultiple/drawStars.cpp
+===================================================================
+diff --git a/src/libmultiple/drawStars.cpp b/src/libmultiple/drawStars.cpp
+--- a/src/libmultiple/drawStars.cpp (revision 206)
++++ b/src/libmultiple/drawStars.cpp (revision 207)
+@@ -41,7 +41,7 @@
+ ifstream inFile(starMap.c_str());
+
+ char line[MAX_LINE_LENGTH];
+- while (inFile.getline(line, MAX_LINE_LENGTH, '\n') != NULL)
++ while (inFile.getline(line, MAX_LINE_LENGTH, '\n'))
+ {
+ if (line[0] == '#') continue;
+
+Index: src/readConfig.cpp
+===================================================================
+diff --git a/src/readConfig.cpp b/src/readConfig.cpp
+--- a/src/readConfig.cpp (revision 206)
++++ b/src/readConfig.cpp (revision 207)
+@@ -550,7 +550,7 @@
+
+ ifstream inFile(configFile.c_str());
+ char *line = new char[256];
+- while (inFile.getline(line, 256, '\n') != NULL)
++ while (inFile.getline(line, 256, '\n'))
+ readConfig(line, planetProperties);
+
+ // This condition will only be true if [default] is the only
diff --git a/x11-misc/xplanet/metadata.xml b/x11-misc/xplanet/metadata.xml
new file mode 100644
index 000000000000..6037d71217ba
--- /dev/null
+++ b/x11-misc/xplanet/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">xplanet</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/xplanet/xplanet-1.3.1-r1.ebuild b/x11-misc/xplanet/xplanet-1.3.1-r1.ebuild
new file mode 100644
index 000000000000..c469ef0208a8
--- /dev/null
+++ b/x11-misc/xplanet/xplanet-1.3.1-r1.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit flag-o-matic
+
+DESCRIPTION="Render images of the earth into the X root window"
+HOMEPAGE="http://xplanet.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha amd64 ~hppa ppc ppc64 ~sparc x86"
+IUSE="gif jpeg png tiff truetype X"
+
+RDEPEND="
+ gif? ( media-libs/giflib:= )
+ jpeg? ( virtual/jpeg:0 )
+ png? (
+ media-libs/libpng:0=
+ media-libs/netpbm
+ )
+ tiff? ( media-libs/tiff:0 )
+ truetype? (
+ media-libs/freetype:2
+ x11-libs/pango
+ )
+ X? (
+ x11-libs/libX11
+ x11-libs/libXScrnSaver
+ x11-libs/libXext
+ x11-libs/libXt
+ )
+"
+DEPEND="
+ ${RDEPEND}
+ truetype? ( virtual/pkgconfig )
+ X? (
+ x11-proto/scrnsaverproto
+ x11-proto/xproto
+ )
+"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-giflib.patch
+ "${FILESDIR}"/${P}-remove-null-comparison.patch
+)
+
+src_configure() {
+ # econf says 'checking pnm.h presence... no'
+ use png && append-cppflags -I"${EPREFIX}"/usr/include/netpbm
+
+ local myconf=()
+
+ use X \
+ && myconf+=( --with-x --with-xscreensaver ) \
+ || myconf+=( --with-x=no --with-xscreensaver=no )
+
+ use gif \
+ && myconf+=( --with-gif ) \
+ || myconf+=( --with-gif=no )
+
+ use jpeg \
+ && myconf+=( --with-jpeg ) \
+ || myconf+=( --with-jpeg=no )
+
+ use tiff \
+ && myconf+=( --with-tiff ) \
+ || myconf+=( --with-tiff=no )
+
+ use png \
+ && myconf+=( --with-png --with-pnm ) \
+ || myconf+=( --with-png=no --with-pnm=no )
+
+ use truetype \
+ && myconf+=( --with-freetype --with-pango ) \
+ || myconf+=( --with-freetype=no --with-pango=no )
+
+ econf \
+ --with-cspice=no \
+ "${myconf[@]}"
+}
diff --git a/x11-misc/xplanetFX/Manifest b/x11-misc/xplanetFX/Manifest
new file mode 100644
index 000000000000..211b57f8018a
--- /dev/null
+++ b/x11-misc/xplanetFX/Manifest
@@ -0,0 +1,8 @@
+AUX xplanetFX-2.6.4-gentoo-path.patch 1525 SHA256 8228ff633ea70cb626190051342a5e32fb98a17b39fd01969ac8546fa06d36bf SHA512 73b479936ec210e80c9e15e9a963ab41526b4da879ddc67d4083a710cc5aeb89929d261644131fe3a169aa4d65b297201eb1c08b674219a770cf9c1182b5d143 WHIRLPOOL a40d30c0749f61932b61cdeb1f1060c1f300eb81eacc2bdbf87303865807d723b9d754675998818cd054c26cc937b8447934861058577f31baa706125ba7b50b
+DIST xplanetfx-2.6.12_all.tar.gz 36874773 SHA256 bae39af674fc89b3fbe07ba6271bbf0a1c2ff64bbf63f4b04ff3d6f0bcc4380c SHA512 b2d76f9a8341ab5098a3b09f27f7844673850275f4c577cef344199cdc72f93060eb05786a9111a1fb9f120d747f12cc5793dba6a249141e284a3bff59d4e0fe WHIRLPOOL 7b55425eb7d1f592defd9d47144b7cce6fec682583229e5a4e5e2f407699f17dfc6114763c8df0d5a4bff7e4da034517f02f4e0bfd92201fd4c84597e87f7908
+DIST xplanetfx-2.6.13_all.tar.gz 36874849 SHA256 ab5557555af6b5134b53174023709fff2cd64895f930b474eb695222a23c9feb SHA512 dddc3666dd0f802cafd7b917eb513dd662b94617701622eabaaff18cf9277e3faf206eb602eb2af7c117a212b14e1cdbc4a8c11bded8243571ae4afa86f3fe72 WHIRLPOOL 6e734bdcaa6be65d29e31f5659950bde310e564e19ab34a06140f002e09cf8ac75594017f3e844a7edd881a05d25cd34883f53ac8515ae5853361938b580a1b5
+EBUILD xplanetFX-2.6.12.ebuild 1563 SHA256 9b4ccf44a5c3f9bbd7939070fee407969008485d75d8ffea62e6f88a4ac545ed SHA512 74c7676caf4c877e1bf3225210e6498ae17cfd65821ab5efd4c385ca6ee9e0ec55b6d140544113270fbff9a875e5a4df0e393d9a423ec7be79fc198dd0b82237 WHIRLPOOL bd1b44fd8ab428f0fe934710eae4e8daa6b3fa10d10a907e6637e1b37ac9d9dfab7406170584abd5f8cb5205ceba01d46ba9c905eef4e7b3cdf95db954561043
+EBUILD xplanetFX-2.6.13.ebuild 1563 SHA256 9b4ccf44a5c3f9bbd7939070fee407969008485d75d8ffea62e6f88a4ac545ed SHA512 74c7676caf4c877e1bf3225210e6498ae17cfd65821ab5efd4c385ca6ee9e0ec55b6d140544113270fbff9a875e5a4df0e393d9a423ec7be79fc198dd0b82237 WHIRLPOOL bd1b44fd8ab428f0fe934710eae4e8daa6b3fa10d10a907e6637e1b37ac9d9dfab7406170584abd5f8cb5205ceba01d46ba9c905eef4e7b3cdf95db954561043
+MISC ChangeLog 2968 SHA256 1b9e15f09ad5f5adf2ef0771c7b7dde06eb5dbf58f5f83cd492b667a6c3c6e10 SHA512 55e6c81a6a8703bd29cc80a4d0bf7004fa14415b20a226a116477685154bc7ebb874099fbc6b2e5bb2d0c453d8d335e8baba1721caaea6c2bf38098247389e29 WHIRLPOOL eac700dbcc6a182a7e6c3ee07a670a6a01fe611cc2b4d63d2003be3948ed16afd294c1f330f09da36143be6f1195951b80764a924b56ef17b51177548baeffb8
+MISC ChangeLog-2015 522 SHA256 c05d23b8bc1acbc1c0192fc128c9a093012b201d35f01ac14e852398b7bb0269 SHA512 5b40b334a8d25abb17f17ae0f88dda3f895345a356c8909db04f92962be7f62b865b72787f63e0805b615951da310ebe71c5abd4ad777b8c942b4aa334cbec1f WHIRLPOOL 36d47de2d3690ac5655f71df68e66c8e24554f8e098fe0427ba044821a159646a0c593bd9821dbc83b51238e34eff6a0e76ae5d9ba7b53912b5b1c0f013c012f
+MISC metadata.xml 1176 SHA256 f87859f07fb1d070048d41c7f69142ba08c74afa52b83c97b4b6d705cd8a275b SHA512 1e81e9920d7407a9cd88b83599282ab1f8079878fdee6739c5a763b0d6781c9dc2dd91c49e7811cd53b32ff6b50db3a77a4ab3d58e296c4f51b478141e61f771 WHIRLPOOL 21c8c2118143533b652e7acc032d195711c98f165f1a218fc13bc4bd2c2b89039b29f7ec3fedd8695afc2398703e5aa6c81c54cb7f26bed525c73e7e68695c8c
diff --git a/x11-misc/xplanetFX/files/xplanetFX-2.6.4-gentoo-path.patch b/x11-misc/xplanetFX/files/xplanetFX-2.6.4-gentoo-path.patch
new file mode 100644
index 000000000000..0777e076c831
--- /dev/null
+++ b/x11-misc/xplanetFX/files/xplanetFX-2.6.4-gentoo-path.patch
@@ -0,0 +1,42 @@
+diff -Naur usr.orig/bin/xplanetFX usr/bin/xplanetFX
+--- usr.orig/bin/xplanetFX 2015-03-05 19:58:41.000000000 +0100
++++ usr/bin/xplanetFX 2015-03-16 14:28:28.235256123 +0100
+@@ -115,7 +115,7 @@
+ WGETPROXY="-e use_proxy=on -e http_proxy="$PROXY
+ fi
+
+-if which gsed; then
++if which gsed > /dev/null 2>&1; then
+ SEDEXE='gsed'
+ else
+ SEDEXE='sed'
+diff -Naur usr.orig/share/xplanetFX/xplanetFX_gtk usr/share/xplanetFX/xplanetFX_gtk
+--- usr.orig/share/xplanetFX/xplanetFX_gtk 2015-02-17 16:55:12.000000000 +0100
++++ usr/share/xplanetFX/xplanetFX_gtk 2015-03-16 14:28:53.147271051 +0100
+@@ -44,10 +44,7 @@
+
+ gobject.threads_init()
+
+-basedir = os.path.dirname(os.path.realpath(__file__))
+-if not os.path.exists(os.path.join(basedir, "xplanetFX_gtk.py")):
+- if os.path.exists(os.path.join(os.getcwd(), "xplanetFX_gtk.py")):
+- basedir = os.getcwd()
++basedir = "/usr/share/xplanetFX"
+ sys.path.insert(0, basedir)
+
+ class GUI():
+diff -Naur usr.orig/share/xplanetFX/xplanetFX_tray usr/share/xplanetFX/xplanetFX_tray
+--- usr.orig/share/xplanetFX/xplanetFX_tray 2014-05-08 01:46:44.000000000 +0200
++++ usr/share/xplanetFX/xplanetFX_tray 2015-03-16 14:29:20.634287466 +0100
+@@ -27,10 +27,7 @@
+
+ gobject.threads_init()
+
+-basedir = os.path.dirname(os.path.realpath(__file__))
+-if not os.path.exists(os.path.join(basedir, "xplanetFX_gtk.py")):
+- if os.path.exists(os.path.join(os.getcwd(), "xplanetFX_gtk.py")):
+- basedir = os.getcwd()
++basedir = "/usr/share/xplanetFX"
+ sys.path.insert(0, basedir)
+
+
diff --git a/x11-misc/xplanetFX/metadata.xml b/x11-misc/xplanetFX/metadata.xml
new file mode 100644
index 000000000000..0d2445092a85
--- /dev/null
+++ b/x11-misc/xplanetFX/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>voyageur@gentoo.org</email>
+ <name>Bernard Cafarelli</name>
+ </maintainer>
+ <longdescription>Create high quality renderings of mother earth with realistic clouding and lighting effects as your desktop wallpaper with “realtime†capabilities.
+
+xplanet (by Hari Nair) is a great piece of software capable of creating renderings inside our solar system. To raise the quality of it’s output adding some graphical effects, it was a great candidate to link with imagemagick.
+
+The result is xplanetFX, a user-friendly piece of software to configure, run or daemonize xplanet with h/q capabilities to create wallpapers of mother earth on your desktop.
+
+More realistic maps and backgrounds and a sophisticated graphics handling produce nearly photo realistic images of our mothership. It’s GTK GUI makes it really easy to use and provides a lot of settings and a user friendly access to xplanetFX. And even the templating capabilities give xplanetFX an individual and stylish touch.</longdescription>
+</pkgmetadata>
diff --git a/x11-misc/xplanetFX/xplanetFX-2.6.12.ebuild b/x11-misc/xplanetFX/xplanetFX-2.6.12.ebuild
new file mode 100644
index 000000000000..ef8d834ced6e
--- /dev/null
+++ b/x11-misc/xplanetFX/xplanetFX-2.6.12.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit eutils python-r1
+
+DESCRIPTION="GUI to configure, run or daemonize xplanet with HQ capabilities"
+HOMEPAGE="http://mein-neues-blog.de/xplanetFX/"
+SRC_URI="http://repository.mein-neues-blog.de:9000/archive/${P/FX/fx}_all.tar.gz"
+
+LICENSE="WTFPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="libnotify"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DEPEND="${PYTHON_DEPS}"
+RDEPEND="${DEPEND}
+ dev-python/pygtk[${PYTHON_USEDEP}]
+ media-gfx/imagemagick
+ sys-devel/bc
+ x11-misc/xplanet
+ libnotify? ( x11-libs/libnotify )"
+#python
+
+S="${WORKDIR}/usr"
+
+src_prepare() {
+ default
+
+ eapply "${FILESDIR}"/${PN}-2.6.4-gentoo-path.patch
+ sed -e "s/Application;//" -i share/applications/*desktop || die
+
+ # These will be installed separately
+ mkdir gentoo || die
+ mv share/${PN}/{autostart,flipview.py,stars/catalog.py,xplanetFX_gtk,xplanetFX_tray} \
+ gentoo || die
+}
+
+src_install() {
+ dobin bin/${PN}
+ insinto /usr/share/applications
+ doins share/applications/${PN}.desktop
+ insinto /usr/share/pixmaps
+ doins share/pixmaps/*
+ insinto /usr/share/${PN}
+ doins -r share/${PN}/*
+
+ exeinto /usr/share/${PN}
+ doexe gentoo/autostart
+
+ dodoc share/doc/${PN}/{changelog,README}
+
+ python_scriptinto /usr/share/${PN}/stars
+ python_foreach_impl python_doscript gentoo/catalog.py
+ python_scriptinto /usr/share/${PN}
+ python_foreach_impl python_doscript gentoo/{xplanetFX_gtk,xplanetFX_tray}
+ python_foreach_impl python_domodule gentoo/flipview.py
+}
diff --git a/x11-misc/xplanetFX/xplanetFX-2.6.13.ebuild b/x11-misc/xplanetFX/xplanetFX-2.6.13.ebuild
new file mode 100644
index 000000000000..ef8d834ced6e
--- /dev/null
+++ b/x11-misc/xplanetFX/xplanetFX-2.6.13.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit eutils python-r1
+
+DESCRIPTION="GUI to configure, run or daemonize xplanet with HQ capabilities"
+HOMEPAGE="http://mein-neues-blog.de/xplanetFX/"
+SRC_URI="http://repository.mein-neues-blog.de:9000/archive/${P/FX/fx}_all.tar.gz"
+
+LICENSE="WTFPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="libnotify"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DEPEND="${PYTHON_DEPS}"
+RDEPEND="${DEPEND}
+ dev-python/pygtk[${PYTHON_USEDEP}]
+ media-gfx/imagemagick
+ sys-devel/bc
+ x11-misc/xplanet
+ libnotify? ( x11-libs/libnotify )"
+#python
+
+S="${WORKDIR}/usr"
+
+src_prepare() {
+ default
+
+ eapply "${FILESDIR}"/${PN}-2.6.4-gentoo-path.patch
+ sed -e "s/Application;//" -i share/applications/*desktop || die
+
+ # These will be installed separately
+ mkdir gentoo || die
+ mv share/${PN}/{autostart,flipview.py,stars/catalog.py,xplanetFX_gtk,xplanetFX_tray} \
+ gentoo || die
+}
+
+src_install() {
+ dobin bin/${PN}
+ insinto /usr/share/applications
+ doins share/applications/${PN}.desktop
+ insinto /usr/share/pixmaps
+ doins share/pixmaps/*
+ insinto /usr/share/${PN}
+ doins -r share/${PN}/*
+
+ exeinto /usr/share/${PN}
+ doexe gentoo/autostart
+
+ dodoc share/doc/${PN}/{changelog,README}
+
+ python_scriptinto /usr/share/${PN}/stars
+ python_foreach_impl python_doscript gentoo/catalog.py
+ python_scriptinto /usr/share/${PN}
+ python_foreach_impl python_doscript gentoo/{xplanetFX_gtk,xplanetFX_tray}
+ python_foreach_impl python_domodule gentoo/flipview.py
+}
diff --git a/x11-misc/xprintidle/Manifest b/x11-misc/xprintidle/Manifest
new file mode 100644
index 000000000000..ef1d14f11bbb
--- /dev/null
+++ b/x11-misc/xprintidle/Manifest
@@ -0,0 +1,3 @@
+DIST xprintidle-2.0.tar.gz 87308 SHA256 18acf6f247cf217b71f8893db498c8b0497bc73d4ab1c34de6cadc0933cc17aa SHA512 cc2f62b33ef387366246ee9a195be4cde68b2d13a49a4d1299640da2d42f7042152bfdf6932e7904a7f4211b0dc22486bbd62b47fdaf9d5d3db895e296b5f2f9 WHIRLPOOL 08c461c73cc244b595ae4072ef7a4aa9da05dcce0b377f29b6ee07a3cfcb7336f711a418f80feaa12e8bc4f3bad1c152c30a571db6e5d79ccc14dcabca7e9e9b
+EBUILD xprintidle-2.0.ebuild 653 SHA256 22221ff4ded54fa7ba36878ab3a6f1c634dd9773b0c244e058b2d7edb0befdeb SHA512 94c94b601d05b720c99c080074af43276a74415f3ecd670a517298945f96c5efdfa393483028edbb35ef7f4a6fe4a80ccf35b44cdb0466205f1b540c081a343a WHIRLPOOL d0eb5fdd62366a92cb3aa7d79198779c1751e5090c1b05e768ab61bd4eb870fbf0845c6ea08ec2d7a1b0c1f4d80620bf5e6dc84d7cc57631732d233c51b61512
+MISC metadata.xml 304 SHA256 b6abf55431a7a3903429974d003c45b6e1c2f3849d54833eaeb6ddc0bfedd436 SHA512 3f2adb57b1759967aefe91475feac1723efe2e29c86f1111635f9f1c1d909ab518a80e60666cb500247b6a66772067901a3513d1b01a39ad42cbe3044c96e875 WHIRLPOOL 338f43593da953891ecf4174d1c8142b5c95acb4923cd253a4dacbf9e9a70a3f997f64fc4c5e4256fd06765259be8a81d5c8864cf8247721e69842694048b343
diff --git a/x11-misc/xprintidle/metadata.xml b/x11-misc/xprintidle/metadata.xml
new file mode 100644
index 000000000000..3216f3a00a5b
--- /dev/null
+++ b/x11-misc/xprintidle/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>sping@gentoo.org</email>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">lucianposton/xprintidle</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/xprintidle/xprintidle-2.0.ebuild b/x11-misc/xprintidle/xprintidle-2.0.ebuild
new file mode 100644
index 000000000000..83b621d16fed
--- /dev/null
+++ b/x11-misc/xprintidle/xprintidle-2.0.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools
+
+DESCRIPTION="Prints user's X server idle time in milliseconds"
+HOMEPAGE="https://github.com/lucianposton/xprintidle"
+SRC_URI="https://github.com/lucianposton/xprintidle/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+ x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXScrnSaver
+ "
+RDEPEND="${DEPEND}"
+
+DOCS=(
+ AUTHORS
+ ChangeLog
+ NEWS
+ README
+)
+
+src_prepare() {
+ eapply_user
+
+ # Address "configure: WARNING: 'missing' script is too old or missing"
+ eautoreconf
+}
diff --git a/x11-misc/xrestop/Manifest b/x11-misc/xrestop/Manifest
new file mode 100644
index 000000000000..b79868cda42a
--- /dev/null
+++ b/x11-misc/xrestop/Manifest
@@ -0,0 +1,6 @@
+AUX xrestop-0.4-tinfo.patch 291 SHA256 625dc01f2595fb92f7713d0231668c2ea0957298c5bbf642e579aad724d866fc SHA512 21993ada033d4ec744b55faa71afd736a99423f12071a64e1445958de979631ce42a908e14ef194e819de98766c92a2c2470b2c88d172879ec5fc4c20212566f WHIRLPOOL 08b348cbb2d4e5936d309d3e53afa75d852be9fa72f341a998658069ab129230d69e99f1ef66b804393534d088523556db4d5522e7618133abe2c1adec7388f0
+DIST xrestop-0.4.tar.gz 92308 SHA256 67c2fc94a7ecedbaae0d1837e82e93d1d98f4a6d759828860e552119af3ce257 SHA512 eb7bf2f3ab7b73708c96d56fd466cb362d711242dd46992fa3e693af2d26995e9baa91075eb445ef227e1342deec5e0e22b37139e80399e4051c9f5cad8fd9b6 WHIRLPOOL 87f3679b529728d4dc16fb5b93e0ef19908c9304bd540d8bc8b7b813da5d43668878592f056c8f849a21b7b7f6ab0c72503e9b0456fec3a1234894bf302b8c09
+EBUILD xrestop-0.4.ebuild 657 SHA256 7a9c83351734fbefdd936b785f4f7f83a1318bb34f3e15c6535fe7faf1ffbb5f SHA512 f02ec8026181ca1dd6404a45418b6c842269e522e9218719ba0eb6d24be08f0607a6733c098e7c21cbdf968b517ce6c4bf72f7a5b427784b29ef3b614ed58965 WHIRLPOOL 5c0480a9804c4305d2c4ccacd75da688d06b66964ec29c75f0e267cec407c9cbe8822c974601fcdcb5354c5dc08a9bd1afc193f35c392f4ef8ce8fd2c029e8c6
+MISC ChangeLog 3242 SHA256 4e302b07c7e549c8303036c971926f9b530e9d52139b4d41852359c2fc238439 SHA512 cbc6bcf590dd60f910221dd342d263e63203875ab1797faec3c8ef5e0f47f9c296f3df2464cbf39c8453ca8b35868473df7fe08dd6b131634a06dd2617261abd WHIRLPOOL 7e18afee80e00b6b43c32ce4caba3c33c2b50859c76cb32373bf9a307ad49c3ad5efb8cc5f5f72719790d291830ab7f1c6a72ecdc30d341586b8cedf477e2628
+MISC ChangeLog-2015 3493 SHA256 5f74378dd677f84541018e7634e225279074cc1d31cfdddcf8333a2e77bee582 SHA512 6f969c458c71f9b4f4a45ba29fb6e72d0f7a8e1c009a4a7df46b4f4166b8ce000b0696fb6c5f92969f7a7b4af85039cfafc497f103c9a68ea554620c3b6759c7 WHIRLPOOL ba1088ac916c7418f78bd6c21cae10b78b2787d1d319efd904d5b0290a3b8997580c16a8f097657157700b55f49725264cb39371c3e548dbe5734f50cfc6eeac
+MISC metadata.xml 318 SHA256 218a00bda7df7396b1c9db4fea27cc69073dd039cb1db1e55d34cfd004209500 SHA512 7d56445a5c7fffdc1104633cdd30eafa17588079b8a1f4cb226984b1aad4e41fe84320608681143dc01c5f1ac5f104cf0717e8183164031644220f9c61086a3b WHIRLPOOL 15d65bcdc3289c77c194a26721b45e700d54a771e5a63d29a52d431b1ac8922ee7ddd7ca11b10dbbb72ba3fd70daa5fba7dba875de04362ab9c489e70d9fb895
diff --git a/x11-misc/xrestop/files/xrestop-0.4-tinfo.patch b/x11-misc/xrestop/files/xrestop-0.4-tinfo.patch
new file mode 100644
index 000000000000..ef2de121e839
--- /dev/null
+++ b/x11-misc/xrestop/files/xrestop-0.4-tinfo.patch
@@ -0,0 +1,10 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -65,6 +65,7 @@
+
+ # check for ncurses, fall back to curses
+ AC_CHECK_LIB([ncurses], [initscr],,AC_CHECK_LIB([curses], [initscr]))
++AC_SEARCH_LIBS([stdscr], [tinfo])
+
+ if test "x$GCC" = "xyes"; then
+ GCC_WARNINGS="-Wall -fno-strict-aliasing"
diff --git a/x11-misc/xrestop/metadata.xml b/x11-misc/xrestop/metadata.xml
new file mode 100644
index 000000000000..66187a0f4213
--- /dev/null
+++ b/x11-misc/xrestop/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/x11-misc/xrestop/xrestop-0.4.ebuild b/x11-misc/xrestop/xrestop-0.4.ebuild
new file mode 100644
index 000000000000..be03d09d0d16
--- /dev/null
+++ b/x11-misc/xrestop/xrestop-0.4.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit autotools eutils
+
+DESCRIPTION="'Top' like statistics of X11 client's server side resource usage"
+HOMEPAGE="https://www.freedesktop.org/wiki/Software/xrestop"
+SRC_URI="http://projects.o-hand.com/sources/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 hppa ppc sparc x86 ~x86-fbsd"
+
+RDEPEND="
+ x11-libs/libX11
+ x11-libs/libXres
+ x11-libs/libXt
+"
+DEPEND="
+ ${RDEPEND}
+ x11-proto/xproto
+ virtual/pkgconfig
+"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-tinfo.patch
+ eautoreconf
+}
+
+DOCS=( AUTHORS ChangeLog NEWS README )
diff --git a/x11-misc/xrootconsole/Manifest b/x11-misc/xrootconsole/Manifest
new file mode 100644
index 000000000000..2bacd28ad93a
--- /dev/null
+++ b/x11-misc/xrootconsole/Manifest
@@ -0,0 +1,8 @@
+AUX xrootconsole-0.6.makefile.patch 915 SHA256 9c676b1fdf9857848fd0a329b5b92868d6de387ce03038e0afd5555c088a022b SHA512 766577d406d0f0442910edd701456958d3d5a2dd3aea5324f9bf3901e2dbc0a7376ceeb39990248bc8a66342b1cdc5ce3805011c918dac84e7605ba022f73ef5 WHIRLPOOL 0593f8229da7da8221fe38766bd33096f9ddb1cab6387835ec41dfcd565cd54a04500af5947b7b268da80bdf6278d60a3aaaece08a0aed56b0294b6431b8a3af
+AUX xrootconsole-0.6.manpage.patch 1038 SHA256 72961efeeda65fbc8aa00c4ff0beeef2b85dd1ccadf1ea298592ce52ae2173bb SHA512 88b8f68892646f3ca375ee0166336bb3972c5addbe1e515bdd9d7c4fc47517472051d59ac81fb0ec95a8852ab385e0544ec54fe0f9eefe39946dcbe1c222a33f WHIRLPOOL 56f41894421189daf19bca7ff2ee27eac2ce5fcbc14288fc19781a129f50b85eb371126fa0435adff17196474ec460f40459fc8f1b4cb414a114328d87decb14
+AUX xrootconsole-0.6.noversion.patch 1780 SHA256 572777af4fb493d99498b49bba99f76a59e05e1b34dca8feff568a6b5de30c63 SHA512 d75228770d31deb969e1f05f99eb0df2839564d9f9db7d5cb9efb00737e1df5632e14c0d5071ef0a5ff57054e62e1c112bd27074b60ac47220ec50f02a170c45 WHIRLPOOL 040584c0e2eab7adbd576dd083eb22513923afdcf1ed528b4b86cdd30ff74e6e7336eb235f057a25b4ee35df3c82ac806f2d8a9a9a07829ffc884849f15d2225
+DIST xrootconsole-0.6.tar.gz 15951 SHA256 8306de6f4d3f39677334ee65214e46729cf2dd89aeff1705df3c499738a4076d SHA512 9e773eac96f9bb0103880cce8a3bc24211c50b369c4c389bd020c774a4f643947b634ebc5e7b266b28f75f57887d8edc72d8d582e8535c7320f56292194ed7f9 WHIRLPOOL 05d8e39110ca8ad0ac28c23c6c743748751621c65df507a2f7ce0571320c1c36f429a39e793515a4a4c4cc4a6dc5e21b7f95817da46d4ff64bece5f131d0e63f
+EBUILD xrootconsole-0.6-r1.ebuild 769 SHA256 d98206eac52569ce31d2c0bf2f1a1726bb822b94b7ee4492db6d6130be23ee78 SHA512 19fa76dbe0bd938a83745462e1e918ba6b72d21bfb09bc1ec35f57d12d640f48e1a4bd0ea02d10d75c77fd6773c031896bd16560b0a7a0bbaa0703393765266e WHIRLPOOL bc2f61e15bfe3a501b700c69e8340b181abe7751d0e81e20560685e61434ccd785d3d2405672610c8797774b64010fade71274d1763e6a5080922cb44c475f46
+MISC ChangeLog 2724 SHA256 e7f2fd4c589e1c628ca96a378526a8c59bc2f707298261346979decd75fd632c SHA512 60100e59b2eaca4398b8e64cfe28810fb852508204f0c459adf96c67e401160a00883f0036fb354bdea4ed0222d41675eed2756d454c87531e270ec345c2b06d WHIRLPOOL dc4eda1fbc03ba2b32eb0bc87fd61d34200df59463cec923565fad828f473691712cd77587da6c9351fd6cd064682e1433018fa09fbf3f78ee2fd69c4dcc794c
+MISC ChangeLog-2015 3496 SHA256 134e4b39794530536f619c3f481cea2da570c7ea28445ac387b99b688f4f185b SHA512 e64548d157163b1dc319ffad0d259f50ad920b57733417034dd7cfc7c27bb98e9f6a64ccb442b20e99a536c4b8ecbcb61ca8649733d21ab4c92979af9fcc7b18 WHIRLPOOL a4caeb78fc16a014bb4e79c8603ec1c55c87697753984e9ab0964a2ddf8dbcc15292208b083024cadd81eb0379dc0c874c34f8af917318806492c59f96c16ad5
+MISC metadata.xml 358 SHA256 f666173d4e11e7f7c36de4edd5a9f79ae9f5b6ee05cb6af2b6ea11faf816277a SHA512 9e5d37dff356a43145f02067c1e587bdd55bd02573cfab81205ffff49ccc3c32c0a969ecdf7a356eebbb91008291a06c4935295005d376af08c4a6669db74400 WHIRLPOOL c01261069bf73695f2819413f8f9d3fadf399307734e5b6419390b9e8db0d66736b54d552acbd61bd1f476ca0b05a292673b9e3734252c66a73ab7c7a48cdc2d
diff --git a/x11-misc/xrootconsole/files/xrootconsole-0.6.makefile.patch b/x11-misc/xrootconsole/files/xrootconsole-0.6.makefile.patch
new file mode 100644
index 000000000000..4b3aee406733
--- /dev/null
+++ b/x11-misc/xrootconsole/files/xrootconsole-0.6.makefile.patch
@@ -0,0 +1,36 @@
+--- a/Makefile.org 2004-02-20 22:53:28.000000000 +0100
++++ b/Makefile 2010-02-08 12:01:11.000000000 +0100
+@@ -43,20 +43,16 @@
+ else echo Bleeding Edge Version; \
+ fi;)
+
+-CC = gcc
+-CPPFLAGS =
+-
+ # for production
+-CFLAGS = -O2 -DNDEBUG -Wall "-DXROOTCONSOLE_VERSION=\"$(VERSION)\"" \
+- -I /usr/X11R6/include
+-LDFLAGS = -s
++CFLAGS += -DNDEBUG -Wall "-DXROOTCONSOLE_VERSION=\"$(VERSION)\"" \
++ $(shell pkg-config --cflags x11)
+
+ # for testing
+ #CFLAGS = -g -Wall "-DXROOTCONSOLE_VERSION=\"$(VERSION) (debug build)\"" \
+ -I /usr/X11R6/include
+ #LDFLAGS =
+
+-LIBS = -L/usr/X11R6/lib -lX11 -lutil
++LIBS = $(shell pkg-config --libs x11) -lutil
+
+ OBJS = main.o util.o
+
+@@ -76,5 +72,7 @@
+ rm -f $(EXEC) *.o core *~
+
+ install: $(EXEC)
+- cp $(EXEC) $(BINDIR)
+- cp $(MANFILE) $(MANDIR)
++ install -d $(BINDIR)
++ install -d $(MANDIR)
++ install $(EXEC) $(BINDIR)
++ install $(MANFILE) $(MANDIR)
diff --git a/x11-misc/xrootconsole/files/xrootconsole-0.6.manpage.patch b/x11-misc/xrootconsole/files/xrootconsole-0.6.manpage.patch
new file mode 100644
index 000000000000..8d85400fcd05
--- /dev/null
+++ b/x11-misc/xrootconsole/files/xrootconsole-0.6.manpage.patch
@@ -0,0 +1,22 @@
+--- a/xrootconsole.1.orig 2005-03-06 16:59:05.837673328 +0900
++++ b/xrootconsole.1 2005-03-06 17:04:36.493406016 +0900
+@@ -38,6 +38,9 @@
+ .Ar number
+ columns wide. Text is written vertically down each column in the order in
+ which text is received from the input file. The default is 1.
++.It Fl -solid
++This option makes the background a solid color. The default is to use a
++shaded/transparent background.
+ .It Fl -topdown
+ Forces xrootconsole to display new lines from its input at the top of the
+ screen, scrolling previous lines down. Default behavior is to insert new
+@@ -45,6 +48,9 @@
+ .It Fl -wrap
+ Rather than truncating long lines, this option specifies that xrootconsole
+ should wrap excess text to the following line or lines, as necessary.
++.It Fl -noversion
++Tells xrootconsole not to display its version as the first line of output in
++the root window. Default behavior is to include version information.
+ .It Fl geometry Ar geometry
+ This option specifies the preferred size and position of the window; see
+ .Xr X 1 .
diff --git a/x11-misc/xrootconsole/files/xrootconsole-0.6.noversion.patch b/x11-misc/xrootconsole/files/xrootconsole-0.6.noversion.patch
new file mode 100644
index 000000000000..50587f7437cb
--- /dev/null
+++ b/x11-misc/xrootconsole/files/xrootconsole-0.6.noversion.patch
@@ -0,0 +1,52 @@
+--- a/main.c.orig 2004-02-21 07:31:53.000000000 +0900
++++ b/main.c 2005-03-06 16:34:27.949346504 +0900
+@@ -68,6 +68,7 @@
+ " --solid make background a solid color, not shaded-transparent\n" \
+ " --topdown insert lines at the top and scroll the rest down\n" \
+ " --wrap wrap long lines, instead of cutting them off\n" \
++" --noversion do not display xrootwindow version in output\n" \
+ " -h or --help a familiar-looking help screen\n" \
+ " -v or --version displays the version number\n" \
+ " [console] filename to read (defaults to standard input)\n" \
+@@ -102,6 +103,7 @@
+ int wrap;
+ int topdown;
+ int solid;
++ int show_version;
+ } InitOptions;
+
+ typedef struct {
+@@ -219,6 +221,7 @@
+ io->wrap = DEFAULT_WRAP;
+ io->topdown = DEFAULT_TOPDOWN;
+ io->solid = DEFAULT_SOLID;
++ io->show_version = 1;
+
+ /* Process command-line arguments */
+ while (*++argv != NULL) {
+@@ -236,6 +239,8 @@
+ io->bw = atoi(*++argv);
+ else if (!strcmp(*argv, "-columns") || !strcmp(*argv, "-c"))
+ io->tc = atoi(*++argv);
++ else if (!strcmp(*argv, "--noversion"))
++ io->show_version = 0;
+ else if (!strcmp(*argv, "--solid"))
+ io->solid = True;
+ else if (!strcmp(*argv, "--wrap"))
+@@ -560,10 +565,12 @@
+ init_console(io.console_name, ws.colwidth, ws.nlines, &cs);
+
+ /* Display a message */
+- put("xrootconsole ",&io,&ws,&cs);
+- put(XROOTCONSOLE_VERSION,&io,&ws,&cs);
+- put("\n",&io,&ws,&cs);
+-
++ if (io.show_version) {
++ put("xrootconsole ",&io,&ws,&cs);
++ put(XROOTCONSOLE_VERSION,&io,&ws,&cs);
++ put("\n",&io,&ws,&cs);
++ }
++
+ draw_pixmap(&io,&ws,&cs);
+
+ event_loop(&io,&ws,&cs);
diff --git a/x11-misc/xrootconsole/metadata.xml b/x11-misc/xrootconsole/metadata.xml
new file mode 100644
index 000000000000..ecb4e48af376
--- /dev/null
+++ b/x11-misc/xrootconsole/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">xrootconsole</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/xrootconsole/xrootconsole-0.6-r1.ebuild b/x11-misc/xrootconsole/xrootconsole-0.6-r1.ebuild
new file mode 100644
index 000000000000..111832c3752d
--- /dev/null
+++ b/x11-misc/xrootconsole/xrootconsole-0.6-r1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit toolchain-funcs
+
+DESCRIPTION="A utility that displays its input in a text box on your root window"
+HOMEPAGE="https://sourceforge.net/projects/xrootconsole/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+
+RDEPEND="
+ x11-libs/libX11"
+
+DEPEND="
+ ${RDEPEND}
+ x11-proto/xproto"
+
+PATCHES=(
+ "${FILESDIR}/${P}.noversion.patch"
+ "${FILESDIR}/${P}.makefile.patch"
+ "${FILESDIR}/${P}.manpage.patch"
+)
+
+DOCS=( TODO NEWS CREDITS )
+
+src_compile() {
+ tc-export CC
+ emake
+}
+
+src_install() {
+ dodir /usr/bin
+
+ emake \
+ MANDIR="${D}usr/share/man/man1" \
+ BINDIR="${D}usr/bin/" \
+ install
+
+ einstalldocs
+}
diff --git a/x11-misc/xscreensaver-app/Manifest b/x11-misc/xscreensaver-app/Manifest
new file mode 100644
index 000000000000..a863579d5214
--- /dev/null
+++ b/x11-misc/xscreensaver-app/Manifest
@@ -0,0 +1,6 @@
+AUX xscreensaver-app-2.3-configure.ac 484 SHA256 efb3e11e219ba96e6b4e99fbc3e33f052f69c49e9358c903db30ff21198fd6d9 SHA512 4093fb62a68f0831cf16ed69e2fd64434c0dc5381299d52743702e6992baf016a3161a7d120ddd5b3a7859f30c2e75e0e0b88d725e519b3a69130178ac0eb60d WHIRLPOOL 1c7f68823d2011597eb9148004df66348ef4cc816fd40a92bb8d42b063f0d2f1b83526114cbfafddd8c19e90f3246ec59bb564d9940abf3a3745970a99152696
+DIST XScreenSaver.App-2.3.tar.gz 47566 SHA256 f5ee06a00f57153f1f8e3dac480a6eb3ab93e74406c23ff6bf1dbc67d39138e1 SHA512 eb65cd14f70e6f152fced9f073dbc7737c855f27787472d0e7e9c4caaaf59026c0977c0f27ebd55b13391ab29491f4a96878236b78716b1f15dd9b772091f290 WHIRLPOOL 0dfdee9bcb57ec2deecd8889b1e74c88d95be1aa791fe16398b716b59fefde8f6ab0e6a2a5a4f3518d5881fda9c1ba153086c27dc26b2c5d8e24f1957c9c3fcb
+EBUILD xscreensaver-app-2.3-r3.ebuild 852 SHA256 7ef83a595ebcac5630580d52cb2d747704e7bfaae61a942759cb8fbd9056321b SHA512 22a97e1cafe6f83c81d6b0cb56e4c427f4d13646613c0b304adfc0e575629077677d8e8025ffd163981bdff2c15c27a57dda41c6b944be3aeb6b461d8fec5b64 WHIRLPOOL a43ce18a0c25f35dbc9d99358d61521324a5cf278b25e41bdc0989cf07180832221f3ab5d7b1d450fd2970a15c70701e2e4134d167a9fc968039b2ed55d77552
+MISC ChangeLog 3039 SHA256 e84456f1ef42e8c7896c97e5f98aa583aa4d5cc143ac1ced37ab1ed98f8270ab SHA512 2cf4da7cd0d24e6f8e9f326cd3c2cbb12061c2aa25e382a43ab58b3065c432c4b9651dfe1441fedf25a5982510bf2c502ad547f592417f11984aa7cc6983369d WHIRLPOOL 3ccd806c3acc2cb33a70c51e89c53a92012ec13a46f23b1492678be7c80d20b53c4b1a7eb245e03345f10416397d1efa2737642c6d8a7fe41392326e6b455503
+MISC ChangeLog-2015 2271 SHA256 e8120dfd30239cd36555a6a9eae69acebb7a0da0e2710e51d786be0e321a6005 SHA512 9cddc73c91cc22be7af5d3ddc969b6f747febf556590257b35a2c110341b84bcc7ebb7663170709e863b97b850907cbfc133fc94c225065f23bd454edb01a3a2 WHIRLPOOL b3222033a0e19fa16faf2a85b2d05c6f52ee9f7d6d113e409df19c6729360ee2186b52cf2198fd161a9ec810ad96c1a14a4f6796bc5fb537081d10995fad2b64
+MISC metadata.xml 371 SHA256 cae3c37a38a1231bede3a81ffb98b023cd52416b6697f4b62371e25b616d8899 SHA512 86572bcaec2a3d22274e9b4cbadfbaf731082f5be3499b024338da625d29cae3deac7000f42a8582932f9f6791f1deff9c277d590180e5842934df281c289726 WHIRLPOOL 3cfee25cab3df7cfb109dae7fbd5d6dc87159ba4395904f0d37f3044b222d87010a8986f8c0b957eccbff9939d61d369746c248e6e21dd6fa72320360bd6be9a
diff --git a/x11-misc/xscreensaver-app/files/xscreensaver-app-2.3-configure.ac b/x11-misc/xscreensaver-app/files/xscreensaver-app-2.3-configure.ac
new file mode 100644
index 000000000000..af8b327bb90c
--- /dev/null
+++ b/x11-misc/xscreensaver-app/files/xscreensaver-app-2.3-configure.ac
@@ -0,0 +1,21 @@
+AC_INIT(xscreensaver.app.c)
+
+AM_INIT_AUTOMAKE(XScreenSaver.App,2.3)
+
+AC_PROG_CC
+
+AC_PROG_INSTALL
+
+AC_PATH_X
+
+AC_CHECK_LIB(dockapp, DAProcessActionRects, , exit 1)
+
+PKG_CHECK_MODULES(LIBX11, x11,[LIBS="$LIBS $LIBX11_LIBS";CFLAGS="$CFLAGS $LIBX11_CFLAGS"],[exit 1])
+
+AC_CHECK_HEADER(dockapp.h, have_dockapp_h=yes, [], [])
+
+if test "$have_dockapp_h"x != "yes"x; then
+AC_CHECK_HEADER(libdockapp/dockapp.h, [CFLAGS="$CFLAGS -I/usr/include/libdockapp"], exit 1, [])
+fi
+
+AC_OUTPUT(Makefile)
diff --git a/x11-misc/xscreensaver-app/metadata.xml b/x11-misc/xscreensaver-app/metadata.xml
new file mode 100644
index 000000000000..54cd402f4eec
--- /dev/null
+++ b/x11-misc/xscreensaver-app/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">xscreensaverapp</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/xscreensaver-app/xscreensaver-app-2.3-r3.ebuild b/x11-misc/xscreensaver-app/xscreensaver-app-2.3-r3.ebuild
new file mode 100644
index 000000000000..0cb1d531963e
--- /dev/null
+++ b/x11-misc/xscreensaver-app/xscreensaver-app-2.3-r3.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit autotools toolchain-funcs
+
+MY_PN=${PN/-a/.A}
+MY_PN=${MY_PN/xs/XS}
+MY_PN=${MY_PN/s/S}
+
+DESCRIPTION="XScreenSaver dockapp for the Window Maker window manager"
+HOMEPAGE="http://xscreensaverapp.sourceforge.net/"
+SRC_URI="mirror://sourceforge/project/xscreensaverapp/${MY_PN}/${PV}/${MY_PN}-${PV}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="amd64 x86"
+
+CDEPEND="
+ x11-libs/libdockapp
+ x11-libs/libX11
+"
+DEPEND="
+ ${CDEPEND}
+ x11-proto/xproto
+ virtual/pkgconfig
+"
+RDEPEND="
+ ${CDEPEND}
+ x11-misc/xscreensaver
+"
+
+S=${WORKDIR}/${MY_PN}-${PV}
+
+src_prepare() {
+ rm configure.in || die
+ cp "${FILESDIR}"/${PN}-2.3-configure.ac configure.ac || die
+
+ eautoreconf
+}
+
+src_install() {
+ dobin ${MY_PN}
+ dodoc README NEWS ChangeLog TODO AUTHORS
+}
diff --git a/x11-misc/xscreensaver/Manifest b/x11-misc/xscreensaver/Manifest
new file mode 100644
index 000000000000..844b11e934c5
--- /dev/null
+++ b/x11-misc/xscreensaver/Manifest
@@ -0,0 +1,15 @@
+AUX xscreensaver-5.05-interix.patch 1033 SHA256 3ddb5277929a9a3b65ba4a89cf59d3c2ffd3d51ce43f9ac83062afcd118d9f27 SHA512 61201dba2e4a1332db179f619452dedd67a6576f6002184d35109d25079c7a9b8a71267a0713c1c2d32a59c08867d2642edd9a1c22a39dd324b0be3fa3d13dd0 WHIRLPOOL e613cf264a4941d96bb7904fc42b44593cc28f9110c89e24d172965ad5d715c1a313aeae8c92188cf585d3490e224ebb7bbf1d3458b97e1f1ce30425136e3efe
+AUX xscreensaver-5.20-blurb-hndl-test-passwd.patch 363 SHA256 7a66bd19835eff6964aaaf20ba0d6fdf4d1ee9eb949ed1cce71dcd79fe1fcc85 SHA512 de85a8cd7f1093497936a700e62be6fc93e38e9aad96c013bb6977a3238d2be1455e3b3a43c9d8e7e91cfdd25bd342182fb04cafc56565a624561e3d2ee846b6 WHIRLPOOL 8d287411c5b8bfa82a8ed2fcef09350d8a4a2cc74d94de253fe462c7e7d3564051addf0929fae46ee12b0305f2fa451c50f5bb23635d516d15313a35f7001698
+AUX xscreensaver-5.20-test-passwd-segv-tty.patch 416 SHA256 b8dcc954ee1e3833d7e727a40dbcc23bd417e61099d07eaef995238c448b7417 SHA512 4d18ca23e0e8878117c1b2d8886bedbb2419d5422c237d83a560797fdbc5157417dde9a2556be0d1b29e0eb32945ad6409f2dfb009cbfdb3ec7cb8848fe8c267 WHIRLPOOL 44ac8cc11b6b3ce373f6e5a172237ca2611ebac5ba8fd1658e8697b04ec3db9399f8e34761931ecedec8fde5933ade58810b12cedb077ab681ed7446544c8524
+AUX xscreensaver-5.20-tests-miscfix.patch 792 SHA256 7b9add99eef95bf6f2554f65c20ca7ef1e172285adc848d7297978a1a9ce104f SHA512 28726785b50a8d535942c00bb3e010468d7277d628f6ffe44ef6729f549ba99056c5d7cd71bc8db75d5015bc49b596cfa8b1bb9af5ff821a044b91898a8e8052 WHIRLPOOL ea15f8dfcb8993e1055d7a556fbfe535396a2e222bcfc6210fbb8909a801e5cef2ed367dccd2d80242ab39ba498ed521424e7d03204850b1a1b3e12b3d5f7d1a
+AUX xscreensaver-5.28-comment-style.patch 698 SHA256 d219ece42590e79f0f958312ec83fd4afbb3fdaf0a2e87a7fee85185d89a57f7 SHA512 e6c6a3200ffbec930df9cf4974f109cddae2faf43e95797336c3ad17d4867629c5b15c05dbdd547d22083da096ef55efd15c3d22c26feed92ad3b886651d740c WHIRLPOOL bdb8a8626cd7f48760be61d509b092d1f01f9e892144eb6c4569b060bb506b64080f2a77f9ad7317729e0a3022124ad61e129c3839a1b3fb1a3ebf1cad37948c
+AUX xscreensaver-5.31-pragma.patch 442 SHA256 ee39c6a23c7452aafac4b001c157ae915c316028f6db2e739ee9ef78c5b4f157 SHA512 9aecda422bc0f22bab5eb0de22f1c861b9ed1a2ff4fff2327bec134fafc5e3116156d80a70e81b67e9ce7ce05eb6f842614b2e939cb91a618dd0b10e1d443557 WHIRLPOOL af5f5364cd24b501cbbf24a1add0941af518392f670c0ca5e0d014edd71ced036fcd804a33ddd55c3f0f787bdae12fde840c3b979eb66e78908e7139ba1749d9
+AUX xscreensaver-5.35-gentoo.patch 1328 SHA256 e1e62a10db13fe6ea0c3e037270155bc4ac35c9bee7647fe45aa3afd5fab246f SHA512 ac7b953a353f75821cb15a81b6dec224fe16601df9a9a00f90831d55ac8a69074ec86fa16967ac40e0583bdabc3b7aa2576acf3879942f274296a36997918b2f WHIRLPOOL 75518b4693f2562808f11d22d62e9fd86ec00885ec737ecd23214fde8891928ab13b453972b45579604af4046b8d1eb171cad4af463f431322cef8d5fa99b8ea
+AUX xscreensaver-5.35-offensive.patch 1678 SHA256 964e77afff39d630e93b1e0dc6e506e56d98a4de1348d812b25533d376841636 SHA512 fbc7a4f8e296e1249c2e0454978e48ea82a7b99f2467e2f46ff65e3294f5d8b4a5e366c3b6c9bc37b7f0aca92fa6d59d7492b6310d48c0b3240953f77821408a WHIRLPOOL 4951e62007d9cef5b7e1fd1066c3970e0af18db269d833261d5f20cdc8bd6170cec8aa5b3d3e202e8e2cef9aa3eb2b62d431ef8842c719c1d949458dc3afce38
+DIST xscreensaver-5.36.tar.gz 10600872 SHA256 6b8b5238047f1613d99149bb02d5ed3384675f3ce74a0a8ba25290bd61abc06c SHA512 4f476135bbfdce0593bb6e5a6a48dd474fcce6031214ffbb3d43dc91bb8e1a28b3e59fc960d5f1a9ac0bdd3dc4531da26679bffbe47b7fb00b67ad74295b40f7 WHIRLPOOL b60a2288d0e1c49df4cd39f1e9d866ef90f87828538d49653dd2599e20c93202fdeb15ef560ec5708159ab7fc5e70ed6b018d9daa02e6018f6dc08a1a8054dba
+DIST xscreensaver-5.37.tar.gz 10598833 SHA256 7ac7aea494df9293e68a4211b64861b577bbfb8769ee4b0a0f504cb27e6be5d9 SHA512 9bef3caf4eb495bebb4c1818ed0bb222be28a7a8d525e2bce70e92d7617bc8cf89750dfaa8cf7a3cd0c489b4831c95f9ff8a0164579cf047aa63681254c8e443 WHIRLPOOL a6bfd0c8ec4f30203e39948154522bde09be910a2331d9a9d28c1dc83a95b3275716612e3217f9afd0b03321f9a6eeb0acae5b5f03f5c5e853f2bcaea01b3541
+EBUILD xscreensaver-5.36.ebuild 3521 SHA256 7264a3408b6943911b8abebb6ad63f75f8fe9f9e584abf936dd27e7fc9333ba5 SHA512 085ce103e700f04014a8b769ab9e625763b62fda74d38f474c576eda8dce3b1143769a0662252997c9d4f652d2c0bda483af327b15f9798674eb62812dd2c438 WHIRLPOOL 49fab5c3fc0ddf046a0972d70beababdff789e101ca56c6999e8f1e5871f444c7c40c177777767323425409b74711d8aa1d9a8446f4ca4e8a8b4d566d7ce2c06
+EBUILD xscreensaver-5.37.ebuild 3530 SHA256 eb7557995e679ef3b38e2f3708d12a43ba8ba03e104ff89221dddb44cd59cf7e SHA512 fe2fc361b059b944e94f06013a3c99854f9f4b33fd25f7f75e07e249a88f13899f3c74982e7e0dfde43523474b7b48c610ff63dfcdb08f28f6b9164eee3af68e WHIRLPOOL 8bd62ed80cf8456efc8d1bfec6724ffec53a8d56d66dc195833085e4448ede455a719e1b764c0c70f02b22bcf0d5f7be8300e81bb0524f9aa5f45081df09040c
+MISC ChangeLog 9645 SHA256 612ed2c9cbf0a0afce81fea360b1726b8fdfc95d7b33d7867a44e70c9e9e325a SHA512 84f86c8e9b32836bbe751a71d769c8d3b2ebd7ec1a8dd065ba9ab2e03a7a1bf0bf1e6a1dee652b09c90cc86caa19d87f3a6fd1145946f184178551cad984a937 WHIRLPOOL d1c975afd1bdac2d906b46d14e8ecaae058a5209c1297f1d43247f630b60e073ee6676a3eed547f5490f06bb7ffae6b6fb8c281c2be4258e9705bc58a0904055
+MISC ChangeLog-2015 61492 SHA256 7e89fd41c8703b70b8ee68b6b1fe42eb110f7526797af256c81483a5dfd023bb SHA512 2d99f7003859ec4e5237d7f1b42bf90550c422ebca2185a5e8c68701c4be3f1ae1142996b1f7facf21aecdf9fff53ee5e741abbda80fbea4377da033cbd516ff WHIRLPOOL f97be75e16d657d72b643001086614d5240c5b00d2d241d65b4692209067c1df00ff0beba95d6fcb14bd750c263462d2b83588ac09ed30712c6bc733fb23c64c
+MISC metadata.xml 660 SHA256 cdcec16249c5e79442d3942be285dd25d416a48ce3899b3d887333055552b206 SHA512 ecc2b0423bd77d7713db654875f5d112c90c278653248298c877a84104db40430fcdaffaac2cbb972bb6ae6ce970b498d4d086278ba85c519dedeb3586bcd41b WHIRLPOOL 7ab9dd50b238213194045e72727014027e7f633c02d0572943b04a7ad59bc44bdaebc19b3a04309cb854dba81c3a26b86457bec9bd9792df5e6a8808f35bb6b4
diff --git a/x11-misc/xscreensaver/files/xscreensaver-5.05-interix.patch b/x11-misc/xscreensaver/files/xscreensaver-5.05-interix.patch
new file mode 100644
index 000000000000..2a5eead4879f
--- /dev/null
+++ b/x11-misc/xscreensaver/files/xscreensaver-5.05-interix.patch
@@ -0,0 +1,32 @@
+diff -ru xscreensaver-5.05.orig/driver/prefs.c xscreensaver-5.05/driver/prefs.c
+--- xscreensaver-5.05.orig/driver/prefs.c 2006-05-24 00:03:47 +0200
++++ xscreensaver-5.05/driver/prefs.c 2008-03-11 09:20:58 +0100
+@@ -951,9 +951,12 @@
+ {
+ p->init_file_date = write_date;
+
++/* Interix has no sync() or alike. */
++#ifndef __INTERIX
+ /* Since the .xscreensaver file is used for IPC, let's try and make
+ sure that the bits actually land on the disk right away. */
+ sync ();
++#endif
+
+ status = 0; /* wrote and renamed successfully! */
+ }
+diff -ru xscreensaver-5.05.orig/driver/setuid.c xscreensaver-5.05/driver/setuid.c
+--- xscreensaver-5.05.orig/driver/setuid.c 2006-02-09 03:33:29 +0100
++++ xscreensaver-5.05/driver/setuid.c 2008-03-11 09:22:59 +0100
+@@ -136,9 +136,12 @@
+ if (uid == (uid_t) -1) uid = (uid_t) -2;
+
+ errno = 0;
++
++#ifndef __INTERIX
+ if (setgroups_needed_p (gid) &&
+ setgroups (1, &gid) < 0)
+ sgs_errno = errno ? errno : -1;
++#endif
+
+ errno = 0;
+ if (setgid (gid) != 0)
diff --git a/x11-misc/xscreensaver/files/xscreensaver-5.20-blurb-hndl-test-passwd.patch b/x11-misc/xscreensaver/files/xscreensaver-5.20-blurb-hndl-test-passwd.patch
new file mode 100644
index 000000000000..1f2495363557
--- /dev/null
+++ b/x11-misc/xscreensaver/files/xscreensaver-5.20-blurb-hndl-test-passwd.patch
@@ -0,0 +1,12 @@
+http://pkgs.fedoraproject.org/cgit/xscreensaver.git/tree/xscreensaver-5.17-blurb-hndl-test-passwd.patch
+
+--- a/driver/test-passwd.c
++++ b/driver/test-passwd.c
+@@ -66,6 +66,7 @@
+ Bool update_screen_layout (saver_info *si) { return 0; }
+
+ const char *blurb(void) { return progname; }
++Bool in_signal_handler_p = 0;
+ Atom XA_SCREENSAVER, XA_DEMO, XA_PREFS;
+
+ void
diff --git a/x11-misc/xscreensaver/files/xscreensaver-5.20-test-passwd-segv-tty.patch b/x11-misc/xscreensaver/files/xscreensaver-5.20-test-passwd-segv-tty.patch
new file mode 100644
index 000000000000..bc7f58b4085d
--- /dev/null
+++ b/x11-misc/xscreensaver/files/xscreensaver-5.20-test-passwd-segv-tty.patch
@@ -0,0 +1,13 @@
+http://pkgs.fedoraproject.org/cgit/xscreensaver.git/tree/xscreensaver-5.12-test-passwd-segv-tty.patch
+
+--- a/driver/passwd.c
++++ b/driver/passwd.c
+@@ -205,7 +205,7 @@
+ {
+ # ifdef HAVE_SYSLOG
+ struct passwd *pw = getpwuid (getuid ());
+- char *d = DisplayString (si->dpy);
++ char *d = (si->dpy ? DisplayString (si->dpy) : 0);
+ char *u = (pw && pw->pw_name ? pw->pw_name : "???");
+ int opt = 0;
+ int fac = 0;
diff --git a/x11-misc/xscreensaver/files/xscreensaver-5.20-tests-miscfix.patch b/x11-misc/xscreensaver/files/xscreensaver-5.20-tests-miscfix.patch
new file mode 100644
index 000000000000..32fb638afa03
--- /dev/null
+++ b/x11-misc/xscreensaver/files/xscreensaver-5.20-tests-miscfix.patch
@@ -0,0 +1,23 @@
+http://pkgs.fedoraproject.org/cgit/xscreensaver.git/tree/xscreensaver-5.12-tests-miscfix.patch
+
+--- a/driver/test-xdpms.c
++++ a/driver/test-xdpms.c
+@@ -29,7 +29,6 @@
+
+ #include <X11/Xproto.h>
+ #include <X11/extensions/dpms.h>
+-#include <X11/extensions/dpmsstr.h>
+
+ extern Bool DPMSQueryExtension (Display *dpy, int *event_ret, int *error_ret);
+ extern Bool DPMSCapable (Display *dpy);
+--- a/driver/Makefile.in
++++ a/driver/Makefile.in
+@@ -850,7 +850,7 @@
+ test-mlstring: test-mlstring.o
+ $(CC) -DTEST $(LDFLAGS) -o $@ test-mlstring.o $(SAVER_LIBS)
+
+-TEST_FADE_OBJS = test-fade.o $(UTILS_SRC)/fade.o $(DEMO_UTIL_OBJS)
++TEST_FADE_OBJS = test-fade.o $(UTILS_BIN)/fade.o $(DEMO_UTIL_OBJS)
+ test-fade: test-fade.o $(UTILS_BIN)/fade.o
+ $(CC) $(LDFLAGS) -o $@ $(TEST_FADE_OBJS) $(SAVER_LIBS)
+
diff --git a/x11-misc/xscreensaver/files/xscreensaver-5.28-comment-style.patch b/x11-misc/xscreensaver/files/xscreensaver-5.28-comment-style.patch
new file mode 100644
index 000000000000..6c3143d758b7
--- /dev/null
+++ b/x11-misc/xscreensaver/files/xscreensaver-5.28-comment-style.patch
@@ -0,0 +1,21 @@
+--- a/hacks/tessellimage.c
++++ b/hacks/tessellimage.c
+@@ -507,15 +507,15 @@
+ out[i].p = (n > 0
+ ? (XPoint *) calloc (out[i].npoints + 1, sizeof (*out[i].p))
+ : 0);
+-//printf("%d: ", i);
++/*printf("%d: ", i);*/
+ for (j = 0; j < out[i].npoints; j++)
+ {
+ ITRIANGLE *tt = &v[t->tri[j]];
+ out[i].p[j].x = (p[tt->p1].x + p[tt->p2].x + p[tt->p3].x) / 3;
+ out[i].p[j].y = (p[tt->p1].y + p[tt->p2].y + p[tt->p3].y) / 3;
+-//printf(" [%d: %d %d]", j, out[i].p[j].x, out[i].p[j].y);
++/*printf(" [%d: %d %d]", j, out[i].p[j].x, out[i].p[j].y);*/
+ }
+-//printf("\n");
++/*printf("\n");*/
+ }
+
+ free (vert_to_tri);
diff --git a/x11-misc/xscreensaver/files/xscreensaver-5.31-pragma.patch b/x11-misc/xscreensaver/files/xscreensaver-5.31-pragma.patch
new file mode 100644
index 000000000000..97f4656344cb
--- /dev/null
+++ b/x11-misc/xscreensaver/files/xscreensaver-5.31-pragma.patch
@@ -0,0 +1,11 @@
+--- a/hacks/memscroller.c
++++ b/hacks/memscroller.c
+@@ -307,7 +307,7 @@
+ -- sbrk(2) man page on BSD systems, as of 1995 or so.
+ */
+ #ifdef HAVE_SBRK
+-# if (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 2)) /* gcc >= 4.2 */
++# if (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 6)) /* gcc >= 4.6 */
+ /* Don't print "warning: 'sbrk' is deprecated". */
+ # pragma GCC diagnostic ignored "-Wdeprecated-declarations"
+ # endif
diff --git a/x11-misc/xscreensaver/files/xscreensaver-5.35-gentoo.patch b/x11-misc/xscreensaver/files/xscreensaver-5.35-gentoo.patch
new file mode 100644
index 000000000000..881869fb4637
--- /dev/null
+++ b/x11-misc/xscreensaver/files/xscreensaver-5.35-gentoo.patch
@@ -0,0 +1,47 @@
+--- a/driver/XScreenSaver.ad.in
++++ b/driver/XScreenSaver.ad.in
+@@ -31,21 +31,21 @@
+ *mode: random
+ *timeout: 0:10:00
+ *cycle: 0:10:00
+-*lockTimeout: 0:00:00
++*lockTimeout: 0:30:00
+ *passwdTimeout: 0:00:30
+-*dpmsEnabled: False
++*dpmsEnabled: True
+ *dpmsQuickoffEnabled: False
+ *dpmsStandby: 2:00:00
+ *dpmsSuspend: 2:00:00
+ *dpmsOff: 4:00:00
+-*grabDesktopImages: True
++*grabDesktopImages: False
+ *grabVideoFrames: False
+ *chooseRandomImages: @DEFAULT_IMAGES_P@
+ ! This can be a local directory name, or the URL of an RSS or Atom feed.
+ *imageDirectory: @DEFAULT_IMAGE_DIRECTORY@
+ *nice: 10
+ *memoryLimit: 0
+-*lock: False
++*lock: True
+ *verbose: False
+ *timestamp: True
+ *fade: True
+@@ -63,7 +63,7 @@
+ *textLiteral: XScreenSaver
+ *textFile: @DEFAULT_TEXT_FILE@
+ *textProgram: fortune
+-*textURL: https://en.wikipedia.org/w/index.php?title=Special:NewPages&feed=rss
++*textURL: https://planet.gentoo.org/rss20.xml
+
+ *overlayTextForeground: #FFFF00
+ *overlayTextBackground: #000000
+@@ -123,7 +123,8 @@
+
+ ! The format used for printing the date and time in the password dialog box
+ ! (see the strftime(3) manual page for details.)
+-*dateFormat: %d-%b-%y (%a); %I:%M %p
++!*dateFormat: %d-%b-%y (%a); %I:%M %p
++*dateFormat: %x %X
+ ! To show the time only:
+ ! *dateFormat: %I:%M %p
+ ! For 24 hour time:
diff --git a/x11-misc/xscreensaver/files/xscreensaver-5.35-offensive.patch b/x11-misc/xscreensaver/files/xscreensaver-5.35-offensive.patch
new file mode 100644
index 000000000000..91ce780aea3a
--- /dev/null
+++ b/x11-misc/xscreensaver/files/xscreensaver-5.35-offensive.patch
@@ -0,0 +1,59 @@
+--- a/hacks/barcode.c
++++ a/hacks/barcode.c
+@@ -131,7 +131,6 @@
+ "children",
+ "chocolate",
+ "CLONE",
+- "cock",
+ "constriction",
+ "contrition",
+ "cop",
+@@ -265,7 +264,6 @@
+ "punishment",
+ "punk rock",
+ "punk",
+- "pussy",
+ "quagmire",
+ "quarantine",
+ "quartz",
+@@ -333,8 +331,6 @@
+ "vegetarian",
+ "venom",
+ "verifiability",
+- "viagra",
+- "vibrator",
+ "victim",
+ "vignette",
+ "villainy",
+--- a/hacks/glx/glsnake.c
++++ a/hacks/glx/glsnake.c
+@@ -565,17 +565,17 @@
+ ZERO, PIN, ZERO, ZERO, ZERO, ZERO, PIN, ZERO, ZERO, ZERO, ZERO,
+ ZERO, PIN, ZERO }
+ },
+- { "erect penis", /* thanks benno */
++ { "shuffle board", /* thanks benno */
+ { PIN, ZERO, PIN, PIN, ZERO, ZERO, PIN, ZERO, ZERO, ZERO, PIN,
+ PIN, ZERO, ZERO, ZERO, RIGHT, ZERO, ZERO, ZERO, ZERO, ZERO, ZERO,
+ ZERO, ZERO }
+ },
+- { "flaccid penis",
++ { "flaccid anchor",
+ { PIN, ZERO, PIN, PIN, ZERO, ZERO, PIN, ZERO, ZERO, ZERO, PIN,
+ PIN, ZERO, ZERO, ZERO, RIGHT, PIN, ZERO, ZERO, ZERO, ZERO, ZERO,
+ ZERO, ZERO }
+ },
+- { "vagina",
++ { "engagement ring",
+ { RIGHT, ZERO, ZERO, ZERO, RIGHT, ZERO, ZERO, PIN, ZERO, ZERO,
+ LEFT, ZERO, ZERO, ZERO, LEFT, ZERO, LEFT, PIN, LEFT, PIN, RIGHT,
+ PIN, RIGHT, ZERO }
+@@ -995,7 +995,7 @@
+ { "Parrot",
+ { ZERO, ZERO, ZERO, ZERO, RIGHT, RIGHT, ZERO, LEFT, PIN, RIGHT, ZERO, RIGHT, ZERO, RIGHT, ZERO, RIGHT, PIN, LEFT, ZERO, RIGHT, LEFT, ZERO, PIN, ZERO }
+ },
+- { "Penis",
++ { "Shuttle",
+ { PIN, PIN, RIGHT, ZERO, PIN, PIN, ZERO, PIN, ZERO, ZERO, RIGHT, PIN, LEFT, ZERO, ZERO, PIN, ZERO, PIN, PIN, ZERO, LEFT, PIN, PIN, ZERO }
+ },
+ { "PictureComingSoon",
diff --git a/x11-misc/xscreensaver/metadata.xml b/x11-misc/xscreensaver/metadata.xml
new file mode 100644
index 000000000000..cc68eed36040
--- /dev/null
+++ b/x11-misc/xscreensaver/metadata.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+ <upstream>
+ <maintainer>
+ <email>jwz@jwz.org</email>
+ <name>Jamie Zawinski</name>
+ </maintainer>
+ </upstream>
+ <use>
+ <flag name="gdm">Use gdmflexiserver from <pkg>gnome-base/gdm</pkg> instead of <pkg>x11-misc/lightdm</pkg></flag>
+ <flag name="new-login">Enable user switching support using gdmflexiserver (<pkg>x11-misc/lightdm</pkg>)</flag>
+ </use>
+</pkgmetadata>
diff --git a/x11-misc/xscreensaver/xscreensaver-5.36.ebuild b/x11-misc/xscreensaver/xscreensaver-5.36.ebuild
new file mode 100644
index 000000000000..7b5b69a88e32
--- /dev/null
+++ b/x11-misc/xscreensaver/xscreensaver-5.36.ebuild
@@ -0,0 +1,144 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit autotools eutils flag-o-matic multilib pam
+
+DESCRIPTION="A modular screen saver and locker for the X Window System"
+HOMEPAGE="https://www.jwz.org/xscreensaver/"
+SRC_URI="
+ ${HOMEPAGE}${P}.tar.gz
+"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~sh sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris"
+IUSE="gdm jpeg new-login offensive opengl pam +perl selinux suid xinerama"
+
+COMMON_DEPEND="
+ >=gnome-base/libglade-2
+ dev-libs/libxml2
+ media-libs/netpbm
+ x11-apps/appres
+ x11-apps/xwininfo
+ x11-libs/gdk-pixbuf:2[X]
+ x11-libs/gtk+:2
+ x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXi
+ x11-libs/libXmu
+ x11-libs/libXrandr
+ x11-libs/libXt
+ x11-libs/libXxf86misc
+ x11-libs/libXxf86vm
+ jpeg? ( virtual/jpeg:0 )
+ new-login? (
+ gdm? ( gnome-base/gdm )
+ !gdm? ( || ( x11-misc/lightdm lxde-base/lxdm ) )
+ )
+ opengl? (
+ virtual/glu
+ virtual/opengl
+ )
+ pam? ( virtual/pam )
+ xinerama? ( x11-libs/libXinerama )
+"
+# For USE="perl" see output of `qlist xscreensaver | grep bin | xargs grep '::'`
+RDEPEND="
+ ${COMMON_DEPEND}
+ perl? (
+ dev-lang/perl
+ dev-perl/libwww-perl
+ virtual/perl-Digest-MD5
+ )
+ selinux? ( sec-policy/selinux-xscreensaver )
+"
+DEPEND="
+ ${COMMON_DEPEND}
+ dev-util/intltool
+ sys-devel/bc
+ sys-devel/gettext
+ virtual/pkgconfig
+ x11-proto/recordproto
+ x11-proto/scrnsaverproto
+ x11-proto/xextproto
+ x11-proto/xf86miscproto
+ x11-proto/xf86vidmodeproto
+ xinerama? ( x11-proto/xineramaproto )
+"
+
+src_prepare() {
+ sed -i configure.in -e '/^ALL_LINGUAS=/d' || die
+ strip-linguas -i po/
+ export ALL_LINGUAS="${LINGUAS}"
+
+ if use new-login && ! use gdm; then #392967
+ sed -i \
+ -e "/default_l.*1/s:gdmflexiserver -ls:${EPREFIX}/usr/libexec/lightdm/&:" \
+ configure{,.in} || die
+ fi
+
+ eapply \
+ "${FILESDIR}"/${PN}-5.05-interix.patch \
+ "${FILESDIR}"/${PN}-5.20-blurb-hndl-test-passwd.patch \
+ "${FILESDIR}"/${PN}-5.20-test-passwd-segv-tty.patch \
+ "${FILESDIR}"/${PN}-5.20-tests-miscfix.patch \
+ "${FILESDIR}"/${PN}-5.28-comment-style.patch \
+ "${FILESDIR}"/${PN}-5.31-pragma.patch \
+ "${FILESDIR}"/${PN}-5.35-gentoo.patch
+
+ use offensive || eapply "${FILESDIR}"/${PN}-5.35-offensive.patch
+
+ eapply_user
+
+ eautoconf
+ eautoheader
+}
+
+src_configure() {
+ if use ppc || use ppc64; then
+ filter-flags -maltivec -mabi=altivec
+ append-flags -U__VEC__
+ fi
+
+ unset BC_ENV_ARGS #24568
+ export RPM_PACKAGE_VERSION=no #368025
+
+ econf \
+ $(use_with jpeg) \
+ $(use_with new-login login-manager) \
+ $(use_with opengl gl) \
+ $(use_with pam) \
+ $(use_with suid setuid-hacks) \
+ $(use_with xinerama xinerama-ext) \
+ --enable-locking \
+ --with-configdir="${EPREFIX}"/usr/share/${PN}/config \
+ --with-dpms-ext \
+ --with-gtk \
+ --with-hackdir="${EPREFIX}"/usr/$(get_libdir)/misc/${PN} \
+ --with-pixbuf \
+ --with-proc-interrupts \
+ --with-randr-ext \
+ --with-text-file="${EPREFIX}"/etc/gentoo-release \
+ --with-x-app-defaults="${EPREFIX}"/usr/share/X11/app-defaults \
+ --with-xdbe-ext \
+ --with-xf86gamma-ext \
+ --with-xf86vmode-ext \
+ --with-xinput-ext \
+ --with-xshm-ext \
+ --without-gle \
+ --without-kerberos \
+ --x-includes="${EPREFIX}"/usr/include \
+ --x-libraries="${EPREFIX}"/usr/$(get_libdir)
+}
+
+src_install() {
+ emake install_prefix="${D}" install
+
+ dodoc README{,.hacking}
+
+ use pam && fperms 755 /usr/bin/${PN}
+ pamd_mimic_system ${PN} auth
+
+ rm -f "${ED}"/usr/share/${PN}/config/{electricsheep,fireflies}.xml
+}
diff --git a/x11-misc/xscreensaver/xscreensaver-5.37.ebuild b/x11-misc/xscreensaver/xscreensaver-5.37.ebuild
new file mode 100644
index 000000000000..6c8fa54ec6f2
--- /dev/null
+++ b/x11-misc/xscreensaver/xscreensaver-5.37.ebuild
@@ -0,0 +1,144 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit autotools eutils flag-o-matic multilib pam
+
+DESCRIPTION="A modular screen saver and locker for the X Window System"
+HOMEPAGE="https://www.jwz.org/xscreensaver/"
+SRC_URI="
+ ${HOMEPAGE}${P}.tar.gz
+"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris"
+IUSE="gdm jpeg new-login offensive opengl pam +perl selinux suid xinerama"
+
+COMMON_DEPEND="
+ >=gnome-base/libglade-2
+ dev-libs/libxml2
+ media-libs/netpbm
+ x11-apps/appres
+ x11-apps/xwininfo
+ x11-libs/gdk-pixbuf:2[X]
+ x11-libs/gtk+:2
+ x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXi
+ x11-libs/libXmu
+ x11-libs/libXrandr
+ x11-libs/libXt
+ x11-libs/libXxf86misc
+ x11-libs/libXxf86vm
+ jpeg? ( virtual/jpeg:0 )
+ new-login? (
+ gdm? ( gnome-base/gdm )
+ !gdm? ( || ( x11-misc/lightdm lxde-base/lxdm ) )
+ )
+ opengl? (
+ virtual/glu
+ virtual/opengl
+ )
+ pam? ( virtual/pam )
+ xinerama? ( x11-libs/libXinerama )
+"
+# For USE="perl" see output of `qlist xscreensaver | grep bin | xargs grep '::'`
+RDEPEND="
+ ${COMMON_DEPEND}
+ perl? (
+ dev-lang/perl
+ dev-perl/libwww-perl
+ virtual/perl-Digest-MD5
+ )
+ selinux? ( sec-policy/selinux-xscreensaver )
+"
+DEPEND="
+ ${COMMON_DEPEND}
+ dev-util/intltool
+ sys-devel/bc
+ sys-devel/gettext
+ virtual/pkgconfig
+ x11-proto/recordproto
+ x11-proto/scrnsaverproto
+ x11-proto/xextproto
+ x11-proto/xf86miscproto
+ x11-proto/xf86vidmodeproto
+ xinerama? ( x11-proto/xineramaproto )
+"
+
+src_prepare() {
+ sed -i configure.in -e '/^ALL_LINGUAS=/d' || die
+ strip-linguas -i po/
+ export ALL_LINGUAS="${LINGUAS}"
+
+ if use new-login && ! use gdm; then #392967
+ sed -i \
+ -e "/default_l.*1/s:gdmflexiserver -ls:${EPREFIX}/usr/libexec/lightdm/&:" \
+ configure{,.in} || die
+ fi
+
+ eapply \
+ "${FILESDIR}"/${PN}-5.05-interix.patch \
+ "${FILESDIR}"/${PN}-5.20-blurb-hndl-test-passwd.patch \
+ "${FILESDIR}"/${PN}-5.20-test-passwd-segv-tty.patch \
+ "${FILESDIR}"/${PN}-5.20-tests-miscfix.patch \
+ "${FILESDIR}"/${PN}-5.28-comment-style.patch \
+ "${FILESDIR}"/${PN}-5.31-pragma.patch \
+ "${FILESDIR}"/${PN}-5.35-gentoo.patch
+
+ use offensive || eapply "${FILESDIR}"/${PN}-5.35-offensive.patch
+
+ eapply_user
+
+ eautoconf
+ eautoheader
+}
+
+src_configure() {
+ if use ppc || use ppc64; then
+ filter-flags -maltivec -mabi=altivec
+ append-flags -U__VEC__
+ fi
+
+ unset BC_ENV_ARGS #24568
+ export RPM_PACKAGE_VERSION=no #368025
+
+ econf \
+ $(use_with jpeg) \
+ $(use_with new-login login-manager) \
+ $(use_with opengl gl) \
+ $(use_with pam) \
+ $(use_with suid setuid-hacks) \
+ $(use_with xinerama xinerama-ext) \
+ --enable-locking \
+ --with-configdir="${EPREFIX}"/usr/share/${PN}/config \
+ --with-dpms-ext \
+ --with-gtk \
+ --with-hackdir="${EPREFIX}"/usr/$(get_libdir)/misc/${PN} \
+ --with-pixbuf \
+ --with-proc-interrupts \
+ --with-randr-ext \
+ --with-text-file="${EPREFIX}"/etc/gentoo-release \
+ --with-x-app-defaults="${EPREFIX}"/usr/share/X11/app-defaults \
+ --with-xdbe-ext \
+ --with-xf86gamma-ext \
+ --with-xf86vmode-ext \
+ --with-xinput-ext \
+ --with-xshm-ext \
+ --without-gle \
+ --without-kerberos \
+ --x-includes="${EPREFIX}"/usr/include \
+ --x-libraries="${EPREFIX}"/usr/$(get_libdir)
+}
+
+src_install() {
+ emake install_prefix="${D}" install
+
+ dodoc README{,.hacking}
+
+ use pam && fperms 755 /usr/bin/${PN}
+ pamd_mimic_system ${PN} auth
+
+ rm -f "${ED}"/usr/share/${PN}/config/{electricsheep,fireflies}.xml
+}
diff --git a/x11-misc/xsel/Manifest b/x11-misc/xsel/Manifest
new file mode 100644
index 000000000000..f5ee97139ac9
--- /dev/null
+++ b/x11-misc/xsel/Manifest
@@ -0,0 +1,6 @@
+DIST xsel-1.2.0.tar.gz 169155 SHA256 b927ce08dc82f4c30140223959b90cf65e1076f000ce95e520419ec32f5b141c SHA512 e28623e6cc180f2e2210c20697d21d336633f0a5272ca9b62150a1c535e8de89731acc07230a9977e391e37d3943a9d687f1f967765a15bca5092a6c6d8c4d8f WHIRLPOOL ba281127012dcd8bf4b96c31b2dc0b787fd7c17baf8674c6cdc2fb4694f20ade4564e586646197bd38e8db4dfbea5b723c1f90a8750a637842a0684483af0119
+EBUILD xsel-1.2.0-r1.ebuild 599 SHA256 4b8a86c937f45e2ba792b237677e832f2f8040dd45f62ede132c79386fad2a69 SHA512 5d7e9f849b7898d369b8d81519a897d7163d340980ef9feb84e4a2db1e920f739f8eb4367234a60760bd06f655e99e30f132f9e71d81f6833a85abca29bcc68b WHIRLPOOL f7562a6de960c78e32f974288ba20a54250b3dbf1f6cf3069fb630c90896da1527c9f771ee8b23185038a2d6de9de4326625648dedd2d822e8001bb8b23ffed4
+EBUILD xsel-9999.ebuild 567 SHA256 f3df8511bc46d53006891dd8b4ed89ca095086cbf24f74a812c705afec466598 SHA512 13459dbf8659df08828f2cd228b852149eac3902c4abd740a298f13a723f161f8267c3a0592d763c4953231b8a079b5568d6119a758ec067bcfdc868ee0573c7 WHIRLPOOL 7d9383f05f76b10657705eb718f5f99cafe4473718572710280bcde8165c0a1a66adf64f9690d5d28c4274169e113a03662ac01a3de3cf97fc3542d587f93f89
+MISC ChangeLog 2564 SHA256 23cf9ba0f6b61636f8c0fcd3fb4f96dedcf7fccc43bc4c56ea9ca7c8f8803773 SHA512 972e30beeb7d90ee9a0023e87aa49c2edb0c525dd70a9ac7091d92d2463cc3f9a95f3d8bd4f80e43e0700e233584b237a75e556ec44094045240901e27a5387b WHIRLPOOL 9d3a774a2c8d20c15096d478c35eca644f7d0505515500214353256933ef537c18b730854d844cbe799430352d422d418b20164de65fba66207867f448fb2586
+MISC ChangeLog-2015 3126 SHA256 ba9bf7301ef4c6ab7f7ac70464fc31f853d12e99f216a222bdabcc00b96d6881 SHA512 431aba76cd52da50d6c10e909a101bbc8bb4eef180368eb4cc7a9a70c70a13d41345dffb106ca7c4a5d1aea44e5e3ab2ed0e317ee7c518b403d84ae0eba68db2 WHIRLPOOL c6fd60c1d8624c584d7df066b2112ab0cf140b99034b92394ec126417ea1f288f5b8ae653ef0bbaefba681851f5e65fde6fa57236f28c286563cabac1362692c
+MISC metadata.xml 276 SHA256 437f3dba7deca9da3b3f8ecda9bb5e97253de0412cbb3095d876f39140f3ea98 SHA512 3497963f4fb51bb32521472b54a995091cb457d2cda65c786bd4b46e5af325caf8f6d5c969cefa0c09fe717df09fb015ec59b52f5571c3b2b9d4ea33e6c843ab WHIRLPOOL 8550fd604cf609511bf7c34245ebd6682dd6d058d8cbfa099a77c94d1afcf592909eb679a28a0806957ac0949c6cff350675e0182303ec5890a5e2c2c26d29c5
diff --git a/x11-misc/xsel/metadata.xml b/x11-misc/xsel/metadata.xml
new file mode 100644
index 000000000000..2ba8e9e851e4
--- /dev/null
+++ b/x11-misc/xsel/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/x11-misc/xsel/xsel-1.2.0-r1.ebuild b/x11-misc/xsel/xsel-1.2.0-r1.ebuild
new file mode 100644
index 000000000000..bfc59a723622
--- /dev/null
+++ b/x11-misc/xsel/xsel-1.2.0-r1.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="Command-line program for getting and setting the contents of the X selection"
+HOMEPAGE="http://www.vergenet.net/~conrad/software/xsel"
+SRC_URI="http://www.vergenet.net/~conrad/software/${PN}/download/${P}.tar.gz"
+
+LICENSE="HPND"
+SLOT="0"
+KEYWORDS="amd64 ~arm ~mips ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~x86-solaris"
+IUSE=""
+
+RDEPEND="x11-libs/libX11
+ x11-libs/libXext"
+DEPEND="${RDEPEND}
+ x11-proto/xproto
+ x11-libs/libXt"
+
+src_compile() {
+ emake CFLAGS="${CFLAGS}"
+}
diff --git a/x11-misc/xsel/xsel-9999.ebuild b/x11-misc/xsel/xsel-9999.ebuild
new file mode 100644
index 000000000000..b2971adb4fed
--- /dev/null
+++ b/x11-misc/xsel/xsel-9999.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit autotools git-r3
+
+DESCRIPTION="Command-line program for getting and setting the contents of the X selection"
+HOMEPAGE="http://www.vergenet.net/~conrad/software/xsel"
+EGIT_REPO_URI="https://github.com/kfish/xsel.git"
+
+LICENSE="HPND"
+SLOT="0"
+KEYWORDS=""
+
+RDEPEND="
+ x11-libs/libX11
+ x11-libs/libXext
+"
+DEPEND="
+ ${RDEPEND}
+ x11-proto/xproto
+ x11-libs/libXt
+"
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_compile() {
+ emake CFLAGS="${CFLAGS}"
+}
diff --git a/x11-misc/xsensors/Manifest b/x11-misc/xsensors/Manifest
new file mode 100644
index 000000000000..98e75256c1b6
--- /dev/null
+++ b/x11-misc/xsensors/Manifest
@@ -0,0 +1,6 @@
+AUX xsensors-0.70-gtk220.patch 1566 SHA256 543a659ce52138f1852122e48d2b4dbbdb26cbdf0fce95433cb21e55fa0e268d SHA512 24196915ebde6264a5ec364539ede4827459a87e675dff3e187a556d4adb24ee0efb41db49fe2ae0c94e5ab467eb3caff205df28d30c15c8bca9f78641324199 WHIRLPOOL 7330d4b6948ce63c98c52683232479e8a45ca1ac53d49c86d5a3cf80b4650ee5698991fd51f3ce8ef4970df5f907fe38e1bbdd0efcfaceb25f7ad0fd2395a67e
+DIST xsensors-0.70.tar.gz 115430 SHA256 907f21afd19fe88b70f000d6531ddcd53569ba0c0712e2b0afaab3fd9ca637ea SHA512 34f038b192f3cecb2e7587e19c4837b795a2705e6d0e9ea2bd3ead6d3259a1dded364fcfc70fa5e37d64f32c879e1dd9c6e43dcf32fa9aeb73ee5cc49bf290a4 WHIRLPOOL 9a2c342aa69102f3ff0cdf9d7e4e677973c62c07fb52d78222d798f3e4f57d3e7f5972491bcb1bd452f461e3f04967cd5523fa6fca41567d8d861102b2b9b02c
+EBUILD xsensors-0.70-r1.ebuild 708 SHA256 9d437ec07ba4ee07b20e91fbdb4ba11ba81e0ec94c9cc328e7f29e2803ade127 SHA512 d92bc077f023345ad6fc6af4b23b7d467cc2d5b420d21282efba043cf9717d05c89689801d6c9ab9e20a8aa531bd332a719da5ee0a39f0eabea111b3382dadea WHIRLPOOL 8911e208347e74542b15522c98b7e08849228a757d6de06ce8d357ae73e1cce4676ad1b5d275084f6ac15a9d65699b0543784059413c251d0b9e0d1248d20488
+MISC ChangeLog 2463 SHA256 3f33c6f61a0cc91dd677a7be238a91bfd4ac37fa34360de8c6b2c2cd218770e9 SHA512 0f192ad09b54cc4942d8a1d5145ac0038b3a71ad12f796290aba007dccc32dc4c05bfaaaf342cf48b1b961c975abd681b355212f228a81018843971a574f8acf WHIRLPOOL 47fbd2805c97817225c43cf146445a512c1cb5ab5e12bc92af7c5636663a78eac56c7553ad826fc782d7bd7a1091f9f2331c52b3c9c6f0b310e05fc6240e9ff3
+MISC ChangeLog-2015 4384 SHA256 2a4f035c2b52c7610441eaebf4f7d0b50ab692a871edf6b28dfae5eb2a2dec21 SHA512 f3202bc82fb38cb18a812ab6ee92a2d5af69dc1a62fbfc12904509e7135b484d0396af0d7772aef41cc1f35269c0e1584b2c981525b0ef9555099e5d82aa4cc3 WHIRLPOOL ed4d7a6ddca30852b62c44cb004155aafe9ae8bcc0613dd58d682b69fc76e4453a0b956abee93e3bb7bca5bf13c27083f88ce2011485e65353391858184db126
+MISC metadata.xml 276 SHA256 437f3dba7deca9da3b3f8ecda9bb5e97253de0412cbb3095d876f39140f3ea98 SHA512 3497963f4fb51bb32521472b54a995091cb457d2cda65c786bd4b46e5af325caf8f6d5c969cefa0c09fe717df09fb015ec59b52f5571c3b2b9d4ea33e6c843ab WHIRLPOOL 8550fd604cf609511bf7c34245ebd6682dd6d058d8cbfa099a77c94d1afcf592909eb679a28a0806957ac0949c6cff350675e0182303ec5890a5e2c2c26d29c5
diff --git a/x11-misc/xsensors/files/xsensors-0.70-gtk220.patch b/x11-misc/xsensors/files/xsensors-0.70-gtk220.patch
new file mode 100644
index 000000000000..2f36cfba514c
--- /dev/null
+++ b/x11-misc/xsensors/files/xsensors-0.70-gtk220.patch
@@ -0,0 +1,38 @@
+--- a/src/gui.c
++++ b/src/gui.c
+@@ -84,7 +84,7 @@
+ while ( *digit ) {
+ get_pm_location( *digit, &x, &y, &w );
+ gdk_draw_drawable( widget->window,
+- widget->style->fg_gc[ GTK_WIDGET_STATE
++ widget->style->fg_gc[ gtk_widget_get_state
+ (widget) ], theme, x, y + highLow,
+ pos, 0, w, 30 );
+ pos += w;
+@@ -121,7 +121,7 @@
+
+ /* Display RPM */
+ gdk_draw_drawable( widget->window,
+- widget->style->fg_gc[ GTK_WIDGET_STATE
++ widget->style->fg_gc[ gtk_widget_get_state
+ (widget) ], theme, 0, 120 + highLow,
+ 90, 0, 57, 30 );
+ break;
+@@ -142,7 +142,7 @@
+ else
+ x = 57;
+ gdk_draw_drawable( widget->window,
+- widget->style->fg_gc[ GTK_WIDGET_STATE
++ widget->style->fg_gc[ gtk_widget_get_state
+ (widget) ], theme, x, 60 + highLow,
+ 96, 0, 57, 30 );
+
+@@ -158,7 +158,7 @@
+
+ /* Display V */
+ gdk_draw_drawable( widget->window,
+- widget->style->fg_gc[ GTK_WIDGET_STATE
++ widget->style->fg_gc[ gtk_widget_get_state
+ (widget) ], theme, 114, 60 + highLow,
+ 96, 0, 57, 30 );
+
diff --git a/x11-misc/xsensors/metadata.xml b/x11-misc/xsensors/metadata.xml
new file mode 100644
index 000000000000..2ba8e9e851e4
--- /dev/null
+++ b/x11-misc/xsensors/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/x11-misc/xsensors/xsensors-0.70-r1.ebuild b/x11-misc/xsensors/xsensors-0.70-r1.ebuild
new file mode 100644
index 000000000000..344c180cf8e6
--- /dev/null
+++ b/x11-misc/xsensors/xsensors-0.70-r1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools
+
+DESCRIPTION="A hardware health information viewer, interface to lm-sensors"
+HOMEPAGE="http://www.linuxhardware.org/xsensors/"
+SRC_URI="http://www.linuxhardware.org/xsensors/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE=""
+
+RDEPEND="x11-libs/gtk+:2
+ >=sys-apps/lm_sensors-3"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+PATCHES=( "${FILESDIR}"/${P}-gtk220.patch )
+
+src_prepare() {
+ default
+
+ sed -i \
+ -e '/-DG.*_DISABLE_DEPRECATED/d' \
+ -e 's:-Werror:-Wall:' \
+ src/Makefile.am configure.in || die
+
+ mv configure.{in,ac} || die #426262
+
+ eautoreconf
+}
diff --git a/x11-misc/xsetleds/Manifest b/x11-misc/xsetleds/Manifest
new file mode 100644
index 000000000000..5fc1c8f86c40
--- /dev/null
+++ b/x11-misc/xsetleds/Manifest
@@ -0,0 +1,7 @@
+AUX xsetleds-0.1.3-assignment.patch 208 SHA256 b9f689248847733a9585ecc269ac1ad11405186455fc743e8111049ff8fb3661 SHA512 8434fecb410cdfa35de8e1b93b4c3021df0629fa8d44a05b484e0d9ced597811fdbfd740acc70f9900af7e38b6f866eb3c9fc0173664dfa260d5a3ccef5aa2bd WHIRLPOOL 97fd9b9600397c4c1a15e929e0f75a422f9a9868b267be0ab75d5f8ce88362d2f9477a21945a53033596a76d40de3230358659b6b55ed8c20340e44195d08246
+AUX xsetleds-0.1.3-isalpha.patch 236 SHA256 ca55a7a7cb81637fb13c82d3d05d2c6521b36fb038ca31df42ea20120805eaf1 SHA512 5191fc8ed447d921dfd0a47514de03e03dc744f17b22a1ac3973b1c91104c015c7881cc156c4e2e073f3ba18e17187b34b5db80359489ffc372a07c1e6bcbb10 WHIRLPOOL f8e3171a266d2858a9981db579797f72484e8e5cf340de5991ecc3f50cd187b2ad44c6a69af4d899789feea6688c7d70879a8f0d409562ba36c745d53979b288
+DIST xsetleds-0.1.3.tar.gz 221399 SHA256 e844ea61a11bde39e9b46f2eacd08b88bfadd29ee7857fc0b8455357640d3b96 SHA512 7fe6baa77b4b2c8f57dfc331776bb457520facdb2f54a5c101764c590d7c5556cd00477e56d36e64cb7264a8de28698422b99ec4852798069189fbe6c1c19f72 WHIRLPOOL 1d3edc2247595f283846ea4f25bffbc226a33dc541d79af842a014e5d4f6ebe6eb8f177e4a5897e86cb6c1c559539393d662cb46d76dc8cab22a1a9f8c8b8616
+EBUILD xsetleds-0.1.3-r1.ebuild 728 SHA256 9bd798325a271f8208b5134b2c9f48f16e5b8fb31f24c11c96cd146ab81a31f9 SHA512 449fe65e54062a86dc0db390c2d4e07f27b4b6ac40f1dd602dd35176126fbaae885f16e0ae3afe6fe924e8abd11241acd60809ab8b5ea27a36361830a1cbcafb WHIRLPOOL 1edae42e2af9ddc1ecf3ba0a2c3bbcefbb952ded67d80cae067811bb0256d9072b3da764377222bc04cb164e05c7b53e95719e5474583c284dbd128c78df6852
+MISC ChangeLog 2569 SHA256 2a8ab0959b9b701826510da6d4dda5e01eea91cc04fa0c4139e30e6327a6bfb3 SHA512 e4b1ddd5fdeac650f36f9efa525035bd976086d01b4f9ef43ad6c6cf97886fef5ee68d117913fbdc1618f6598e4cd2e806f308bc5f6b9045b4ecbfa1e7b01dfc WHIRLPOOL 5f6e0a89b0371c9edee109e8bf4fbd570c950da9dcae1f9c88960b11357921c7264a92f3dc936142f47004ab18dac7482cd61b07d3e2b267be2799124fad50f0
+MISC ChangeLog-2015 2202 SHA256 f80bab19e0b61d7dbc5721d8a1f34cc1782eddb6fd8c807b2ad35131b2a4e6b3 SHA512 ab8dcb9988ad75b1803cc55575396ed9d90e9067e19cf03b57a1a0d6afd8c1f0edaa38e6615fdb50101825507769e50f2d8ff2c5a1118950d347d4fc8fd0c45d WHIRLPOOL 6283c6ad1f975169e7d086c2f41ff2b343fcea81ce5ebd04386a71548f4688be080fd93e33dbc223b6e0e07a388907c80419d9452f183091d0b318102c6978fc
+MISC metadata.xml 551 SHA256 cc2b897fd40baa5c212c29a6cd9b4091cdfae167af0f980bf6e22afadf3bd60e SHA512 4ed7a7446887beacb4f214e4d1ee2c2b08b9bf948ea98daed3c2ef6aa91b2d612fd007207e32b9768a568f222114ecfae27ddc4f855edb054052aed82a8c30c7 WHIRLPOOL 2c72b2dc136868cda11060f70442e8f193189f5f671a9c2b5f304c8f1f24f50ecf7d803e21cec9061111c382f0c19213fc6daf6d0daf2516f0ba4b2496e37297
diff --git a/x11-misc/xsetleds/files/xsetleds-0.1.3-assignment.patch b/x11-misc/xsetleds/files/xsetleds-0.1.3-assignment.patch
new file mode 100644
index 000000000000..bc929813a3fc
--- /dev/null
+++ b/x11-misc/xsetleds/files/xsetleds-0.1.3-assignment.patch
@@ -0,0 +1,11 @@
+--- a/src/utils.c
++++ b/src/utils.c
+@@ -38,7 +38,7 @@
+ {
+ const char *p;
+
+- if (p = strrchr (filename, '/'))
++ if ((p = strrchr (filename, '/')))
+ p = strrchr (filename, '/') + 1;
+ else
+ p = filename;
diff --git a/x11-misc/xsetleds/files/xsetleds-0.1.3-isalpha.patch b/x11-misc/xsetleds/files/xsetleds-0.1.3-isalpha.patch
new file mode 100644
index 000000000000..b256bdb2da66
--- /dev/null
+++ b/x11-misc/xsetleds/files/xsetleds-0.1.3-isalpha.patch
@@ -0,0 +1,13 @@
+--- a/src/xsetleds.c
++++ b/src/xsetleds.c
+@@ -29,8 +29,9 @@
+ #include <string.h>
+ #include <stdlib.h>
+ #include <stdarg.h>
++#include <ctype.h> /* isalpha() */
+
+-#include <xsetleds.h>
++#include "xsetleds.h"
+
+
+ struct key keytab[] = {
diff --git a/x11-misc/xsetleds/metadata.xml b/x11-misc/xsetleds/metadata.xml
new file mode 100644
index 000000000000..6c6e166da53c
--- /dev/null
+++ b/x11-misc/xsetleds/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>jss2k2@chello.no</email>
+ <name>John S. Skogtvedt</name>
+ <description>Proxied maintainer</description>
+ </maintainer>
+ <maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/x11-misc/xsetleds/xsetleds-0.1.3-r1.ebuild b/x11-misc/xsetleds/xsetleds-0.1.3-r1.ebuild
new file mode 100644
index 000000000000..d9d5530b4c5d
--- /dev/null
+++ b/x11-misc/xsetleds/xsetleds-0.1.3-r1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit eutils toolchain-funcs
+
+DESCRIPTION="small tool to report and change the keyboard LED states of an X display"
+HOMEPAGE="ftp://ftp.unix-ag.org/user/bmeurer/xsetleds/"
+SRC_URI="ftp://ftp.unix-ag.org/user/bmeurer/xsetleds/src/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 hppa ia64 ~mips ppc sparc x86"
+
+RDEPEND="
+ x11-libs/libX11
+ x11-libs/libXtst
+"
+DEPEND="
+ ${RDEPEND}
+ x11-proto/inputproto
+ x11-proto/xextproto
+ x11-proto/xproto
+"
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}"/${P}-assignment.patch \
+ "${FILESDIR}"/${P}-isalpha.patch
+ tc-export CC
+}
+
+DOCS=( AUTHORS ChangeLog README TODO )
diff --git a/x11-misc/xsnap/Manifest b/x11-misc/xsnap/Manifest
new file mode 100644
index 000000000000..f5bca765dc6f
--- /dev/null
+++ b/x11-misc/xsnap/Manifest
@@ -0,0 +1,6 @@
+AUX xsnap-1.5.15-root_name.patch 228 SHA256 bb970680732f81c9e50d4ce729556cfa60be75e39176f14e410c4d4c23bdb334 SHA512 965a26474cdbe809a26559ac431aa9acdbc20ff5469e58f8b95b9da0eb58e278040f233bdc42fd54aea6f556fa2a801f6f0ca610a2ed4caa100172cb9ead4ed1 WHIRLPOOL d65ecde00a441dc963563e7a68b0918d5faa7d26505664102f455b6dff6e086202f5122e04ba6de2cf2cd7dd81f11d75014d870adf02419a25b11c2664d7ef52
+DIST xsnap-1.5.15.tar.bz2 46574 SHA256 e83cd5dc98fb682effd15db5a7423392236cf88f73fc98ca3972a2555c080fb9 SHA512 898914dd0bfec93b641815cc07522d4ea6168266a7f5efe75715cf68555e8959a72b40b0a02e75244348afc6aa77d267fbe7ee60670da5f33e6db2f6c4476dac WHIRLPOOL aeb8a26e92af4b6cb602d4d33293bca511c502443215b5cddb4f2185663481e3fd540df5d6ed73b6a640526e040129cb4c8698879f342faf38e03b173385d53c
+EBUILD xsnap-1.5.15-r1.ebuild 1328 SHA256 4feb3ec3ee6aa9db03bda7a41d26d1f0bc606095be395cadcf7f05ecbc50482c SHA512 71c222f510732eaef1b1a550cb57c52fa2d32c3e98521b55685be305fc5dcc956b0366354bfe19d4f763801371ce9cdd66c4e4c588d7a29258186d5c9c0a487d WHIRLPOOL 2e1ad8f1c9319d62974d7d8ef8c2585cb770485990e254687be066375d84c2c56159a12ee0ffbeb04f52b707d9e3c3e6f3adf32f30efe02bc51f2cf959a80855
+MISC ChangeLog 2598 SHA256 f00fa369bcee112a409f10c48770118e8da43f4ceee53aa8d64de4525e49a84e SHA512 3db62c8880dc0241eaf785cc5131bd46b8d3435a09ad7fa7368ebb0105a7c8d6b207efab1480f36186b62ce5955f98f699a5242e464c4c6896634373a0bced64 WHIRLPOOL 532918b767ad9844d33a55439fe4dd0794ee67d6c629628654a863d77f9f0b7611c33b58399b7954e5eb2e254523e580e1b303ea19451155e6ac015ef249f633
+MISC ChangeLog-2015 7228 SHA256 64fc83a3ff0a2953f8af14b23b0860b0b9182323c4a10deeb3b639bb09298bae SHA512 5b894f5597409d862206630ac5f4e1b56333b179f121c68bb682f2aea11627bc655053aab0070b593473d812cb362d1553084ff1c8f24f4afc9650ecf0a0ca57 WHIRLPOOL 55e0a2703e67064066f542d0282f8f55f02fcb088304fdadc66dd97cdc3b8c11d024153f90bcd2b75226a42859d9d2db0b2fa4ee1d94525d2b88814a9b558cfd
+MISC metadata.xml 282 SHA256 ac9236162462e1562a26e596e7dd457a448f9367ff1a5a27ec3513ecade3026b SHA512 06c94ffb49c985c4344b170b902427ca9ce0c23b6d68330af227ab1771794f8e8b6d0ef75b5f69293c8ef0d3264c8799e1389ccdf8dfbe7c665c6477c07479e4 WHIRLPOOL 615c807081b4bef1734f1dbf9a182cb27b7de0e9bcdebd880c6b9c1ab01b95721076ddc4b4e75e93b8f777020bfd52459e9e4b1a9deb41baacc44f6cde05fd36
diff --git a/x11-misc/xsnap/files/xsnap-1.5.15-root_name.patch b/x11-misc/xsnap/files/xsnap-1.5.15-root_name.patch
new file mode 100644
index 000000000000..48076680f207
--- /dev/null
+++ b/x11-misc/xsnap/files/xsnap-1.5.15-root_name.patch
@@ -0,0 +1,11 @@
+--- a/xsnap.c
++++ b/xsnap.c
+@@ -2254,7 +2254,7 @@
+ if (op_mode == 0)
+ exitXsnap (NULL, NULL, snap_pixmap, copy_gc);
+
+- if (!root_name)
++ if (*root_name == '\0')
+ strcpy(output_name, "(stdout)");
+
+ if (op_mode == 2) {
diff --git a/x11-misc/xsnap/metadata.xml b/x11-misc/xsnap/metadata.xml
new file mode 100644
index 000000000000..bc1b97e1eb76
--- /dev/null
+++ b/x11-misc/xsnap/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild b/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild
new file mode 100644
index 000000000000..98310014da85
--- /dev/null
+++ b/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit toolchain-funcs
+
+DESCRIPTION="Program to interactively take a 'snapshot' of a region of the screen"
+HOMEPAGE="ftp://ftp.ac-grenoble.fr/ge/Xutils/"
+SRC_URI="ftp://ftp.ac-grenoble.fr/ge/Xutils/${P}.tar.bz2"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="amd64 ppc x86 ~amd64-linux"
+IUSE=""
+
+COMMON_DEPEND="
+ media-libs/libpng:0
+ virtual/jpeg:0
+ x11-libs/libX11
+ x11-libs/libXft
+ x11-libs/libXpm
+"
+RDEPEND="
+ ${COMMON_DEPEND}
+ media-fonts/font-misc-misc
+"
+DEPEND="
+ ${COMMON_DEPEND}
+ app-text/rman
+ dev-lang/perl
+ x11-misc/imake
+ x11-proto/xproto
+"
+
+DOCS=( AUTHORS Changelog README )
+PATCHES=( "${FILESDIR}"/${P}-root_name.patch )
+
+src_prepare() {
+ default
+
+ sed -i \
+ -e 's|/usr/share/locale|$(LOCALEDIR)|g' \
+ -e 's|/usr/share/man/man1|$(MANDIR)|g' \
+ -e '/cd po.*install/s|cd.*|$(MAKE) -C po LOCALEDIR=$(LOCALEDIR) install|' \
+ -e '21s|.*|LOCALEDIR = /usr/share/locale|' \
+ Imakefile || die
+ sed -i \
+ -e '/^LOCALEDIR=/d' \
+ po/Makefile || die
+
+ xmkmf || die
+
+ sed -i \
+ -e '/ CC = /d' \
+ -e '/ LD = /d' \
+ -e '/ CDEBUGFLAGS = /d' \
+ -e '/ CCOPTIONS = /d' \
+ -e 's|CPP = cpp|CPP = $(CC)|g' \
+ Makefile || die
+}
+
+src_compile() {
+ tc-export CC
+ emake CCOPTIONS="${CFLAGS}" EXTRA_LDOPTIONS="${LDFLAGS}"
+}
diff --git a/x11-misc/xsnow/Manifest b/x11-misc/xsnow/Manifest
new file mode 100644
index 000000000000..3e7d49bf71e9
--- /dev/null
+++ b/x11-misc/xsnow/Manifest
@@ -0,0 +1,5 @@
+DIST xsnow-1.42.tar.gz 56752 SHA256 d0d7c8f1fb91ca096995b1c30797e8f443c2e97d6f1e5f574b31318ed05d561a SHA512 7833f3c1834d64944a578dc71bbf09966d47a1b4878fb826cf121606e76c69544d96d73665572b45c47e0e017dd0cb0bf49f76799aeb859c1dc72348da4ff257 WHIRLPOOL 2a1cd519dda9c9c8a022c561c723608008a48b86e2f0c027a75e5c228df2de93a733ec3912a9304163084139075b85d608d04211e0cbc339d7fef2361cfb866b
+EBUILD xsnow-1.42-r2.ebuild 844 SHA256 7e8d871216c452e378e3976f6f219f846c9b354401942f95f29a41fa57cf7688 SHA512 3b4a09f98c01dbb03b228b37cc4d4ae8c4c254441aa7aecf3821ed4dcbd43a2351b4d228ddd8d082c0e5d7bab7ceb9b5dce4aa44ac181dc2c0fe789e7b00b5d1 WHIRLPOOL 2373180cd537cd819489ea12162cf6057aa07fae5a5f562b217565a37463600a4d01c74fd7cd4cd32e39e0dd0c8cf8ade263835635acc08e9658372c3756fcdc
+MISC ChangeLog 2575 SHA256 669b40e527652e5679cea4fd113ef775b19e777e42c599372b529474690430c1 SHA512 1cc69ebdecba5ac62705643795b76660ae9729cec93042780e6e325e49e4aefe5730b02c818b9b03c0148654411e170344c4c86e2ac14ea37f55e7e8306d1d49 WHIRLPOOL 3b619b396dcf90117af1cb7491a12421cda1d5f4340746f25e8fb5af8f43451bbde1a0c85c669f681da3aa352b1043bb0e47654c9cdf7c481aaf8d5c6608777b
+MISC ChangeLog-2015 2699 SHA256 375ad77e4940cd812c4204b53bcbfb158364a364650fbce429d5d9e37f4b03ae SHA512 295e3df01716b597fe3d320daf0f3fd18804ad74bb6f1f060ffe543aca816e4efcab1e35a8af4d1f232169cdf24271db761a74dbadc621a18d7fab83217b2da5 WHIRLPOOL a849b66deec19e869bebc1f29f14a528a49c034a8abe29d026d2ffc1746c54fdd080e529e276c8a74d00b2af0078bb628a19d7610cc2c59e75fa1b27025ee3f2
+MISC metadata.xml 276 SHA256 437f3dba7deca9da3b3f8ecda9bb5e97253de0412cbb3095d876f39140f3ea98 SHA512 3497963f4fb51bb32521472b54a995091cb457d2cda65c786bd4b46e5af325caf8f6d5c969cefa0c09fe717df09fb015ec59b52f5571c3b2b9d4ea33e6c843ab WHIRLPOOL 8550fd604cf609511bf7c34245ebd6682dd6d058d8cbfa099a77c94d1afcf592909eb679a28a0806957ac0949c6cff350675e0182303ec5890a5e2c2c26d29c5
diff --git a/x11-misc/xsnow/metadata.xml b/x11-misc/xsnow/metadata.xml
new file mode 100644
index 000000000000..2ba8e9e851e4
--- /dev/null
+++ b/x11-misc/xsnow/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/x11-misc/xsnow/xsnow-1.42-r2.ebuild b/x11-misc/xsnow/xsnow-1.42-r2.ebuild
new file mode 100644
index 000000000000..993c4e5a5bd5
--- /dev/null
+++ b/x11-misc/xsnow/xsnow-1.42-r2.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit toolchain-funcs
+
+DESCRIPTION="let it snow on your desktop and windows"
+HOMEPAGE="https://janswaal.home.xs4all.nl/Xsnow/"
+SRC_URI="${HOMEPAGE}${P}.tar.gz"
+
+LICENSE="freedist"
+SLOT="0"
+KEYWORDS="amd64 ppc ppc64 sparc x86 ~x86-fbsd"
+
+RDEPEND="
+ x11-libs/libX11
+ x11-libs/libXt
+ x11-libs/libXext
+ x11-libs/libXpm
+"
+DEPEND="
+ ${RDEPEND}
+ app-text/rman
+ x11-misc/imake
+ x11-misc/gccmakedep
+ x11-proto/xextproto
+ x11-proto/xproto
+"
+
+src_compile() {
+ xmkmf || die
+ make depend || die
+ emake \
+ CC="$(tc-getCC)" \
+ CDEBUGFLAGS="${CFLAGS}" \
+ LOCAL_LDFLAGS="${LDFLAGS}"
+}
+
+src_install() {
+ dobin xsnow
+ rman -f HTML < xsnow._man > xsnow.1-html || die
+ newman xsnow._man xsnow.1
+ newdoc xsnow.1-html xsnow.1.html
+ dodoc README
+}
diff --git a/x11-misc/xsri/Manifest b/x11-misc/xsri/Manifest
new file mode 100644
index 000000000000..536aea916103
--- /dev/null
+++ b/x11-misc/xsri/Manifest
@@ -0,0 +1,6 @@
+AUX xsri-2.1.0-configure.patch 580 SHA256 9e9015dfe19a3589c18bd5b241b2afec92076a846c25e6248beed071d260909d SHA512 147d6b7eed2dc6805551603410c33acea38d1b0d7630d3aca0d783b880d19cf341f9a994b58fb6910f409e380163b2e12687f41e634cdbde4634f3a31eca5bb5 WHIRLPOOL 2af1d3e7caf3c303b461009622153111c38ab568c1ba383e9215e89b06b6156cd86b1361810c09fcd8147d1b25c2f70aacc3ed84856054d80de1d64e12d44742
+DIST xsri-2.1.0-17.fc12.src.rpm 79266 SHA256 0fc0d459de22ea28ada1d4059ee9487a194fa2e35e38fd07bcb75c946586a95b SHA512 1e0948b4f03eef797fdef63732f592ebaa3aeff7010941c2df9ae0a3656a9c477adad48c72cf59531227f2427330cca13ae09c5c60739ec66411dcce10f44ee9 WHIRLPOOL a3b08d710f37eb7b743cb5a53b313c2a8db4c5caf6e0a43f3e1ddce697db7466a0d2da480a66e600de6432aca1913babe05c70d48519e3e3fd76dd3ee91b905a
+EBUILD xsri-2.1.0-r3.ebuild 643 SHA256 2141f39e706878be7b1c5c158caf6548b7778bc4fbf53b13ba560ca0a3dc1179 SHA512 f664a4b314bfdda244ffab01ec14dfdc1153f7248d93ff6716db652c7c779adf1a1b4645854720d9a1ed57225699e76fe466de9a4abcfb67dc999cb39c3288fe WHIRLPOOL c884adfd9aa093c7600456fd09c04a0aa790a3cda8e6b31b9dc1c5b3336f791d06cf21631be5042fe9abbc8aa7e62dac33fe07c7f5b9a78d96b0369c6c372e88
+MISC ChangeLog 2459 SHA256 b12a9237860489ded2706664ff85522981e9d8017139560d069ee29cd9fcbdf0 SHA512 6d268b3cdda18ecf390897f4469bbd5ac99040448e3d355d7344a3d9de7fd8ac3dbabb037ceb794a8435e67e7d7ec17f141e1f4b662e122e909ba99182e0b136 WHIRLPOOL ffd51b3b4f1d176a9dbb96ec9901081918f46457ce71f5219c2ae1d831ca872841a6988f832dadc14d1173b29fa07e65189942dc632e9ce99caa33ef71498a73
+MISC ChangeLog-2015 2953 SHA256 afe068dd4c192c272e5c323e1b799c4582c4ddeedc13d1c8eb47b484f0404244 SHA512 7c4b6a3d1edc16b6a29886aefd7fa201ce48670d5bdf2655c0faf09d0fc9a8dffa10195a079d9b4bd13fadbc40da50f3252f49b04cb293507d268a8d6b2a9977 WHIRLPOOL d9f51457d1ba65009689f99b44b8318cd73911cebb2dda9bdb52f06c5825749f26779892b1c72282434282a6fa09fbfcfef4604ca6f426230c30f395ff962979
+MISC metadata.xml 272 SHA256 b389ad9ba70c18154af4fc164e31d5b1e2a4e99815d34319b4a4f46ccef2be52 SHA512 ebe67da08587903b5b82fc194aa3c8f1ab65371f60d2c134928362e089550d9e9fd9531bffe8b676a345b5bf0ab209ce7f50d37d98201a88176f002e17582493 WHIRLPOOL 3d6a9660a11c299dbb7fa3ec6821005f2540dc8fc9e499206d38d79d54023b3ddc66a019b2c88fbc92199b9f5335088b47fa3fdd781f92f2da3ad98b26bc2a50
diff --git a/x11-misc/xsri/files/xsri-2.1.0-configure.patch b/x11-misc/xsri/files/xsri-2.1.0-configure.patch
new file mode 100644
index 000000000000..c000e7091092
--- /dev/null
+++ b/x11-misc/xsri/files/xsri-2.1.0-configure.patch
@@ -0,0 +1,26 @@
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -1,8 +1,5 @@
+ INCLUDES = \
+ $(GTK_CFLAGS) \
+- -DG_DISABLE_DEPRECATED \
+- -DGDK_DISABLE_DEPRECATED \
+- -DGTK_DISABLE_DEPRECATED \
+ -DSYSCONFDIR=\"$(sysconfdir)\"
+
+ bin_PROGRAMS = xsri
+--- a/configure.in
++++ b/configure.in
+@@ -26,9 +26,11 @@
+
+ dnl library checks (not using macros/ directory)
+
+-PKG_CHECK_MODULES(GTK, gtk+-2.0 >= 1.3.13,,
++PKG_CHECK_MODULES(GTK, x11 gtk+-2.0 >= 1.3.13,,
+ AC_MSG_ERROR([*** GTK+-2.0 must be installed to compile xsri]))
+
++AC_CHECK_LIB(m, sqrt)
++
+ AC_SUBST(GTK_CFLAGS)
+ AC_SUBST(GTK_LIBS)
+
diff --git a/x11-misc/xsri/metadata.xml b/x11-misc/xsri/metadata.xml
new file mode 100644
index 000000000000..49c86a887b6a
--- /dev/null
+++ b/x11-misc/xsri/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+</maintainer>
+</pkgmetadata>
diff --git a/x11-misc/xsri/xsri-2.1.0-r3.ebuild b/x11-misc/xsri/xsri-2.1.0-r3.ebuild
new file mode 100644
index 000000000000..679a28444897
--- /dev/null
+++ b/x11-misc/xsri/xsri-2.1.0-r3.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit autotools eutils rpm
+
+DESCRIPTION="The xsri wallpaper setter from RedHat"
+HOMEPAGE="http://fedoraproject.org"
+SRC_URI="http://download.fedoraproject.org/pub/fedora/linux/releases/15/Everything/source/SRPMS/${P}-17.fc12.src.rpm"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~ppc x86 ~x86-fbsd"
+
+RDEPEND="x11-libs/gtk+:2"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-configure.patch
+ eautoreconf
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ dodoc AUTHORS README
+ doman ../${PN}.1
+}
diff --git a/x11-misc/xss-lock/Manifest b/x11-misc/xss-lock/Manifest
new file mode 100644
index 000000000000..e880df8f795e
--- /dev/null
+++ b/x11-misc/xss-lock/Manifest
@@ -0,0 +1,4 @@
+DIST xss-lock-0.3.0_p20140302.tar.bz2 12135 SHA256 b9116a91367d10cd582343ad3ac6fda56c7413a7a27b6b6ae4b45ac2aa9fe8f4 SHA512 366e203487fd6983baa646e3b181df75b7401cf7236c0f756d8b7a92c2b9a610c08b326e4a152ccedcabb9733faa3aaebd5bc9f0e2de3f523bb339603e53b179 WHIRLPOOL 34dc98ee1e96d10ffcc0ff94ca3d205a78d37984330b1305dd456c17f36391c5183768121a7eb032c07dfb584442100abc6bc04150d320129850dc98439519eb
+EBUILD xss-lock-0.3.0_p20140302-r1.ebuild 674 SHA256 12f269a6c77b54e41260a42cb818a4fe773044c55719dbbf5c38481b9dc532a8 SHA512 dd7c783b44d559ca13541ad3ad98bedf8d8618bad630e75888970a35f99e2b6c08397fbb3e7437883efac60b8b0bf60f3a6c1e11c36d78fbed9e76fc408be804 WHIRLPOOL 75fdb2461e6e99886cb3f5b6855b0193b7d134170bb6567dde5236f6681038d31603e235cd41202bb559fd107647028910244447cac9a0da9707f7ebf4b620cb
+MISC ChangeLog 576 SHA256 850e1860a46cff79e292956d833e221fd2aec2f4437a6e0cb47063279c7f5be8 SHA512 3d94a28d9ceffc23d54543987f31fafc5be609d28c75eb7907fbc0506e2f53c3474a36d9a58c688429505281a74a9596ebe2cefc157d0091a6c13c9ceea0f144 WHIRLPOOL dd741cca55450383b48b59ed6f17cac09ecfc7e33e12331f590d6fb232adde3ce66ddc338c8c17ee61ab98ac967854a818b6072c606b3c28617b63c33df43798
+MISC metadata.xml 863 SHA256 8d3e9de4558d8d50aea3075627cdc23d7194e52adf39025b70e2d85ada0b1aca SHA512 da289c5cc992354b439fdebffa46426cb54511b574d755e15448b7861ca8c8d77fd95c426f13e2971cc9b3a70f921ea5e459148b647218ef096beed4c7e0a74a WHIRLPOOL 6ecb724fb1619a5282b5ae1f16418aac867868fe415fa7372cb0cb17f012667deaf8999d8b5c877d48501f4583a8c53df595ab94ae2c1dc4be0333affc7d084c
diff --git a/x11-misc/xss-lock/metadata.xml b/x11-misc/xss-lock/metadata.xml
new file mode 100644
index 000000000000..aa62c530159e
--- /dev/null
+++ b/x11-misc/xss-lock/metadata.xml
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person">
+ <email>sir.suriv@gmail.com</email>
+ <name>Diogo Pereira</name>
+</maintainer>
+<maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+</maintainer>
+<longdescription lang="en">
+ xss-lock hooks up your favorite locker to the MIT screen saver extension
+ for X and also to systemd's login manager.
+</longdescription>
+<use>
+ <flag name="man">Build and install man pages</flag>
+</use>
+<upstream>
+ <maintainer status="inactive">
+ <email>raymondwagenmaker@gmail.com</email>
+ <name>Raymond Wagenmaker</name>
+ </maintainer>
+ <remote-id type="bitbucket">raymonad/xss-lock</remote-id>
+ <bugs-to>https://bitbucket.org/raymonad/xss-lock/issues</bugs-to>
+</upstream>
+</pkgmetadata>
diff --git a/x11-misc/xss-lock/xss-lock-0.3.0_p20140302-r1.ebuild b/x11-misc/xss-lock/xss-lock-0.3.0_p20140302-r1.ebuild
new file mode 100644
index 000000000000..5beaf9edeacf
--- /dev/null
+++ b/x11-misc/xss-lock/xss-lock-0.3.0_p20140302-r1.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils vcs-snapshot
+
+DESCRIPTION="Use external locker as X screen saver"
+HOMEPAGE="https://bitbucket.org/raymonad/xss-lock"
+SRC_URI="https://bitbucket.org/raymonad/xss-lock/get/1e158fb20108058dbd62bd51d8e8c003c0a48717.tar.bz2 -> ${P}.tar.bz2"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="amd64 ~x86"
+IUSE="+man"
+
+RDEPEND="dev-libs/glib:2
+ x11-libs/libxcb
+ x11-libs/xcb-util"
+DEPEND="${RDEPEND}
+ man? ( dev-python/docutils )"
+
+src_install() {
+ cmake-utils_src_install
+
+ dodoc -r "${ED%/}/usr/share/doc/${PN}/."
+ rm -r "${ED%/}/usr/share/doc/${PN}" || die
+}
diff --git a/x11-misc/xssstate/Manifest b/x11-misc/xssstate/Manifest
new file mode 100644
index 000000000000..cb9e7da25e95
--- /dev/null
+++ b/x11-misc/xssstate/Manifest
@@ -0,0 +1,6 @@
+AUX xssstate-1.0.20130103-gentoo.patch 2528 SHA256 756a2ad3851160838364b5bdf02bd1cd0389c36ad48d120180ad5f3a7ba3dfad SHA512 29ed64ee4cd4512cae80c65bce9058498ffccc817a5b0dfd27eede08a6361b332377fdd0bec2430a469a5291579d5a5dd9ba7bd605af567fec07a7a8fc3b3ee1 WHIRLPOOL 2f90090422d72d310ad1b1f374e66bde1a477d3ba1a42e42691fdf60dd13577ede5a51f3bf850e4d3ace12dcf9dddc71778c2c6a01c5c9638cd42a09cfad73f6
+DIST xssstate-1.1.tar.gz 3725 SHA256 c4b6f504a6a8eb247bc60960bd65cbf9631c008449a1d71ac4c55e34be1c6011 SHA512 96c59e9cc7b78aec8a95040cd1c4c6aaeb85f092c5a52cf64a62ceeb3fed65bdd3eb6f070b3d66ae8ec2544371a236f32e83e0a5c45e6d21f2bf7791b5c0d519 WHIRLPOOL a4325df86a593530975c758446d496d3815aab606bed0f768f52365438aa25339498cc32cd7b5d4e7a4a72e99649b388be2c3f3a9c2bdb093915f3e2ac750144
+EBUILD xssstate-1.1.ebuild 677 SHA256 20fbd8f96b19f3b606a20a3e02281dd7df2557275a974114425757b80de05a60 SHA512 c02207bc7d9048f139c5e8b6a905d451e5218c6fc53f34ee855516f21f83990f3d34ef37ef93339fc3fe9c0213a987c81d98ec8d4ab80b1bb8c459670b04a351 WHIRLPOOL a24948ebc62f337bc38d50df002880297d986a97fa53245129f9e2f709c127f216fe0ef685b445ffe743765d36006625ad2574e2debbc14722eedda8b4b9160a
+MISC ChangeLog 2987 SHA256 62ccfc3047e1010f9e5f6240b23012c98a4af8b9bdb68e4699fd1688a323259f SHA512 40c3c43cfa1a8a996e44263a48288cdbcbfbe0395d9bbedbb7d2530b4adc8071ceafaa57941fbda8cf1767540452d943eec9b3c1f5264ad281968c6ce547c18b WHIRLPOOL 096cd3b2ed1a044ca47f57818b9d1b35f2e51894d219f0020bbb88415a5f0a4ccf9ed29df1185139ae4c53e99be564f02b7b215f9f0de555b5fd0b34d9342faa
+MISC ChangeLog-2015 1050 SHA256 ba99cc7390ebadc3878091a53703b32a06dfba16ac5e1b598873f57f2b5005b2 SHA512 cdfe79367e62b4e99024dfe234a9589fe4dca2545d634c76ac5c8d39c5cadc6bdaeaec421d7579aebe93f0346c9314ef592e3df738ab22ca831f16ec7517b1c5 WHIRLPOOL c381c6433b1e62a40f3b9f9a9d4e5c121eca4f3112360ddc898c81d1fd1b60e2094dd2ea3ef93019c1a5e0f8ebbb106bbc2e9f9c299efd8234226366cd0a03bb
+MISC metadata.xml 369 SHA256 45dcb0828e3841d5a312f7a8c86cd2ee4cd58ca0e7b5bda7100a5077d2c060bf SHA512 9c2113536cbda45e66eb5697ac4c173ff301a7692c7f3bafead7e5bc7e30778535dbd9dc8ee494ced840a2f17e6b1674c95418772fbffda61eb11848ef368b9d WHIRLPOOL 8e3504de20944b25ed6755d9d78d32ee86ed50e16a5a89acf1444e88c264454832b2bab795fc42a6799dc9d5c958ed54b44c91219d31e9224938c6ab0901bb99
diff --git a/x11-misc/xssstate/files/xssstate-1.0.20130103-gentoo.patch b/x11-misc/xssstate/files/xssstate-1.0.20130103-gentoo.patch
new file mode 100644
index 000000000000..b951afe91a88
--- /dev/null
+++ b/x11-misc/xssstate/files/xssstate-1.0.20130103-gentoo.patch
@@ -0,0 +1,89 @@
+--- a/Makefile
++++ b/Makefile
+@@ -5,7 +5,7 @@
+ SRC = xssstate.c
+ OBJ = ${SRC:.c=.o}
+
+-all: options xssstate
++all: xssstate
+
+ options:
+ @echo xssstate build options:
+@@ -14,42 +14,34 @@
+ @echo "CC = ${CC}"
+
+ .c.o:
+- @echo CC $<
+- @${CC} -c ${CFLAGS} $<
++ ${CC} -c ${CFLAGS} $<
+
+ ${OBJ}: config.mk
+
+-xssstate: xssstate.o
+- @echo CC -o $@
+- @${CC} -o $@ xssstate.o ${LDFLAGS}
++xssstate: options xssstate.o
++ ${CC} -o $@ xssstate.o ${LDFLAGS}
+
+ clean:
+- @echo cleaning
+ @rm -f xssstate ${OBJ} xssstate-${VERSION}.tar.gz
+
+ dist: clean
+- @echo creating dist tarball
+- @mkdir -p xssstate-${VERSION}
+- @cp -R LICENSE README Makefile config.mk xsidle.sh \
++ mkdir -p xssstate-${VERSION}
++ cp -R LICENSE README Makefile config.mk xsidle.sh \
+ xssstate.1 arg.h ${SRC} xssstate-${VERSION}
+- @tar -cf xssstate-${VERSION}.tar xssstate-${VERSION}
+- @gzip xssstate-${VERSION}.tar
+- @rm -rf xssstate-${VERSION}
++ tar -cf xssstate-${VERSION}.tar xssstate-${VERSION}
++ gzip xssstate-${VERSION}.tar
++ rm -rf xssstate-${VERSION}
+
+ install: all
+- @echo installing executable file to ${DESTDIR}${PREFIX}/bin
+- @mkdir -p ${DESTDIR}${PREFIX}/bin
+- @cp -f xssstate ${DESTDIR}${PREFIX}/bin
+- @chmod 755 ${DESTDIR}${PREFIX}/bin/xssstate
+- @echo installing manual page to ${DESTDIR}${MANPREFIX}/man1
+- @mkdir -p ${DESTDIR}${MANPREFIX}/man1
+- @sed "s/VERSION/${VERSION}/g" < xssstate.1 > ${DESTDIR}${MANPREFIX}/man1/xssstate.1
+- @chmod 644 ${DESTDIR}${MANPREFIX}/man1/xssstate.1
++ mkdir -p ${DESTDIR}${PREFIX}/bin
++ cp -f xssstate ${DESTDIR}${PREFIX}/bin
++ chmod 755 ${DESTDIR}${PREFIX}/bin/xssstate
++# mkdir -p ${DESTDIR}${MANPREFIX}/man1
++# @sed "s/VERSION/${VERSION}/g" < xssstate.1 > ${DESTDIR}${MANPREFIX}/man1/xssstate.1
++# @chmod 644 ${DESTDIR}${MANPREFIX}/man1/xssstate.1
+
+ uninstall:
+- @echo removing executable file from ${DESTDIR}${PREFIX}/bin
+- @rm -f ${DESTDIR}${PREFIX}/bin/xssstate
+- @echo removing manual page from ${DESTDIR}${MANPREFIX}/man1
+- @rm -f ${DESTDIR}${MANPREFIX}/man1/xssstate.1
++ rm -f ${DESTDIR}${PREFIX}/bin/xssstate
++# @rm -f ${DESTDIR}${MANPREFIX}/man1/xssstate.1
+
+ .PHONY: all options clean dist install uninstall
+--- a/config.mk
++++ b/config.mk
+@@ -13,13 +13,13 @@
+
+ # flags
+ CPPFLAGS = -DVERSION=\"${VERSION}\"
+-CFLAGS = -g -std=c99 -pedantic -Wall -O0 ${INCS} ${CPPFLAGS}
+-LDFLAGS = -g ${LIBS}
++CFLAGS += -std=c99 -pedantic -Wall ${INCS} ${CPPFLAGS}
++LDFLAGS += ${LIBS}
+
+ # Solaris
+ #CFLAGS = -fast ${INCS} -DVERSION=\"${VERSION}\"
+ #LDFLAGS = ${LIBS}
+
+ # compiler and linker
+-CC = cc
++CC ?= cc
+
diff --git a/x11-misc/xssstate/metadata.xml b/x11-misc/xssstate/metadata.xml
new file mode 100644
index 000000000000..229dd61feac9
--- /dev/null
+++ b/x11-misc/xssstate/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person">
+<email>jer@gentoo.org</email>
+<name>Jeroen Roovers</name>
+</maintainer>
+<maintainer type="project">
+<email>desktop-misc@gentoo.org</email>
+<name>Gentoo Desktop Miscellaneous Project</name>
+</maintainer>
+</pkgmetadata>
diff --git a/x11-misc/xssstate/xssstate-1.1.ebuild b/x11-misc/xssstate/xssstate-1.1.ebuild
new file mode 100644
index 000000000000..cda0b3adfc2b
--- /dev/null
+++ b/x11-misc/xssstate/xssstate-1.1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit eutils toolchain-funcs
+
+DESCRIPTION="A simple tool to retrieve the X screensaver state"
+HOMEPAGE="https://tools.suckless.org/x/xssstate"
+SRC_URI="https://dl.suckless.org/tools/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+ x11-libs/libX11
+ x11-libs/libXScrnSaver
+"
+DEPEND="
+ ${RDEPEND}
+ x11-proto/scrnsaverproto
+ x11-proto/xproto
+"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-1.0.20130103-gentoo.patch
+ tc-export CC
+}
+
+src_install() {
+ emake DESTDIR="${D}" PREFIX='/usr' install
+ dodoc README xsidle.sh
+ doman ${PN}.1
+}
diff --git a/x11-misc/xstroke/Manifest b/x11-misc/xstroke/Manifest
new file mode 100644
index 000000000000..840649a4d6e7
--- /dev/null
+++ b/x11-misc/xstroke/Manifest
@@ -0,0 +1,7 @@
+AUX xstroke-0.6-sigsegv_sprintf.patch 438 SHA256 d0acd3dac33f2e4bfc03c3b8a73bd04fd5525bdc5a407d04e1ed180284a8c98a SHA512 6ac7fd2b4b64021926c9ec6999df6fd7142b7d42f31012a63ca31ffd6db9848c9687875af508b0f63e7c49dc1cd01057f2073c0bd99409998ec578c44d61f384 WHIRLPOOL 54ab922036df979a325ec3790c44e4255fba448c5c4933ae1dd6f96f9359315764d2c914a490afe104c1da1c7e02aa61f8090e4180a19c8e601e32eae29167f3
+AUX xstroke-0.6-underlinking.patch 443 SHA256 c4d81df637eb8409e3990970ea2bf4ea9c69bb9d7239eada050f4f84df6f2076 SHA512 ef219a2d56bf52df8187cbfee704d1e0dd91f7f742fc2b83c63dd469eb1f6f2297dc8cd09ab2444ad18f94aff5c95bfbff0055084202363426434f3185074c84 WHIRLPOOL 064b3edab9473a301556517dc409d568c4015c3359481af3fdf1e23a5208e949d9936a21b2b8dcb676250c63a3ba92c6c018979736f01e3abb5507241f0a37f7
+DIST xstroke-0.6.tar.bz2 140237 SHA256 814a38ec6dada26a7bda5439fe34995d5ac812bf2e8c008f8b297ab08b42fb5f SHA512 0fb75f20dfcb8db68bb17d50a9dea2906e17ee1d8675bb7b4dea964189aa69c8bfcc101d7e7fac22209da3f83fc0d0afd569d443d3f585bffa2d62ce11ad772a WHIRLPOOL 233caa7771c2dd62e3bebbcfcb54addbcc149d889289142ac024016593618e746f4f80e8173c1605d9142be09a752b0552d92ef829763777111715b62b0c5c61
+EBUILD xstroke-0.6-r1.ebuild 851 SHA256 4d05dc02643460af9bd7c0c0f8f68aafdae2bb8b2bd58af3047b4c29465ff706 SHA512 1f40a6514bb8a9d4397006562806e626a52e73bed35e34a134da778c027b2438de92906e3ec4e459446f427224413a71f7f461eee2e0516a193558e402dfa88a WHIRLPOOL 66f5a4f1e35cfc690e1d11a49ca12a25d2e4632b0d0d291c537a7a7ce634d5fd63752ad00bb60e852f0c61e96b5ff1bd9f79245c52224ff1179a022880fdee59
+MISC ChangeLog 2514 SHA256 d34added630997622bb2243955a441b7a6c2e094ce7f0d0b771c9122092ab7ea SHA512 73a1f9cfe46d0b94e050665373069591081dc4ee6fd129e2d5c81d266634052807d485c37fec48b05a5750a85c6f02b657162cda560ae7981ecd0d0819cb92d8 WHIRLPOOL b0491133accbacb8487a696b1d8e1f444c7701455ad4584f575432a73bc4be991eb458b796c008a3d6b304f8e70c078db9a2f9338a0b42ccff67f9cd52f08a05
+MISC ChangeLog-2015 4130 SHA256 211804a20b5aac18ec0bf171376f47f509f71b74c9f486fec10fe405b021f8fd SHA512 fe476531b76e9afbbcfbbed95c15ecc410893ca41b1ceb24f98774087d162c9cfb50da36b3fd061859cbfafe3d125c0051e2e7bd56938e4764e848fdcb0b00c3 WHIRLPOOL 4fbf8c4c597dcf0c0aee187582733532c97140d713977778a7a8f75e0e08c735dde9760eff9a5b29e67e428afcb178c22abd1b90f93b466fc366c5fc4b78cfab
+MISC metadata.xml 351 SHA256 d2d0ff0dea6929241f843ef3b9f1ca94c88ab9386c534d00ab66e291f17920f7 SHA512 ad9389409b86bb91a79c9706d3662f0794507ee881b689e310b77cc50fcf8079b32340ff0b4231a5584365e9417b4331bd326c99ad3e514e8b44549072991319 WHIRLPOOL 046bbe7659af4b5705fb981140c821a33fc82e21c07a8a88341e9c7795bb32ca4a88bd4ab89a3832773448af6ff4a6a4336060941129fd00b56c66cb627f7c0a
diff --git a/x11-misc/xstroke/files/xstroke-0.6-sigsegv_sprintf.patch b/x11-misc/xstroke/files/xstroke-0.6-sigsegv_sprintf.patch
new file mode 100644
index 000000000000..b36958849f53
--- /dev/null
+++ b/x11-misc/xstroke/files/xstroke-0.6-sigsegv_sprintf.patch
@@ -0,0 +1,13 @@
+diff -Nru xstroke-0.6.vanilla/sprintf_alloc.c xstroke-0.6/sprintf_alloc.c
+--- xstroke-0.6.vanilla/sprintf_alloc.c 2005-11-26 01:55:32.000000000 +0100
++++ xstroke-0.6/sprintf_alloc.c 2005-11-26 01:55:55.000000000 +0100
+@@ -74,7 +74,8 @@
+ {
+ char *new_str;
+ /* Guess we need no more than 100 bytes. */
+- int n, size = 100;
++ /* yeah... right... */
++ int n, size = 512;
+
+ if ((*str = malloc (size)) == NULL)
+ return -1;
diff --git a/x11-misc/xstroke/files/xstroke-0.6-underlinking.patch b/x11-misc/xstroke/files/xstroke-0.6-underlinking.patch
new file mode 100644
index 000000000000..52b39ddf4512
--- /dev/null
+++ b/x11-misc/xstroke/files/xstroke-0.6-underlinking.patch
@@ -0,0 +1,11 @@
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -40,7 +40,7 @@
+ BUILT_SOURCES = rec_parse.h rec_lex.h rec_lex.c
+ AM_YFLAGS = -d
+
+-xstroke_LDADD = @XSTROKE_LIBS@ -lm -lpthread $(X_LIBS) -lXpm -lXtst
++xstroke_LDADD = @XSTROKE_LIBS@ -lm -lpthread $(X_LIBS) -lXpm -lXtst -lX11 -lXrender -lXext -ldl
+ AM_CFLAGS = @XSTROKE_CFLAGS@ -DXSTROKE_CONF_DIR='"$(sysconfdir)/xstroke"' $(X_CFLAGS)
+
+ EXTRA_DIST = xstroke_active.xpm xstroke_inactive.xpm etc/alphabet
diff --git a/x11-misc/xstroke/metadata.xml b/x11-misc/xstroke/metadata.xml
new file mode 100644
index 000000000000..4150784c3af2
--- /dev/null
+++ b/x11-misc/xstroke/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="freshmeat">xstroke</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/xstroke/xstroke-0.6-r1.ebuild b/x11-misc/xstroke/xstroke-0.6-r1.ebuild
new file mode 100644
index 000000000000..8d03a8cf83eb
--- /dev/null
+++ b/x11-misc/xstroke/xstroke-0.6-r1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+inherit autotools eutils
+
+DESCRIPTION="Gesture/Handwriting recognition engine for X"
+# Dead upstream?
+#HOMEPAGE="http://www.xstroke.org/"
+HOMEPAGE="http://freshmeat.net/projects/xstroke/"
+SRC_URI="mirror://gentoo/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha ~amd64 hppa ~mips ppc sparc x86"
+IUSE=""
+
+RDEPEND="
+ x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXft
+ x11-libs/libXpm
+ x11-libs/libXrender
+ x11-libs/libXtst
+"
+DEPEND="
+ ${RDEPEND}
+ sys-devel/flex
+ virtual/pkgconfig
+ virtual/yacc
+ x11-proto/inputproto
+ x11-proto/xextproto
+ x11-proto/xproto
+"
+
+DOCS=( AUTHORS ChangeLog NEWS README TODO )
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}"/${P}-sigsegv_sprintf.patch \
+ "${FILESDIR}"/${P}-underlinking.patch
+ eautoreconf
+}
diff --git a/x11-misc/xteddy/Manifest b/x11-misc/xteddy/Manifest
new file mode 100644
index 000000000000..73dea3adf9af
--- /dev/null
+++ b/x11-misc/xteddy/Manifest
@@ -0,0 +1,6 @@
+AUX xteddy-2.2-linking.patch 477 SHA256 3dcad417934a17a7d2cb1fdf217b37b13c16f58d29f4ddd42d585c5360561f13 SHA512 dbfa4207f6e77435b2bef95ae426107c5f397a31e8236a87b05bca86ecd39ce3797a380f4150fa5da3e2016c8ab78b44c6d8e34d69fb8e7619821c285f6c0704 WHIRLPOOL 5a7cbce0498757d94ebe7f8e6f72b93b7a66eb3137c7c3a13a5ba1a7c4e0659bf6ff0f53b75c5c307d87cfb684cba99cc77c4dbca5da6de1ec7fd47ee2eda1d1
+DIST xteddy-2.2.tar.gz 867005 SHA256 d8885a1e2e08787cb469857a9404619cadab9bddcae7fa398a565d53633291e2 SHA512 e48f1f616980b747b3e528a7bb3a46605986e87e05cbad1385992931098acd8857cdd9fa7c38bca94007e74d1ab13cfd567fe6e502eecf8691e24272bd98159b WHIRLPOOL 3c479fa2ea3bc1f097a32c33bc15ea57c1cdb11fb830488865020a79c277a9d668c8e38ce6bc77da5398e7fcd92f91ce936bb88decce7fe0e94e8aa7755352fc
+EBUILD xteddy-2.2.ebuild 713 SHA256 174417ca7988816f966d97c81c784f61efcc03f8149e4f408f6ae883f6ef087d SHA512 9e1f47ffeb837e25e30e1e09301988466705b7278e475e3f49babc1c76a247f1eddf493bcc06a1c7222f196dc9ccdcb5027343b9479d62ea631dd47ca76939ce WHIRLPOOL 9a6268fdb38dc53df8bac4f6c2eaf7a990065edc73ea3c664e9b6823c0b4da3ce9e2a97e4bd86bd48d3c1c10360ba8819d8b40aba9590a0c9628342b8256e402
+MISC ChangeLog 2453 SHA256 f4bbb3ec2aea22064f2d32320722baec20ff873bb1cb13439ee9f3ee05e03128 SHA512 7013d6ecf89f287bb9fbeda29383bd9681247e4d8534f482902df61dfea422295c7bd7b6159d1ebed99a342ee648b47d1e401412fdc99974c82ca38ad864aa6c WHIRLPOOL c24e3c1ae8083950c8b245bc79d8a2e088768b7b6ff304873a2276c4aec07ae8791150838c6f4a7155cd5740731278f803476bcae23e299124d5c204ac41cfc6
+MISC ChangeLog-2015 1987 SHA256 5a9cc57fc3b5fc57272bdd9880d85a99af72ee054ac5ab21606aae9aae71672c SHA512 987d58a1a1b3acb5e0170c26114ea7f063851bc5bc5238d3dec63a265ff22e2dbe7ed024402324f44725374fc0bef27f2926b651bc455a69e331dec821453922 WHIRLPOOL c9e3cedb9846b513f8200b7545f142560952aa7b3f51fbcefdff500896c2b4e7ac40f9d87d7b8293557f8b4bb5997f37c3202204f11f46e80f2540eeaee774f0
+MISC metadata.xml 656 SHA256 6bbee6a4e1f0f36377a8805f77b987c859060340718c1e816e8cd9b996ad2995 SHA512 788050bff7d1c505d389eafd049bfec1d0237742ed9e4f78c97419633239534c0b46de68f20040c5cef95b3bcdb69f686908dbe7289da3060c9ac37a6962d55d WHIRLPOOL d8127acd752c2801e19660b54ade8a6768916dbad6999f7f76ccd0b4f4e6c6aee187dfc4bf2bcdabef1a72155b117ff1c54ac421c1bd751770ef62d2905f746a
diff --git a/x11-misc/xteddy/files/xteddy-2.2-linking.patch b/x11-misc/xteddy/files/xteddy-2.2-linking.patch
new file mode 100644
index 000000000000..6dd01e48f5e9
--- /dev/null
+++ b/x11-misc/xteddy/files/xteddy-2.2-linking.patch
@@ -0,0 +1,22 @@
+--- a/configure.in
++++ b/configure.in
+@@ -5,6 +5,8 @@
+
+ AC_PATH_XTRA
+ PKG_CHECK_MODULES(IMLIB2, imlib2)
++PKG_CHECK_MODULES(X11, x11)
++PKG_CHECK_MODULES(XEXT, xext)
+
+ PIXMAP_PATH="/usr/share/xteddy"
+ AC_SUBST(PIXMAP_PATH)
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -7,7 +7,7 @@
+ bin_SCRIPTS = xtoys xteddy_test
+
+ AM_CFLAGS = @IMLIB2_CFLAGS@
+-AM_LDFLAGS = @IMLIB2_LIBS@ -lX11
++xteddy_LDADD = @IMLIB2_LIBS@ @X11_LIBS@ @XEXT_LIBS@
+
+ DEFS = -DPIXMAP_PATH=\"@PIXMAP_PATH@\" -Wall
+
diff --git a/x11-misc/xteddy/metadata.xml b/x11-misc/xteddy/metadata.xml
new file mode 100644
index 000000000000..c030175dcef1
--- /dev/null
+++ b/x11-misc/xteddy/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+ <longdescription lang="en">
+ Normally, xteddy just sits around doing nothing. After all, that's what
+ teddy bears are for. Look at him, talk to him, place heavy windows on
+ top of him, zap him around until he becomes dizzy, do what you like; he
+ will always be your true (albeit virtual) friend. Now you can load other
+ pixmaps than the nice teddy, too.
+ </longdescription>
+</pkgmetadata>
diff --git a/x11-misc/xteddy/xteddy-2.2.ebuild b/x11-misc/xteddy/xteddy-2.2.ebuild
new file mode 100644
index 000000000000..5924af617562
--- /dev/null
+++ b/x11-misc/xteddy/xteddy-2.2.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit autotools eutils
+
+DESCRIPTION="A cuddly teddy bear (or other image) for your X desktop"
+HOMEPAGE="http://webstaff.itn.liu.se/~stegu/xteddy/"
+SRC_URI="http://webstaff.itn.liu.se/~stegu/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+RDEPEND="media-libs/imlib2[X,png]
+ x11-libs/libX11
+ x11-libs/libXext"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+DOCS=( AUTHORS README ChangeLog NEWS xteddy.README )
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-linking.patch
+
+ # Fix paths in xtoys script wrt bug #404899
+ sed -i -e "s:/usr/games:/usr/bin:" xtoys || die
+ eautoreconf
+}
diff --git a/x11-misc/xtermcontrol/Manifest b/x11-misc/xtermcontrol/Manifest
new file mode 100644
index 000000000000..8167d1a75600
--- /dev/null
+++ b/x11-misc/xtermcontrol/Manifest
@@ -0,0 +1,5 @@
+DIST xtermcontrol-3.3.tar.gz 141972 SHA256 45f69a307580a8e650ddc60b048bff70355ba0d62c1ef5aeae570dd22d0b4cec SHA512 625b1ad93110032244eb277621676d89113a4c45642538b029dd36ab31e2fe9d2603c41236d2a1ffb22b2fd7feb61335f35397814569a634eb0a7d4b71961d1b WHIRLPOOL 2278d6982f4c64d81b33f27be41899c310bbaadabcf48016a0e3ec83c9622afb21eeb46e7b5669c63b4bc7ab4e9de4200a05b4e7c47f77c034d3d054018dd5d1
+EBUILD xtermcontrol-3.3.ebuild 372 SHA256 48cb94ca7e43f9c017ac53acf9fce23731d6ab41211ae0b238e2415a7f7a67dd SHA512 9c12e39bcc1383fed316bf6fbafadeeae9128d3ef60fa7e3a450e61cdb8164e317dd70c64306d2e496f0f818fea4cc21758ea294f9b1783ec2ffb94d63e68ac4 WHIRLPOOL e8bad8b2938bf05119ebe722800f9dbd67781de5c224a769176c9e0d7d7add3d2b46237b86ad72462cdd5ebe638276d2f7eff37285e7cb22181f90dcd4b55a06
+MISC ChangeLog 3721 SHA256 03b9bc2af8c481f0270dea4ede251426b650033d5390f356a36e2b5b2904a7b0 SHA512 4d807b2e655afc6d33f4358e83d04fe6f6a5216d6dd27e0ddad2d3fca4ae94ce190d9195b584ba2edd07f67678316d5d403569ca075d8a930c889d6ddb9de34e WHIRLPOOL 9550f75ad693fcc9dd770b03d60bf45c4ccbe12a86959354b0b189489728b2c1bc4cd57601d8678c03017af3090cbe849f8c44d6954458e2e14916eec80edc2a
+MISC ChangeLog-2015 5088 SHA256 587835e5a2e55fae9b7871319fbb9ae7fb85b9e40b9f53444257f4467528bce0 SHA512 e6d11108c2553de162c8433c1ca8c9399034061a92455cf596a122d3f2c3d0bd950daa16e02bcd527be8828a44091358656275ebdc8043e999b9c04e518b8a8b WHIRLPOOL 790f2df27f313e584bff1b0bfe73137cbeb719d5e5bd68b11e97313e6dfdd84ca389a5b54595f29418d47bb9e683f3d0b3fcb4f96c58b62cf05ff034c9250bb7
+MISC metadata.xml 689 SHA256 7b9fc471901b34892a06567792d81334e8634f20aedfe8d8476362db55edd498 SHA512 ee635786fb7c6876636390fac2aa50cf01946dcbead809021f7bb795ef713bf21ee04123f574d4d7d12402f93c9262f3bcae46fdd0580dd316321cb42421687e WHIRLPOOL 4766ae440f8f68baa73c7a6640e81de91b4bdd4c00fff6d738ca7aa4a79e9d99e3c6ffc8081d91cddc59f4a4bffcb51429c5f936d097aeaa39bb77e9b1d6f0c0
diff --git a/x11-misc/xtermcontrol/metadata.xml b/x11-misc/xtermcontrol/metadata.xml
new file mode 100644
index 000000000000..d2f71679d389
--- /dev/null
+++ b/x11-misc/xtermcontrol/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>x11@gentoo.org</email>
+ <name>X11</name>
+</maintainer>
+<longdescription>
+xtermcontrol enables dynamic control of xterm properties.
+It makes it easy to change colors, title, font and geometry of a running xterm,
+as well as to report the current settings of the aforementioned properties.
+Window manipulations de-/iconify, raise/lower, maximize/restore and reset are also supported.
+To complete the feature set; xtermcontrol lets advanced users issue any xterm control
+sequence of their choosing.
+</longdescription>
+</pkgmetadata>
diff --git a/x11-misc/xtermcontrol/xtermcontrol-3.3.ebuild b/x11-misc/xtermcontrol/xtermcontrol-3.3.ebuild
new file mode 100644
index 000000000000..27c24745cf06
--- /dev/null
+++ b/x11-misc/xtermcontrol/xtermcontrol-3.3.ebuild
@@ -0,0 +1,13 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+DESCRIPTION="xtermcontrol enables dynamic control of XFree86 xterm properties"
+HOMEPAGE="http://www.thrysoee.dk/xtermcontrol/"
+SRC_URI="http://www.thrysoee.dk/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="alpha amd64 ia64 ppc ~sparc x86"
+IUSE=""
diff --git a/x11-misc/xtitle/Manifest b/x11-misc/xtitle/Manifest
new file mode 100644
index 000000000000..9d5685bdfed6
--- /dev/null
+++ b/x11-misc/xtitle/Manifest
@@ -0,0 +1,4 @@
+DIST xtitle-1.0.4.tgz 10528 SHA256 cadddef1389ba1c5e1dc7dd861545a5fe11cb397a3f692cd63881671340fcc15 SHA512 6ed2b9fa5327dce0a2347631acf57517bc45f1bc7c88f098e5be70ec7acd844d1697da81c528046db897d7fd7be3b893f1fc79b010dd52c908c42a609f051cb6 WHIRLPOOL f0540f8d9d80b92979d605fbb2bb4888b6fbd4b61f7be82640483bcee1d557350719673657f6854e4fe35cf015018d2e273c39af8e418d8b775cace0bb1084a9
+EBUILD xtitle-1.0.4.ebuild 508 SHA256 5f24d497d1ba74259e27aa3f478744a9e96545e01b89a0ef74390280a3bcf588 SHA512 0bc2c932796b41d813c4b21c83ae56209c7b9a6611b968c1e7d5dbdeb25fa4b3670dc297ce3f2de1504780967dc4b6583459d3483d94b627765e9b545830060f WHIRLPOOL 1e6e2c952677daebdbd4f8209fe7032f0a3e0c970e5683999e25c135e8b9ff38e8e0697a621cf482be53fdec2e9e6198d7b46c6a0ac5c2f7ed24381c615c0f4d
+MISC ChangeLog 494 SHA256 2c72f26b0b720f425ee6adad334ebad2fc58ac4b7b4f3f2ee9622839ad25f2db SHA512 6d79b079eab4e7d1989c908e59cadf27fe35b476cb481ff2783f42b6d55d236f30d0516e2256ad6bf378299a9c4c337e6cf315b3d8a25289cd621993737f9f4f WHIRLPOOL da1026c1dc6332a8e37e2cda575a9ae86169d322f9670a3e036c499f0bd7f1477bf7c1fa166a57ac09a562905a4167442b97d0df139879d71f5fc190ffcfa7be
+MISC metadata.xml 247 SHA256 64fa6e004283ec9c7c82020cbc85d00830055dd07e10168910790032835f1918 SHA512 1196d40f8c6a3b2e5d0c0590c2f56b53ead40ec8d9eb2c125094eb961b092558c51baa89f237fda24cf1050e85c78dd7419e1d217c2feceb32c6296990ac54c3 WHIRLPOOL bbb7889017fbafda809c794922710ed36f6b6f55531012e47f4527dfefd6bffd8cbf7bff427950ede08d47401c3d6b44a3d6fb66fd55e03485d8374ab8d7bf88
diff --git a/x11-misc/xtitle/metadata.xml b/x11-misc/xtitle/metadata.xml
new file mode 100644
index 000000000000..6698a4ab7883
--- /dev/null
+++ b/x11-misc/xtitle/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>zlogene@gentoo.org</email>
+ <name>Mikle Kolyada</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/x11-misc/xtitle/xtitle-1.0.4.ebuild b/x11-misc/xtitle/xtitle-1.0.4.ebuild
new file mode 100644
index 000000000000..c5e8c66d85a6
--- /dev/null
+++ b/x11-misc/xtitle/xtitle-1.0.4.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="Set window title and icon name for an X11 terminal window"
+HOMEPAGE="https://kinzler.com/me/xtitle/"
+SRC_URI="https://kinzler.com/me/${PN}/${P}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+DEPEND="x11-misc/imake"
+RDEPEND=""
+
+HTML_DOCS=( xtitle.html )
+
+src_compile() {
+ xmkmf || die
+ emake
+}
+
+src_install() {
+ default
+ newman "${PN}.man" "${PN}.1"
+ einstalldocs
+}
diff --git a/x11-misc/xtoolwait/Manifest b/x11-misc/xtoolwait/Manifest
new file mode 100644
index 000000000000..402d7c72fdd1
--- /dev/null
+++ b/x11-misc/xtoolwait/Manifest
@@ -0,0 +1,5 @@
+DIST xtoolwait-1.3.tar.gz 14315 SHA256 c6d075b75294d92440a37a45a6b8bbda07b9d58df5bf585f5a265679f16cb485 SHA512 36c8446dd7076c18de8f6c582db45cbdc6b7ddc733993ddb08c8bd5c5045621597ae1b3144b92461feabeb14bd50a759f86023848302436ab915faa8c10ebdaa WHIRLPOOL 0273a5964b7524f944b3a46ae6a839c0ce8a33ba167645339b98b82a412359a53f6efbbb35361070f80333416d306d41441154cf6a7e1da96e81750e0512cfc8
+EBUILD xtoolwait-1.3-r2.ebuild 890 SHA256 1dba27b3d0f03a9ee2adec8fbfd3a6d3d530f539d6bf0db5fce7aff6d35117b1 SHA512 9bdff4367666ab7389dc2bce6fd9d0b84c068b38ea4a2831d03316f59173b1322b211a9ce5b6d9a3b3e82d457cbea4174e39a91c38104a68e7aaa83858b77eb6 WHIRLPOOL 53e448f0ad5f7b8e0a65aa89b21b2b3e639ae08a9e60dc190dad8573f3d11ee35e886bfc6292612d789c7258fad0dbd616c92700902d92d610f327730d204ef0
+MISC ChangeLog 2435 SHA256 cac6c8f8a264b4374595659884cf05141089f890d213255f166079610638ebdb SHA512 bef361b4fcdb5d97fad6034c8aecbbd3b2e527e3460dbedebdcc8ce92168e59b145779d0d10e55c1020a50a7d69c607d9e650c2ca905b7dc023ddf2f7d89c452 WHIRLPOOL f396425a602b26cc47edfad19bc90383f684295366b5ccf2e162c8e133dcb0a0fa232550db435a76b4cd4eed0e92cb7beca6e5bdd356e9824c8663b826330f43
+MISC ChangeLog-2015 4106 SHA256 09d527d51524c910f6276e923f8b57dc53e08af5392ed8d7bb84ea9826902eeb SHA512 d1e79520ee29284f615359e3f8f8992b633a7f7d00318118949f575f5fa1a318d788c8aaff7a83d104188d3d4addaf5cd1acad03d3344612ff9c44960ad1be2c WHIRLPOOL 1be24c68623fe3a2180d13c381d240835281416b437f804a7263f8077ab14504f3604b0981c356d981284defe03adcc080adebed4562747805c698cd20fd7c54
+MISC metadata.xml 276 SHA256 437f3dba7deca9da3b3f8ecda9bb5e97253de0412cbb3095d876f39140f3ea98 SHA512 3497963f4fb51bb32521472b54a995091cb457d2cda65c786bd4b46e5af325caf8f6d5c969cefa0c09fe717df09fb015ec59b52f5571c3b2b9d4ea33e6c843ab WHIRLPOOL 8550fd604cf609511bf7c34245ebd6682dd6d058d8cbfa099a77c94d1afcf592909eb679a28a0806957ac0949c6cff350675e0182303ec5890a5e2c2c26d29c5
diff --git a/x11-misc/xtoolwait/metadata.xml b/x11-misc/xtoolwait/metadata.xml
new file mode 100644
index 000000000000..2ba8e9e851e4
--- /dev/null
+++ b/x11-misc/xtoolwait/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/x11-misc/xtoolwait/xtoolwait-1.3-r2.ebuild b/x11-misc/xtoolwait/xtoolwait-1.3-r2.ebuild
new file mode 100644
index 000000000000..574b3c3e28b9
--- /dev/null
+++ b/x11-misc/xtoolwait/xtoolwait-1.3-r2.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+inherit toolchain-funcs
+
+DESCRIPTION="Xtoolwait notably decreases the startup time of an X session"
+HOMEPAGE="http://ftp.x.org/contrib/utilities/xtoolwait-1.3.README"
+SRC_URI="http://ftp.x.org/contrib/utilities/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE=""
+
+RDEPEND="x11-libs/libX11
+ x11-libs/libXext"
+DEPEND="${RDEPEND}
+ app-text/rman
+ x11-misc/imake
+ x11-proto/xproto"
+
+src_prepare() {
+ xmkmf || die
+ sed -i \
+ -e '/CC = /d' -e '/EXTRA_LDOPTIONS = /d' \
+ Makefile || die
+}
+
+src_compile() {
+ emake \
+ CC="$(tc-getCC)" \
+ CCOPTIONS="${CFLAGS}" \
+ EXTRA_LDOPTIONS="${LDFLAGS}"
+}
+
+src_install() {
+ emake \
+ BINDIR=/usr/bin \
+ MANPATH=/usr/share/man \
+ DOCDIR=/usr/share/doc/${PF} \
+ DESTDIR="${D}" \
+ install{,.man}
+
+ dodoc CHANGES README
+}
diff --git a/x11-misc/xtrace/Manifest b/x11-misc/xtrace/Manifest
new file mode 100644
index 000000000000..1ea187307644
--- /dev/null
+++ b/x11-misc/xtrace/Manifest
@@ -0,0 +1,5 @@
+DIST xtrace_1.3.0.orig.tar.gz 183803 SHA256 725d6a42d760744d053b912de3259f391f3560dc4b0a624c1f4f2ba9db35dcad SHA512 8078f976652b18503f68020e8ae716fceea506c62582ae23b00cca67b6d6c76a9d0955567a5bb011f1ead6d99996cdcb80f93c5f4c3f9e65c4443599caec3399 WHIRLPOOL ee22fde7eadc6c465949a1276cdfd490c7591a2aa857a728f66d26658f76ff44f55d22d1960a59126b02080fdcc3642c2ee6534998719a961178ca64ce1a3440
+EBUILD xtrace-1.3.0.ebuild 759 SHA256 760fbedee3ca1dc0bf82aa00cd1f1877b962c5293db1834280434ea430f3002f SHA512 659ee76594b62c83983bc9ab467986b8afd882a4c84fc0c0668771d198acee88d789410b6f4ad5df4707706b458d3ede735785523e871aade1ef883436d1b62a WHIRLPOOL a7474f815fabb13f2df6e2952d525bb44c4e411e54a67f6cfed8bfb16b9b1abf98079d6b40f389a1fdedbf8428424c92397119e76bc4048e04ebacc1bdaa537a
+MISC ChangeLog 2424 SHA256 4284c1075fa082856c292d3e5af663f8dd5915fecd8dc3a84d9e8129740ed5ae SHA512 3e738a4fe39a1dd87fe9a50792ec620bcc9a33056696973affa1186b514359bd300b31cfed171a6d25727687856a824e185bb69aa03d37035b3b8a323638eac4 WHIRLPOOL 888d855e1df2c80574da6b8fa795c131c8769c13f400c29a850aeb95d8d7fc7c4725e4f5b5b00dbbe67320621df2892b695109add42259a6f877401cd7989a36
+MISC ChangeLog-2015 592 SHA256 46e69876a7fbf60bbcb1d8df6c362f288fc572d277e311c8682e6307824b43fa SHA512 85a943e94fce3be133fb2c0297ca730473b3582fa4297eb8ec1228d506c81df197123a722e1092325fa5e4c210fcaf106f32d9fc4cd5cc9c319fe887b76bdf2f WHIRLPOOL 845d891eed230c751de2d20c3ac1b284e44eb77799decd93ff5ed0f369ec2bb6855fd1b4913676fe20013596002b9ece4f84202e97f475e75e1e3f23dd5a4ae6
+MISC metadata.xml 462 SHA256 759ca503c1a43d5953cff9cdff5798b0afe2d96b11c7811221329e6916122bfc SHA512 c0c3fdac4ac2b920d347e265918bd2a4ed61637157502028aa8e02111c1cfafef6249c15639b1d02e01e6394faa2ebca0ab2e282e4e4a86bd2975ebca265ca78 WHIRLPOOL a41ca5feb1ac49ac71aec311a4432c968febc74b6b7b80830fd2fdbea787b4bdaaf40960e463b839a4a4bac515955bbb667260187553e9cbd210e463458e2570
diff --git a/x11-misc/xtrace/metadata.xml b/x11-misc/xtrace/metadata.xml
new file mode 100644
index 000000000000..91b9837c7dda
--- /dev/null
+++ b/x11-misc/xtrace/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person">
+ <email>nightnord@gmail.com</email>
+ <name>Andrian Nord</name>
+</maintainer>
+<maintainer type="person">
+ <email>maksbotan@gentoo.org</email>
+ <name>Maxim Koltsov</name>
+</maintainer>
+<maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+</maintainer>
+</pkgmetadata>
diff --git a/x11-misc/xtrace/xtrace-1.3.0.ebuild b/x11-misc/xtrace/xtrace-1.3.0.ebuild
new file mode 100644
index 000000000000..178f5231a886
--- /dev/null
+++ b/x11-misc/xtrace/xtrace-1.3.0.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+
+inherit autotools-utils
+
+MY_CODE="3694"
+
+DESCRIPTION="X11 protocol trace utility"
+HOMEPAGE="http://xtrace.alioth.debian.org/"
+SRC_URI="https://alioth.debian.org/frs/download.php/${MY_CODE}/${P/-/_}.orig.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~s390 ~sh ~x86"
+IUSE=""
+
+DEPEND="x11-libs/libX11"
+RDEPEND="${DEPEND}"
+
+DOCS=(AUTHORS ChangeLog README NEWS)
+
+src_configure() {
+ local myeconfargs=(
+ --program-transform-name="s/^x/x11/"
+ )
+
+ autotools-utils_src_configure
+}
+
+pkg_postinst () {
+ einfo "To avoid collision with glibc (/usr/bin/xtrace)"
+ einfo "binary was renamed to x11trace, as suggested by author"
+}
diff --git a/x11-misc/xtrlock/Manifest b/x11-misc/xtrlock/Manifest
new file mode 100644
index 000000000000..534f8768989d
--- /dev/null
+++ b/x11-misc/xtrlock/Manifest
@@ -0,0 +1,5 @@
+DIST xtrlock_2.8.tar.gz 21125 SHA256 3848b0c9f2597247e82932f43c42cc9fd7171b808dc08ae84b40a13f7f969604 SHA512 a1388250430f7cb7bfe875aae938c332098f9e88ab7a17d68634b36726acfa7a459bf40f71e6df3c6b1256fb4574a62b2fc72357c6e779c1bc55f10204634068 WHIRLPOOL fc0c7c0becf915a2643c3d727c406f4fab10326667ec790926a92bd6967fae3fde86be5e05d43777a1f7e621efce07bc0de22a326a8be954a2596b54f0255a7c
+EBUILD xtrlock-2.8.ebuild 712 SHA256 aa0db26d355e2c933dc88eca8629f0c4c0c5aaffa208ac57677fc24a5c48e8be SHA512 fa772270069d731657f3de5492dc18dd6dc365b755657342ff9f1e3bb299409422e1da4c68ba620037f1c1f14b612f35771333fd84d6b49e7dbf7d76ab050312 WHIRLPOOL 6dd4bf639b2d8b12189b0a40570e2ff0ecfe467c807370e7c7aa547de5e776895a9cd57d27498bd1731c2f2961e757b6a99b780982ea9df91b9956e33cf2ffb0
+MISC ChangeLog 2574 SHA256 b4b74a03d9db8394ba9c30f2a90f40e8c8061def126f02d8cde83e2920c02709 SHA512 4437d21aaa01abf6364c6cea0c754b6b2a9a188f0311f139dd34aa949c067aaa9d327c11f87a7db816d65aa9b41214fb93fcb3a5a15c15c1d682319f4f6fe020 WHIRLPOOL 5f1b846ad76615c960c94abac8c97b508c373f55bcd08a315dd905fce8f1e4bb17416744f078b6963a4e24050c2aaf9efe60b07d81632163776d08e7c872e237
+MISC ChangeLog-2015 4623 SHA256 13d8b48519e3ba2cc0c4185b7f515b0ca0e1e376ede2d35832a01f9f4f5d4b94 SHA512 4a9a3207d276b7ccabd6adf0d89e41a4a4a3ebc13ed796e1d91c135e58bf00392b17dfe7baddfd1c8f913dafa852446381d5f337e3a53fde8fde7d53fb188f5b WHIRLPOOL 70ab04dc03aabbe9ad709b1873866ea7edbe8dbeecc190650c4a6cea87b373105602677a95690bb5324dfc7173abbf11edb562221f9157e05f752063ed701af7
+MISC metadata.xml 318 SHA256 218a00bda7df7396b1c9db4fea27cc69073dd039cb1db1e55d34cfd004209500 SHA512 7d56445a5c7fffdc1104633cdd30eafa17588079b8a1f4cb226984b1aad4e41fe84320608681143dc01c5f1ac5f104cf0717e8183164031644220f9c61086a3b WHIRLPOOL 15d65bcdc3289c77c194a26721b45e700d54a771e5a63d29a52d431b1ac8922ee7ddd7ca11b10dbbb72ba3fd70daa5fba7dba875de04362ab9c489e70d9fb895
diff --git a/x11-misc/xtrlock/metadata.xml b/x11-misc/xtrlock/metadata.xml
new file mode 100644
index 000000000000..66187a0f4213
--- /dev/null
+++ b/x11-misc/xtrlock/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/x11-misc/xtrlock/xtrlock-2.8.ebuild b/x11-misc/xtrlock/xtrlock-2.8.ebuild
new file mode 100644
index 000000000000..50e34becf41a
--- /dev/null
+++ b/x11-misc/xtrlock/xtrlock-2.8.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit toolchain-funcs
+
+DESCRIPTION="A simplistic screen locking program for X"
+HOMEPAGE="http://ftp.debian.org/debian/pool/main/x/xtrlock/"
+SRC_URI="mirror://debian/pool/main/x/${PN}/${P/-/_}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-3"
+KEYWORDS="amd64 ppc x86"
+
+RDEPEND="
+ x11-libs/libX11
+"
+DEPEND="
+ ${RDEPEND}
+ x11-proto/xproto
+ x11-misc/imake
+"
+
+src_compile() {
+ xmkmf || die
+ emake CDEBUGFLAGS="${CFLAGS} -DSHADOW_PWD" CC="$(tc-getCC)" \
+ EXTRA_LDOPTIONS="${LDFLAGS}" xtrlock
+}
+
+src_install() {
+ dobin xtrlock
+ chmod u+s "${D}"/usr/bin/xtrlock
+ newman xtrlock.man xtrlock.1
+ dodoc debian/changelog
+}
diff --git a/x11-misc/xtscal/Manifest b/x11-misc/xtscal/Manifest
new file mode 100644
index 000000000000..06b233600671
--- /dev/null
+++ b/x11-misc/xtscal/Manifest
@@ -0,0 +1,6 @@
+DIST xtscal-0.6.3-patches-0.2.tar.bz2 6152 SHA256 a2c421e48b8d43dc2a5461f26a22ce43b5ed40df1053efce8f85f4cda13f971c SHA512 ee2285b380e62e661c1765658dc8fe970b7bc970b15b0bc257d7dec40391bc3ddeae74ec083ce0142ea103d4a9711df100f3bd3a486924fd731cf9d8fe3e26ea WHIRLPOOL bacb3d55571dc764e71cc80540d8bce42aa65533fa7fb8ae0c272b7c7bee183dace03f9e21ac67c562cfeef02bcfa693f6d36a737250f4258f74ada545b6b953
+DIST xtscal-0.6.3.tar.bz2 80155 SHA256 27b9dc2203de9b1706ca39fa6ca80ecab8807909ec901c4a345b8e41178800a1 SHA512 f6f0ea5332f707151873e7130d4275d584a77d764b4d79e02602b777a67be4e0c02562a31b0cd988490ab89069fb01e7d589e8cd21838988dfabf7b774d79153 WHIRLPOOL 6a05820fdf0540bc91a525f09959632dadc61074d653305b7bfa75feeeff6f3e80faa177bb4c9903c6f7390cb7713c1e726de99ec9b583a4393c136b78bf7975
+EBUILD xtscal-0.6.3-r1.ebuild 678 SHA256 b3116db022d3eabf981ddb22bc0aef54fb617f829312a76afaa195230679245c SHA512 5431e011add7318466a3495caba5f738a0848bbe8199e00a2b1e13c010fbf316064e1f0fcf20b0af463029dd3cfcb189cfb43477d62ab41d3f6de134fb682e5c WHIRLPOOL 3b2c3ca59a8cfe65b57a283b0d6e85bbd3902d21ae38cec1ee29ecb99473769a4ca009de9b61ec486d2f72df6a3647a749f5383398525a89efe10398a9f7a3ab
+MISC ChangeLog 3556 SHA256 66b71e3d9865c5637f4c18fa83e46cf56435312b2172a6f810b5e7ce2f11e7a0 SHA512 f1e9b4ff1296477d2f7f6577ecda6ed9a240496662295191bc900b43eb871e2684d87c88fde59a37aac7dbcc6cd49f4ca13551b575b77af328123dbb35a59093 WHIRLPOOL d598c0dda2c514bd67636d4327f531bdfb08895e6c2159df2cf93257102b4666c5b25e557b0c4d32960d535d074a84da3f340d9296a27e1a1b83b9019deb62e6
+MISC ChangeLog-2015 1419 SHA256 c5bbe7316a19e1aa44aa868e106f9eeccd365a21eacc8acb576e5735fb96e50b SHA512 5c5c6bcdcc1ce890c0d5eed00b9e10c545087039ee82b9fe3dc1a59bf555a04b133c2c452eea822c9ea1bf3e9bef3123f58d0aa2c32daa7a0ba029c44f147089 WHIRLPOOL a27474c66e1dc4d4ce612f2fb06fee37710cc4544bb836fe1b1842687689616da73200356425a5bc70e3758cadba26f77a7c36df9d4fbbf6061cf6be8de89759
+MISC metadata.xml 338 SHA256 28109dcaa4f770b124fd06e4e7f2b93f2ddc2fd038c9fc161316bf5f1d20ec5a SHA512 fbe9ddd4efac249b7382068964ac0d57020d2c1b834bb9aa1046460c3547fff964405de8e0be3cc0e19a46597006272325b8cddab744d031c95bc55157311455 WHIRLPOOL d5e3c189018fb94a5eb1dd05c600b9035991b6df434d69ca94a3c2b21d6ba445ca2414bf9ffd69854fd7d4225dbc1292b38a2c27898095e0e225204cbcd55c63
diff --git a/x11-misc/xtscal/metadata.xml b/x11-misc/xtscal/metadata.xml
new file mode 100644
index 000000000000..c7b47913b668
--- /dev/null
+++ b/x11-misc/xtscal/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>x11@gentoo.org</email>
+ <name>X11</name>
+</maintainer>
+<maintainer type="project">
+ <email>embedded@gentoo.org</email>
+ <name>Embedded Gentoo</name>
+</maintainer>
+</pkgmetadata>
diff --git a/x11-misc/xtscal/xtscal-0.6.3-r1.ebuild b/x11-misc/xtscal/xtscal-0.6.3-r1.ebuild
new file mode 100644
index 000000000000..9e5d711c4ad3
--- /dev/null
+++ b/x11-misc/xtscal/xtscal-0.6.3-r1.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit autotools eutils
+
+DESCRIPTION="Touchscreen calibration utility"
+HOMEPAGE="http://gpe.linuxtogo.org/"
+SRC_URI="http://gpe.linuxtogo.org/download/source/${P}.tar.bz2 mirror://gentoo/xtscal-0.6.3-patches-0.2.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 arm hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh ~sparc x86 ~x86-fbsd"
+IUSE=""
+
+RDEPEND="x11-libs/libX11"
+DEPEND="${RDEPEND}
+ x11-libs/libXCalibrate
+ x11-libs/libXft
+ x11-proto/xcalibrateproto"
+
+src_prepare() {
+ epatch "${WORKDIR}"/patch/*.patch
+ eautoreconf
+}
+
+src_install() {
+ dobin xtscal
+}
diff --git a/x11-misc/xvfb-run/Manifest b/x11-misc/xvfb-run/Manifest
new file mode 100644
index 000000000000..056508ae88bf
--- /dev/null
+++ b/x11-misc/xvfb-run/Manifest
@@ -0,0 +1,6 @@
+DIST xorg-server_1.18.4-2.diff.gz 189089 SHA256 27087a1c0e0c2b9eddd668d351c321c132fea9a28aede98d658408183ef650c0 SHA512 d76e2471a29a1fdc7a65aeb724f1d449ab58e9380acb7c0811d8d3d9962618205943b50c7a684bfc6b6432afe2521ae98356662a5437c78e7e3dd075d872248c WHIRLPOOL c0465b1a04865127e8088874424c7cde558133fe0d2ad1f86261d2f50c6f7199917b5fdc667804db64063478e10268249631598c15b160485aa6fb284c03229e
+DIST xorg-server_1.19.3-2.diff.gz 139662 SHA256 743dca1680e454b2e166fdd2a5e36ca09145bbbd939503b791c74914eeb4603f SHA512 6e030aa132da920092e8b0ed9b414ec883878b84106964ba002e086f9beec821be0cd7a54f5647ca5c54b09198123d6210b8d5620e3fd68369b59cf818be4f85 WHIRLPOOL f294e70f745f6b58f665ba51e5b247b7c4a56dbccc9f64d6721d5ece6ee251a981fd47f892f86a983edf2fea33da9b2ba1cae77440cde33259d2bed4fce89faa
+EBUILD xvfb-run-1.18.4_p2.ebuild 773 SHA256 dfa2dbb249fa317741e1b23fe98707e81f09dc56b8c10a7c57a6bbdf924cde84 SHA512 078d5ce6b8a52c4917c61cfc287caac0400e6db5e44b6df8c67455330e400e3cfce0fd0cd497e7c2d5081ad19076c1ce38191b6668f64bc492a663cb3c9aae4e WHIRLPOOL f0515525e4d1431da4ca0f04ff742cdfab3cefcad9999ce894bf76226359a5af8e1b424602266d218b8677df113f65e509e382a9575ceb8555c1dd3184f0e393
+EBUILD xvfb-run-1.19.3_p2.ebuild 743 SHA256 dab1cfda396d0e4552fe950ac462d9be12e1a3735e11ccfb14aa8fe0303e99ca SHA512 9cf5be301ecd7fb6aec136deb9fab6e595fa0bdc1dd7392a1c654675f341056e33c9d4118a4e8dc88955ed12f865a8e3c602bf948ab6b013183dd21f48d2a311 WHIRLPOOL 385588d28f241c32d266b80c2d82adaa61501e2606007ece15d3524f3d9f53962720ea968e1e0dc09b17c920785547da9dc4a854aa2882c9d900b6ff372bc227
+MISC ChangeLog 419 SHA256 9b194bd265c2ec4d791982636501305d26d031ebfd9fd605b6d9ecc60c8a75f4 SHA512 a3d5cda8e16ec0b891004117b8d8490ea5fcee0d1b77f77f3c0dbb317de956d99d201b86180248f61e9921463068ee0ea6e6450d45662331086a854212161678 WHIRLPOOL 09401502b2104ad1d59ed1ab71ba1cebb64a575f65a4f202b42b078625390bee64766ea368792fcbdeea35bafb4c10a7a073e50c4a27d2e7b28d3232d202446d
+MISC metadata.xml 249 SHA256 abaf8c3d7632caaacd242fc7f4d5b1377778c50c7bfa5c356b35773f377d4f69 SHA512 334ac61f9acc5c4917fd29afb3b420b1689b39be80cada419bed1db033e64130866d0995abe5f1c75eb1290f51734e9ad4c8d06fd8b49c288ecf617a0693d273 WHIRLPOOL cb6e12eeeb412f25a85ebc6322f4b22a14c7c23fc7d49a46e8168cdbf425e121a276fc4e915c4626ed9b64d7f7aef50ee11c428ed149126999d277adbea1f57f
diff --git a/x11-misc/xvfb-run/metadata.xml b/x11-misc/xvfb-run/metadata.xml
new file mode 100644
index 000000000000..6d2298876faa
--- /dev/null
+++ b/x11-misc/xvfb-run/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>sping@gentoo.org</email>
+ <name>Sebastian Pipping</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/x11-misc/xvfb-run/xvfb-run-1.18.4_p2.ebuild b/x11-misc/xvfb-run/xvfb-run-1.18.4_p2.ebuild
new file mode 100644
index 000000000000..3a1d8f874660
--- /dev/null
+++ b/x11-misc/xvfb-run/xvfb-run-1.18.4_p2.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+MY_PN=xorg-server
+MY_PV=${PV/_p/-}
+DESCRIPTION="Run a command in a virtual X server environment"
+HOMEPAGE="https://packages.debian.org/sid/xvfb"
+SRC_URI="http://snapshot.debian.org/archive/debian/20160906T162237Z/pool/main/${MY_PN:0:1}/${MY_PN}/${MY_PN}_${MY_PV}.diff.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="dev-util/patchutils"
+RDEPEND="x11-apps/xauth
+ x11-base/xorg-server[xvfb]"
+
+S="${WORKDIR}"/
+
+src_prepare() {
+ # Not in src_unpack to silence warning "'patch' call should be moved to src_prepare"
+ filterdiff --include='*xvfb-run*' ${MY_PN}_${MY_PV}.diff | patch || die
+}
+
+src_install() {
+ doman ${PN}.1
+ dobin ${PN}
+}
diff --git a/x11-misc/xvfb-run/xvfb-run-1.19.3_p2.ebuild b/x11-misc/xvfb-run/xvfb-run-1.19.3_p2.ebuild
new file mode 100644
index 000000000000..e0b3fcee16fd
--- /dev/null
+++ b/x11-misc/xvfb-run/xvfb-run-1.19.3_p2.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+MY_PN=xorg-server
+MY_PV=${PV/_p/-}
+DESCRIPTION="Run a command in a virtual X server environment"
+HOMEPAGE="https://packages.debian.org/sid/xvfb"
+SRC_URI="mirror://debian/pool/main/${MY_PN:0:1}/${MY_PN}/${MY_PN}_${MY_PV}.diff.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="dev-util/patchutils"
+RDEPEND="x11-apps/xauth
+ x11-base/xorg-server[xvfb]"
+
+S="${WORKDIR}"/
+
+src_prepare() {
+ # Not in src_unpack to silence warning "'patch' call should be moved to src_prepare"
+ filterdiff --include='*xvfb-run*' ${MY_PN}_${MY_PV}.diff | patch || die
+ eapply_user
+}
+
+src_install() {
+ doman ${PN}.1
+ dobin ${PN}
+}
diff --git a/x11-misc/xvkbd/Manifest b/x11-misc/xvkbd/Manifest
new file mode 100644
index 000000000000..15341bd8c0bd
--- /dev/null
+++ b/x11-misc/xvkbd/Manifest
@@ -0,0 +1,6 @@
+AUX xvkbd-3.6-last_altgr_mask.patch 202 SHA256 ded1f8b44e06a6e266ba5768e52e3da9bfcad41da0cf3dc35f884eaa534e7f6f SHA512 d3d58b1ba3a7dc71a0240ba3240fd06cc1719ac35ab8f1b119f7d79823fddcdbe1605a457722ec75d4b74804f0a68ec221c5ec3d6c15bd2c4130ce96c01f771e WHIRLPOOL 971bc2973b479d8087523bbb66ca9b48c88eeee451954280edf16097a49ae9b19ec4204c590f6a9349bde73c55e67db290b1146e4e38c6fc3ec445c6e22fa001
+DIST xvkbd-3.7.tar.gz 81645 SHA256 895f768269820e7c0379b0daac3687bda0c670d192ebb7e61e5613a5939ec90b SHA512 19ac5e78c34889d80571bb9feea65582fa413cdce0ba2f949840a08e70c900d720ca789d90d1118aa9667d32183b0f1edb33b7b0029ef5abb1d6faf058134385 WHIRLPOOL fccc9945e374098b4833ffd37a33f1745dc46782050c73a1a184daf463dfb23709d3d84385a2d80db215473ba3af4cbffcf02d1715e6c441a34213e6e7982dd6
+EBUILD xvkbd-3.7.ebuild 1113 SHA256 7933d70d6de78bd9e815cdebebe3c33e2c38fdaa1dda173f9bf97250b87141bc SHA512 e6043572ede687bb3b6be6423f92f4dfef0915193154b7210b4cb514baddef28453cf6cd3a761b4f51a32e7f1ba295f69c97f3da510790e6b577d470497db36b WHIRLPOOL f25229749ae73f7eba7e764841731c2d27fa12af9b401645cd36efe19ec166890babd7377b378cfe80a81ac74d82268cd734a50ad4a588da245c9686f75bf3bd
+MISC ChangeLog 3378 SHA256 7144e28f029a38f10de72e77f00b6975f165220d355872c46ecdc046ee224be2 SHA512 aeda772f046889ecffbf3284398ad35c54f375e3cc609e7a842e0021922ec6da1312f3eba6f54a7ecb9795b25b942307fd7fe8ccd32e15c6012f9f15f788ca91 WHIRLPOOL 19063da37d0a0a5a172c4896323d39fd4da1c073e0e4e7d2629bb7fdb0bcea66f6d6be00e94d58c055cc72e75bd9731bbc3ac851f1c15bc4f8c15672dc7e7b54
+MISC ChangeLog-2015 4405 SHA256 3b30d22113031d310467ac8afafaa3d90d6153442151f64862b018b6da8fbc77 SHA512 87e49e6ad6eb475647fed4018c1db91a0cfbfc5639530e43e7927193e930e72f2f88f4f1a82051661947eae7a94c51c8a1179fab2cf8cbbd1417f8d2f6cdea78 WHIRLPOOL eb3385a77e10cf84372ab8c0662b89bb6da019f0c3da5760142d10a47bbb2eccc122d1987f4787a66fb64be2efd7d39872d73af830a26f83bc15125a94d41143
+MISC metadata.xml 276 SHA256 437f3dba7deca9da3b3f8ecda9bb5e97253de0412cbb3095d876f39140f3ea98 SHA512 3497963f4fb51bb32521472b54a995091cb457d2cda65c786bd4b46e5af325caf8f6d5c969cefa0c09fe717df09fb015ec59b52f5571c3b2b9d4ea33e6c843ab WHIRLPOOL 8550fd604cf609511bf7c34245ebd6682dd6d058d8cbfa099a77c94d1afcf592909eb679a28a0806957ac0949c6cff350675e0182303ec5890a5e2c2c26d29c5
diff --git a/x11-misc/xvkbd/files/xvkbd-3.6-last_altgr_mask.patch b/x11-misc/xvkbd/files/xvkbd-3.6-last_altgr_mask.patch
new file mode 100644
index 000000000000..7fe70773acca
--- /dev/null
+++ b/x11-misc/xvkbd/files/xvkbd-3.6-last_altgr_mask.patch
@@ -0,0 +1,11 @@
+--- a/xvkbd.c
++++ b/xvkbd.c
+@@ -681,7 +681,7 @@
+ }
+ }
+
+- last_altgr_mask = (altgr_mask | last_altgr_mask);
++ last_altgr_mask = altgr_mask;
+ alt_mask = 0;
+ meta_mask = 0;
+ altgr_mask = 0;
diff --git a/x11-misc/xvkbd/metadata.xml b/x11-misc/xvkbd/metadata.xml
new file mode 100644
index 000000000000..2ba8e9e851e4
--- /dev/null
+++ b/x11-misc/xvkbd/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/x11-misc/xvkbd/xvkbd-3.7.ebuild b/x11-misc/xvkbd/xvkbd-3.7.ebuild
new file mode 100644
index 000000000000..d171ff235802
--- /dev/null
+++ b/x11-misc/xvkbd/xvkbd-3.7.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit eutils multilib toolchain-funcs
+
+DESCRIPTION="virtual keyboard for X window system"
+HOMEPAGE="http://homepage3.nifty.com/tsato/xvkbd/"
+SRC_URI="http://homepage3.nifty.com/tsato/xvkbd/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~arm ppc x86"
+
+RDEPEND="
+ x11-libs/libX11
+ x11-libs/libXaw
+ x11-libs/libXaw3d
+ x11-libs/libXmu
+ x11-libs/libXt
+ x11-libs/libXtst
+"
+DEPEND="
+ ${RDEPEND}
+ app-text/rman
+ x11-misc/gccmakedep
+ x11-misc/imake
+ x11-proto/inputproto
+ x11-proto/xextproto
+ x11-proto/xproto
+"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-3.6-last_altgr_mask.patch
+
+ epatch_user
+}
+
+src_configure() {
+ xmkmf -a || die
+}
+
+src_compile() {
+ emake \
+ CC=$(tc-getCC) LD=$(tc-getCC) \
+ XAPPLOADDIR="/usr/share/X11/app-defaults" \
+ LOCAL_LDFLAGS="${LDFLAGS}" \
+ CDEBUGFLAGS="${CFLAGS}"
+}
+
+src_install() {
+ emake \
+ XAPPLOADDIR="/usr/share/X11/app-defaults" \
+ DESTDIR="${D}" \
+ install
+
+ rm -r "${D}"/usr/$(get_libdir) "${D}"/etc || die
+
+ dodoc README
+ newman ${PN}.man ${PN}.1
+}
diff --git a/x11-misc/xwinwrap/Manifest b/x11-misc/xwinwrap/Manifest
new file mode 100644
index 000000000000..835e6d00de14
--- /dev/null
+++ b/x11-misc/xwinwrap/Manifest
@@ -0,0 +1,5 @@
+DIST xwinwrap-0_p4.tar.gz 4905 SHA256 d2df2dd04c79546f41f6fca3d6948eaf1b07b4742aec3cabfd2739509ca0763b SHA512 c209e1e0be366e63180f1e58844e7870d83786e912edd2e21912c6d404b44e9186a5f91be6f12ccb78c96c5bac23df02cc6d3d8fdb54743be3ef2586604bd853 WHIRLPOOL 91ccb7e80ae36c4612f59bdd5b05d3e3807f4eea9ac124beacfb67a6e45bffb128209d9032df268e26f01e8d316e029b925ac0611b2970f70b980669e6a5f5a5
+EBUILD xwinwrap-0_p4-r1.ebuild 779 SHA256 3530d5dcab7cadfac85ea6045023399fea47596762fda6fb340913dbdfa94eb0 SHA512 098e10ee32191ad09007e581de99cc77c50b01e302b8479ac9d06ca1743f8859aebc626cf618b3acbcce494bc6fad4a29990e6b57fdf7c382e6619ba4fd377ff WHIRLPOOL 05ac97a20100e679b6f2a3a63edc7fe66ae26531ee8a76a777a4529bda5234441c3db1a75da5b370990ff4bf45dc6d1389609cf85e19f4f0685290e655adc782
+MISC ChangeLog 2746 SHA256 ce3fa4dde15db5d7caa9a0bf515d6a58743a57f90aac5c7b4726b19d657793b6 SHA512 08b845dbc076dc274aa71a08e97efc7b98182abc0b0a846bece9e43aa8ddd7525ff777ed70a3e79a3596b3dd7c350ea37946385820f25d1ca9c84b57764ac84f WHIRLPOOL 65e42abb7c39a04bd17c0f29060d9501e3bd8f3f3a4d85b8f70bd887222c91f240bb72b706e23eddd529817e078d37489a5a77f50bd9bf3244387a77b3434721
+MISC ChangeLog-2015 814 SHA256 9c56543bf06ad1038c73766f11f5bae6658a5e6d0a2f22334fe71c934260c854 SHA512 d6c15543c4d666d069a09224c1915ee38452345a5a4eaaa8a2202b78dce7740766d2a133d61d85a2f103a6196a14c76b3c19852081ab6a10af7babd89daebe9e WHIRLPOOL 9897dd8a4ee4203b3e705362c014c956ec13c741d51441684508c2e81f06fbb69f98dfd19f2e4b5912e238a9afd0d4fbdde98b71c42a8618ffc97453e3efdb3e
+MISC metadata.xml 237 SHA256 ffb571839c57797d282263369646d2bba2662601a45f7bb3251bb97f716554a6 SHA512 ae2360aa6b1b00c67e0acea4935c02b64585b9a15e126fec9d5d99637021c542c0a495e5116205f3da287def46fa5b19cb1a7f3042c12c5f7a78d66d92fcb03f WHIRLPOOL 60d6da846c983457e038ea5ba3c0bf48f939c9586610985a14cac9772fd1d45d781a643abc16482f232f3028e44fe99fe1a382deaebf6589602fc244a4460e3f
diff --git a/x11-misc/xwinwrap/metadata.xml b/x11-misc/xwinwrap/metadata.xml
new file mode 100644
index 000000000000..a535b8852829
--- /dev/null
+++ b/x11-misc/xwinwrap/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person">
+<email>xmw@gentoo.org</email>
+<name>Michael Weber</name>
+</maintainer>
+</pkgmetadata>
diff --git a/x11-misc/xwinwrap/xwinwrap-0_p4-r1.ebuild b/x11-misc/xwinwrap/xwinwrap-0_p4-r1.ebuild
new file mode 100644
index 000000000000..2118202409f1
--- /dev/null
+++ b/x11-misc/xwinwrap/xwinwrap-0_p4-r1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit toolchain-funcs
+
+DESCRIPTION="replace a desktop background with a movie or screensaver"
+HOMEPAGE="http://tech.shantanugoel.com/projects/linux/shantz-xwinwrap"
+SRC_URI="https://bazaar.launchpad.net/~shantanu-goel/xwinwrap/devel/tarball/4 -> ${P}.tar.gz"
+
+LICENSE="HPND"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ x11-libs/libXext
+ x11-libs/libXrender"
+
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/${P}/${PN}/devel"
+
+src_unpack() {
+ default
+ mv * ./"${P}" || die
+}
+
+src_compile() {
+ local cmd="$(tc-getCC) -Wall ${CFLAGS} ${PN}.c -o ${PN} ${LDFLAGS} \
+ $(pkg-config --libs x11 xext xrender)"
+ ebegin $cmd
+ $cmd || die
+ eend $?
+}
+
+src_install() {
+ dobin "${PN}"
+}
diff --git a/x11-misc/xwit/Manifest b/x11-misc/xwit/Manifest
new file mode 100644
index 000000000000..2b18bb70a8ea
--- /dev/null
+++ b/x11-misc/xwit/Manifest
@@ -0,0 +1,6 @@
+DIST xwit_3.4-15.debian.tar.gz 20722 SHA256 71ee4d9816086f603754a4c16da8fd773c590821af386eb8adc2665623089f8c SHA512 047e00e5ff0282729495f39c7cb264837306da46d24e4d95e835d6d0060acd0bfa8f8cedff37ab8c503f267d8c5d42e5af0120cba6260e6eb9dd8c9a3a9dab46 WHIRLPOOL d246a368077e1025517dd59b6c8282b8888c9bdbe75dfa675aaad7cc0e9016b4663bba47da05a930e5e985d299ed2a8e54d7b0e7ffcea6f1c33974c195bc4d10
+DIST xwit_3.4.orig.tar.gz 14557 SHA256 32e7b4929d31209791cab36e083a3fa6076f84b46dafad8642834a57675078f8 SHA512 265114f81ede19e477685373e39deed3cf7cd3fd9dbb445362f34ea96dac6d9686d1c55cf882636f7d02598c83f5ee1ca2688fcbd01f6fc7ef34cac75691df94 WHIRLPOOL b6989175ef4db74d977969b5a22f9f5f4c01ee9457c3d1009273a45b994606dced8f0ed982f19699480a221f636800fdccd0a89ce563193e0af6190aec389a10
+EBUILD xwit-3.4_p15.ebuild 782 SHA256 d02cb9181ca96979e08247d2c7958bd6e18eed4dc8091d7ea5e058c68fabd7ee SHA512 46b1d6f16ada12194bbdc385e2c541dd6cf4b7a97c6bbee2dd5385d994cc19cde0cac3ed10dc2caf40c2dc7fb2229e41a0d9cfcb0214c1c40ec8d8b1798f6a50 WHIRLPOOL a501924bda1d39154764b2dcf6c08275f43605bdd11f1b288466886fb16db0b79feb2f4cc750d0706ed8e7eb2e144424603ece638516b8a4d34918627861b421
+MISC ChangeLog 2541 SHA256 7f8a7074d504f626719781916d272e7391a738178177b192330dc85068ad96c8 SHA512 af9b4e96f5fb7326621c844f90ba4939ef78e77c4ee1b5b07d141b6663eb3146b90965093315d246f9ada2e2cf9fc4f2f50d537d3c5409833f9eeb8afe997f36 WHIRLPOOL ecafd175916e137fe49966c5a3570dff4c6e2ed526306df735f9cf70aa0a6a6c85cd88108150e5ec7cdc368deea36186e6494d6d28d9e7f9d87aec1ec6c27520
+MISC ChangeLog-2015 1665 SHA256 ac3e0422b0a8e3f9c98a512de4adfa65f822cc3211d4e11cd806455751ecd651 SHA512 676be8484af3172a16518f3988bfbb211dc13abfe82442e2c7f7ad00cf1b68f47ee2f0ecfff703a00737dcc07003062bf6b9bc5d1f555b977d2e184afc525f76 WHIRLPOOL 72ba699be10f8f8c27da988a22324e6e1665ddd5fc7bbca959b9d85fe32e2ec248fb722ed4350ff1c667ff7d2397f4a54c7fdf8b36bba85fc24e2e4fcbbaefe6
+MISC metadata.xml 318 SHA256 218a00bda7df7396b1c9db4fea27cc69073dd039cb1db1e55d34cfd004209500 SHA512 7d56445a5c7fffdc1104633cdd30eafa17588079b8a1f4cb226984b1aad4e41fe84320608681143dc01c5f1ac5f104cf0717e8183164031644220f9c61086a3b WHIRLPOOL 15d65bcdc3289c77c194a26721b45e700d54a771e5a63d29a52d431b1ac8922ee7ddd7ca11b10dbbb72ba3fd70daa5fba7dba875de04362ab9c489e70d9fb895
diff --git a/x11-misc/xwit/metadata.xml b/x11-misc/xwit/metadata.xml
new file mode 100644
index 000000000000..66187a0f4213
--- /dev/null
+++ b/x11-misc/xwit/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/x11-misc/xwit/xwit-3.4_p15.ebuild b/x11-misc/xwit/xwit-3.4_p15.ebuild
new file mode 100644
index 000000000000..94f68ee55400
--- /dev/null
+++ b/x11-misc/xwit/xwit-3.4_p15.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit toolchain-funcs
+
+DESCRIPTION="A collection of simple routines to call some of those X11 functions"
+HOMEPAGE="https://tracker.debian.org/pkg/xwit"
+SRC_URI="
+ mirror://debian/pool/main/x/${PN}/${PN}_${PV/_p*/}.orig.tar.gz
+ mirror://debian/pool/main/x/${PN}/${PN}_${PV/_p/-}.debian.tar.gz
+"
+
+LICENSE="public-domain HPND"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc x86"
+IUSE=""
+
+RDEPEND="x11-libs/libX11"
+DEPEND="${RDEPEND}
+ x11-proto/xproto"
+
+S=${WORKDIR}/${P/_p*/}.orig
+
+PATCHES=( "${WORKDIR}"/debian/patches )
+
+src_prepare() {
+ default
+ sed -i \
+ -e 's|gcc|${CC}|g' \
+ Makefile || die
+ tc-export CC
+}
+
+src_install() {
+ dobin xwit
+ newman xwit.man xwit.1
+ einstalldocs
+}
diff --git a/x11-misc/xwrits/Manifest b/x11-misc/xwrits/Manifest
new file mode 100644
index 000000000000..11cdc92f337d
--- /dev/null
+++ b/x11-misc/xwrits/Manifest
@@ -0,0 +1,5 @@
+DIST xwrits-2.26.tar.gz 196529 SHA256 aaca4809b4cd62a627335ca14a231d4ab556fc872458bdb6fdbf6e76b103fed8 SHA512 c8beeca957e41468d85819a7d6d4475c83a99735ff17d13d724658a421d1d3b9a15191ee8ab903104ab19b869a4832103dbe7d3ec2a9bf89ae95a7899e92f927 WHIRLPOOL 0a74ca847be2b5ed1b9bfc384f72156a4cf38700fd7f39c2cfc9828306888d72fd209d679c614ec16d53e8d28b636e14cf8e8048c4b632a4cd417fec0c32f0d5
+EBUILD xwrits-2.26-r1.ebuild 530 SHA256 3d67357e1a378ac41ad06b133f79af48417e08f962db838f9e04ae8c12906028 SHA512 b986d60308c5369655bf49a57e941ca3084083f338b6211302b61af1cee1dbed3d7b550488239eeafa32abe6ee599924039ae9f2c5ae4a84250d6baa52f1697b WHIRLPOOL af060d56ecb025968f7c0d215a58556223d169bfe92a817551408bf8bb9fe8e9fb65ebc9a94952d9ffb313019093666e51ac3d8fb1e6cebd46049ff8cf159fbb
+MISC ChangeLog 2422 SHA256 04e407849744339d9033c5e7988765132e73f81f3fd27bef4abb0ae1010fc91b SHA512 3b0154c09fd034a2b729759c09904d215bf7ebfad2a7786ca8112b4be1070b090df3fe4c0ab3fcf31b793f9172109210fa59dbf1e6a5f62ce380f5532fed62c8 WHIRLPOOL 75e235f677eec097690a69f5eeca7239d4b6d88dac7a60f7381ec5d3ce3517a5e127409c838cad8e5e0617b2e59b7b9cc2a9a50e826da6a3946699a18857bbd7
+MISC ChangeLog-2015 2772 SHA256 2ce28ca6ba5fc5417ae4c9e9a2d72e31593163656f512f4d5fa054fa224beb6e SHA512 ac895687cf266b87eed88236b419532bde41dc6851a65cf1b339ff271cb1031aa20c5a199c7df4239ceff49dff317c096960b124f87ad4b8d598d8aec461eb64 WHIRLPOOL 9145b05b9735b1aa00155ef3bc5cede9e2ae0fd2dda600742cfa9ac916524e7d38d804221c1263925e328637bfbaf319c05523904ec2571845e96d91fd09582a
+MISC metadata.xml 276 SHA256 437f3dba7deca9da3b3f8ecda9bb5e97253de0412cbb3095d876f39140f3ea98 SHA512 3497963f4fb51bb32521472b54a995091cb457d2cda65c786bd4b46e5af325caf8f6d5c969cefa0c09fe717df09fb015ec59b52f5571c3b2b9d4ea33e6c843ab WHIRLPOOL 8550fd604cf609511bf7c34245ebd6682dd6d058d8cbfa099a77c94d1afcf592909eb679a28a0806957ac0949c6cff350675e0182303ec5890a5e2c2c26d29c5
diff --git a/x11-misc/xwrits/metadata.xml b/x11-misc/xwrits/metadata.xml
new file mode 100644
index 000000000000..2ba8e9e851e4
--- /dev/null
+++ b/x11-misc/xwrits/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/x11-misc/xwrits/xwrits-2.26-r1.ebuild b/x11-misc/xwrits/xwrits-2.26-r1.ebuild
new file mode 100644
index 000000000000..2dc0baa2074a
--- /dev/null
+++ b/x11-misc/xwrits/xwrits-2.26-r1.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="Reminds you to take wrist breaks to help you prevent repetitive stress injury"
+HOMEPAGE="http://www.lcdf.org/xwrits/"
+SRC_URI="http://www.lcdf.org/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc x86 ~x86-fbsd"
+IUSE=""
+
+RDEPEND="x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXinerama"
+DEPEND="${RDEPEND}
+ x11-proto/xineramaproto
+ x11-proto/xproto"
+
+DOCS=( GESTURES NEWS README TODO )
diff --git a/x11-misc/xxkb/Manifest b/x11-misc/xxkb/Manifest
new file mode 100644
index 000000000000..35cbca5d1941
--- /dev/null
+++ b/x11-misc/xxkb/Manifest
@@ -0,0 +1,14 @@
+AUX README 429 SHA256 02192bfe23789eef9ca0f1fefce5baddad7cc60f78f0aff4fe020a409422b9a5 SHA512 ff843f10e942e609f3334712cb0dd93cd5be94c61e103e2d46fa58b87cec573c757f45b13835fe2de09edd84dd311716ba77cee495f581e33874b6bd4da229e3 WHIRLPOOL 8974020b2041afbe39ed03361951890cc37ae34af610abd7902033af232f826acd771885c4846d9271faaf68cc7eca51b563f0a0e4033e4018b952d7ab814488
+AUX de15.xpm 395 SHA256 dedbfb3e9a3873d36fe205208530389f2e2a2df30eb032aae69781a917d36b95 SHA512 451756d2e242dd47fa3b4e4738de5e2eb4d57a96ef9d298ee09a1bf1e4be7580474750284920513ca7ce8d4bd549ef1a9a0ff757dab132fc0b4ea19e603b06ef WHIRLPOOL bbc0118dfc1639af5b407cec8834a2951867c172cefb9a4c067e56706d20ca6c9631186f727b16b9ae359b2520678300df4c4af9f29e7f124949378517237422
+AUX de48.xpm 2606 SHA256 8a12f0b93430334c98152f2ef9249b04ebba0b757920c22b76c6f985781cbf67 SHA512 b1d9fc7afe3059f0c231c02004ffe8eba4147b3c7894b96d86990b15534d0100457c909b7aafb02b9aa74f2320eb0c70cef7b0fb38ebfdb14aeb1201e79fd9c7 WHIRLPOOL 0d5fb59ab958cc94a9997ea41937367e70ff8e5def78378456ae1354715db58041e8bee644df40d0b71a6969b8799c94d934e44f2b074d06731a69623cd53a6b
+AUX missing_init.patch 586 SHA256 e9d82d4049a491d867f4add915c2793c8edb9bd0d34425bc1a1270c0a6684eb0 SHA512 f4b9d27a2ff8e5c9bae19ad62a8510bcbb05440ba97a4c29a746d4062ca957a430109fabe1e1e9a633532ebf23c87469fc9b4edb456835ce56ef30ecf7597d4b WHIRLPOOL 9fda954890828265e5d71f594092af80741f01a52777896e4b6a5cac4ca9958b1dd883fda432bace20c9e9907321ea75d71b71a0226a15090abf659ae139d430
+AUX pl15.xpm 380 SHA256 9050285c2098ec31137e30e2d6e59fa7b6d57846c0d25c2517b75341559b1d74 SHA512 0b09558fd25cbf09ada3430999f04a397898a9e8f96b9f3a80f4b0286547b9fd07db9a3457acda283efaa3d82583649c4d27f3d2888782e40ffb504d367e42d4 WHIRLPOOL b93a878de122ff1d1b66bbd538caf9d8d9bbc82ebd8e8c1a7077867800e8778716cc60e9dc0389bae13c8e23be3cae8dee31ebd9e73e76907f213218f6b5d1c9
+AUX pl48.xpm 2591 SHA256 557ac51268061af4c910f94a6d97aeac06123a6a63e7a60400fb9a84ebe182a3 SHA512 bff1cf1d74516929fa9085eb3919265d1273454660a1179c5591066cb76f6c55adb189652b9135abd91fbf06a365d23ece10acdd743249f395e341477ff5defc WHIRLPOOL 256e4abac2b6dd6307cc359947d347a3bd0b847a385884352562a782c32ab920f6652e6383d3fe733d9a197104eda86d99cc7aa986459090137a8b750c4325dc
+AUX svg-appdefaults.patch 777 SHA256 fb30d8203a51d36bec73a1b4cfc95fa1cd013d43710b47747cebac398d048d2f SHA512 e98fa8ac9f9eae38547bae5dc7f1c5e7ad1f5ffc64706a0e2dbd98860eff2b33d7736048727898c28f53bfc2466efc3d52aef995f32733e0d2754320dc38db64 WHIRLPOOL 55bbfcdaff67f403e1b7730106e2f1b12acc25fdd1f4b4647814a678dc6ddb6628efb330a455c4da62a84eb92e5c429531d76a588428b1f863c37d6590dd8475
+AUX svg-flags.patch 7143 SHA256 0102385fe0d201460781b12ecddc2a96ac03856ae664d272b7762ff92d614ae7 SHA512 e2d6bc62dc75d664007e4cb1d192ce4366ef9c859606e3ff4481d56bc8d0deeca32fa5727cab127bda832b5172ce7e33d5c2039463c9bc46df0679c24dd14ecd WHIRLPOOL e3724d1531139264b5f84171421965f0422970fcb53623729c0b2672e37df59fedfc5d26502d8f9fdb3029eccde17d13b7f3daf47159e318879fff4794a40e9b
+DIST xxkb-1.11.1-src.tar.gz 38123 SHA256 ceaa33bed81d8ae5bf77e89787d0736f7564c3de047c35a57bcbf6f4d1888142 SHA512 081629ccee41016cd468bd411c8584298bf64d4d791bf803490f6286a330401b933f895fbff2f4a6d1fcfe86c0490267f86d334436c1cea743ad08d97b26038f WHIRLPOOL 62b4847722ee8f23cc7db6f9bb21b1d01dacd2eb68d5d0db09933b9970c6846bc239d1388bd3d7ada2490a42ce1d56cffa1e1a7e55df029864ae426a0adaf96a
+DIST xxkb-flags.tar.bz2 2541 SHA256 f777c676a58ecab97c242efd703c0e8056cc2a93bb5b7a2fdb1f677348d6727c SHA512 c75929bf78a8aa84ffb615c85c2ad70110a9f7b0465891651a57e4772eae5e0ded61d10197f430f9cdd0cf707903af3d0af4250ff1743fdd59d9ff19bc0c33a9 WHIRLPOOL 7c626b2e6ec805b888ebcaeba658978efcbd4528729966a087ac7692b6c2e18ee5deb6dcb5eefea5a31826dce3ebb9c81a87cfc9e01efa5c18d800d8cd0bad6f
+EBUILD xxkb-1.11.1.ebuild 1542 SHA256 58407dbfe434c7302612d63ffb26124200080b6f39a7d5677ac5e82062ccf0d2 SHA512 e1601cb58f20c623717f8f16e7cf4b49521d22b9816359f8a2be7e77ee9e6e402e7ae7f75a66046ff7275b667c1649336ac348ebcd10c7a93019701540320886 WHIRLPOOL 96696648b4d5f6ba95922db80695de46e36cfd38aa9b781ac738e6ae7552832298165b6ceac3240b406d3081e27de271d45cfd54e839a6c99cbc1ac450270011
+MISC ChangeLog 2773 SHA256 a3dfe2433847f7850524a634d4b91bfde8c58720a342ecc077977799ad8aa066 SHA512 14f885b2251e767e51cb5581a695095ac776765d6fcacf0f92497131051a90351194f49e2637a3364c08cdae5595a1bacf435c25d52ede271b06bd128a5a1961 WHIRLPOOL 607b102685d25ae2fa393f64d9daa4f8875498977515043f3ff988c01a2f833808c24f179ebdc709835837f421cef772915539665854879fa05b3a35def90d12
+MISC ChangeLog-2015 4339 SHA256 2860ae7a3f0b71f2921f44a50e2f8771dbaf601949e542c3aaf88f2b53a23aac SHA512 630ac4032cc860f0720b707a49b9da245203ac5f7b2eaf162f0859156117594b828237d8c315a19272971655997125fff72062e207471ba8bc524bab88a018db WHIRLPOOL a9c485177f154ebb02bc1956b3e0cf1a1a6adbb88d9d63bcd5f2131ea81c1380a05f08a58c900a5a36b90299687961f1d32d08a8b9fcce01d3ad97ff5a1a5804
+MISC metadata.xml 350 SHA256 c8a1a3f5cc06dc38954b35f35410e1739f9f9d9d96db02d7fc5bb378753b6951 SHA512 0261ca73c33500566a7d6763654df4f6db22c29dab3fbebb781ba63a082bb2dbcff454afc3bbe1a72b19563a34516ed8670f72853e15634dcbac4d7a728957fb WHIRLPOOL 3705df7c07b6795813441946034f43eb71f9c7ca82390aacbacbee92922bfd7781b2840d88e8e9ae0d25760aced7b30561636382f9a1fc94a3bbb71ef419b5c7
diff --git a/x11-misc/xxkb/files/README b/x11-misc/xxkb/files/README
new file mode 100644
index 000000000000..edac9540b241
--- /dev/null
+++ b/x11-misc/xxkb/files/README
@@ -0,0 +1,9 @@
+Additional information to the manpage for english speaking users
+(written by Patrick Kursawe <phosphan@gentoo.org>):
+
+The XFree86 documentation (for 4.3 and later) contains the file
+/usr/X11R6/lib/X11/doc/README.XKB-Config where you can find
+information on how to use mutiple keyboard layouts.
+
+Xxkb has no own configuration section where you can specify the keymaps -
+just configure them for X and let xxkb switch between them.
diff --git a/x11-misc/xxkb/files/de15.xpm b/x11-misc/xxkb/files/de15.xpm
new file mode 100644
index 000000000000..c0ba71d91934
--- /dev/null
+++ b/x11-misc/xxkb/files/de15.xpm
@@ -0,0 +1,22 @@
+/* XPM */
+static char * de15_xpm[] = {
+"15 15 4 1",
+" c None",
+". c #000000",
+"+ c #FF0000",
+"@ c #FFE900",
+"...............",
+"...............",
+"...............",
+"...............",
+"...............",
+"+++++++++++++++",
+"+++++++++++++++",
+"+++++++++++++++",
+"+++++++++++++++",
+"+++++++++++++++",
+"@@@@@@@@@@@@@@@",
+"@@@@@@@@@@@@@@@",
+"@@@@@@@@@@@@@@@",
+"@@@@@@@@@@@@@@@",
+"@@@@@@@@@@@@@@@"};
diff --git a/x11-misc/xxkb/files/de48.xpm b/x11-misc/xxkb/files/de48.xpm
new file mode 100644
index 000000000000..5cae8928b68d
--- /dev/null
+++ b/x11-misc/xxkb/files/de48.xpm
@@ -0,0 +1,55 @@
+/* XPM */
+static char * de48_xpm[] = {
+"48 48 4 1",
+" c None",
+". c #000000",
+"+ c #FF0000",
+"@ c #FFE900",
+"................................................",
+"................................................",
+"................................................",
+"................................................",
+"................................................",
+"................................................",
+"................................................",
+"................................................",
+"................................................",
+"................................................",
+"................................................",
+"................................................",
+"................................................",
+"................................................",
+"................................................",
+"................................................",
+"++++++++++++++++++++++++++++++++++++++++++++++++",
+"++++++++++++++++++++++++++++++++++++++++++++++++",
+"++++++++++++++++++++++++++++++++++++++++++++++++",
+"++++++++++++++++++++++++++++++++++++++++++++++++",
+"++++++++++++++++++++++++++++++++++++++++++++++++",
+"++++++++++++++++++++++++++++++++++++++++++++++++",
+"++++++++++++++++++++++++++++++++++++++++++++++++",
+"++++++++++++++++++++++++++++++++++++++++++++++++",
+"++++++++++++++++++++++++++++++++++++++++++++++++",
+"++++++++++++++++++++++++++++++++++++++++++++++++",
+"++++++++++++++++++++++++++++++++++++++++++++++++",
+"++++++++++++++++++++++++++++++++++++++++++++++++",
+"++++++++++++++++++++++++++++++++++++++++++++++++",
+"++++++++++++++++++++++++++++++++++++++++++++++++",
+"++++++++++++++++++++++++++++++++++++++++++++++++",
+"++++++++++++++++++++++++++++++++++++++++++++++++",
+"@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@",
+"@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@",
+"@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@",
+"@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@",
+"@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@",
+"@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@",
+"@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@",
+"@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@",
+"@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@",
+"@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@",
+"@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@",
+"@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@",
+"@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@",
+"@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@",
+"@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@",
+"@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@"};
diff --git a/x11-misc/xxkb/files/missing_init.patch b/x11-misc/xxkb/files/missing_init.patch
new file mode 100644
index 000000000000..56f9e8ff53a1
--- /dev/null
+++ b/x11-misc/xxkb/files/missing_init.patch
@@ -0,0 +1,22 @@
+--- a/xxkb.c
++++ b/xxkb.c
+@@ -667,12 +667,14 @@
+ Window rwin, parent, *children;
+ int num;
+
+- XQueryTree(dpy, temp_win, &rwin, &parent, &children, &num);
+- AddWindow(temp_win, parent);
++ if (XQueryTree(dpy, temp_win, &rwin, &parent, &children, &num) != 0)
++ {
++ AddWindow(temp_win, parent);
+
+- if (children != None) {
+- XFree(children);
+- }
++ if (children != None) {
++ XFree(children);
++ }
++ }
+ }
+ break;
+
diff --git a/x11-misc/xxkb/files/pl15.xpm b/x11-misc/xxkb/files/pl15.xpm
new file mode 100644
index 000000000000..709baccacf29
--- /dev/null
+++ b/x11-misc/xxkb/files/pl15.xpm
@@ -0,0 +1,21 @@
+/* XPM */
+static char * pl15_xpm[] = {
+"15 15 3 1",
+" c None",
+". c #FFFFFF",
+"+ c #FF0000",
+"...............",
+"...............",
+"...............",
+"...............",
+"...............",
+"...............",
+"...............",
+"+++++++++++++++",
+"+++++++++++++++",
+"+++++++++++++++",
+"+++++++++++++++",
+"+++++++++++++++",
+"+++++++++++++++",
+"+++++++++++++++",
+"+++++++++++++++"};
diff --git a/x11-misc/xxkb/files/pl48.xpm b/x11-misc/xxkb/files/pl48.xpm
new file mode 100644
index 000000000000..1f3482946b41
--- /dev/null
+++ b/x11-misc/xxkb/files/pl48.xpm
@@ -0,0 +1,54 @@
+/* XPM */
+static char * pl48_xpm[] = {
+"48 48 3 1",
+" c None",
+". c #FFFFFF",
+"+ c #FF0000",
+"................................................",
+"................................................",
+"................................................",
+"................................................",
+"................................................",
+"................................................",
+"................................................",
+"................................................",
+"................................................",
+"................................................",
+"................................................",
+"................................................",
+"................................................",
+"................................................",
+"................................................",
+"................................................",
+"................................................",
+"................................................",
+"................................................",
+"................................................",
+"................................................",
+"................................................",
+"................................................",
+"................................................",
+"++++++++++++++++++++++++++++++++++++++++++++++++",
+"++++++++++++++++++++++++++++++++++++++++++++++++",
+"++++++++++++++++++++++++++++++++++++++++++++++++",
+"++++++++++++++++++++++++++++++++++++++++++++++++",
+"++++++++++++++++++++++++++++++++++++++++++++++++",
+"++++++++++++++++++++++++++++++++++++++++++++++++",
+"++++++++++++++++++++++++++++++++++++++++++++++++",
+"++++++++++++++++++++++++++++++++++++++++++++++++",
+"++++++++++++++++++++++++++++++++++++++++++++++++",
+"++++++++++++++++++++++++++++++++++++++++++++++++",
+"++++++++++++++++++++++++++++++++++++++++++++++++",
+"++++++++++++++++++++++++++++++++++++++++++++++++",
+"++++++++++++++++++++++++++++++++++++++++++++++++",
+"++++++++++++++++++++++++++++++++++++++++++++++++",
+"++++++++++++++++++++++++++++++++++++++++++++++++",
+"++++++++++++++++++++++++++++++++++++++++++++++++",
+"++++++++++++++++++++++++++++++++++++++++++++++++",
+"++++++++++++++++++++++++++++++++++++++++++++++++",
+"++++++++++++++++++++++++++++++++++++++++++++++++",
+"++++++++++++++++++++++++++++++++++++++++++++++++",
+"++++++++++++++++++++++++++++++++++++++++++++++++",
+"++++++++++++++++++++++++++++++++++++++++++++++++",
+"++++++++++++++++++++++++++++++++++++++++++++++++",
+"++++++++++++++++++++++++++++++++++++++++++++++++"};
diff --git a/x11-misc/xxkb/files/svg-appdefaults.patch b/x11-misc/xxkb/files/svg-appdefaults.patch
new file mode 100644
index 000000000000..2e8ca3ef0b93
--- /dev/null
+++ b/x11-misc/xxkb/files/svg-appdefaults.patch
@@ -0,0 +1,30 @@
+--- a/XXkb.ad.var
++++ b/XXkb.ad.var
+@@ -4,10 +4,10 @@
+ XXkb.group.alt: 2
+
+ XXkb.mainwindow.enable: yes
+-XXkb.mainwindow.geometry: 48x48
+-XXkb.mainwindow.image.1: en48.xpm
+-XXkb.mainwindow.image.2: ru48.xpm
+-XXkb.mainwindow.image.3: su48.xpm
++XXkb.mainwindow.geometry: 48x48+0+0
++XXkb.mainwindow.image.1: en.svg
++XXkb.mainwindow.image.2: ru.svg
++XXkb.mainwindow.image.3: su.svg
+ XXkb.mainwindow.image.4:
+ XXkb.mainwindow.label.font: -misc-*-r-*-20-*
+
+@@ -23,9 +23,9 @@
+
+ XXkb.button.enable: yes
+ XXkb.button.geometry: 15x15-60+7
+-XXkb.button.image.1: en15.xpm
+-XXkb.button.image.2: ru15.xpm
+-XXkb.button.image.3: su15.xpm
++XXkb.button.image.1: en.svg
++XXkb.button.image.2: ru.svg
++XXkb.button.image.3: su.svg
+ XXkb.button.image.4:
+ XXkb.button.label.font: -misc-*-r-*-13-*
+
diff --git a/x11-misc/xxkb/files/svg-flags.patch b/x11-misc/xxkb/files/svg-flags.patch
new file mode 100644
index 000000000000..971d5d264742
--- /dev/null
+++ b/x11-misc/xxkb/files/svg-flags.patch
@@ -0,0 +1,122 @@
+--- a/flags/bg.svg
++++ b/flags/bg.svg
+@@ -0,0 +1,6 @@
++<?xml version="1.0" encoding="UTF-8" standalone="no"?>
++<svg xmlns="http://www.w3.org/2000/svg" width="1000" height="600" viewBox="0 0 5 3">
++<rect width="5" height="3" fill="#fff"/>
++<rect width="5" height="2" y="1" fill="#00966E"/>
++<rect width="5" height="1" y="2" fill="#D62612"/>
++</svg>
+--- a/flags/by.svg
++++ b/flags/by.svg
+@@ -0,0 +1,20 @@
++<?xml version="1.0" encoding="UTF-8"?>
++<svg xmlns="http://www.w3.org/2000/svg" width="1200px" height="600px" viewBox="0 0 360 180" xmlns:xlink="http://www.w3.org/1999/xlink">
++<rect fill="#090" width="360" height="180"/>
++<rect fill="#c00" width="360" height="120"/>
++<rect fill="#fff" width="40" height="180"/>
++<g id="g2">
++<g id="g1" fill="#c00">
++<path d="M20,90v-1h-1v-2h-1v-2h-2v2h1v2h1v1z M10,90v-2h-2v-3h-1v-3h-2v-3h-1v-4h2v3h2v3h2v3h1v-3h2v-3h2v-3h2v-3h2v-4h-2v-5h-2v-4h-2v5h1v5h-1v4h-2v4h-1v-4h-2v-4h-2v-5h-1v-4h1v-4h2v-4h1v-4h2v-4h2v4h2v4h2v4h2v5h1v15h-2v3h-2v3h-2v3h-1v3h-2v2z M11,37h2v-4h2v-4h2v-4h2v-4h1v-4h-1v-4h-2v-4h-2v-4h-2v-4h-2v4h-2v4h-2v4h-2v4h-1v4h1v4h2v4h2v4h2v4z M4,9v-4h2v4zM4,33v-4h2v4z M4,52v-4h2v4z M4,74v-4h2v4z M4,90v-2h2v2z M14,90v-2h2v2z M19,84v-4h1v4z M19,52v-4h1v4z M19,33v-4h2v4z M19,9v-4h1v4z"/>
++<path fill="#fff" d="M11,29h2v-4h2v-4h2v-4h-2v-4h-2v-4h-2v4h-2v4h-2v4h2v4h2v4z"/>
++<path d="M11,21h2v-4h-2v4z"/>
++<g id="g3">
++<path d="M17,48h1v-3h1v-3h1v-3h-1v-3h-1v-3h-1v3h-1v3h-1v3h1v3h1v3z"/>
++<path fill="#fff" d="M17,39h1v3h-1v-3z"/>
++</g>
++<use xlink:href="#g3" transform="translate(-10)"/>
++</g>
++<use xlink:href="#g1" transform="rotate(180, 20,90)"/>
++</g>
++<use xlink:href="#g2" transform="translate(0,180) scale(1,-1)"/>
++</svg>
+\ Kein Zeilenumbruch am Dateiende.
+--- a/flags/de.svg
++++ b/flags/de.svg
+@@ -0,0 +1,9 @@
++<?xml version="1.0" encoding="UTF-8" standalone="no"?>
++<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
++ "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
++<svg xmlns="http://www.w3.org/2000/svg" width="1000" height="600" viewBox="0 0 5 3">
++ <desc>Flag of Germany</desc>
++ <rect id="black_stripe" width="5" height="3" y="0" x="0" fill="#000"/>
++ <rect id="red_stripe" width="5" height="2" y="1" x="0" fill="#D00"/>
++ <rect id="gold_stripe" width="5" height="1" y="2" x="0" fill="#FFCE00"/>
++</svg>
+--- a/flags/en.svg
++++ b/flags/en.svg
+@@ -0,0 +1,10 @@
++<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 30" width="1200" height="600">
++<clipPath id="t">
++ <path d="M30,15 h30 v15 z v15 h-30 z h-30 v-15 z v-15 h30 z"/>
++</clipPath>
++<path d="M0,0 v30 h60 v-30 z" fill="#00247d"/>
++<path d="M0,0 L60,30 M60,0 L0,30" stroke="#fff" stroke-width="6"/>
++<path d="M0,0 L60,30 M60,0 L0,30" clip-path="url(#t)" stroke="#cf142b" stroke-width="4"/>
++<path d="M30,0 v30 M0,15 h60" stroke="#fff" stroke-width="10"/>
++<path d="M30,0 v30 M0,15 h60" stroke="#cf142b" stroke-width="6"/>
++</svg>
+--- a/flags/il.svg
++++ b/flags/il.svg
+@@ -0,0 +1,35 @@
++<?xml version="1.0" encoding="utf-8"?>
++<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
++ "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
++<svg xmlns="http://www.w3.org/2000/svg" version="1.1"
++ xmlns:xlink="http://www.w3.org/1999/xlink"
++ width="660" height="480" viewBox="0 0 220 160">
++ <desc>Flag of Israel</desc>
++ <defs>
++ <!-- Specs are taken from "The Provisional Council of State Proclamation of
++ the Flag of the State of Israel," 25 Tishrei 5709 (28 October 1948)
++ For Magen David, the "Israel Science and Technology Homepage" at
++ http://www.science.co.il/Israel-flag.asp specifies each side as 60 cm.
++ Outer radius is then 30 / cos(30) = 20 * sqrt(3)
++ For equilateral triangles, middle radius = outer radius - width:
++ 20 * sqrt(3) - 5.5
++ Coordinates for upward-pointing triangle relative to center are then:
++ ( 0,-(20*sqrt(3) - 5.5) )
++ (-(20*sqrt(3) - 5.5) * cos(30), (20*sqrt(3) - 5.5) * sin(30))
++ ( (20*sqrt(3) - 5.5) * cos(30), (20*sqrt(3) - 5.5) * sin(30)) -->
++ <polygon id="triangle" points="0,-29.1410161513775421
++ -25.2368602791855814, 14.5705080756887710
++ 25.2368602791855814, 14.5705080756887710"
++ stroke="#0038b8" stroke-width="5.5" fill-opacity="0"/>
++ </defs>
++ <!-- "The flag is 220 cm long and 160 cm wide. The background is white" -->
++ <rect width="220" height="160" fill="white"/>
++ <!-- "...two stripes of dark sky-blue, 25 cm broad, over the whole length of
++ the flag, at a distance of 15 cm from the top and from the bottom..."
++ Legislation does not specify exact shade of blue; "#0038b8" is typical of
++ flags used in Israel -->
++ <rect width="220" height="25" fill="#0038b8" y="15"/>
++ <rect width="220" height="25" fill="#0038b8" y="120"/>
++ <use xlink:href="#triangle" transform="translate(110,80)"/>
++ <use xlink:href="#triangle" transform="translate(110,80) rotate(180)"/>
++</svg>
+--- a/flags/pl.svg
++++ b/flags/pl.svg
+@@ -0,0 +1,6 @@
++<?xml version="1.0" encoding="UTF-8"?>
++<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
++<svg width="1280" height="800" id="Flag of Poland" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 10">
++<rect width="16" height="5" fill="#fff"/>
++<rect width="16" height="5" fill="#dc143c" y="5"/>
++</svg>
+--- a/flags/ru.svg
++++ b/flags/ru.svg
+@@ -0,0 +1 @@
++<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6" width="900" height="600"><rect fill="#FFF" width="9" height="3"/><rect fill="#F00" y="3" width="9" height="3"/><rect fill="#00F" y="2" width="9" height="2"/></svg>
+\ Kein Zeilenumbruch am Dateiende.
+--- a/flags/su.svg
++++ b/flags/su.svg
+@@ -0,0 +1 @@
++<?xml version="1.0" encoding="UTF-8"?><svg xmlns="http://www.w3.org/2000/svg" width="600" height="300" viewBox="0 0 600 300"><rect width="600" height="300" style="fill:#c00"/><path d="M 67.8,79.9 L 76.5,88.6 L 83.6,81.3 C 99.4,97.6 115.2,114 131,130.3 C 134.5,129.5 136.4,128.1 137.5,124.1 L 88.8,76.2 L 98.6,67.4 L 84.3,63.5 L 67.8,79.9 L 67.8,79.9 z" id="hammer" style="fill:#ffd700"/><path d="M 95.8,30.7 L 82.3,30.7 L 93.2,38.7 L 89.1,51.5 L 100,43.6 L 110.9,51.5 L 106.8,38.6 L 117.7,30.7 L 104.2,30.7 L 100,17.8008 L 100,17.8 L 95.8,30.7 z M 100,25.8 L 102.4,33.2 L 110.1,33.2 L 103.9,37.7 L 106.26115,45.055357 L 99.99998,40.501778 L 93.73881,45.1 L 96.1,37.7 L 89.9,33.17 L 97.62,33.17 L 100,25.8 L 100,25.8 z" id="star" style="fill:#ffd700"/><path d="M 100.1,55.3 C 121.1,63 134.3,80.6 134.38,93.6 C 134.6,122.3 103.3,136.1 83.1,113 L 81.7,114 L 82,116.5 C 75.9,115.9 70.4,134.6 63.8,129.4 C 57.8,121.8 74.4,118.3 76.1,110.6 L 78.5,110.8 L 80.5,108.7 L 82.4,109 L 84.8,106.5 C 104.5,127.3 129.4,111.2 125.9,90.5 C 123.4,74.6 113.4,65.5 100,55.3 L 100.1,55.3 L 100.1,55.3 L 100.1,55.3 L 100.1,55.3 L 100.1,55.3 L 100.1,55.3 z" id="sichel" style="fill:#ffd700"/></svg>
+--- a/flags/ua.svg
++++ b/flags/ua.svg
+@@ -0,0 +1,4 @@
++<svg xmlns="http://www.w3.org/2000/svg" width="1200" height="800">
++<rect width="1200" height="800" fill="#005BBB"/>
++<rect width="1200" height="400" y="400" fill="#FFD500"/>
++</svg>
+\ Kein Zeilenumbruch am Dateiende.
diff --git a/x11-misc/xxkb/metadata.xml b/x11-misc/xxkb/metadata.xml
new file mode 100644
index 000000000000..855595694b79
--- /dev/null
+++ b/x11-misc/xxkb/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">xxkb</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/xxkb/xxkb-1.11.1.ebuild b/x11-misc/xxkb/xxkb-1.11.1.ebuild
new file mode 100644
index 000000000000..16f2f9b64abe
--- /dev/null
+++ b/x11-misc/xxkb/xxkb-1.11.1.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit eutils multilib
+
+DESCRIPTION="eXtended XKB - assign different keymaps to different windows"
+HOMEPAGE="https://sourceforge.net/projects/xxkb/"
+SRC_URI="
+ mirror://sourceforge/${PN}/${P}-src.tar.gz
+ svg? ( https://dev.gentoo.org/~jer/${PN}-flags.tar.bz2 )
+"
+
+LICENSE="Artistic-2"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE="svg"
+
+RDEPEND="
+ x11-libs/libX11
+ x11-libs/libXpm
+ x11-libs/libXt
+ svg? (
+ dev-libs/glib:2
+ gnome-base/librsvg:2
+ x11-libs/gtk+:2
+ )
+"
+DEPEND="
+ ${RDEPEND}
+ app-text/rman
+ svg? ( virtual/pkgconfig )
+ x11-misc/imake
+"
+
+src_prepare() {
+ if use svg; then
+ mv "${WORKDIR}"/flags . || die
+ epatch "${FILESDIR}"/svg-flags.patch
+ epatch "${FILESDIR}"/svg-appdefaults.patch
+ fi
+
+ epatch "${FILESDIR}"/missing_init.patch
+}
+
+src_configure() {
+ xmkmf $(usex svg -DWITH_SVG_SUPPORT '') || die
+}
+
+src_compile() {
+ emake \
+ CDEBUGFLAGS="${CFLAGS}" \
+ EXTRA_LIBRARIES="-lXext" \
+ LOCAL_LDFLAGS="${LDFLAGS}" \
+ PIXMAPDIR=/usr/share/xxkb \
+ PROJECTROOT=/usr
+}
+
+src_install() {
+ local myopts
+ if use svg; then
+ myopts="PIXMAPS=flags/de.svg flags/pl.svg flags/il.svg flags/by.svg \
+ flags/ua.svg flags/su.svg flags/ru.svg flags/bg.svg flags/en.svg"
+ else
+ myopts="FOOBAR=buzz"
+ fi
+
+ emake "${myopts}" DESTDIR="${D}" install
+ rm -r "${D}"/usr/$(get_libdir)/X11/app-defaults || die
+
+ emake DESTDIR="${D}" install.man
+
+ insinto /usr/share/xxkb
+ use svg || doins "${FILESDIR}"/*.xpm
+ dodoc README* CHANGES*
+}
diff --git a/x11-misc/xystray/Manifest b/x11-misc/xystray/Manifest
new file mode 100644
index 000000000000..5c414f9caec7
--- /dev/null
+++ b/x11-misc/xystray/Manifest
@@ -0,0 +1,5 @@
+AUX xystray-1.0-ldflags.patch 316 SHA256 c6b76b40c9db6ad1a6bab15bea8b9a899e6367a974d4ce1ebe8f700cc2368686 SHA512 f452a0a0db60bc4c9c1a67790dd817a979bf09ee7db8e424d2d58bec83d2b56d23ee67e62f8604a82820a54e3c57fecd35ffc1202c2a89b2cb23cc904df730b4 WHIRLPOOL fb1afe6daa9f88cb0e2167431dadc946cfd1f86084ebbc2baaf1a0a18b26918ab7e2d4c16605b78835acec53c24276f5fae392aaaddd4f0c93c225d8227fef55
+DIST xystray-1.0.tar.gz 18225 SHA256 ea7473edd09ade2b01a44dcf7a271253df52c91e727fcde3226412f42bd472a5 SHA512 50f3700e497dae875f659d55e2d5c469e977ab513c35f82516f2c139e2813f126bcc7658d76b55346480c0ca7d65a67b74b289cdae775bd13c0dc9da31a9a92c WHIRLPOOL 46f0528993a3a04d2f824ac81285452b09fdda3d4e6f7b620cbd4dfc9671f42a9279f51ea1b0571c56756cff8e7742c30b69c6912e299ad5cf41377c5307bdf6
+EBUILD xystray-1.0.ebuild 567 SHA256 a584978300e65e99e4644578c8c0efa0980e354bc44efe394eea774526b78279 SHA512 80107d300472edce73f2ec158376e9b38e8f3307da124791dfc402cee5b37a6ec837324c3ed76828743c41a2efdd4c8ecaf39522c426db56b29adabaf8b93bb5 WHIRLPOOL 565e8d9cd6f604f85f585ebbf599053f3fe279c3358d661baf9069e8b54a15d514e341d8b26906cc32edfcfbaae53192cb644032a42cabd5501e87d09ed3ff0e
+MISC ChangeLog 1891 SHA256 48b3eb3f7a7aadab9daf7f9b7fb0e66808f9e66091f1db29cc8ecc32edfb0b6f SHA512 a63277b925b320f283b3d3d897c1e47bd6b9bb65b36de0a714565d313bc89278af4769ae00396be7d39d20718a10ea41168aa966f79c8c1bf0bec07f3a72e3e3 WHIRLPOOL 5ae035612debb50f7cf42587dac69b38ff98d8aadad6d1341100791aef3d35a4a0300fa166bb32229618ad64d9262b47df4f7cb72377a91cc765b0eb66235235
+MISC metadata.xml 326 SHA256 b6572d9c206d72795f1d09c90c2d5714bbb3821baee18d70229b2552eb789a53 SHA512 a2a9e6a403ef85cfedcaf7c0b9ec395b98004203dfefaa1a560dd19f1a5f74ff981e3020e790498adb2d0a14e65b7b018e76b2626caeb74eb85d1e9805c9c43e WHIRLPOOL bc1347e4c102f751bae57d48af08c1ff17209da566d547a1924308a51f1443514ab7bb1687d0dd227a4a24b43a9217702c768f835753728f7336d9d248050ce5
diff --git a/x11-misc/xystray/files/xystray-1.0-ldflags.patch b/x11-misc/xystray/files/xystray-1.0-ldflags.patch
new file mode 100644
index 000000000000..183ff7e572b7
--- /dev/null
+++ b/x11-misc/xystray/files/xystray-1.0-ldflags.patch
@@ -0,0 +1,11 @@
+--- a/Makefile 2016-04-22 19:57:57.000000000 +0000
++++ b/Makefile 2016-04-25 06:49:38.344591274 +0000
+@@ -1,6 +1,6 @@
+-LDFLAGS=-lX11 -lXt -L/usr/X11/lib
++LIBS=-lX11 -lXt -L/usr/X11/lib
+ xystray: Xystray.o xystray.o
+- $(CC) $(LDFLAGS) $^ -o $@
++ $(CC) $(LDFLAGS) $^ -o $@ $(LIBS)
+
+ clean:
+ rm Xystray.o xystray.o
diff --git a/x11-misc/xystray/metadata.xml b/x11-misc/xystray/metadata.xml
new file mode 100644
index 000000000000..86d6295c7e49
--- /dev/null
+++ b/x11-misc/xystray/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>marecki@gentoo.org</email>
+ <name>Marek Szuba</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">steelman/xystray</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/xystray/xystray-1.0.ebuild b/x11-misc/xystray/xystray-1.0.ebuild
new file mode 100644
index 000000000000..d077e288bab5
--- /dev/null
+++ b/x11-misc/xystray/xystray-1.0.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="A simple implementation of freedesktop.org notification area for X"
+HOMEPAGE="http://steelman.github.com/xystray/"
+SRC_URI="https://github.com/steelman/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+CDEPEND="
+ x11-libs/libX11
+ x11-libs/libXt"
+DEPEND="${CDEPEND}
+ x11-libs/libXaw"
+RDEPEND="${CDEPEND}"
+
+PATCHES=(
+ "${FILESDIR}/${P}-ldflags.patch"
+)
+
+src_install() {
+ dobin xystray
+}
diff --git a/x11-misc/zim/Manifest b/x11-misc/zim/Manifest
new file mode 100644
index 000000000000..1156f5be361a
--- /dev/null
+++ b/x11-misc/zim/Manifest
@@ -0,0 +1,8 @@
+AUX zim-0.60-remove-ubuntu-theme.patch 669 SHA256 dde1ba982a802bc124d82af92c5475cf7259e504599c1ccf302895ba03117b87 SHA512 a2e202986c77490898c15f6c4e647667fd6662422e8bbd638624a52a33989cd4259f95b37f488ff4a947f04354704ee9df7b9d60aae2fcc928f1f3186955ea1a WHIRLPOOL 115d3468af4eaeab1fbf1be997e6fdcd7390a77e75372616676df787b768c9f66e4969fbaafccac01edb75d9889b8ff34bd0b83b8d5802c459d01c07602b6a2d
+DIST zim-0.65.tar.gz 1899614 SHA256 5442f3334395a2beafc5b9a2bbec2e53e38270d4bad696b5c4053dd51dc1ed96 SHA512 dee652087d3d986b80353e9087abe363392354f40db11f8819d0b3f3c6f133c08c66c651a92ed77c1656f1135998ac02622eca08ac2e28c8fb3149a724a0f7fb WHIRLPOOL 22bfeaee53214029538ba76d309f3413fa327aec125e49270f168a5d985e37672f3a8cc8043e4a35d1141ffb54f958c0a466c6edac4192028893d017401ce2a2
+DIST zim-0.66.tar.gz 2020216 SHA256 e8b53948097f211972713252f3a89b2957e3a63f55eb53587e2474dfc4cbf6c4 SHA512 9693dba8ee6ad915a85ca999674350b278043559ba4adf93c03c8815211ecab451a6e2dceaf62ea7048609eb86f19485f2dd77dbaaf6f2d81f97f6450bf25ca9 WHIRLPOOL eca653cff7581e3f8b4e43d33860e49cd0fb36dfabbdb2aefb86cb9aa804c269a32ea41823f8292969f9431725221032c91881e1a328f780e1390a3c2587ef2c
+EBUILD zim-0.65.ebuild 1822 SHA256 e26e14ec95f6470503fc26dc91a8a3033c6a914a692d965b24ff368eb335f855 SHA512 bebb179fd5c993a91307ad3054feb8af96d54cae2fde754ce0fb844c68aa25227fb430417125490b55d4c1c5aa2ca34372bf2dee20ce6275e4eb1b288b65c77e WHIRLPOOL f23bf52f5296dd895310de4221b5b586e669cafa7618b5d6552022dd92f37f0b67b7544c97f83182fb54bfba1670de2ca60e0504a9ced289277a6aff454a894b
+EBUILD zim-0.66.ebuild 1824 SHA256 4d523e23f118d5a996ef17d63bdbff6836f41233a372bbf78b3e3ad08fe72924 SHA512 23cf416615bcc2cf4719474fb8a79b196916b3fd6fc2a3eaa018e3e00cf8a37a56d7446ad21adb866e727d942300443cec51eda4beaf2830bd7b1d4ec28b9677 WHIRLPOOL 8ac5d15f1b7385182deed9c4bac3333099ea0d61dfedcbc86a2c44de81a47ca59dfd111bab9addb93a64811f499254938107dd17d83475aba084fa9a3c3ee43f
+MISC ChangeLog 3259 SHA256 416b51a134e42c3c0674145c914c61f7edc6b0b44787f16d4dfb6082020692a2 SHA512 c73df957779e9dbd5bd0f1a227bfed4b55241f2b2a048988c33209368ffd0274d5fa6a7aa3a715b2c684d28c01e4b82ebd7d8ad4ee1ce5cad4f4ff364b7b93a6 WHIRLPOOL 7b78857004fbdb3eff68893827537af38abfd5bbda2c2b854f4d94ffcf25106cd7bf278805896776808e2c2c375f3d18e167f0951827b90297b2618cb083bf62
+MISC ChangeLog-2015 5183 SHA256 3049f6000cdb3bd5b276bbf410aaf429ae51feb9c018caf59ac924e464701f2f SHA512 1673779e884b4701053cb747a43aa6ae89db9bdec2548c448a025cad59be7f021119729eb5273a0279b3f8e549639e70cf4fc459b25ab9eb18fb1e6e293e4614 WHIRLPOOL e81790f2d988c9301076f16da59746fa4a53993b0308320716c273b3ddd2ced665cab41a5589e7b5dfe6ad952d4b5cced54fb701b285da10fb7f68d316745efc
+MISC metadata.xml 824 SHA256 2ebd26a8094b521473c3968474243647e51e3f65bb5023883df60fe1604d27d4 SHA512 26a4774e75f0a06bfedc2c26f4ca688f9a2644935302e0674ba5a5308af88bc90f291a01f5b10bba62ac0f0a46561d63bfd9289de67bc53c4be454542ea76816 WHIRLPOOL 719b71c446de2662c1ecd614f5858deb32adc8628ca592f959a62dae67c081f142d5a5a23b4f3ad6cb4924a3f7e3c98b5ab54628e64e6a60b2e378000d300d9e
diff --git a/x11-misc/zim/files/zim-0.60-remove-ubuntu-theme.patch b/x11-misc/zim/files/zim-0.60-remove-ubuntu-theme.patch
new file mode 100644
index 000000000000..8c2d19599893
--- /dev/null
+++ b/x11-misc/zim/files/zim-0.60-remove-ubuntu-theme.patch
@@ -0,0 +1,18 @@
+# don't install /usr/share/icons/ubuntu-mono-{dark,light}
+# it's only used in conjunction with appindicator
+# and clutters the icon-themes menu in gnome
+--- a/setup.py
++++ b/setup.py
+@@ -94,12 +94,6 @@
+ files = [os.path.join(dir, f) for f in files]
+ data_files.append((target, files))
+
+- # mono icons -> PREFIX/share/icons/ubuntu-mono-light | -dark
+- for theme in ('ubuntu-mono-light', 'ubuntu-mono-dark'):
+- file = os.path.join('icons', theme, 'zim-panel.svg')
+- target = os.path.join('share', 'icons', theme, 'apps', '22')
+- data_files.append((target, [file]))
+-
+ # data -> PREFIX/share/zim
+ for dir, dirs, files in os.walk('data'):
+ if '.zim' in dirs:
diff --git a/x11-misc/zim/metadata.xml b/x11-misc/zim/metadata.xml
new file mode 100644
index 000000000000..0dc3b7b6c991
--- /dev/null
+++ b/x11-misc/zim/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+</maintainer>
+<longdescription lang="en">
+Zim is a graphical text editor used to maintain a collection of wiki pages.
+Each page can contain links to other pages, simple formatting and images. Pages
+are stored in a folder structure, like in an outliner, and can have
+attachments. Creating a new page is as easy as linking to a nonexistent page.
+All data is stored in plain text files with wiki formatting. Various plugins
+provide additional functionality, like a task list manager, an equation editor,
+a tray icon, and support for version control.
+</longdescription>
+</pkgmetadata>
diff --git a/x11-misc/zim/zim-0.65.ebuild b/x11-misc/zim/zim-0.65.ebuild
new file mode 100644
index 000000000000..c05d460056df
--- /dev/null
+++ b/x11-misc/zim/zim-0.65.ebuild
@@ -0,0 +1,83 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+PYTHON_REQ_USE="sqlite"
+DISTUTILS_SINGLE_IMPL=1
+
+inherit distutils-r1 gnome2-utils fdo-mime virtualx
+
+DESCRIPTION="A desktop wiki"
+HOMEPAGE="http://zim-wiki.org/"
+SRC_URI="http://zim-wiki.org/downloads/${P}.tar.gz"
+
+LICENSE="BSD GPL-2+"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="test"
+
+RDEPEND="dev-python/pygtk[${PYTHON_USEDEP}]
+ dev-python/pygobject:2[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+ x11-misc/xdg-utils
+ test? (
+ dev-vcs/bzr
+ dev-vcs/git
+ dev-vcs/mercurial )"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.60-remove-ubuntu-theme.patch
+)
+
+python_prepare() {
+ sed -i -e "s/'USER'/'LOGNAME'/g" zim/__init__.py zim/fs.py || die
+
+ if [[ ${LINGUAS} ]]; then
+ local lingua
+ for lingua in translations/*.po; do
+ lingua=${lingua/.po}
+ lingua=${lingua/translations\/}
+ has ${lingua} ${LINGUAS} || \
+ { rm translations/${lingua}.po || die; }
+ done
+ fi
+
+ distutils-r1_python_prepare
+}
+
+python_test() {
+ VIRTUALX_COMMAND="${PYTHON}" virtualmake test.py
+}
+
+python_install() {
+ distutils-r1_python_install --skip-xdg-cmd
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ fdo-mime_desktop_database_update
+ gnome2_icon_cache_update
+ if ! has_version ${CATEGORY}/${PN}; then
+ einfo "Please emerge these packages for additional functionality"
+ einfo " dev-lang/R"
+ einfo " dev-python/gtkspell-python"
+ einfo " dev-vcs/bzr"
+ einfo " gnome-extra/zeitgeist"
+ einfo " media-gfx/graphviz"
+ einfo " media-gfx/imagemagick"
+ einfo " media-gfx/scrot"
+ einfo " media-sound/lilypond"
+ einfo " sci-visualization/gnuplot"
+ einfo " virtual/latex-base app-text/dvipng"
+ fi
+}
+
+pkg_postrm() {
+ fdo-mime_desktop_database_update
+ gnome2_icon_cache_update
+}
diff --git a/x11-misc/zim/zim-0.66.ebuild b/x11-misc/zim/zim-0.66.ebuild
new file mode 100644
index 000000000000..624a7703ae63
--- /dev/null
+++ b/x11-misc/zim/zim-0.66.ebuild
@@ -0,0 +1,83 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+PYTHON_REQ_USE="sqlite"
+DISTUTILS_SINGLE_IMPL=1
+
+inherit distutils-r1 gnome2-utils fdo-mime virtualx
+
+DESCRIPTION="A desktop wiki"
+HOMEPAGE="http://zim-wiki.org/"
+SRC_URI="http://zim-wiki.org/downloads/${P}.tar.gz"
+
+LICENSE="BSD GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+RDEPEND="dev-python/pygtk[${PYTHON_USEDEP}]
+ dev-python/pygobject:2[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+ x11-misc/xdg-utils
+ test? (
+ dev-vcs/bzr
+ dev-vcs/git
+ dev-vcs/mercurial )"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.60-remove-ubuntu-theme.patch
+)
+
+python_prepare() {
+ sed -i -e "s/'USER'/'LOGNAME'/g" zim/__init__.py zim/fs.py || die
+
+ if [[ ${LINGUAS} ]]; then
+ local lingua
+ for lingua in translations/*.po; do
+ lingua=${lingua/.po}
+ lingua=${lingua/translations\/}
+ has ${lingua} ${LINGUAS} || \
+ { rm translations/${lingua}.po || die; }
+ done
+ fi
+
+ distutils-r1_python_prepare
+}
+
+python_test() {
+ VIRTUALX_COMMAND="${PYTHON}" virtualmake test.py
+}
+
+python_install() {
+ distutils-r1_python_install --skip-xdg-cmd
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ fdo-mime_desktop_database_update
+ gnome2_icon_cache_update
+ if ! has_version ${CATEGORY}/${PN}; then
+ einfo "Please emerge these packages for additional functionality"
+ einfo " dev-lang/R"
+ einfo " dev-python/gtkspell-python"
+ einfo " dev-vcs/bzr"
+ einfo " gnome-extra/zeitgeist"
+ einfo " media-gfx/graphviz"
+ einfo " media-gfx/imagemagick"
+ einfo " media-gfx/scrot"
+ einfo " media-sound/lilypond"
+ einfo " sci-visualization/gnuplot"
+ einfo " virtual/latex-base app-text/dvipng"
+ fi
+}
+
+pkg_postrm() {
+ fdo-mime_desktop_database_update
+ gnome2_icon_cache_update
+}