Dragora GNU/Linux-Libre

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
SHA1:96b3341889df462df98b68b474abb8f46fc68ad4
Date: 2017-10-06 19:18:36
User: selk
Comment:reconfigure xkbcomp
Tags And Properties
Context
2017-10-07
19:52
[5ab86e66d7] update xorg-server to version 1.19.4 (user: selk, tags: trunk)
2017-10-06
19:18
[96b3341889] reconfigure xkbcomp (user: selk, tags: trunk)
19:11
[ac4bd12a94] reconfigure setxkbmap (user: selk, tags: trunk)
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to recipes/xorg/app/xkbcomp/recipe.

1
2
3

4
5
6
7
8
9
10
..
11
12
13
14
15
16
17
18





19
20
21
22
23
24
25
..
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
..
63
64
65
66
67
68
69

70
71
72
73
74
75
76
77
78
# Build recipe for xkbcomp.
#
# Copyright (C) 2017 Mateus P. Rodrigues <mprodrigues@dragora.org>.

#
# This recipe is free software: you have unlimited permission
# to copy, distribute and modify it.

program=xkbcomp
version=1.4.0
release=1
................................................................................

tarname=${program}-${version}.tar.bz2

# Remote source(s)
fetch=http://www.x.org/releases/individual/app/$tarname

description="
X Keyboard Extension.





"

homepage=http://www.x.org
license="MIT X Consortium"

# Source documentation
docs="COPYING ChangeLog README"
................................................................................

    ./configure CFLAGS="$QICFLAGS" LDFLAGS="$QILDFLAGS" \
     $configure_args \
     --libdir=/usr/lib${libSuffix} \
     --infodir=$infodir \
     --mandir=$mandir \
     --docdir=$docsdir \
     || true

    make -j${jobs} V=1
    make -j${jobs} DESTDIR="$destdir" install

    # Compress info documents deleting index file for the package
    if test -d "${destdir}/$infodir"
    then
        rm -f "${destdir}/${infodir}/dir"
        lzip -9 "${destdir}/${infodir}"/*
    fi

    # Compress and link man pages (if needed)
    if test -d "${destdir}/$mandir"
    then
        (
            cd "${destdir}/$mandir"
            find . -type f -exec lzip -9 '{}' +
            find . -type l | while read -r file
................................................................................
                rm -- "$file"
            done
        )
    fi

    # Copy documentation
    mkdir -p "${destdir}${docsdir}"


    for file in $docs
    do
        if test -e $file
        then
            cp -p $file "${destdir}${docsdir}"
        fi
    done
}



>







 







|
>
>
>
>
>







 







|




<
<
<
<
<
<
<







 







>
|
<
<
<
<
<
<
<
|
1
2
3
4
5
6
7
8
9
10
11
..
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
..
41
42
43
44
45
46
47
48
49
50
51
52







53
54
55
56
57
58
59
..
62
63
64
65
66
67
68
69
70







71
# Build recipe for xkbcomp.
#
# Copyright (C) 2017 Mateus P. Rodrigues <mprodrigues@dragora.org>.
# Copyright (C) 2017 Matias A. Fonzo <selk@dragora.org>.
#
# This recipe is free software: you have unlimited permission
# to copy, distribute and modify it.

program=xkbcomp
version=1.4.0
release=1
................................................................................

tarname=${program}-${version}.tar.bz2

# Remote source(s)
fetch=http://www.x.org/releases/individual/app/$tarname

description="
Compiler for XKB keyboard descriptions.

The xkbcomp keymap compiler converts a description of an XKB keymap
into one of several output formats.  The most common use for xkbcomp
is to create a compiled keymap file (.xkm extension) which can be read
directly by XKB-capable X servers or utilities.
"

homepage=http://www.x.org
license="MIT X Consortium"

# Source documentation
docs="COPYING ChangeLog README"
................................................................................

    ./configure CFLAGS="$QICFLAGS" LDFLAGS="$QILDFLAGS" \
     $configure_args \
     --libdir=/usr/lib${libSuffix} \
     --infodir=$infodir \
     --mandir=$mandir \
     --docdir=$docsdir \
     --with-xkb-config-root=/etc/X11/xkb

    make -j${jobs} V=1
    make -j${jobs} DESTDIR="$destdir" install








    # Compress and link man pages (if needed)
    if test -d "${destdir}/$mandir"
    then
        (
            cd "${destdir}/$mandir"
            find . -type f -exec lzip -9 '{}' +
            find . -type l | while read -r file
................................................................................
                rm -- "$file"
            done
        )
    fi

    # Copy documentation
    mkdir -p "${destdir}${docsdir}"
    cp -p $docs "${destdir}${docsdir}"
}