Changeset 101
- Timestamp:
- 05/11/07 11:14:47 (1 year ago)
- Files:
-
- 64studio/trunk/debian/64studio-skel.postinst (modified) (1 diff)
- 64studio/trunk/debian/64studio-themes.postinst (modified) (6 diffs)
- 64studio/trunk/debian/changelog (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
64studio/trunk/debian/64studio-skel.postinst
r1 r101 20 20 case "$1" in 21 21 configure) 22 update-dpsyco-skel 22 23 # Only run on new installs 24 if [ "$2" == "" ]; then 25 update-dpsyco-skel 26 fi 27 23 28 ;; 24 29 64studio/trunk/debian/64studio-themes.postinst
r93 r101 20 20 # 21 21 22 case "$1" in 23 configure) 22 tweak_desktop_files () { 24 23 25 24 # Place Bluefish in graphics … … 45 44 sed -i -e 's/^NoDisplay=.*$/NoDisplay=false/g' $EVINCE 46 45 46 # Add category to tagtool 47 TAGTOOL=/usr/share/applications/tagtool.desktop 48 if grep -q Categories $TAGTOOL; then 49 sed -i -e 's/^Categories=.*$/Categories=Application;AudioVideo;/g' $TAGTOOL 50 else 51 echo "Categories=Application;AudioVideo;" >> $TAGTOOL 52 fi 53 54 # Add timemachine icon 55 TM=/usr/share/gnome/apps/Multimedia/timemachine.desktop 56 if ! grep -q "Icon=" $TM; then 57 echo "Icon=/usr/share/timemachine/pixmaps/timemachine-icon.png" >> $TM 58 fi 59 60 # Add xpad icon 61 XPAD=/usr/share/applications/xpad.desktop 62 sed -i -e 's|^Icon=.*$|Icon=/usr/share/pixmaps/xpad/xpad.xpm|g' $XPAD 63 64 } 65 66 hide_menu_items () { 67 47 68 # Get rid of unwanted menu entries 48 69 GNOMEMEDIA="vumeter.desktop reclevel.desktop gnome-sound-recorder.desktop gnome-cd.desktop" … … 55 76 done 56 77 57 # Add category to tagtool 58 TAGTOOL=/usr/share/applications/tagtool.desktop 59 if grep -q Categories $TAGTOOL; then 60 sed -i -e 's/^Categories=.*$/Categories=Application;AudioVideo;/g' $TAGTOOL 61 else 62 echo "Categories=Application;AudioVideo;" >> $TAGTOOL 63 fi 78 } 64 79 65 # Make rosegarden4 appear in GNOME menus 66 RG=/usr/share/applnk/Multimedia/rosegarden.desktop 67 if ! [ -e /usr/share/applications/rosegarden.desktop ]; then 68 ln -s $RG /usr/share/applications/ 69 fi 70 71 # Add timemachine icon 72 TM=/usr/share/gnome/apps/Multimedia/timemachine.desktop 73 if ! grep -q "Icon=" $TM; then 74 echo "Icon=/usr/share/timemachine/pixmaps/timemachine-icon.png" >> $TM 75 fi 80 remove_debian_menu () { 76 81 77 82 # Remove Debian menu hierarchy from the Gnome menu … … 79 84 sed -i -e '/<MergeFile>debian-menu/ d' $GNOME 80 85 81 # Add xpad icon 82 XPAD=/usr/share/applications/xpad.desktop 83 sed -i -e 's|^Icon=.*$|Icon=/usr/share/pixmaps/xpad/xpad.xpm|g' $XPAD 86 } 87 88 tweak_grub () { 84 89 85 90 # Grub timeout and directory … … 87 92 sed -i -e "s|^timeout.*|timeout $GRUB_TIMEOUT|g" /usr/sbin/update-grub 88 93 mkdir -p /boot/grub 94 } 89 95 90 # Fix Gimp icon path 91 GIMP=/usr/share/applications/gimp-2.2.desktop 92 sed -i -e 's|^Icon=.*$|Icon=/usr/share/gimp/2.0/images/wilber-icon.png|g' $GIMP 96 fix_linux_kbuild () { 93 97 94 98 # Fix broken modpost script in linux-kbuild-2.6.19 … … 104 108 ln -sf ../../linux-headers-2.6.19-1-multimedia/include/asm-x86_64 ${HEADERS}-486/include/asm-x86_64 105 109 fi 110 111 } 112 113 case "$1" in 114 configure) 115 116 # Only run these on new installs 117 if [ "$2" == "" ]; then 118 remove_debian_menu 119 tweak_grub 120 fix_linux_kbuild 121 fi 122 tweak_desktop_files 123 hide_menu_items 124 106 125 ;; 107 126 64studio/trunk/debian/changelog
r100 r101 4 4 * Replaced ardour-gtk and ardour-session-exchange with ardour 5 5 * Added 915resolution (closes #257) 6 * Don't overwrite user configurations at upgrade (closes #296) 6 7 7 8 -- Free Ekanayaka <freee@debian.org> Fri, 11 May 2007 02:11:04 +0200
