Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-23538

Rename mariadb.pc to mariadbd.pc to avoid confusion

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 10.5, 10.6
    • Fix Version/s: None
    • Component/s: Embedded Server, Server
    • Labels:
      None

      Description

      Currently we ship libmariadb.pc (for building against the client library) and mariadb.pc (to build against the server). The latter one is confusing to it's name. I've noticed many people assume mariadb.pc is the client library config.

      To avoid ambiguity, I suggest that in MariaDB 10.6 we rename it to mariadbd.pc (instead of mariadb.pc). Or even libmariadbd.pc (to be symmetric with libmariadb.pc). The -d is used in libmariadbd package names already and is kind of a convention.

      As a bonus, this would help avoid some Lintian complaints that stem from this naming scheme confusion:

      W: libmariadb-dev: pkg-config-references-unknown-shared-library usr/share/pkgconfig/mariadb.pc -lz (line 22)
      W: libmariadb-dev: pkg-config-references-unknown-shared-library usr/share/pkgconfig/mariadb.pc -lssl (line 22)
      W: libmariadb-dev: pkg-config-references-unknown-shared-library usr/share/pkgconfig/mariadb.pc -lcrypto (line 22)
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              otto Otto Kekäläinen
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:

                  Git Integration