Le 11 avr. 09 à 18:03, Sebastian Nowicki a écrit : > On 11/04/2009, at 6:09 PM, Quentin Mathé wrote: > >> However setup.sh needs also to be reworked to better integrate with >> packager needs. I have no experience with packaging at all, so I more >> or less wrote setup.sh as a quick solution when you compile and >> install everything manually. > > Yes, it does seem like a convenience script for people compiling > manually. I suppose for that purpose it is good. However, it would be > nice for a more standard solution to be provided for packaging > purposes. Personally I would move toward having everything in the > Makefiles (if possible), and instructions for everything else (like > setting up the PostgreSQL database for CoreObject).
Yes, I agree. >>> At this point it seems I would have to replicate some of the ./ >>> setup.sh script (copying files) in the PKGBUILD. Writing the >>> defaults >>> is per-user, so it can't actually be done during the packaging >>> process. I could put it in the install scriptlet, but this would >>> only >>> set the environment for the user installing it (probably root). >> >> For this point, would it be better to have a script that is run the >> first time the environment is started? We could do that… > > I think so. > > This is probably a problem with the GNUstep common Makefiles rather > than Étoilé, but it seems some things (mostly frameworks) are linked, > rather than copied into the installation directory. This results in > broken symbolic links on the user's system. I can fix it up in the > package, but this seems like a bug to me. Actually, I don't think > those links should even exist. > > System/Library/Frameworks/PopplerKit.framework/PopplerKit.framework > System/Library/Frameworks/EtoileUI.framework/EtoileUI.framework > etc... > > Is this normal? I doubt it's normal, I'll check that the problem isn't on Étoilé side. > Is Etoile/Themes supposed to be empty? Yes, unless extra themes are installed. Initially Nesedah and GNUstep icon themes were installed here, but they were later moved into respectively Camaelon and IconKit to be deployed as part of their bundles (in the Resources subdirectory). This way we ensure both a default widget and icon theme always exists when Camaelon and IconKit are installed. We should probably create symbolic links for them in Etoile/Themes and perhaps also in the Themes directory of the svn repository, since it's a bit weird to have these folders empy. Cheers, Quentin. _______________________________________________ Etoile-discuss mailing list Etoile-discuss@gna.org https://mail.gna.org/listinfo/etoile-discuss