diff --git a/meson.build b/meson.build index 6afa361..4b1c9c5 100644 --- a/meson.build +++ b/meson.build @@ -31,19 +31,27 @@ asgen_sources = ['source/app.d', ] backend_sources = [ + 'source/backends/interfaces.d', + + 'source/backends/dummy/package.d', + 'source/backends/dummy/dummypkg.d', + 'source/backends/dummy/pkgindex.d', + + 'source/backends/archlinux/package.d', 'source/backends/archlinux/alpkg.d', 'source/backends/archlinux/alpkgindex.d', 'source/backends/archlinux/listfile.d', - 'source/backends/archlinux/package.d', + + 'source/backends/debian/package.d', 'source/backends/debian/debpkg.d', 'source/backends/debian/debpkgindex.d', - 'source/backends/debian/package.d', 'source/backends/debian/tagfile.d', 'source/backends/debian/debutils.d', - 'source/backends/dummy/dummypkg.d', - 'source/backends/dummy/package.d', - 'source/backends/dummy/pkgindex.d', - 'source/backends/interfaces.d', + + 'source/backends/ubuntu/package.d', + 'source/backends/ubuntu/ubupkg.d', + 'source/backends/ubuntu/ubupkgindex.d', + 'source/backends/rpmmd/package.d', 'source/backends/rpmmd/rpmpkg.d', 'source/backends/rpmmd/rpmpkgindex.d', diff --git a/source/backends/ubuntu/ubupkg.d b/source/backends/ubuntu/ubupkg.d index 4742f28..ad71cf0 100644 --- a/source/backends/ubuntu/ubupkg.d +++ b/source/backends/ubuntu/ubupkg.d @@ -20,19 +20,20 @@ module backends.ubuntu.ubupkg; -import appstream.Component; - -import backends.debian.debpkg; -import backends.interfaces; +import std.container : Array; +import std.path : buildPath; +import std.file : mkdirRecurse; +import std.conv : to; import glib.Internationalization; import glib.KeyFile; - -import std.container : Array; +import appstream.Component; import logging; - import utils : DESKTOP_GROUP; +import backends.debian.debpkg; +import backends.interfaces; + extern (C) char *bindtextdomain (const char *domainname, const char *dirName) nothrow @nogc;