---
name: "Devel::DictionariesCommon"
section: "3pm"
platform: "linux"
package: "dictionaries-common-dev"
version: "1.30.10"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Devel::DictionariesCommon"
---

# Devel::DictionariesCommon(3pm)

dictionaries-common library for its debhelper-like scripts

## NAME

Devel::DictionariesCommon.pm - dictionaries-common library for its debhelper-like scripts

## SYNOPSIS

```
    use Devel::DictionariesCommon q(:all)
```

## DESCRIPTION

Common functions for use from the dictionaries-common debhelper-like installdeb-\* scripts.

## CALLING FUNCTIONS

- "dico\_warning"

  Wrapper to debhelper warning function

  ```
    dico_warning("warning message")
  ```

- "dico\_error"

  Wrapper to debhelper error function

  ```
    dico_error("error message")
  ```

- "dico\_create\_debconf\_files"

  Create .config and .template debconf files

  ```
    dico_create_debconf_files($class,$package,$dicts)
  ```

- "dico\_install\_autocompat"

  Install debhelper snippets for auto-compat

  ```
    dico_install_autocompat($autocompat_info,$options)
  ```

  Needs:

  ```
    $options->{'class'}
    $options->{'package'}
  ```

- "dico\_installcleandebconf"

  Call dh\_installdebconf and do the clean up

  ```
    dico_installcleandebconf($class)
  ```

- "dico\_populate\_substvars"

  Populate `$class:Depends` substvars

  ```
   dico_populate_substvars($options)
  ```

  Needs:

  ```
    $options->{'class'}
    $options->{'package'}
  ```

- "dico\_process\_aspell\_simple"

  Postprocess aspell official dictionary after installation and return info found

  ```
    \%autocompat = dico_process_aspell_simple($options)
  ```

  Needs:

  ```
    $options->{'program'}
    $options->{'lib_dir'}
    $options->{'usr_lib_dir'}
    $options->{'usr_share_dir'}
  ```

  Should only be used if `$dh`{ASPELL\_SIMPLE} is enabled, after make install from aspell dict has been run. This will get `$lang` info from Makefile.pre. Other info will be extracted from installed .rws and .dat. Will install .cwl files after it and try guessing correct values for auto-compat and auto-hash

- "dico\_process\_autocompat"

  Parse and return autocompat info from info file

  ```
    \%autocompat = dico_process_autocompat($dicts,$options)
  ```

  Needs:

  ```
    $options->{'class'}
  ```

- "dico\_process\_infofile"

  Parse, install and return info about info file

  ```
    \%infofile = dico_process_infofile($options)
  ```

  Needs:

  ```
    $options->{'class'}
    $options->{'package'}
    $options->{'lib_dir'}
  ```

## SEE ALSO

Debian dictionaries-common policy.

## AUTHORS

```
 Rafael Laboissiere
 Agustin Martin
```
