Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Additional gtk4 update #347

Open
wants to merge 16 commits into
base: gtk4
Choose a base branch
from
249 changes: 224 additions & 25 deletions dub.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,30 +13,229 @@
"Sebastián E. Peyrott",
"John Reimer",
"Mike Wey",
"hauptmech"
"hauptmech",
"KonstantIMP"
],
"dependencies": {
"gtk-d:gtkd": "*",
"gtk-d:gstreamer": "*"
},

"subPackages" : [
{
"name": "gtkd",
"targetType": "library",
"targetName": "gtkd-3",
"sourcePaths": ["generated/gtkd"],
"libs-posix": ["dl"],
"importPaths": ["generated/gtkd"]
},
{
"name": "gstreamer",
"targetType": "library",
"targetName": "gstreamerd-3",
"sourcePaths": ["generated/gstreamer"],
"libs-posix": ["dl"],
"importPaths": ["generated/gstreamer"],
"dependencies": {"gtk-d:gtkd":"*"}
}
]
"subPackages": [
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With how this is now structured, wouldn't it be better to separate things out into different repositories?

Like whats already been done for GLib: https://github.com/gtkd-developers/GlibD

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for the core packages instead of different repositories I would recommend using subpackages in separate folders (useful to install all the common stuff at once)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With how this is now structured, wouldn't it be better to separate things out into different repositories?

Like whats already been done for GLib: https://github.com/gtkd-developers/GlibD

It will be harder to update packages I think.

{
"name": "linker",
"targetType": "library",
"targetName": "linker",
"importPaths": ["source/linker"],
"sourcePaths": ["source/linker"]
},
{
"name": "glib",
"targetType": "library",
"targetName": "glib",
"importPaths": ["source/generated/glib"],
"sourcePaths": ["source/generated/glib"],
"dependencies": {
"gtk_d:linker" : "*"
}
},
{
"name": "graphene",
"targetType": "library",
"targetName": "graphene",
"importPaths": ["source/generated/graphene"],
"sourcePaths": ["source/generated/graphene"],
"dependencies": {
"gtk_d:linker" : "*",
"gtk_d:glib" : "*"
}
},
{
"name": "cairo",
"targetType": "library",
"targetName": "cairo",
"importPaths": ["source/generated/cairo"],
"sourcePaths": ["source/generated/cairo"],
"dependencies": {
"gtk_d:linker" : "*",
"gtk_d:glib" : "*"
}
},
{
"name": "harfbuzz",
"targetType": "library",
"targetName": "harfbuzz",
"importPaths": ["source/generated/harfbuzz"],
"sourcePaths": ["source/generated/harfbuzz"],
"dependencies": {
"gtk_d:linker" : "*",
"gtk_d:glib" : "*"
}
},
{
"name": "pango",
"targetType": "library",
"targetName": "pango",
"importPaths": ["source/generated/pango"],
"sourcePaths": ["source/generated/pango"],
"dependencies": {
"gtk_d:linker" : "*",
"gtk_d:glib" : "*",
"gtk_d:cairo" : "*",
"gtk_d:harfbuzz" : "*"
}
},
{
"name": "gio",
"targetType": "library",
"targetName": "gio",
"importPaths": ["source/generated/gio"],
"sourcePaths": ["source/generated/gio"],
"dependencies": {
"gtk_d:linker" : "*",
"gtk_d:glib" : "*"
}
},
{
"name": "gdkpixbuf",
"targetType": "library",
"targetName": "gdkpixbuf",
"importPaths": ["source/generated/gdkpixbuf"],
"sourcePaths": ["source/generated/gdkpixbuf"],
"dependencies": {
"gtk_d:linker" : "*",
"gtk_d:glib" : "*",
"gtk_d:gio" : "*"
}
},
{
"name": "atk",
"targetType": "library",
"targetName": "atk",
"importPaths": ["source/generated/atk"],
"sourcePaths": ["source/generated/atk"],
"dependencies": {
"gtk_d:linker" : "*",
"gtk_d:glib" : "*"
}
},
{
"name": "gdk",
"targetType": "library",
"targetName": "gdk",
"importPaths": ["source/generated/gdk"],
"sourcePaths": ["source/generated/gdk"],
"dependencies": {
"gtk_d:linker" : "*",
"gtk_d:cairo" : "*",
"gtk_d:glib" : "*",
"gtk_d:gio" : "*",
"gtk_d:gdkpixbuf" : "*",
"gtk_d:pango" : "*"
}
},
{
"name": "rsvg",
"targetType": "library",
"targetName": "rsvg",
"importPaths": ["source/generated/rsvg"],
"sourcePaths": ["source/generated/rsvg"],
"dependencies": {
"gtk_d:linker" : "*",
"gtk_d:glib" : "*",
"gtk_d:cairo" : "*",
"gtk_d:gdkpixbuf" : "*"
}
},
{
"name": "gsk",
"targetType": "library",
"targetName": "gsk",
"importPaths": ["source/generated/gsk"],
"sourcePaths": ["source/generated/gsk"],
"dependencies": {
"gtk_d:linker" : "*",
"gtk_d:glib" : "*",
"gtk_d:cairo" : "*",
"gtk_d:graphene" : "*",
"gtk_d:gdk" : "*"
}
},
{
"name": "gtk",
"targetType": "library",
"targetName": "gtk",
"importPaths": ["source/generated/gtk"],
"sourcePaths": ["source/generated/gtk"],
"dependencies": {
"gtk_d:linker" : "*",
"gtk_d:glib" : "*",
"gtk_d:gdk" : "*",
"gtk_d:graphene" : "*",
"gtk_d:gsk" : "*"
}
},
{
"name": "adw",
"targetType": "library",
"targetName": "adw",
"importPaths": ["source/generated/adw"],
"sourcePaths": ["source/generated/adw"],
"dependencies": {
"gtk_d:linker" : "*",
"gtk_d:gtk" : "*"
}
},
{
"name": "sourceview",
"targetType": "library",
"targetName": "sourceview",
"importPaths": ["source/generated/sourceview"],
"sourcePaths": ["source/generated/sourceview"],
"dependencies": {
"gtk_d:linker" : "*",
"gtk_d:glib" : "*",
"gtk_d:gtk" : "*"
}
},
{
"name": "soup",
"targetType": "library",
"targetName": "soup",
"importPaths": ["source/generated/soup"],
"sourcePaths": ["source/generated/soup"],
"dependencies": {
"gtk_d:linker" : "*",
"gtk_d:glib" : "*",
"gtk_d:gio" : "*"
}
},
{
"name": "shumate",
"targetType": "library",
"targetName": "shumate",
"importPaths": ["source/generated/shumate"],
"sourcePaths": ["source/generated/shumate"],
"dependencies": {
"gtk_d:linker" : "*",
"gtk_d:glib" : "*",
"gtk_d:gtk" : "*",
"gtk_d:soup" : "*"
}
}
],
"dependencies": {
"gtk_d:linker" : "*",
"gtk_d:glib" : "*",
"gtk_d:graphene" : "*",
"gtk_d:cairo" : "*",
"gtk_d:harfbuzz" : "*",
"gtk_d:pango" : "*",
"gtk_d:gio" : "*",
"gtk_d:gdkpixbuf" : "*",
"gtk_d:atk" : "*",
"gtk_d:gdk" : "*",
"gtk_d:rsvg" : "*",
"gtk_d:gsk" : "*",
"gtk_d:gtk" : "*",
"gtk_d:adw" : "*",
"gtk_d:sourceview" : "*",
"gtk_d:soup" : "*",
"gtk_d:shumate" : "*"
}
}