Skip to content

Commit

Permalink
x11-proto/xorgproto: New package
Browse files Browse the repository at this point in the history
xorgproto is a single package containing:

    x11-proto/bigreqsproto
    x11-proto/compositeproto
    x11-proto/damageproto
    x11-proto/dmxproto
    x11-proto/dri2proto
    x11-proto/dri3proto
    x11-proto/fixesproto
    x11-proto/fontsproto
    x11-proto/glproto
    x11-proto/inputproto
    x11-proto/kbproto
    x11-proto/presentproto
    x11-proto/randrproto
    x11-proto/recordproto
    x11-proto/renderproto
    x11-proto/resourceproto
    x11-proto/scrnsaverproto
    x11-proto/trapproto
    x11-proto/videoproto
    x11-proto/xcmiscproto
    x11-proto/xextproto
    x11-proto/xf86bigfontproto
    x11-proto/xf86dgaproto
    x11-proto/xf86driproto
    x11-proto/xf86miscproto
    x11-proto/xf86vidmodeproto
    x11-proto/xineramaproto
    x11-proto/xproto

Also included are proto headers for which we do not currently have a
package:

    applewmproto (unpackaged)
    panoramixproto (unpackaged)
    pmproto (unpackaged)
    windowswmproto (unpackaged)

Behind a "legacy" flag (which we choose not to implement) there are
headers for dead things:

    evieproto                (legacy, unpackaged)
    x11-proto/fontcacheproto (legacy)
    lg3dproto                (legacy, unpackaged)
    x11-proto/printproto     (legacy)
    x11-proto/xf86rushproto  (legacy)
  • Loading branch information
mattst88 committed Feb 7, 2018
1 parent cdd4b78 commit 120e67e
Show file tree
Hide file tree
Showing 3 changed files with 78 additions and 0 deletions.
5 changes: 5 additions & 0 deletions profiles/package.mask
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@

#--- END OF EXAMPLES ---

# Matt Turner <[email protected]> (06 Feb 2018)
# New package with subsuming lots of existing packages. Lots of reverse
# dependencies will need to be updated.
x11-proto/xorgproto

# Matt Turner <[email protected]> (06 Feb 2018)
# Dead and unused
# Masked for removal in 30 days. Bug #646838
Expand Down
8 changes: 8 additions & 0 deletions x11-proto/xorgproto/metadata.xml
Original file line number Diff line number Diff line change
@@ -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>[email protected]</email>
<name>X11</name>
</maintainer>
</pkgmetadata>
65 changes: 65 additions & 0 deletions x11-proto/xorgproto/xorgproto-9999.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6

EGIT_REPO_URI="https://anongit.freedesktop.org/git/xorg/proto/${PN}"

if [[ ${PV} = 9999* ]]; then
GIT_ECLASS="git-r3"
fi

inherit ${GIT_ECLASS} meson

DESCRIPTION="X.Org combined protocol headers"
HOMEPAGE="https://cgit.freedesktop.org/xorg/proto/xorgproto/"
if [[ ${PV} = 9999* ]]; then
SRC_URI=""
else
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
SRC_URI="https://xorg.freedesktop.org/archive/individual/proto/${P}.tar.gz"
fi

LICENSE="MIT"
SLOT="0"
IUSE=""

DEPEND="
!x11-proto/bigreqsproto
!x11-proto/compositeproto
!x11-proto/damageproto
!x11-proto/dmxproto
!x11-proto/dri2proto
!x11-proto/dri3proto
!x11-proto/fixesproto
!x11-proto/fontsproto
!x11-proto/glproto
!x11-proto/inputproto
!x11-proto/kbproto
!x11-proto/presentproto
!x11-proto/randrproto
!x11-proto/recordproto
!x11-proto/renderproto
!x11-proto/resourceproto
!x11-proto/scrnsaverproto
!x11-proto/trapproto
!x11-proto/videoproto
!x11-proto/xcmiscproto
!x11-proto/xextproto
!x11-proto/xf86bigfontproto
!x11-proto/xf86dgaproto
!x11-proto/xf86driproto
!x11-proto/xf86miscproto
!x11-proto/xf86vidmodeproto
!x11-proto/xineramaproto
!x11-proto/xproto
!x11-proto/fontcacheproto
!x11-proto/printproto
!x11-proto/xf86rushproto"
RDEPEND=""

src_unpack() {
default
[[ $PV = 9999* ]] && git-r3_src_unpack
}

0 comments on commit 120e67e

Please sign in to comment.