MCPcopy Create free account
hub / github.com/danoon2/Boxedwine / main

Method main

tools/debianFileSystem/src/org/boxedwine/Main.java:19–320  ·  view source on GitHub ↗
(String[] args)

Source from the content-addressed store, hash-verified

17 depends.put(name, DebianPackages.getPackage(name));
18 }
19 public static void main(String[] args) {
20 Settings.fileCachePath = new File("c:\\debianCache");
21 Settings.outputDir = new File("c:\\debianCache\\out");
22 Settings.extraFiles = new File("C:\\boxedwine\\tools\\debianFileSystem\\fs");
23 Settings.boxedwinePath = "C:\\Boxedwine\\project\\msvc\\BoxedWine\\x64\\Release\\Boxedwine"; // find it in the OS path
24
25 DebianPackages.instance = new DebianPackages(release);
26 DebianPackages.instance.prefered = new HashSet<>();
27 HashSet<String> ignored = new HashSet<>();
28 DebianPackages.instance.prefered.add("fonts-liberation");
29
30 if (!includeX11) {
31 // for now, lets ignore this, otherwise we will have to pull in Mesa
32 ignored.add("ocl-icd-libopencl1");
33 ignored.add("libopencl1");
34
35 // Boxedwine doesn't support this
36 ignored.add("libpusle0");
37 ignored.add("libasound2-data");
38 ignored.add("libvorbisenc2");
39
40 // only useful for install with deb
41 ignored.add("debconf");
42
43 ignored.add("libncurses6");
44
45 ignored.add("libxext6");
46 ignored.add("libx11-xcb1");
47 ignored.add("libx11-6");
48 ignored.add("x11-common");
49 ignored.add("libpcap0.8");
50 ignored.add("libxau6");
51 ignored.add("libxi6");
52 ignored.add("libice6");
53
54 ignored.add("iso-codes"); // this a big one and only required by libgstreamer-plugins-base1.0-0
55 ignored.add("libicu63");
56 ignored.add("adwaita-icon-theme");
57 ignored.add("ahicolor-icon-theme");
58 ignored.add("libgl1");
59 ignored.add("libwayland-client0");
60 ignored.add("libwayland-cursor0");
61 ignored.add("libwayland-egl1");
62 ignored.add("libxcursor1");
63 ignored.add("libxinerama1");
64 ignored.add("libxkbcommon0");
65 ignored.add("libxss1");
66 ignored.add("libxxf86vm1");
67 }
68
69 HashMap<String, DebianPackage> depends = new HashMap<>();
70 add("curl", depends, ignored);
71 add("libnss-mdns", depends, ignored);
72 add("binutils", depends, ignored);
73 add("cabextract", depends, ignored);
74 add("p7zip", depends, ignored);
75 add("unzip", depends, ignored);
76 //add("unrar", depends, ignored);

Callers

nothing calls this directly

Calls 12

addMethod · 0.95
getPackageMethod · 0.95
touchMethod · 0.95
installMethod · 0.95
getDependsMethod · 0.80
unpackMethod · 0.80
readLineMethod · 0.80
putMethod · 0.45
removeMethod · 0.45
getFileMethod · 0.45
getMethod · 0.45
startMethod · 0.45

Tested by

no test coverage detected