Skip to content

Commit 6f1151f

Browse files
Remove the pnp_ids configuration option (unused as of 9131984) (#249)
1 parent 1e68cdb commit 6f1151f

File tree

5 files changed

+1
-107
lines changed

5 files changed

+1
-107
lines changed

debian/rules

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@ export DPKG_GENSYMBOLS_CHECK_LEVEL = 2
99

1010
override_dh_auto_configure:
1111
dh_auto_configure -- \
12-
--buildtype=debugoptimized \
13-
-Dpnp_ids=/usr/share/hwdata/pnp.ids
12+
--buildtype=debugoptimized
1413

1514
override_dh_strip:
1615
dh_strip -Xdesktop -Xcinnamon --dbg-package=libcvc-dbg

libcinnamon-desktop/meson.build

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@ libcinnamon_desktop = shared_library('cinnamon-desktop',
7373
include_directories: [ rootInclude ],
7474
c_args: [
7575
'-DG_LOG_DOMAIN="CinnamonDesktop"',
76-
'-DPNP_IDS="@0@"'.format(pnp_ids_path),
7776
'-DXKB_BASE="@0@"'.format(xkb_base),
7877
],
7978
dependencies: cinnamon_deps,
@@ -97,12 +96,6 @@ pkgconfig.generate(
9796
variables: [ 'exec_prefix=${prefix}'],
9897
)
9998

100-
if pnp_ids_install_internal
101-
install_data('pnp.ids',
102-
install_dir: pnp_ids_path,
103-
)
104-
endif
105-
10699
cdesktop_gir = gnome.generate_gir(libcinnamon_desktop,
107100
sources: 'cdesktop-enums.h',
108101
namespace: 'CDesktopEnums',

libcinnamon-desktop/pnp.ids

Lines changed: 0 additions & 75 deletions
This file was deleted.

meson.build

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -63,20 +63,6 @@ use_alsa = get_option('alsa')
6363
xkb_base = xkbconf.get_variable(pkgconfig: 'xkb_base')
6464
iso_codes_prefix = iso_codes.get_variable(pkgconfig: 'prefix')
6565

66-
# Path to the pnp.ids file -- to know if we use one shipped with another
67-
# package, or an internal file
68-
69-
pnp_ids_path = get_option('pnp_ids')
70-
pnp_ids_install_internal = (pnp_ids_path == '')
71-
72-
if pnp_ids_install_internal
73-
# Default value
74-
pnp_ids_path = join_paths(get_option('datadir'), 'libcinnamon-desktop')
75-
pnp_ids_abspath = join_paths(get_option('prefix'), pnp_ids_path)
76-
else
77-
pnp_ids_abspath = pnp_ids_path
78-
endif
79-
8066
################################################################################
8167
# Config
8268

@@ -113,12 +99,6 @@ subdir('libcinnamon-desktop')
11399
subdir('libcvc')
114100
subdir('schemas')
115101

116-
117-
pnp_message = '@0@: @1@'.format(
118-
''+(pnp_ids_install_internal ? 'internal' : 'system'),
119-
pnp_ids_abspath
120-
)
121-
122102
message('\n'.join([
123103
'',
124104
' prefix: ' + get_option('prefix'),
@@ -133,7 +113,6 @@ message('\n'.join([
133113
' compiler: ' + cc.get_id(),
134114
' debugging support: ' + get_option('buildtype'),
135115
' Use *_DISABLE_DEPRECATED: @0@'.format(get_option('deprecation_warnings')),
136-
' Use PNP files: ' + pnp_message,
137116
' Use ALSA: ' + '@0@'.format(use_alsa),
138117
' systemd: @0@'.format(systemd.found()),
139118
'',

meson_options.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
option('deprecation_warnings', type: 'boolean', value: false,
22
description: 'Show compiler warnings about deprecated features')
3-
option('pnp_ids', type: 'string', value: '',
4-
description: 'Specify the path to pnp.ids (default is an internal copy)')
53
option('alsa', type: 'boolean', value: false,
64
description: 'ALSA support')
75
option('systemd',

0 commit comments

Comments
 (0)