Dragora GNU/Linux-Libre

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

Overview
SHA1:ac4bd12a94e3654015e98cf9f2f4f6c13159921a
Date: 2017-10-06 19:11:32
User: selk
Comment:reconfigure setxkbmap
Tags And Properties
Context
2017-10-06
19:18
[96b3341889] reconfigure xkbcomp (user: selk, tags: trunk)
19:11
[ac4bd12a94] reconfigure setxkbmap (user: selk, tags: trunk)
19:00
[9469d9ca1f] build mesa with EGL support (user: selk, tags: trunk)
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to recipes/xorg/app/setxkbmap/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
..
31
32
33
34
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 setxkbmap.
#
# 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=setxkbmap
version=1.3.1
release=1
................................................................................

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

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

description="
X11 client to change the keymaps in the X server.



"

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

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

    unpack "${tardir}/$tarname"

    cd "$srcdir"

    ./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
..
35
36
37
38
39
40
41


42
43

44
45
46
47
48







49
50
51
52
53
54
55
..
58
59
60
61
62
63
64
65
66







67
# Build recipe for setxkbmap.
#
# 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=setxkbmap
version=1.3.1
release=1
................................................................................

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

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

description="
A client to set the keyboard using the X Keyboard extension.

The setxkbmap command maps the keyboard to use the layout
determined by the options specified on the command line.
"

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

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

    unpack "${tardir}/$tarname"

    cd "$srcdir"

    ./configure CFLAGS="$QICFLAGS" LDFLAGS="$QILDFLAGS" \
     $configure_args \


     --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}"
}