A year ago, I made an etoile-svn Archlinux package for my own use. I
later experimented with modularized packages, which works well and is
more in line with "the Arch way", but is a lot of work to keep in sync
with Étoilé trunk.

Both of these experimental efforts are outdated now. I switched to
manually installing because I found it to be easier with frequent
rebuilds.

Looking back at the scripts, I installed etoile.desktop and
SystemTaskList.plist from the PKGBUILD. These could be done by the
Makefiles, as already mentioned.

In the package, I included an etoile-setup.sh as follows to be run by
users. Note that the timezone thing at the end is Archlinux specific;

#!/bin/sh

echo "The following defaults were written:"
echo

bundledir=`gnustep-config --variable=GNUSTEP_SYSTEM_LIBRARY`/Bundles
defaults write NSGlobalDomain GSAppKitUserBundles
"($bundledir/Camaelon.themeEngine, $bundledir/EtoileMenus.bundle,
$bundledir/EtoileBehavior.bundle)"
defaults read  NSGlobalDomain GSAppKitUserBundles

defaults write Camaelon Theme "Nesedah"
defaults read  Camaelon Theme

defaults write NSGlobalDomain NSFont 'DejaVu Sans'
defaults read  NSGlobalDomain NSFont

defaults write NSGlobalDomain NSFontSize 9
defaults read  NSGlobalDomain NSFontSize

defaults write NSGlobalDomain NSUseRunningCopy YES
defaults read  NSGlobalDomain NSUseRunningCopy

defaults write NSGlobalDomain GSSuppressAppIcon YES
defaults read  NSGlobalDomain GSSuppressAppIcon

defaults write NSGlobalDomain GSFileBrowserHideDotFiles YES
defaults read  NSGlobalDomain GSFileBrowserHideDotFiles

defaults write NSGlobalDomain GSWorkspaceApplication "NotExist.app"
defaults read  NSGlobalDomain GSWorkspaceApplication

defaults write GWorkspace NoWarnOnQuit YES
defaults read  GWorkspace NoWarnOnQuit

defaults write GWorkspace no_desktop YES
defaults read  GWorkspace no_desktop

source /etc/rc.conf
if [ "$TIMEZONE" ]; then
  defaults write NSGlobalDomain 'Local Time Zone' "$TIMEZONE"
  defaults read  NSGlobalDomain 'Local Time Zone'
fi

_______________________________________________
Etoile-discuss mailing list
Etoile-discuss@gna.org
https://mail.gna.org/listinfo/etoile-discuss

Répondre à