[97540] users/krischik/Utilities
krischik at macports.org
krischik at macports.org
Sat Sep 8 05:39:54 PDT 2012
Revision: 97540
https://trac.macports.org/changeset/97540
Author: krischik at macports.org
Date: 2012-09-08 05:39:54 -0700 (Sat, 08 Sep 2012)
Log Message:
-----------
Save user files.
Modified Paths:
--------------
users/krischik/Utilities/Clean.command
users/krischik/Utilities/Install.command
users/krischik/Utilities/Install_BitTornado.command
users/krischik/Utilities/Install_Dovecot.command
users/krischik/Utilities/Install_GNOME.command
users/krischik/Utilities/Install_Gimp.command
users/krischik/Utilities/Install_KDE4.command
users/krischik/Utilities/Install_Maintained.command
users/krischik/Utilities/Install_Mobile_Development.command
users/krischik/Utilities/Install_Player.command
users/krischik/Utilities/Make_Dovecot_User.command
users/krischik/Utilities/Restart_Dovecot.command
users/krischik/Utilities/Restart_Postfix.command
users/krischik/Utilities/Setup.command
users/krischik/Utilities/Uninstall_GNOME.command
users/krischik/Utilities/Update.command
Added Paths:
-----------
users/krischik/Utilities/Restart_Imapfilter.command
Modified: users/krischik/Utilities/Clean.command
===================================================================
--- users/krischik/Utilities/Clean.command 2012-09-08 12:30:18 UTC (rev 97539)
+++ users/krischik/Utilities/Clean.command 2012-09-08 12:39:54 UTC (rev 97540)
@@ -24,12 +24,12 @@
-iregex '.\+mp_[[:digit:]]\{10\}' \
-exec grm --verbose '{}' ';'
echo "===> Remove Backup file in /Library/LaunchAgents"
- gfind "/Library/LaunchAgents " \
+ gfind "/Library/LaunchAgents" \
-regextype grep \
-iregex '.\+mp_[[:digit:]]\{10\}' \
-exec grm --verbose '{}' ';'
echo "===> Remove Backup file in /Library/LaunchDaemons"
- gfind "/Library/LaunchDaemons " \
+ gfind "/Library/LaunchDaemons" \
-regextype grep \
-iregex '.\+mp_[[:digit:]]\{10\}' \
-exec grm --verbose '{}' ';'
Modified: users/krischik/Utilities/Install.command
===================================================================
--- users/krischik/Utilities/Install.command 2012-09-08 12:30:18 UTC (rev 97539)
+++ users/krischik/Utilities/Install.command 2012-09-08 12:39:54 UTC (rev 97540)
@@ -12,7 +12,7 @@
setopt No_Err_Exit
if test "${USER}" = "root"; then
- port select gcc gcc42
+ port select --set gcc llvm-gcc42
Update_Tree
Update_Packages
@@ -34,7 +34,6 @@
"dbus" \
"diffutils" \
"dos2unix" \
- "dos2unix" \
"enchant" \
"file +with_text_magic_file" \
"findutils" \
@@ -67,6 +66,7 @@
"shared-mime-info" \
"sitecopy" \
"spellutils" \
+ "sshpass" \
"star" \
"texinfo" \
"tiff" \
Modified: users/krischik/Utilities/Install_BitTornado.command
===================================================================
--- users/krischik/Utilities/Install_BitTornado.command 2012-09-08 12:30:18 UTC (rev 97539)
+++ users/krischik/Utilities/Install_BitTornado.command 2012-09-08 12:39:54 UTC (rev 97540)
@@ -12,7 +12,7 @@
setopt No_Err_Exit
if test "${USER}" = "root"; then
- port select gcc gcc42
+ port select --set gcc llvm-gcc42
for I in \
"py26-wxpython" \
Modified: users/krischik/Utilities/Install_Dovecot.command
===================================================================
--- users/krischik/Utilities/Install_Dovecot.command 2012-09-08 12:30:18 UTC (rev 97539)
+++ users/krischik/Utilities/Install_Dovecot.command 2012-09-08 12:39:54 UTC (rev 97540)
@@ -12,7 +12,7 @@
setopt No_Err_Exit
if test "${USER}" = "root"; then
- port select gcc gcc42
+ port select --set gcc llvm-gcc42
launchctl unload -w "/Library/LaunchDaemons/com.krischik.fetchmail.plist"
launchctl unload -w "/Library/LaunchDaemons/org.macports.dovecot.plist"
Modified: users/krischik/Utilities/Install_GNOME.command
===================================================================
--- users/krischik/Utilities/Install_GNOME.command 2012-09-08 12:30:18 UTC (rev 97539)
+++ users/krischik/Utilities/Install_GNOME.command 2012-09-08 12:39:54 UTC (rev 97540)
@@ -14,29 +14,42 @@
if test "${USER}" = "root"; then
Unload_System
- port select gcc gcc42
+ port select --set gcc llvm-gcc42
Update_Tree
Update_Packages
- for I in \
- "cairo" \
- "pango" \
- "gtk2" \
- "gtk-engines2" \
- "gnome-themes" \
- "tango-icon-theme +big_icons" \
- "tango-icon-theme-extras +big_icons" \
- "gtk-theme-switch" \
- "gtkspell2" \
- "gconf" \
- "gmime" \
- "mono" \
- "mono-addins" \
- "gqview" \
+ # The dependecies to not work because
+ # to few libraries build with +universal
+ for I in \
+ "py26-numpy"
+ do
+ Install_Update ${=I} "-atlas"
+ done; unset I
+
+ for I in \
+ "cairo" \
+ "pango" \
+ "gtk2" \
+ "gtk-engines2" \
+ "gnome-themes" \
+ "tango-icon-theme +big_icons" \
+ "tango-icon-theme-extras +big_icons" \
+ "gtk-theme-switch" \
+ "gtkspell2" \
+ "gconf" \
+ "gmime" \
+ "mono" \
+ "mono-addins" \
+ "gnome-control-center" \
+ "evolution-data-server+gtk_doc" \
+ "gimp-app +animation +help_browser +gvfs" \
+ "gimp-help-de" \
+ "gimp2 +gvfs+help_browser +universal" \
+ "gqview" \
"pan2"
do
- port install ${=I} ${=General_Variants} ${=Gnome_Variants}
+ Install_Update ${=I} "${=General_Variants}${=Gnome_Variants}"
done; unset I
port select gcc gnat-gcc42
Modified: users/krischik/Utilities/Install_Gimp.command
===================================================================
--- users/krischik/Utilities/Install_Gimp.command 2012-09-08 12:30:18 UTC (rev 97539)
+++ users/krischik/Utilities/Install_Gimp.command 2012-09-08 12:39:54 UTC (rev 97540)
@@ -14,7 +14,7 @@
if test "${USER}" = "root"; then
Unload_System
- port select gcc gcc42
+ port select --set gcc llvm-gcc42
Update_Tree
Update_Packages
Modified: users/krischik/Utilities/Install_KDE4.command
===================================================================
--- users/krischik/Utilities/Install_KDE4.command 2012-09-08 12:30:18 UTC (rev 97539)
+++ users/krischik/Utilities/Install_KDE4.command 2012-09-08 12:39:54 UTC (rev 97540)
@@ -14,7 +14,7 @@
if test "${USER}" = "root"; then
Unload_System
- port select gcc gcc42
+ port select --set gcc llvm-gcc42
Update_Tree
Update_Packages
Modified: users/krischik/Utilities/Install_Maintained.command
===================================================================
--- users/krischik/Utilities/Install_Maintained.command 2012-09-08 12:30:18 UTC (rev 97539)
+++ users/krischik/Utilities/Install_Maintained.command 2012-09-08 12:39:54 UTC (rev 97540)
@@ -12,7 +12,7 @@
setopt No_Err_Exit
if test "${USER}" = "root"; then
- port select gcc gcc42
+ port select --set gcc llvm-gcc42
Update_Tree
Update_Packages
Modified: users/krischik/Utilities/Install_Mobile_Development.command
===================================================================
--- users/krischik/Utilities/Install_Mobile_Development.command 2012-09-08 12:30:18 UTC (rev 97539)
+++ users/krischik/Utilities/Install_Mobile_Development.command 2012-09-08 12:39:54 UTC (rev 97540)
@@ -12,7 +12,7 @@
setopt No_Err_Exit
if test "${USER}" = "root"; then
- port select gcc gcc42
+ port select --set gcc llvm-gcc42
Update_Tree
Update_Packages
@@ -37,8 +37,7 @@
done; unset I
port select --set maven maven3
-
- port select gcc gnat-gcc42
+ port select --set gcc gnat-gcc42
else
setopt Multi_OS
sudo ${0:a} 1>&1 2>&2 &>~/Library/Logs/${0:r:t}.out
Modified: users/krischik/Utilities/Install_Player.command
===================================================================
--- users/krischik/Utilities/Install_Player.command 2012-09-08 12:30:18 UTC (rev 97539)
+++ users/krischik/Utilities/Install_Player.command 2012-09-08 12:39:54 UTC (rev 97540)
@@ -14,12 +14,13 @@
if test "${USER}" = "root"; then
Unload_System
- port select gcc gcc42
+ port select --set gcc llvm-gcc42
Update_Tree
Update_Packages
for I in \
+ "ffmpeg +nonfree+gpl2+mmx+universal" \
"poppler" \
"MPlayer +aa+caca+dts+mencoder_extras+esd+fribidi+live+osd+sdl+speex" \
"avidemux +aac+dts+esd+jack+lame+ogg+x264+xvid"
Modified: users/krischik/Utilities/Make_Dovecot_User.command
===================================================================
--- users/krischik/Utilities/Make_Dovecot_User.command 2012-09-08 12:30:18 UTC (rev 97539)
+++ users/krischik/Utilities/Make_Dovecot_User.command 2012-09-08 12:39:54 UTC (rev 97540)
@@ -11,12 +11,12 @@
if test "${USER}" = "root"; then
dscl . -create /Groups/_dovecot
- dscl . -create /Groups/_dovecot UniqueID 30
+ dscl . -create /Groups/_dovecot UniqueID 214
dscl . -create /Users/_dovecot
dscl . -create /Users/_dovecot UserShell /bin/false
dscl . -create /Users/_dovecot RealName "Dovecot IMAP Server"
- dscl . -create /Users/_dovecot UniqueID 30
- dscl . -create /Users/_dovecot PrimaryGroupID 30
+ dscl . -create /Users/_dovecot UniqueID 214
+ dscl . -create /Users/_dovecot PrimaryGroupID 214
dscl . -create /Users/_dovecot NFSHomeDirectory /opt/local/var/run/dovecot
defaults write /Library/Preferences/com.apple.loginwindow HiddenUsersList -array-add _fetchmail _dovecot
Modified: users/krischik/Utilities/Restart_Dovecot.command
===================================================================
--- users/krischik/Utilities/Restart_Dovecot.command 2012-09-08 12:30:18 UTC (rev 97539)
+++ users/krischik/Utilities/Restart_Dovecot.command 2012-09-08 12:39:54 UTC (rev 97540)
@@ -6,7 +6,7 @@
# $HeadURL$
############################################################## }}}1 ##########
-setopt X_Trace
+setopt No_X_Trace
setopt No_Err_Exit
if test "${USER}" = "root"; then
Copied: users/krischik/Utilities/Restart_Imapfilter.command (from rev 95221, users/krischik/Utilities/Restart_Fetchmail.command)
===================================================================
--- users/krischik/Utilities/Restart_Imapfilter.command (rev 0)
+++ users/krischik/Utilities/Restart_Imapfilter.command 2012-09-08 12:39:54 UTC (rev 97540)
@@ -0,0 +1,19 @@
+#!/opt/local/bin/zsh
+############################################################## {{{1 ##########
+# $Author$
+# $Revision$
+# $Date$
+# $HeadURL$
+############################################################## }}}1 ##########
+
+setopt No_X_Trace
+setopt No_Err_Exit
+
+launchctl stop com.krischik.imapfilter
+launchctl unload -w "${HOME}/Library/LaunchAgents/com.krischik.imapfilter.plist"
+launchctl load -w "${HOME}/Library/LaunchAgents/com.krischik.imapfilter.plist"
+launchctl start com.krischik.imapfilter
+
+############################################################ {{{1 ###########
+# vim: set nowrap tabstop=8 shiftwidth=4 softtabstop=4 expandtab :
+# vim: set textwidth=0 filetype=zsh foldmethod=marker nospell :
Modified: users/krischik/Utilities/Restart_Postfix.command
===================================================================
--- users/krischik/Utilities/Restart_Postfix.command 2012-09-08 12:30:18 UTC (rev 97539)
+++ users/krischik/Utilities/Restart_Postfix.command 2012-09-08 12:39:54 UTC (rev 97540)
@@ -1,9 +1,8 @@
#!/bin/zsh
-setopt X_Trace;
+setopt No_X_Trace;
setopt No_Err_Exit;
-
if test "${USER}" = "root"; then
launchctl stop "org.postfix.master"
launchctl stop "org.macports.postfix"
Modified: users/krischik/Utilities/Setup.command
===================================================================
--- users/krischik/Utilities/Setup.command 2012-09-08 12:30:18 UTC (rev 97539)
+++ users/krischik/Utilities/Setup.command 2012-09-08 12:39:54 UTC (rev 97540)
@@ -8,20 +8,18 @@
setopt No_X_Trace
-case "${OSTYPE}" in
- ((darwin11*))
- typeset General_Variants="+universal-atlas"
- ;;
- ((darwin10*))
- typeset General_Variants="+universal-atlas"
- ;;
- ((darwin9*))
- typeset General_Variants=""
- ;;
-esac
+# Current status (26.07.2012): build with atlas
+#
+typeset General_Variants="+universal"
+#typeset General_Variants="+universal-atlas"
+
typeset Qt_Variants="+docs+cocoa"
-#typeset Gnome_Variants="+quartz+no_X11"
+
+# Current status (26.07.2012) quartz compiles but crashes a lot
+# and most GNOME tools still need X11
+#
+#typeset Gnome_Variants="+quartz+no_X11-x11"
typeset Gnome_Variants="+x11"
if test -d "/Work/MacPorts/dports"; then
@@ -60,14 +58,20 @@
function Load_System ()
{
echo "===> Load System"
+
+ Load "/Library/LaunchDaemons/com.krischik.fetchmail.plist"
+ Load "/Library/LaunchDaemons/org.freedesktop.dbus-system.plist"
Load "/Library/LaunchDaemons/org.macports.dbus.plist"
- Load "/Library/LaunchDaemons/org.macports.slapd.plist"
- Load "/Library/LaunchDaemons/org.freedesktop.dbus-system.plist"
+ Load "/Library/LaunchDaemons/org.macports.dovecot.plist"
+ Load "/Library/LaunchDaemons/org.macports.fetchnews.plist"
Load "/Library/LaunchDaemons/org.macports.gdm.plist"
+ Load "/Library/LaunchDaemons/org.macports.leafnode.plist"
+ Load "/Library/LaunchDaemons/org.macports.mysql5.plist"
+ Load "/Library/LaunchDaemons/org.macports.postfix.plist"
Load "/Library/LaunchDaemons/org.macports.rsyncd.plist"
+ Load "/Library/LaunchDaemons/org.macports.slapd.plist"
Load "/Library/LaunchDaemons/org.macports.spamd.plist"
- Load "/Library/LaunchDaemons/org.macports.dovecot.plist"
- Load "/Library/LaunchDaemons/org.macports.mysql5.plist"
+ Load "/Library/LaunchDaemons/org.macports.texpire.plist"
return
} # Load_System
@@ -76,6 +80,7 @@
{
echo "===> Load User"
Load "/Library/LaunchAgents/org.freedesktop.dbus-session.plist"
+ Load "${HOME}/Library/LaunchAgents/com.krischik.imapfilter.plist"
if test -d /Applications/MacPorts/KDE4/kdeinit4.app; then
open /Applications/MacPorts/KDE4/kdeinit4.app
@@ -97,13 +102,21 @@
function Unload_System ()
{
- echo "===> Load User"
+ echo "===> Un-Load System"
+
+ Unload "/Library/LaunchDaemons/com.krischik.fetchmail.plist"
+ Unload "/Library/LaunchDaemons/org.freedesktop.dbus-system.plist"
Unload "/Library/LaunchDaemons/org.macports.dbus.plist"
+ Unload "/Library/LaunchDaemons/org.macports.dovecot.plist"
+ Unload "/Library/LaunchDaemons/org.macports.fetchnews.plist"
+ Unload "/Library/LaunchDaemons/org.macports.gdm.plist"
+ Unload "/Library/LaunchDaemons/org.macports.leafnode.plist"
+ Unload "/Library/LaunchDaemons/org.macports.mysql5.plist"
+ Unload "/Library/LaunchDaemons/org.macports.postfix.plist"
Unload "/Library/LaunchDaemons/org.macports.rsyncd.plist"
+ Unload "/Library/LaunchDaemons/org.macports.slapd.plist"
Unload "/Library/LaunchDaemons/org.macports.spamd.plist"
- Unload "/Library/LaunchDaemons/org.freedesktop.dbus-system.plist"
- Unload "/Library/LaunchDaemons/org.macports.gdm.plist"
- #Unload "/Library/LaunchDaemons/org.macports.dovecot.plist"
+ Unload "/Library/LaunchDaemons/org.macports.texpire.plist"
return
} # Unload_System
@@ -111,7 +124,9 @@
function Unload_User ()
{
echo "===> Un-Load User"
+
Unload "/Library/LaunchAgents/org.freedesktop.dbus-session.plist"
+ Unload "${HOME}/Library/LaunchAgents/com.krischik.imapfilter.plist"
return
} # Unload_User
@@ -131,6 +146,17 @@
return
} # Install_Update
+function Un_Install ()
+ {
+ local in_Package="${1}"
+
+ echo "===> Un-Install ${in_Package}"
+
+ port uninstall --follow-dependents ${=I}
+
+ return
+ } # Un_Install
+
function Update_Tree ()
{
if test -d "${Base_Work_Dir}"; then
Modified: users/krischik/Utilities/Uninstall_GNOME.command
===================================================================
--- users/krischik/Utilities/Uninstall_GNOME.command 2012-09-08 12:30:18 UTC (rev 97539)
+++ users/krischik/Utilities/Uninstall_GNOME.command 2012-09-08 12:39:54 UTC (rev 97540)
@@ -14,22 +14,28 @@
if test "${USER}" = "root"; then
Unload_System
- for I in \
- "gnome-control-center" \
- "gnome-platform-suite" \
- "gnome-desktop-suite" \
- "gnome-desktop" \
- "gnome-icon-theme" \
- "gnome-keyring" \
- "gnome-menus" \
- "gnome-mime-data" \
- "gnome-panel" \
- "gnome-session" \
- "gnome-settings-daemon" \
- "gnome-terminal" \
- "gnome-themes"
+ for I in \
+ "gqview" \
+ "pan2" \
+ "gnome-control-center" \
+ "gnome-platform-suite" \
+ "gnome-desktop-suite" \
+ "gnome-desktop" \
+ "gnome-icon-theme" \
+ "gnome-keyring" \
+ "gnome-menus" \
+ "gnome-mime-data" \
+ "gnome-panel" \
+ "gnome-session" \
+ "gnome-settings-daemon" \
+ "gnome-terminal" \
+ "gnome-themes" \
+ "pango" \
+ "cairo" \
+ "gtk2" \
+ "gtk-engines2"
do
- port uninstall --follow-dependents ${=I}
+ Un_Install ${=I}
done; unset I
Clean
Modified: users/krischik/Utilities/Update.command
===================================================================
--- users/krischik/Utilities/Update.command 2012-09-08 12:30:18 UTC (rev 97539)
+++ users/krischik/Utilities/Update.command 2012-09-08 12:39:54 UTC (rev 97540)
@@ -14,7 +14,7 @@
if test "${USER}" = "root"; then
Unload_System
- port select gcc gcc42
+ port select --set gcc llvm-gcc42
Update_Tree
Update_Packages
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120908/0435b4ae/attachment-0001.html>
More information about the macports-changes
mailing list