OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/update-desktop-files?expand=0&rev=1
This commit is contained in:
commit
d7d59c0bcf
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
58
PREPARE_PACKAGE
Normal file
58
PREPARE_PACKAGE
Normal file
@ -0,0 +1,58 @@
|
||||
#!/bin/bash
|
||||
|
||||
test -f update-desktop-files.spec || { "cwd must contain update-desktop-files.spec"; exit 1; }
|
||||
|
||||
if test -d "$MY_LCN_CHECKOUT"; then
|
||||
echo "Updating $MY_LCN_CHECKOUT"
|
||||
svn up $MY_LCN_CHECKOUT
|
||||
else
|
||||
echo "No \$MY_LCN_CHECKOUT set, will checkout temporarly"
|
||||
svn export https://forgesvn1.novell.com/svn/suse-i18n/trunk/lcn
|
||||
export MY_LCN_CHECKOUT=$PWD/lcn
|
||||
fi
|
||||
|
||||
rm -rf po
|
||||
mkdir po
|
||||
for file in $MY_LCN_CHECKOUT/*/po/update-desktop-files.*.po; do
|
||||
lang=`echo $file | sed -e "s,/po/up.*,,; s,.*/,,"`
|
||||
echo $lang
|
||||
mkdir po/$lang
|
||||
cp $file po/$lang/entries.po
|
||||
done
|
||||
rm -f desktop-translations.tar.bz2
|
||||
tar cfj desktop-translations.tar.bz2 po
|
||||
rm -rf po
|
||||
exit
|
||||
|
||||
rm -rf kappfinder
|
||||
svn export svn://anonsvn.kde.org/home/kde/branches/KDE/3.5/kdebase/kappfinder/apps kappfinder
|
||||
cd kappfinder/
|
||||
# make sure we only have one desktop file of each.
|
||||
if test $(find -type f -printf '%f\n' 2>/dev/null | grep -v Makefile.am | sort | uniq -c | sort -n | awk '{print $1}' | grep -v 1 | wc -l) -ne 0; then
|
||||
echo "There is some duplicate desktop file!!!!"
|
||||
echo " FIX ME!"
|
||||
exit 1
|
||||
fi
|
||||
rm -f ../kappfinder.tar.bz2
|
||||
tar cfj ../kappfinder.tar.bz2 *
|
||||
cd -
|
||||
rm -rf kappfinder-icons
|
||||
mkdir -p kappfinder-icons
|
||||
BASEDIR=/mounts/dist/unpacked/i386.full/opt/kde3
|
||||
find kappfinder/ -name \*.desktop | while read f; do
|
||||
oicon=`sed -n 's,Icon=\(.*\),\1,p' $f`
|
||||
icon=`find $BASEDIR/share/icons/default.kde/32x32 -name $oicon -o -name $oicon.png -o -name $oicon.xpm | head -n 1`
|
||||
if [ ! -r "$icon" ] ; then
|
||||
icon=`find $BASEDIR/share/icons/*/32x32/apps -name $oicon -o -name $oicon.png -o -name $oicon.xpm | head -n 1`
|
||||
fi
|
||||
if [ -r "$icon" ] ; then
|
||||
cp $icon kappfinder-icons/
|
||||
else
|
||||
echo "can't find icon $oicon from file $f"
|
||||
# grep -v ^Icon= $f > ${f}_ && mv ${f}_ $f
|
||||
fi
|
||||
done
|
||||
rm -f kappfinder-icons.tar.bz2
|
||||
tar cfj kappfinder-icons.tar.bz2 kappfinder-icons
|
||||
rm -rf kappfinder-icons
|
||||
rm -rf kappfinder
|
3
desktop-translations.tar.bz2
Normal file
3
desktop-translations.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:bd4dd05c2a1a10e498023bcca332c130006fb0ce66ad0279a6bf57838c82c8ee
|
||||
size 3229925
|
3
kappfinder-icons.tar.bz2
Normal file
3
kappfinder-icons.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:73570604761f31dd44773d909da34494c545759b9b6c79f43255cc92d5589b67
|
||||
size 118913
|
3
kappfinder.tar.bz2
Normal file
3
kappfinder.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:dfb7dcd9fcfa3d7377ce3cf03c788efe905cb43f998b87bed687735594593a81
|
||||
size 122409
|
175
legacy-mixed_to_utf8
Normal file
175
legacy-mixed_to_utf8
Normal file
@ -0,0 +1,175 @@
|
||||
#! /bin/bash
|
||||
|
||||
# gnome1desktopiconv
|
||||
# Converts GNOME1 style desktop and directory files to UTF-8.
|
||||
# Author: Stanislav Brabec <sbrabec@suse.cz>
|
||||
|
||||
unset ${!CHARSET_*}
|
||||
CHARSET_aa=ISO-8859-1
|
||||
CHARSET_af=ISO-8859-1
|
||||
CHARSET_am=UTF-8
|
||||
CHARSET_an=ISO-8859-15
|
||||
CHARSET_ar=ISO-8859-6
|
||||
CHARSET_az=UTF-8
|
||||
CHARSET_be=CP1251
|
||||
CHARSET_bg=CP1251
|
||||
CHARSET_bn=UTF-8
|
||||
CHARSET_br=ISO-8859-1
|
||||
CHARSET_bs=ISO-8859-2
|
||||
CHARSET_byn=UTF-8
|
||||
CHARSET_ca=ISO-8859-1
|
||||
CHARSET_cs=ISO-8859-2
|
||||
CHARSET_cy=ISO-8859-14
|
||||
CHARSET_da=ISO-8859-1
|
||||
CHARSET_de=ISO-8859-1
|
||||
CHARSET_el=ISO-8859-7
|
||||
CHARSET_en=ISO-8859-1
|
||||
CHARSET_es=ISO-8859-1
|
||||
CHARSET_et=ISO-8859-1
|
||||
CHARSET_eu=ISO-8859-1
|
||||
CHARSET_fa=UTF-8
|
||||
CHARSET_fi=ISO-8859-1
|
||||
CHARSET_fo=ISO-8859-1
|
||||
CHARSET_fr=ISO-8859-1
|
||||
CHARSET_ga=ISO-8859-1
|
||||
CHARSET_gd=ISO-8859-15
|
||||
CHARSET_gez=UTF-8
|
||||
CHARSET_gl=ISO-8859-1
|
||||
CHARSET_gu=UTF-8
|
||||
CHARSET_gv=ISO-8859-1
|
||||
CHARSET_he=ISO-8859-8
|
||||
CHARSET_hi=UTF-8
|
||||
CHARSET_hr=ISO-8859-2
|
||||
CHARSET_hu=ISO-8859-2
|
||||
CHARSET_id=ISO-8859-1
|
||||
CHARSET_is=ISO-8859-1
|
||||
CHARSET_it=ISO-8859-1
|
||||
CHARSET_iw=ISO-8859-8
|
||||
CHARSET_ja=eucjp
|
||||
CHARSET_ka=GEORGIAN-PS
|
||||
CHARSET_kl=ISO-8859-1
|
||||
CHARSET_kn=UTF-8
|
||||
CHARSET_ko=euckr
|
||||
CHARSET_kw=ISO-8859-1
|
||||
CHARSET_lg=ISO-8859-10
|
||||
CHARSET_lo=UTF-8
|
||||
CHARSET_lt=ISO-8859-13
|
||||
CHARSET_lv=ISO-8859-13
|
||||
CHARSET_mi=ISO-8859-13
|
||||
CHARSET_mk=ISO-8859-5
|
||||
CHARSET_ml=UTF-8
|
||||
CHARSET_mn=UTF-8
|
||||
CHARSET_mr=UTF-8
|
||||
CHARSET_ms=ISO-8859-1
|
||||
CHARSET_mt=ISO-8859-3
|
||||
CHARSET_nb=ISO-8859-1
|
||||
CHARSET_ne=UTF-8
|
||||
CHARSET_nl=ISO-8859-1
|
||||
CHARSET_nn=ISO-8859-1
|
||||
CHARSET_no=ISO-8859-1
|
||||
CHARSET_oc=ISO-8859-1
|
||||
CHARSET_om=ISO-8859-1
|
||||
CHARSET_pa=UTF-8
|
||||
CHARSET_pl=ISO-8859-2
|
||||
CHARSET_pt=ISO-8859-1
|
||||
# Warning: Default is ISO-8859-5, but Russian GNOME1 translators have used KOI8-R without notify.
|
||||
CHARSET_ru=KOI8-R #ISO-8859-5
|
||||
CHARSET_ru_UA=KOI8-U
|
||||
CHARSET_ro=ISO-8859-2
|
||||
CHARSET_se=UTF-8
|
||||
CHARSET_sh=ISO-8859-2
|
||||
CHARSET_sid=UTF-8
|
||||
CHARSET_sk=ISO-8859-2
|
||||
CHARSET_sl=ISO-8859-2
|
||||
CHARSET_so=ISO-8859-1
|
||||
CHARSET_sq=ISO-8859-1
|
||||
CHARSET_sr=ISO-8859-2
|
||||
CHARSET_sr__Latn=ISO-8859-2
|
||||
CHARSET_st=ISO-8859-1
|
||||
CHARSET_sv=ISO-8859-1
|
||||
CHARSET_ta=UTF-8
|
||||
CHARSET_te=UTF-8
|
||||
CHARSET_tg=KOI8-T
|
||||
CHARSET_th=TIS-620
|
||||
CHARSET_tig=UTF-8
|
||||
CHARSET_ti=UTF-8
|
||||
CHARSET_tl=ISO-8859-1
|
||||
CHARSET_tr=ISO-8859-9
|
||||
CHARSET_uk=KOI8-U
|
||||
CHARSET_ur=UTF-8
|
||||
CHARSET_uz=ISO-8859-1
|
||||
CHARSET_vi=UTF-8
|
||||
CHARSET_wa=ISO-8859-1
|
||||
CHARSET_xh=ISO-8859-1
|
||||
CHARSET_yi=CP1255
|
||||
CHARSET_zu=ISO-8859-1
|
||||
CHARSET_zh=GB2312
|
||||
CHARSET_zh_SG=GB2312
|
||||
CHARSET_zh_HK=BIG5-HKSCS
|
||||
CHARSET_zh_TW=BIG5
|
||||
CHARSET_zh_TW___Big5=BIG5
|
||||
|
||||
if ! grep -q ^Encoding=Legacy-Mixed $1 ; then
|
||||
if grep -q ^Encoding= $1 ; then
|
||||
exit
|
||||
fi
|
||||
fi
|
||||
|
||||
echo >&2 "$0 warning: File $1 is probably in deprecated Legacy-Mixed encoding. Converting to UTF-8."
|
||||
|
||||
exec <$1
|
||||
exec >$1.utf8
|
||||
|
||||
while read LINE ; do
|
||||
LNG=${LINE%%]=*}
|
||||
LNG=${LNG#Name[}
|
||||
LNG=${LNG#GenericName[}
|
||||
LNG=${LNG#Comment[}
|
||||
if test "$LNG" = "$LINE" ; then
|
||||
if test "$LINE" = Encoding=Legacy-Mixed ; then
|
||||
continue
|
||||
fi
|
||||
echo $LINE
|
||||
if test "$LINE" = "[Desktop Entry]" ; then
|
||||
echo "Encoding=UTF-8"
|
||||
fi
|
||||
else
|
||||
LNG=${LNG//@/__}
|
||||
LNG=${LNG//./___}
|
||||
eval LNC=\$CHARSET_$LNG
|
||||
if test -z "$LNC" ; then
|
||||
LNG=${LNG%%_*}
|
||||
eval LNC=\$CHARSET_$LNG
|
||||
if test -z "$LNC" ; then
|
||||
echo >&2 "$0 warning: Unknown encoding for $LNG. Assuming UTF-8."
|
||||
LNC=UTF-8
|
||||
fi
|
||||
fi
|
||||
# Try whether it is parsable as UTF-8.
|
||||
if test $LNC = UTF-8 ; then
|
||||
UTFLINE=$LINE
|
||||
else
|
||||
UTFLINE=$(echo "$LINE" | iconv 2>/dev/null -f UTF-8 -t UTF-8)
|
||||
if test $? -eq 0 ; then
|
||||
UTFLINE=$(echo "$LINE" | iconv 2>/dev/null -f UTF-8 -t ASCII)
|
||||
if test $? -gt 0 ; then
|
||||
echo >&2 "$0 warning: Following line seems to be already in UTF-8 instead of Legacy."
|
||||
echo >&2 "$LINE"
|
||||
UTFLINE=$LINE
|
||||
else
|
||||
UTFLINE=$LINE
|
||||
fi
|
||||
else
|
||||
UTFLINE=$(echo "$LINE" | iconv -f $LNC -t UTF-8)
|
||||
if test $? -gt 0 ; then
|
||||
echo >&2 "$0 error: Cannot convert following line."
|
||||
echo >&2 "$LINE"
|
||||
UTFLINE=$LINE
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
echo $UTFLINE
|
||||
fi
|
||||
done
|
||||
|
||||
mv $1.utf8 $1
|
22
map-desktop-category-pre-10.1.diff
Normal file
22
map-desktop-category-pre-10.1.diff
Normal file
@ -0,0 +1,22 @@
|
||||
--- map-desktop-category.sh 2006/02/27 10:53:00 1.1
|
||||
+++ map-desktop-category.sh 2006/02/27 10:53:38
|
||||
@@ -71,10 +71,6 @@
|
||||
ret="Player"
|
||||
echo WARNING: AudioVideoPlayer is an illegal Category, mapping it to Player
|
||||
;;
|
||||
- Photograph)
|
||||
- ret="Photography"
|
||||
- echo WARNING: Photograph is a mistyped Category, mapping it to Photography
|
||||
- ;;
|
||||
#Office Menu:
|
||||
Calendar|WordProcessor|Spreadsheet|ProjectManagement|Presentation| \
|
||||
Database|Dictionary|Finance|FlowChart|ContactManagement|PDFViewer) ret=$in ;;
|
||||
@@ -89,7 +85,7 @@
|
||||
Design)
|
||||
ret="X-SuSE-$in";;
|
||||
#Graphics Menu:
|
||||
- 3DGraphics|Photography|Scanning|OCR|VectorGraphics|RasterGraphics|2DGraphics) ret=$in ;;
|
||||
+ 3DGraphics|Photograph|Scanning|OCR|VectorGraphics|RasterGraphics|2DGraphics) ret=$in ;;
|
||||
#Education Menu:
|
||||
Teaching|Science|Math|Chemistry|Astronomy|Art|Construction|Languages| \
|
||||
Engineering) ret=$in ;;
|
135
map-desktop-category.sh
Normal file
135
map-desktop-category.sh
Normal file
@ -0,0 +1,135 @@
|
||||
|
||||
function mapCategory() {
|
||||
ret=""
|
||||
local in="${1#X-SuSE-}"
|
||||
case $in in
|
||||
#old 9.0 Categories
|
||||
AddressBook)
|
||||
ret="ContactManagement"
|
||||
echo WARNING: AddressBook is an outdated Category, mapping it to ContactManagement
|
||||
;;
|
||||
Camera)
|
||||
ret="Photography"
|
||||
echo WARNING: Camera is an outdated Category, mapping it to Photography
|
||||
;;
|
||||
NewsReader)
|
||||
ret="News"
|
||||
echo WARNING: NewsReader is an outdated Category, mapping it to News
|
||||
;;
|
||||
DialUp)
|
||||
ret="Dialup"
|
||||
echo WARNING: DialUp is an outdated Category, mapping it to Dialup
|
||||
;;
|
||||
Telephone)
|
||||
ret="Telephony"
|
||||
echo WARNING: Telephone is an outdated Category, mapping it to Telephony
|
||||
;;
|
||||
MidiPlayer)
|
||||
ret="Midi"
|
||||
echo WARNING: MidiPlayer is an outdated Category, mapping it to Midi
|
||||
;;
|
||||
AudioMixer)
|
||||
ret="Mixer"
|
||||
echo WARNING: AudioMixer is an outdated Category, mapping it to Mixer
|
||||
;;
|
||||
SimulationGame)
|
||||
ret="Simulation"
|
||||
echo WARNING: SimulationGame is an outdated Category, mapping it to Simulation
|
||||
;;
|
||||
RolePlayingGame)
|
||||
ret="RolePlaying"
|
||||
echo WARNING: RolePlayingGame is an outdated Category, mapping it to RolePlaying
|
||||
;;
|
||||
School)
|
||||
ret="Teaching"
|
||||
echo WARNING: School is an outdated Category, mapping it to Teaching
|
||||
;;
|
||||
|
||||
|
||||
#special cases
|
||||
Internet)
|
||||
ret="Network"
|
||||
echo WARNING: Internet is an illegal Category, mapping it to Network
|
||||
;;
|
||||
DevelopmentWWW)
|
||||
ret="X-SuSE-WebDevelopment"
|
||||
echo WARNING: DevelopmentWWW is an illegal Category, mapping it to WebDevelopment
|
||||
;;
|
||||
Language)
|
||||
ret="Languages"
|
||||
echo WARNING: Language is an illegal Category, mapping it to Languages
|
||||
;;
|
||||
Burning)
|
||||
ret="DiscBurning"
|
||||
echo WARNING: Burning is an illegal Category, mapping it to DiscBurning
|
||||
;;
|
||||
AudioVideoRecorder)
|
||||
ret="Recorder"
|
||||
echo WARNING: AudioVideoRecorder is an illegal Category, mapping it to Recorder
|
||||
;;
|
||||
AudioVideoPlayer)
|
||||
ret="Player"
|
||||
echo WARNING: AudioVideoPlayer is an illegal Category, mapping it to Player
|
||||
;;
|
||||
Photograph)
|
||||
ret="Photography"
|
||||
echo WARNING: Photograph is a mistyped Category, mapping it to Photography
|
||||
;;
|
||||
#Office Menu:
|
||||
Calendar|WordProcessor|Spreadsheet|ProjectManagement|Presentation| \
|
||||
Database|Dictionary|Finance|FlowChart|ContactManagement|PDFViewer) ret=$in ;;
|
||||
Warehouse|Addressbook)
|
||||
ret="X-SuSE-$in";;
|
||||
#Internet/Network Menu:
|
||||
P2P|HamRadio|Email|News|Dialup|IRCClient|FileTransfer|InstantMessaging|WebBrowser|WebDevelopment) ret=$in ;;
|
||||
RSS-News)
|
||||
ret="X-SuSE-$in";;
|
||||
#Development Menu:
|
||||
GUIDesigner|RevisionControl|IDE|Building|Debugger|Profiling|Translation) ret=$in ;;
|
||||
Design)
|
||||
ret="X-SuSE-$in";;
|
||||
#Graphics Menu:
|
||||
3DGraphics|Photography|Scanning|OCR|VectorGraphics|RasterGraphics|2DGraphics) ret=$in ;;
|
||||
#Education Menu:
|
||||
Teaching|Science|Math|Chemistry|Astronomy|Art|Construction|Languages| \
|
||||
Engineering) ret=$in ;;
|
||||
#Multimedia Menu:
|
||||
AudioVideoEditing|Music|DiscBurning|Mixer|Player|Midi|Sequencer| \
|
||||
TV|Tuner|Recorder|Video) ret=$in ;;
|
||||
CD|CDReader|Jukebox)
|
||||
ret="X-SuSE-$in";;
|
||||
#System Menu:
|
||||
Applet|Emulator|Monitor|Screensaver|TerminalEmulator|SystemSetup| \
|
||||
FileManager|Filesystem|Archiving|PackageManager|TrayIcon| \
|
||||
Security|RemoteAccess) ret=$in ;;
|
||||
ServiceConfiguration| \
|
||||
Backup|YaST|YaST-Hardware|YaST-Misc|YaST-Network| \
|
||||
Feedback|YaST-Net_advanced|YaST-Security|YaST-Software|YaST-System|YaST-AppArmor)
|
||||
ret="X-SuSE-$in" ;;
|
||||
#Utility Menu:
|
||||
Telephony|Accessibility|TextEditor|PDA|Calculator|Clock) ret=$in ;;
|
||||
DesktopUtility|SyncUtility|PrintingUtility|TimeUtility|WebUtility|Editor)
|
||||
ret="X-SuSE-$in" ;;
|
||||
#Game Menu:
|
||||
3DGame|Amusement|ArcadeGame|CardGame|FirstPersonGame|BoardGame|\
|
||||
PlatformGame|PuzzleGame|SportsGame|StrategyGame|BlocksGame| \
|
||||
ActionGame|AdventureGame|KidsGame|LogicGame|Simulation|RolePlaying)
|
||||
ret=$in ;;
|
||||
#Control Center Categories:
|
||||
ControlCenter-Personal|ControlCenter-Hardware|ControlCenter-LookAndFeel|ControlCenter-System)
|
||||
ret="X-SuSE-$in" ;;
|
||||
#special tags:
|
||||
Application|Qt|KDE|GTK|GNOME|Motif|ConsoleOnly|Shell|X-Red-*| \
|
||||
X-Ximian-*|X-KDE-*|Settings|DesktopSettings|HardwareSettings| \
|
||||
Office|Network|Game|Graphics|Education|Documentation|Development| \
|
||||
Viewer|System|Utility|AudioVideo|AdvancedSettings|More) ret=$in ;;
|
||||
Core-Edutainment|Core-Game|Core-Graphics|Core-Internet| \
|
||||
Core-Multimedia|Core-Office|Core-Settings|Core-Utility|Core-System| \
|
||||
Core-Configuration|Core-Development|core)
|
||||
ret="X-SuSE-$in" ;;
|
||||
Core)
|
||||
ret="$in" ;;
|
||||
*) ret="" ;;
|
||||
esac
|
||||
}
|
||||
|
40
packages-3D
Normal file
40
packages-3D
Normal file
@ -0,0 +1,40 @@
|
||||
FlightGear
|
||||
FlightGear-data
|
||||
FooBillard
|
||||
armagetron
|
||||
boson
|
||||
briquolo
|
||||
bzflag
|
||||
bzflag-devel
|
||||
celestia
|
||||
chromium
|
||||
compiz
|
||||
crack-attack
|
||||
csmash
|
||||
gl-117
|
||||
glchess
|
||||
gle
|
||||
glest
|
||||
glest-data
|
||||
gltt
|
||||
gtkglarea
|
||||
khunphan
|
||||
mmv
|
||||
neverball
|
||||
nexuiz
|
||||
orbital
|
||||
plib
|
||||
python-opengl
|
||||
quake3
|
||||
quake3-demo
|
||||
quake3-devel
|
||||
quake3-setup
|
||||
torcs
|
||||
torcs-data
|
||||
trackballs
|
||||
tulip
|
||||
tux_aqfh
|
||||
tuxkart
|
||||
tuxracer
|
||||
xgl
|
||||
xmoto
|
46
packages-sound
Normal file
46
packages-sound
Normal file
@ -0,0 +1,46 @@
|
||||
FlightGear
|
||||
FlightGear-data
|
||||
PyTone
|
||||
aeolus
|
||||
alsamodular
|
||||
bmp
|
||||
bmp-devel
|
||||
bmp-plugins
|
||||
bmp-plugins-mad
|
||||
cecilia
|
||||
ecasound-devel
|
||||
enigma
|
||||
esound
|
||||
frozen-bubble
|
||||
gl-117
|
||||
glest
|
||||
gnomemeeting
|
||||
kalsatools
|
||||
kdeartwork3-sound
|
||||
kdemultimedia3-extra
|
||||
kdemultimedia3-jukebox
|
||||
kdemultimedia3-midi
|
||||
kdemultimedia3-mixer
|
||||
kdemultimedia3-sound
|
||||
madplay
|
||||
mpg321
|
||||
muse
|
||||
pachi
|
||||
pd
|
||||
pd-externals
|
||||
pwlib
|
||||
pwlib-devel
|
||||
pwlib-plugins-v4l2
|
||||
pyecasound
|
||||
python-mad
|
||||
qmidiarp
|
||||
rhythmbox
|
||||
sipset
|
||||
warzone2100
|
||||
wsndpref
|
||||
wsndsrv
|
||||
xmms
|
||||
xmms-devel
|
||||
xmms-jack
|
||||
xmms-lib
|
||||
xmms-lib-mad
|
366
suse_update_desktop_file.sh
Normal file
366
suse_update_desktop_file.sh
Normal file
@ -0,0 +1,366 @@
|
||||
# macro: suse_update_desktop_file
|
||||
#
|
||||
# Used to add easily a category to .desktop files according to XDG
|
||||
# standard.
|
||||
#
|
||||
|
||||
. /usr/lib/rpm/map-desktop-category.sh
|
||||
|
||||
#
|
||||
# parse arguments
|
||||
#
|
||||
INSTALL=no
|
||||
I18N=yes
|
||||
CREATE=no
|
||||
RESET=no
|
||||
UNIMPORTANT=no
|
||||
NAME=no
|
||||
COMMENT=no
|
||||
GNAME=no
|
||||
while [ "${1:0:1}" = "-" ]; do
|
||||
case ${1} in
|
||||
-u|--unimportant)
|
||||
UNIMPORTANT=yes
|
||||
shift
|
||||
continue;;
|
||||
-n|--no-i18n)
|
||||
I18N=no
|
||||
shift
|
||||
continue;;
|
||||
-i|--install)
|
||||
INSTALL=yes
|
||||
shift
|
||||
continue;;
|
||||
-r|--reset)
|
||||
RESET=yes
|
||||
shift
|
||||
continue;;
|
||||
-d|--docid)
|
||||
shift
|
||||
DOCID="${1}"
|
||||
shift
|
||||
continue;;
|
||||
-D|--docpath)
|
||||
shift
|
||||
DOCPATH="${1}"
|
||||
if ! [ -r "$RPM_BUILD_ROOT/opt/kde3/share/doc/HTML/en/$DOCPATH/index.docbook" -o -r $RPM_BUILD_ROOT/opt/gnome/share/gnome/help/$DOCPATH/C/$DOCPATH.xml -o -r $RPM_BUILD_ROOT/opt/gnome/share/gnome/help/${DOCPATH/\///C/} ] ; then
|
||||
echo WARNING: suse_update_desktop_file: DocPath target $DOCPATH for $FILE does not exist
|
||||
fi
|
||||
shift
|
||||
continue;;
|
||||
-c|--create)
|
||||
CREATE=yes
|
||||
INSTALL=yes
|
||||
shift
|
||||
continue;;
|
||||
-C|--comment)
|
||||
shift
|
||||
COMMENT="${1}"
|
||||
shift
|
||||
continue;;
|
||||
-N|--name)
|
||||
shift
|
||||
NAME="${1}"
|
||||
shift
|
||||
continue;;
|
||||
-G|--genericname)
|
||||
shift
|
||||
GNAME="${1}"
|
||||
shift
|
||||
continue;;
|
||||
*)
|
||||
echo "UNKNOWN OPTION: $1"
|
||||
exit 1 ;;
|
||||
esac
|
||||
done
|
||||
|
||||
APPLICATION="$1"
|
||||
shift
|
||||
if [ "$CREATE" = "yes" ]; then
|
||||
NAME="$1"
|
||||
shift
|
||||
GNAME="$1"
|
||||
shift
|
||||
EXEC="$1"
|
||||
shift
|
||||
ICON="$1"
|
||||
shift
|
||||
if [ -z "$NAME" -o -z "$EXEC" ]; then
|
||||
echo ERROR: after --create you should define
|
||||
echo DESKTOP_FILE_NAME NAME GENERICNAME EXECUTABLE \[ ICON CATEGORIES... \]
|
||||
exit 1
|
||||
fi
|
||||
mkdir -p $RPM_BUILD_ROOT/usr/share/applications/
|
||||
cat > $RPM_SOURCE_DIR/$APPLICATION.desktop << EOF
|
||||
[Desktop Entry]
|
||||
Name=$NAME
|
||||
GenericName=$GNAME
|
||||
Type=Application
|
||||
Exec=$EXEC
|
||||
Icon=$ICON
|
||||
EOF
|
||||
NAME=no
|
||||
GNAME=no
|
||||
fi
|
||||
if [ "$INSTALL" = "yes" ]; then
|
||||
mkdir -p $RPM_BUILD_ROOT/usr/share/applications/
|
||||
FILE=`find $RPM_SOURCE_DIR $RPM_BUILD_DIR /usr/share/update-desktop-files/templates . -name $APPLICATION.desktop| sort -r | head -n 1`
|
||||
if [ -s "$FILE" ]; then
|
||||
cp "$FILE" $RPM_BUILD_ROOT/usr/share/applications/
|
||||
icon_file=`sed -n '/^\[Desktop Entry\]/,/(\[.*|$)/ s,Icon=\(.*\),\1,p' "$FILE"`
|
||||
icon_file=`find $RPM_SOURCE_DIR /usr/share/update-desktop-files/kappfinder-icons -maxdepth 1 -name ${icon_file}.png -o -name ${icon_file}.xpm -o -name $icon_file | sort -r | head -n 1`
|
||||
if [ -s "$icon_file" ]; then
|
||||
mkdir -p $RPM_BUILD_ROOT/usr/share/pixmaps/
|
||||
cp "$icon_file" $RPM_BUILD_ROOT/usr/share/pixmaps/
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
while [ "$1" ]; do
|
||||
CATEGORIES="$CATEGORIES;$1"
|
||||
shift
|
||||
done
|
||||
CATEGORIES="${CATEGORIES#;}"
|
||||
if [ -z "$APPLICATION" ]; then
|
||||
echo ERROR: suse_update_desktop_file: no application argument given
|
||||
echo Example: use "qbrew" to edit qbrew.desktop
|
||||
exit 1
|
||||
fi
|
||||
|
||||
#
|
||||
# find file
|
||||
#
|
||||
for i in /$RPM_BUILD_ROOT/opt/kde3/share/applications/kde/ /$RPM_BUILD_ROOT/opt/kde3/share/applnk /$RPM_BUILD_ROOT/opt/gnome/share/applications/ /$RPM_BUILD_ROOT/opt/gnome/share/gnome/apps/ /$RPM_BUILD_ROOT/usr/share/applications/ ; do
|
||||
[ -e "$i" ] && DIRS="$DIRS $i"
|
||||
done
|
||||
if [ "${APPLICATION:0:1}" == "/" -a -e "$APPLICATION" ]; then
|
||||
FILE_="$APPLICATION"
|
||||
else
|
||||
FILE_=`find $DIRS -name $APPLICATION.desktop`
|
||||
fi
|
||||
if [ -z "$FILE_" ]; then
|
||||
echo ERROR: suse_update_desktop_file: unable to find $APPLICATION
|
||||
exit 1
|
||||
fi
|
||||
FILE=""
|
||||
for i in $FILE_; do
|
||||
#
|
||||
# fix old files
|
||||
#
|
||||
sed -e 's/\[KDE Desktop Entry\]/[Desktop Entry]/' "$i" > "${i}_" && mv "${i}_" "$i"
|
||||
|
||||
if [ "$FILE" ]; then
|
||||
echo ERROR: suse_update_desktop_file: $APPLICATION has multiple desktop files
|
||||
exit 1
|
||||
fi
|
||||
FILE=$i
|
||||
done
|
||||
|
||||
#
|
||||
# move KDE legacy files to XDG path
|
||||
#
|
||||
if echo $FILE | grep -q /opt/kde3/share/applnk/ ; then
|
||||
if ! echo $FILE | grep -q /opt/kde3/share/applnk/.hidden/ ; then
|
||||
if ! echo $FILE | grep -q /opt/kde3/share/applnk/Settings/ ; then
|
||||
if ! echo $FILE | grep -q /opt/kde3/share/applnk/System/ScreenSavers/ ; then
|
||||
echo WARNING: file is in old KDE legacy path, moving it to XDG path
|
||||
mkdir -p $RPM_BUILD_ROOT/opt/kde3/share/applications/kde/
|
||||
mv "$FILE" $RPM_BUILD_ROOT/opt/kde3/share/applications/kde/
|
||||
FILE="$RPM_BUILD_ROOT/opt/kde3/share/applications/kde/${FILE##*/}"
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
#
|
||||
# validate file
|
||||
#
|
||||
if [ ! -r "$FILE" ]; then
|
||||
echo ERROR: suse_update_desktop_file: unable to read $FILE
|
||||
exit 1
|
||||
fi
|
||||
# esp. for susehelp
|
||||
FILE_DOCPATH=`sed -n -e '/^\[Desktop Entry\]/,/(\[.*|$)/ s,;, ,g' -e 's,^DocPath=\\(.*\\),\\1,p' ${FILE}`
|
||||
if [ -n "$FILE_DOCPATH" ] ; then
|
||||
if [ ! -r "$RPM_BUILD_ROOT/opt/kde3/share/doc/HTML/en/$FILE_DOCPATH/index.docbook" ] && [ ! -r "$RPM_BUILD_ROOT/opt/gnome/share/gnome/help/$FILE_DOCPATH/C/$FILE_DOCPATH.xml" ] && [ ! -r $RPM_BUILD_ROOT/opt/gnome/share/gnome/help/${DOCPATH/\///C/} ] ; then
|
||||
echo WARNING: suse_update_desktop_file: DocPath target $FILE_DOCPATH for $FILE does not exist
|
||||
fi
|
||||
fi
|
||||
|
||||
#
|
||||
# update Categories
|
||||
#
|
||||
if [ "$RESET" = "no" ]; then
|
||||
CATIN=`sed -n -e '/^\[Desktop Entry\]/,/(\[.*|$)/ s,;, ,g' -e 's,^Categories=\\(.*\\),\\1,p' ${FILE}`
|
||||
fi
|
||||
CATIN="$CATIN ${CATEGORIES//;/ }"
|
||||
if [ -z "$CATIN" ]; then
|
||||
case "${FILE%/*}" in
|
||||
*/opt/kde3/*) CATIN="Qt KDE" ;;
|
||||
*/opt/gnome/*) CATIN="GTK" ;;
|
||||
esac
|
||||
fi
|
||||
unset CAT
|
||||
unset DCAT
|
||||
for i in $CATIN; do
|
||||
ret=""
|
||||
mapCategory $i
|
||||
if [ -z "$ret" ]; then
|
||||
echo WARNING: Category \"$i\" is unknown \!
|
||||
echo WARNING: it is ignored, until you registered a Category at adrian@suse.de .
|
||||
else
|
||||
echo "$CAT" | grep -q "[=;]$i;" || CAT="$CAT$ret;"
|
||||
fi
|
||||
done
|
||||
echo "" >> "${FILE}"
|
||||
CAT="${CAT#;}"
|
||||
if grep -q ^Categories= $FILE; then
|
||||
sed -e '/^\[Desktop Entry\]/,/(\[.*|$)/ s,^Categories=.*,Categories='${CAT}',' "$FILE" > "${FILE}.new" &&
|
||||
mv "${FILE}.new" "${FILE}"
|
||||
else
|
||||
if [ -n "${CAT%;}" ]; then
|
||||
sed -e '/^\[Desktop Entry\]/a \
|
||||
'"Categories=${CAT%;}" $FILE > ${FILE}_ && mv ${FILE}_ $FILE
|
||||
fi
|
||||
fi
|
||||
if [ "$UNIMPORTANT" = "yes" ]; then
|
||||
sed -e '/^\[Desktop Entry\]/a \
|
||||
X-SuSE-Unimportant=true' $FILE > ${FILE}_ && mv ${FILE}_ $FILE
|
||||
fi
|
||||
if [ "$DOCID" ]; then
|
||||
sed -e '/^\[Desktop Entry\]/a \
|
||||
'"X-SuSE-DocTeamID=$DOCID" $FILE > ${FILE}_ && mv ${FILE}_ $FILE
|
||||
fi
|
||||
|
||||
#
|
||||
# check or set DocPath
|
||||
#
|
||||
DOCPATH_IS_GUESS=false
|
||||
if [ -z "$DOCPATH" ] ; then
|
||||
if [ -f $RPM_BUILD_ROOT/opt/gnome/share/gnome/help/$APPLICATION/C/$APPLICATION.xml ] ; then
|
||||
DOCPATH=$APPLICATION
|
||||
DOCPATH_IS_GUESS=true
|
||||
fi
|
||||
if [ -f $RPM_BUILD_ROOT/opt/kde3/share/doc/HTML/en/$APPLICATION/index.docbook ] ; then
|
||||
DOCPATH=$APPLICATION
|
||||
DOCPATH_IS_GUESS=true
|
||||
fi
|
||||
# NOTE: Here we can add guess for application/file.xml
|
||||
fi
|
||||
if [ -n "$DOCPATH" ] ; then
|
||||
if [ -n "$FILE_DOCPATH" ] ; then
|
||||
# DocPath already exists. Update it only from command line, not from guess.
|
||||
if $DOCPATH_IS_GUESS ; then
|
||||
if [ "$DOCPATH" != "$FILE_DOCPATH" ] ; then
|
||||
echo WARNING: suse_update_desktop_file: DocPath target $FILE_DOCPATH differs from guess $DOCPATH for $FILE
|
||||
fi
|
||||
else
|
||||
sed -e '/^\[Desktop Entry\]/,/(\[.*|$)/ s,^DocPath=.*,DocPath='${DOCPATH}',' "$FILE" > "${FILE}.new" &&
|
||||
mv "${FILE}.new" "${FILE}"
|
||||
fi
|
||||
else
|
||||
sed -e '/^\[Desktop Entry\]/a \
|
||||
'"DocPath=${DOCPATH}" $FILE > ${FILE}.new && mv ${FILE}.new $FILE
|
||||
if $DOCPATH_IS_GUESS ; then
|
||||
echo NOTE: suse_update_desktop_file: Guessing DocPath=$DOCPATH in $FILE
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ "$I18N" = "yes" ]; then
|
||||
|
||||
if [ "$NAME" != "no" ]; then
|
||||
grep -v '^Name\[' $FILE > ${FILE}_
|
||||
if [ -n "$NAME" ]; then
|
||||
if ! grep -q ^Name= ${FILE}_; then
|
||||
sed -e '/^\[Desktop Entry\]/a '"Name=${NAME//,/\,}" ${FILE}_ > $FILE
|
||||
else
|
||||
sed -e '/^\[Desktop Entry\]/,/(\[.*|$)/ s,^Name=.*,Name='"${NAME//,/\,}"',' ${FILE}_ > $FILE
|
||||
fi
|
||||
else
|
||||
grep -v "^Name=" ${FILE}_ > $FILE
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ "$GNAME" != "no" ]; then
|
||||
grep -v '^GenericName\[' $FILE > ${FILE}_
|
||||
if [ -n "$GNAME" ]; then
|
||||
if ! grep -q ^GenericName= ${FILE}_; then
|
||||
sed -e '/^\[Desktop Entry\]/a '"GenericName=${GNAME//,/\,}" ${FILE}_ > $FILE
|
||||
else
|
||||
sed -e '/^\[Desktop Entry\]/,/(\[.*|$)/ s,^GenericName=.*,GenericName='"${GNAME//,/\,}"',' ${FILE}_ > $FILE
|
||||
fi
|
||||
else
|
||||
grep -v "^GenericName=" ${FILE}_ > $FILE
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ "$COMMENT" != "no" ]; then
|
||||
grep -v '^Comment\[' $FILE > ${FILE}_
|
||||
if [ -n "$COMMENT" ]; then
|
||||
if ! grep -q ^Comment= ${FILE}_; then
|
||||
sed -e '/^\[Desktop Entry\]/a '"Comment=${COMMENT//,/\,}" ${FILE}_ > $FILE
|
||||
else
|
||||
sed -e '/^\[Desktop Entry\]/,/(\[.*|$)/ s,^Comment=.*,Comment='"${COMMENT//,/\,}"',' ${FILE}_ > $FILE
|
||||
fi
|
||||
else
|
||||
grep -v "^Comment=" ${FILE}_ > $FILE
|
||||
fi
|
||||
fi
|
||||
|
||||
if ! iconv -f utf-8 -t utf-8 $FILE &> /dev/null ; then
|
||||
echo "ERROR: $FILE is not an UTF-8 file"
|
||||
exit 1
|
||||
fi
|
||||
#
|
||||
# Merge translations
|
||||
#
|
||||
for L in /usr/share/update-desktop-files/locale/translations_*; do
|
||||
perl /usr/share/update-desktop-files/translate.pl $L $FILE > ${FILE}_ && mv ${FILE}_ $FILE || exit 1
|
||||
done
|
||||
else
|
||||
#
|
||||
# this file will not get translated
|
||||
#
|
||||
sed -e '/^\[Desktop Entry\]/a \
|
||||
X-SuSE-translate=false' $FILE > ${FILE}_ && mv ${FILE}_ $FILE
|
||||
fi
|
||||
|
||||
#
|
||||
# autoconvert old mixed encoded desktop files to Utf8
|
||||
#
|
||||
echo "$FILE" | grep -q /opt/gnome/share/gnome/apps/
|
||||
if [ "$?" == "0" ]; then
|
||||
sh /usr/share/update-desktop-files/legacy-mixed_to_utf8 "$FILE"
|
||||
fi
|
||||
|
||||
#
|
||||
# CheckHardware checking
|
||||
#
|
||||
_EXEC="`sed -n -e '/^\[Desktop Entry\]/,/(\[.*|$)/ s,^Exec=\(.*\),\1,p' $FILE`"
|
||||
EXEC="${_EXEC#CheckHardware }"
|
||||
EXEC="${EXEC#--sound }"
|
||||
EXEC="${EXEC#--3D }"
|
||||
EXEC="${EXEC#--sound }"
|
||||
_3D=""
|
||||
_SOUND=""
|
||||
grep -q "^X-SuSE-needs-3D$" "$FILE" && _3D="--3D"
|
||||
grep -q "^X-SuSE-needs-Sound$" "$FILE" && _SOUND="--sound"
|
||||
grep -q "^$RPM_PACKAGE_NAME$" /usr/share/update-desktop-files/packages-sound \
|
||||
&& _SOUND="--sound"
|
||||
grep -q "^$RPM_PACKAGE_NAME$" /usr/share/update-desktop-files/packages-3D \
|
||||
&& _3D="--3D"
|
||||
|
||||
CHK=""
|
||||
if [ "$_3D" ]; then
|
||||
CHK="CheckHardware"
|
||||
EXEC="$_3D $EXEC"
|
||||
fi
|
||||
if [ "$_SOUND" ]; then
|
||||
CHK="CheckHardware"
|
||||
EXEC="$_SOUND $EXEC"
|
||||
fi
|
||||
|
||||
if [ "$EXEC" != "$_EXEC" ]; then
|
||||
sed -e "s,^Exec=.*,Exec=${CHK} ${EXEC}," "$FILE" > "${FILE}.new" &&
|
||||
mv "${FILE}.new" "${FILE}"
|
||||
fi
|
119
translate.pl
Normal file
119
translate.pl
Normal file
@ -0,0 +1,119 @@
|
||||
$L=$ARGV[0];
|
||||
$FILE=$ARGV[1];
|
||||
|
||||
use File::Basename;
|
||||
$L =~ s,/*$,,;
|
||||
$lang = basename($L);
|
||||
$lang =~ s/translations_//;
|
||||
$file = basename($FILE);
|
||||
|
||||
my %origs;
|
||||
my %trans;
|
||||
|
||||
opendir(DOMS, "$L/en_US/LC_MESSAGES/") || die "opendir $L";
|
||||
@mos = grep { /\.mo$/ } readdir(DOMS);
|
||||
close DOMS;
|
||||
|
||||
sub flush_translation()
|
||||
{
|
||||
foreach $tag ('Name', 'Comment', 'GenericName')
|
||||
{
|
||||
next if (!defined $trans{$tag});
|
||||
#print "#SUSE-Addition\n";
|
||||
print "$tag\[$lang\]=$trans{$tag}\n";
|
||||
print STDERR "adding '$tag\[$lang\]=$trans{$tag}' to $file\n";
|
||||
delete $trans{$tag};
|
||||
}
|
||||
}
|
||||
|
||||
my $flagged = 0;
|
||||
my $group = '';
|
||||
|
||||
open(FILE, "$FILE");
|
||||
while ( <FILE> )
|
||||
{
|
||||
$flagged = 1 if ($_ =~ /X-SuSE-translate=true/ && $group eq '[Desktop Entry]');
|
||||
|
||||
# new group
|
||||
if ($_ =~ /^\[/ )
|
||||
{
|
||||
flush_translation();
|
||||
my $line = $_;
|
||||
chomp $line;
|
||||
if (!$flagged && $group eq '[Desktop Entry]') {
|
||||
print "X-SuSE-translate=true\n";
|
||||
$flagged = 1;
|
||||
}
|
||||
$group = $line;
|
||||
%origs = ();
|
||||
%trans = ();
|
||||
print $_;
|
||||
next;
|
||||
}
|
||||
|
||||
foreach $tag ('Name', 'Comment', 'GenericName')
|
||||
{
|
||||
if ($_ =~ m/^$tag=/ ) {
|
||||
$text = $_;
|
||||
chomp($text);
|
||||
$text =~ s/$tag=//;
|
||||
$origs{$tag} = $text;
|
||||
$text = "$tag($file): $text";
|
||||
|
||||
foreach $domain (@mos)
|
||||
{
|
||||
$domain=basename($domain, ".mo");
|
||||
$ENV{"TEXTDOMAINDIR"} = $L;
|
||||
$ENV{"LC_ALL"} = "en_US.UTF-8";
|
||||
open(GETTEXT, "-|", "gettext", "-d", "$domain", "$text");
|
||||
$transe=<GETTEXT>;
|
||||
close(GETTEXT);
|
||||
next if ($transe eq $text);
|
||||
next if ($transe eq $origs{$tag});
|
||||
$trans{$tag} = $transe;
|
||||
}
|
||||
next;
|
||||
}
|
||||
|
||||
if ( $_ =~ /^$tag\[$lang\]/)
|
||||
{
|
||||
if (! defined $origs{$tag}) {
|
||||
print STDERR "ERROR: $tag is translated before original. Not supported - patch desktop file $FILE\n";
|
||||
exit(1);
|
||||
}
|
||||
$text = $_;
|
||||
chomp($text);
|
||||
$text =~ s/^$tag\[$lang\]=//;
|
||||
# no reason to act
|
||||
$ourtrans = $origs{$tag};
|
||||
$ourtrans = $trans{$tag} if (defined $trans{$tag});
|
||||
|
||||
if ($text eq $ourtrans)
|
||||
{
|
||||
delete $trans{$tag};
|
||||
#print "# SUSE Copy\n";
|
||||
next;
|
||||
}
|
||||
|
||||
print "#SUSE-Overwrite $_";
|
||||
# if not defined, we prefer the orig
|
||||
if (defined $trans{$tag})
|
||||
{
|
||||
print STDERR "adding '$tag\[$lang\]=$ourtrans' to $file\n";
|
||||
$_ = "$tag\[$lang\]=$ourtrans\n";
|
||||
delete $trans{$tag};
|
||||
} else {
|
||||
print STDERR "removing '$tag\[$lang\]=$text' from $file\n";
|
||||
$_ = '';
|
||||
}
|
||||
next;
|
||||
}
|
||||
}
|
||||
print $_ if ($_);
|
||||
}
|
||||
|
||||
flush_translation();
|
||||
if (!$flagged) {
|
||||
print "X-SuSE-translate=true\n";
|
||||
}
|
||||
|
653
update-desktop-files.changes
Normal file
653
update-desktop-files.changes
Normal file
@ -0,0 +1,653 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 7 16:13:30 CET 2006 - coolo@suse.de
|
||||
|
||||
- update from translators
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 20 14:18:50 CET 2006 - coolo@suse.de
|
||||
|
||||
- update from translators
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 7 12:02:48 CET 2006 - coolo@suse.de
|
||||
|
||||
- update from desktop translations
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 2 11:46:44 CET 2006 - coolo@suse.de
|
||||
|
||||
- update from new SVN
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 20 14:00:07 CEST 2006 - stbinner@suse.de
|
||||
|
||||
- add HardwareSettings category to map-desktop-category.sh (#206753)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 13 09:53:57 CEST 2006 - coolo@suse.de
|
||||
|
||||
- don't ignore NoDisplay .desktop files (#165187 and #180627)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 12 11:50:19 CEST 2006 - coolo@suse.de
|
||||
|
||||
- bugfixes from vendor
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 9 14:56:46 CEST 2006 - coolo@suse.de
|
||||
|
||||
- another update for desktop translations
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 2 14:42:09 CEST 2006 - dmueller@suse.de
|
||||
|
||||
- updated desktop translations (#175645)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 26 09:49:22 CEST 2006 - stbinner@suse.de
|
||||
|
||||
- update from SVN, more Italian & Japanese translation format fixes
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Apr 22 06:07:56 CEST 2006 - stbinner@suse.de
|
||||
|
||||
- update (rebuild 107) to fix Italian mess (#168551)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 18 11:30:53 CEST 2006 - coolo@suse.de
|
||||
|
||||
- another update (rebuild 105)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 11 17:11:16 CEST 2006 - sbrabec@suse.cz
|
||||
|
||||
- Updated cs translation from LCN SVN.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 7 13:12:16 CEST 2006 - stbinner@suse.de
|
||||
|
||||
- update translations from SVN
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 5 10:46:16 CEST 2006 - stbinner@suse.de
|
||||
|
||||
- update translations
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 31 16:51:37 CEST 2006 - stbinner@suse.de
|
||||
|
||||
- update translations and remove not-to-be-translated strings parts
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 31 13:58:12 CEST 2006 - stbinner@suse.de
|
||||
|
||||
- own some more locale dirs on PLUS to fix build
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 29 18:54:42 CEST 2006 - sreeves@suse.de
|
||||
|
||||
- Add new X-SuSE-ControlCenter-* categories
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 24 18:54:20 CET 2006 - dmueller@suse.de
|
||||
|
||||
- update translations from SVN (de,es,fr,it,ja,pt_BR,zh_CN,zh_TW)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 24 14:55:44 CET 2006 - coolo@suse.de
|
||||
|
||||
- update translations from SVN
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 17 13:55:36 CET 2006 - coolo@suse.de
|
||||
|
||||
- update translations from SVN
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 6 18:37:07 CET 2006 - coolo@suse.de
|
||||
|
||||
- fix sed call (#152224)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 27 15:14:54 CET 2006 - coolo@suse.de
|
||||
|
||||
- update translations from SVN
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 27 13:01:25 CET 2006 - stbinner@suse.de
|
||||
|
||||
- patch map-desktop-category.sh for PLUS distributions
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 22 10:11:22 CET 2006 - stbinner@suse.de
|
||||
|
||||
- add "km" locale dirs to fix build on PLUS
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 16 17:17:22 CET 2006 - sbrabec@suse.cz
|
||||
|
||||
- Fix of DocPath warning check (149699#c12).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 15 10:10:05 CET 2006 - coolo@suse.de
|
||||
|
||||
- fixed the addition of new tags
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 14 16:17:12 CET 2006 - coolo@suse.de
|
||||
|
||||
- fixed PREPARE_PACKAGE and used it one more time
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 14 14:33:14 CET 2006 - coolo@suse.de
|
||||
|
||||
- enhance the script/macro:
|
||||
* the docpath is guessed now
|
||||
* allow -D to overwrite guessing of docpaths
|
||||
* allow -N/-G/-C to overwrite Name/GenericName/Comment
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 13 11:19:07 CET 2006 - coolo@suse.de
|
||||
|
||||
- update translations from lcn SVN
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 7 16:28:56 CET 2006 - coolo@suse.de
|
||||
|
||||
- fix the escaping of to translated text
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 6 16:49:50 CET 2006 - dmueller@suse.de
|
||||
|
||||
- remove duplicate desktop files and add a check
|
||||
to avoid the same happening in the future
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 6 14:32:52 CET 2006 - coolo@suse.de
|
||||
|
||||
- let the translations work again (workaround #147685)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 3 11:58:09 CET 2006 - coolo@suse.de
|
||||
|
||||
- updated translations received so far
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 27 01:35:55 CET 2006 - mls@suse.de
|
||||
|
||||
- converted neededforbuild to BuildRequires
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 20 19:17:15 CET 2006 - dmueller@suse.de
|
||||
|
||||
- split off desktop-translations package. install translations there.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 18 12:09:49 CET 2006 - dmueller@suse.de
|
||||
|
||||
- sync kappfinder desktop files/icons with upstream
|
||||
(fixes lyx failure)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 9 15:27:54 CET 2006 - coolo@suse.de
|
||||
|
||||
- print the error to STDERR, so Rudi sees them
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 9 10:25:15 CET 2006 - coolo@suse.de
|
||||
|
||||
- brp-desktop is a bit picky: fixing format
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jan 7 20:07:35 CET 2006 - coolo@suse.de
|
||||
|
||||
- fixing obvious perl knowledge lack
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 5 12:57:09 CET 2006 - coolo@suse.de
|
||||
|
||||
- fix bug related to groups
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 16 16:00:08 CET 2005 - coolo@suse.de
|
||||
|
||||
- rework translation applying script
|
||||
- readding translations
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 3 13:20:41 CET 2005 - coolo@suse.de
|
||||
|
||||
- reset the translations to prepare a new way of handling them
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 29 18:39:08 CEST 2005 - stbinner@suse.de
|
||||
|
||||
- add "Photograph" -> "Photography" category mapping
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 12 21:28:41 CEST 2005 - coolo@suse.de
|
||||
|
||||
- update translations (mainly hu)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 5 10:26:03 CEST 2005 - adrian@suse.de
|
||||
|
||||
- add finish translations
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 2 08:59:31 CEST 2005 - aj@suse.de
|
||||
|
||||
- Revert changes to extra-files, kappfinder-* since they cause
|
||||
build problems.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 1 17:05:21 CEST 2005 - adrian@suse.de
|
||||
|
||||
- final translation update
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 31 09:54:49 CEST 2005 - adrian@suse.de
|
||||
|
||||
- update translations
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 17 16:03:01 CEST 2005 - coolo@suse.de
|
||||
|
||||
- update translations
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 11 09:06:02 CEST 2005 - adrian@suse.de
|
||||
|
||||
- add X-SuSE-YaST-AppArmor
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 23 10:24:49 CEST 2005 - adrian@suse.de
|
||||
|
||||
- do only warn about not existing DocPath
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 19 10:19:22 CEST 2005 - adrian@suse.de
|
||||
|
||||
- validate DocPath target
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 16 16:02:21 CET 2005 - adrian@suse.de
|
||||
|
||||
- translation updates
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 14 10:56:54 CET 2005 - adrian@suse.de
|
||||
|
||||
- fixed hu desktop entries by Karl
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 9 15:20:31 CET 2005 - adrian@suse.de
|
||||
|
||||
- allow RSS-News tag
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 17 09:31:05 CET 2005 - adrian@suse.de
|
||||
|
||||
- do not move screensaver entries
|
||||
- prefer .png icons during install
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 16 15:11:26 CET 2005 - adrian@suse.de
|
||||
|
||||
- auto move desktop files from legacy applnk path to XDG path
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 15 00:45:18 CET 2005 - schwab@suse.de
|
||||
|
||||
- Use the first icon found.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 10 10:15:46 CET 2005 - adrian@suse.de
|
||||
|
||||
- fix german Planner menu entry
|
||||
- new hungarian translations
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 14 16:38:59 CET 2005 - adrian@suse.de
|
||||
|
||||
- accept Feedback as Category (#41682)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 13 09:39:35 CET 2005 - adrian@suse.de
|
||||
|
||||
- update to current translation state from cvs.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 17 10:57:03 CET 2004 - adrian@suse.de
|
||||
|
||||
- honor only [Desktop Entry] section
|
||||
- allow "Clock" Category
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 16 14:03:23 CET 2004 - adrian@suse.de
|
||||
|
||||
- package also some icon templates, which can get installed via -i
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 15 18:06:38 CET 2004 - adrian@suse.de
|
||||
|
||||
- install also icon files with -i
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 28 10:32:27 CEST 2004 - adrian@suse.de
|
||||
|
||||
- add -d/--docid switch to add identifier for documentation team
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 19 17:02:22 CEST 2004 - adrian@suse.de
|
||||
|
||||
- update french and chinese translations
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 5 15:38:23 CEST 2004 - adrian@suse.de
|
||||
|
||||
- add translation for Office Suite to czech (#46833)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 4 13:45:44 CEST 2004 - adrian@suse.de
|
||||
|
||||
- new translations for el
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 1 18:09:37 CEST 2004 - adrian@suse.de
|
||||
|
||||
- update translations
|
||||
- do not add Categories line, if empty
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Sep 26 15:52:08 CEST 2004 - adrian@suse.de
|
||||
|
||||
- use current translations from cvs
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 17 20:32:40 CEST 2004 - coolo@suse.de
|
||||
|
||||
- handle packaged CVS dirs for convenience
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 17 16:08:12 CEST 2004 - coolo@suse.de
|
||||
|
||||
- new translation round
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 3 13:35:41 CEST 2004 - adrian@suse.de
|
||||
|
||||
- fix encoding of impress.desktop
|
||||
- update kappfinder templates to KDE 3.3 state
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 30 12:09:59 CEST 2004 - coolo@suse.de
|
||||
|
||||
- make the warning an error - no one cares for WARNINGS in %install
|
||||
sections ;(
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 17 11:08:12 CEST 2004 - adrian@suse.de
|
||||
|
||||
- update chinese translations
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Apr 4 12:35:24 CEST 2004 - adrian@suse.de
|
||||
|
||||
- mark desktop files to translate with X-SuSE-translate=true
|
||||
- update translations
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 2 15:52:12 CEST 2004 - adrian@suse.de
|
||||
|
||||
- adding sk and it files
|
||||
- export direct from cvs
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 31 16:00:34 CEST 2004 - coolo@suse.de
|
||||
|
||||
- adding some more german files
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 30 12:10:27 CEST 2004 - adrian@suse.de
|
||||
|
||||
- add functionality to update explicit given files
|
||||
(needed for directory files)
|
||||
- update hungarian translations
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 29 11:47:06 CEST 2004 - coolo@suse.de
|
||||
|
||||
- adding bulgarian
|
||||
- adding japanish
|
||||
- adding slowenian
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 24 17:49:42 CET 2004 - adrian@suse.de
|
||||
|
||||
- auto convert Gnome 1 desktop files to Utf8
|
||||
(script by Stanislav, #36835)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 22 12:13:03 CET 2004 - coolo@suse.de
|
||||
|
||||
- adding dutch
|
||||
- adding hungarian
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 17 13:39:15 CET 2004 - adrian@suse.de
|
||||
|
||||
- add spanish translations
|
||||
- add norwegian translations
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 16 15:58:28 CET 2004 - coolo@suse.de
|
||||
|
||||
- adding czech translations
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 16 15:01:21 CET 2004 - coolo@suse.de
|
||||
|
||||
- updating german translations
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Mar 14 12:49:54 CET 2004 - coolo@suse.de
|
||||
|
||||
- adding translations (#34304)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 10 09:14:43 CET 2004 - adrian@suse.de
|
||||
|
||||
- update kappfinder data (from KDE 3.2.1)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 3 10:04:07 CET 2004 - adrian@suse.de
|
||||
|
||||
- fix typo in map-desktop-files
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Feb 29 13:41:50 CET 2004 - adrian@suse.de
|
||||
|
||||
- add WebUtility Category
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 17 09:52:28 CET 2004 - adrian@suse.de
|
||||
|
||||
- remove Mixer -> AudioMixer mapping
|
||||
(the other way arround exists and is valid)
|
||||
- check for double Category entries
|
||||
- add ContactManagement Category
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 16 22:17:22 CET 2004 - adrian@suse.de
|
||||
|
||||
- fix build as user
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 16 15:55:13 CET 2004 - adrian@suse.de
|
||||
|
||||
- Viewer is also an official tag now
|
||||
- temp. fail on outdated Categories
|
||||
- introduce "Jukebox"
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 10 17:45:11 CET 2003 - adrian@suse.de
|
||||
|
||||
- adjust Categories to match the Menu Standard Version 0.8
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 30 15:23:27 CET 2003 - adrian@suse.de
|
||||
|
||||
- add slovak translations
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 6 09:22:06 CEST 2003 - adrian@suse.de
|
||||
|
||||
- fix tail usage
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 26 19:54:56 CEST 2003 - adrian@suse.de
|
||||
|
||||
- add KDE 3.2 applications path
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 17 16:06:51 CEST 2003 - adrian@suse.de
|
||||
|
||||
- add more transalations
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 17 13:08:16 CEST 2003 - adrian@suse.de
|
||||
|
||||
- fix OO template call (#31130)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Sep 13 18:34:08 CEST 2003 - adrian@suse.de
|
||||
|
||||
- higher MimeType priorities for OO
|
||||
- remove version number from OO desktop file templates
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 11 20:49:34 CEST 2003 - adrian@suse.de
|
||||
|
||||
- fix a very stupid bug, we don't have the rpm yet, during the
|
||||
build .... CheckHardware stuff is working now (#30469)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Sep 7 15:08:21 CEST 2003 - adrian@suse.de
|
||||
|
||||
- fix: ProjectManagement is an official group
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 5 17:41:23 CEST 2003 - adrian@suse.de
|
||||
|
||||
- implement support for CheckHardware
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 5 08:36:58 CEST 2003 - adrian@suse.de
|
||||
|
||||
- introduce Video group
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 4 13:19:37 CEST 2003 - adrian@suse.de
|
||||
|
||||
- define icons and remove Categories from OO desktop files
|
||||
- add new possible Categories
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 2 10:57:14 CEST 2003 - adrian@suse.de
|
||||
|
||||
- list all X-SuSE-Core- groups explicit
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 1 21:22:03 CEST 2003 - adrian@suse.de
|
||||
|
||||
- fix conflict between "X-SuSE-Core" and "Core" Category
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 1 17:15:38 CEST 2003 - adrian@suse.de
|
||||
|
||||
- fix usage of multiple switches
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 1 10:50:04 CEST 2003 - adrian@suse.de
|
||||
|
||||
- several mapping fixes
|
||||
- add -u option to hide entries unimportant entries by default
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 28 10:55:31 CEST 2003 - adrian@suse.de
|
||||
|
||||
- change desktop search path order to install the right files
|
||||
for OpenOffice.org
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 25 18:07:46 CEST 2003 - adrian@suse.de
|
||||
|
||||
- mapping fixes
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 18 11:30:25 CEST 2003 - adrian@suse.de
|
||||
|
||||
- add template files for OpenOffice
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Aug 17 13:07:01 CEST 2003 - adrian@suse.de
|
||||
|
||||
- fix: map Categories always
|
||||
- some more mappings
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Aug 16 10:43:39 CEST 2003 - adrian@suse.de
|
||||
|
||||
- add .desktop file templates from kappfinder
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 15 10:51:55 CEST 2003 - adrian@suse.de
|
||||
|
||||
- add /opt/gnome/share/gnome/apps/ path
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 14 18:04:06 CEST 2003 - adrian@suse.de
|
||||
|
||||
- ignore also NoDisplay=true files
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 12 13:34:55 CEST 2003 - adrian@suse.de
|
||||
|
||||
- add DialUp Category
|
||||
- map Internet -> Network
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 12 12:49:32 CEST 2003 - adrian@suse.de
|
||||
|
||||
- add -r|--reset option
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 11 20:58:23 CEST 2003 - adrian@suse.de
|
||||
|
||||
- add /usr/lib/rpm/map-desktop-category.sh to check Categories
|
||||
and to set X-SuSE- prefix automagically
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 30 17:16:22 CEST 2003 - adrian@suse.de
|
||||
|
||||
- use $RPM_SOURCE_DIR
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 28 22:10:28 CEST 2003 - adrian@suse.de
|
||||
|
||||
- add --create and --install switches for %suse_update_desktop_file
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 24 16:07:31 CEST 2003 - adrian@suse.de
|
||||
|
||||
- ignore desktop files with Hidden flag
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 24 13:08:34 CEST 2003 - adrian@suse.de
|
||||
|
||||
- initial package
|
||||
* provide suse_update_desktop_file.sh script for the
|
||||
%suse_update_desktop_file rpm macro
|
||||
* a first po-file with translations
|
||||
|
408
update-desktop-files.spec
Normal file
408
update-desktop-files.spec
Normal file
@ -0,0 +1,408 @@
|
||||
#
|
||||
# spec file for package update-desktop-files (Version 10.1)
|
||||
#
|
||||
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# This file and all modifications and additions to the pristine
|
||||
# package are under the same license as the package itself.
|
||||
#
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
Name: update-desktop-files
|
||||
Version: 10.1
|
||||
Release: 66
|
||||
Summary: A Build Tool to Update Desktop Files
|
||||
License: GNU General Public License (GPL)
|
||||
Group: Development/Tools/Building
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Requires: desktop-translations = %{version}
|
||||
Autoreqprov: on
|
||||
Source: suse_update_desktop_file.sh
|
||||
Source1: map-desktop-category.sh
|
||||
Source2: kappfinder.tar.bz2
|
||||
Source3: translate.pl
|
||||
Source4: legacy-mixed_to_utf8
|
||||
# pdb query --filter "needshw:sound" | sed -e "s, ,,g"
|
||||
Source5: packages-sound
|
||||
# pdb query --filter "needshw:3d" | sed -e "s, ,,g"
|
||||
Source6: packages-3D
|
||||
Source7: kappfinder-icons.tar.bz2
|
||||
Source10: desktop-translations.tar.bz2
|
||||
Source99: PREPARE_PACKAGE
|
||||
Patch: map-desktop-category-pre-10.1.diff
|
||||
BuildArchitectures: noarch
|
||||
|
||||
%description
|
||||
This package provides further translations and a shell script to update
|
||||
desktop files. It is used by the %suse_update_desktop_file rpm macro.
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Adrian Schroeter <adrian@suse.de>
|
||||
|
||||
%package -n desktop-translations
|
||||
Summary: Desktop Files Translation updates
|
||||
Group: System/GUI/Other
|
||||
|
||||
%description -n desktop-translations
|
||||
This package provides further translations for installed desktop files.
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Adrian Schroeter <adrian@suse.de>
|
||||
|
||||
%prep
|
||||
%setup -q -n . -D -T 0
|
||||
mkdir %name
|
||||
cd %name
|
||||
|
||||
%install
|
||||
cd %name
|
||||
tar xfj %SOURCE10
|
||||
cd po
|
||||
for lang in *; do
|
||||
if test "$lang" = "nb_no"; then
|
||||
continue
|
||||
fi
|
||||
if test -f $lang; then
|
||||
rm $lang
|
||||
else
|
||||
mkdir -p $RPM_BUILD_ROOT/usr/share/%name/locale/translations_$lang/en_US/LC_MESSAGES
|
||||
mkdir -p $RPM_BUILD_ROOT/usr/share/locale/$lang/LC_MESSAGES
|
||||
for f in $lang/*.po; do
|
||||
msgfmt -o $RPM_BUILD_ROOT/usr/share/locale/$lang/LC_MESSAGES/desktop_translations.mo $f
|
||||
ln -s /usr/share/locale/$lang/LC_MESSAGES/desktop_translations.mo \
|
||||
$RPM_BUILD_ROOT/usr/share/%name/locale/translations_$lang/en_US/LC_MESSAGES/`echo $f | sed -e 's#.*/##; s#\.po#.mo#'`
|
||||
done
|
||||
fi
|
||||
done
|
||||
install -m 0644 %SOURCE4 %SOURCE5 %SOURCE6 %SOURCE3 $RPM_BUILD_ROOT/usr/share/%name/
|
||||
mkdir -p $RPM_BUILD_ROOT/usr/share/%name/templates
|
||||
tar xfj %SOURCE2 -C $RPM_BUILD_ROOT/usr/share/%name/templates
|
||||
tar xfj %SOURCE7 -C $RPM_BUILD_ROOT/usr/share/%name/
|
||||
mkdir -p $RPM_BUILD_ROOT/usr/lib/rpm
|
||||
install -m 0755 %SOURCE0 %SOURCE1 $RPM_BUILD_ROOT/usr/lib/rpm
|
||||
%if %suse_version <= 1000
|
||||
cd $RPM_BUILD_ROOT/usr/lib/rpm
|
||||
patch -p0 <%PATCH0
|
||||
%endif
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
/usr/share/%name
|
||||
/usr/lib/rpm/*
|
||||
|
||||
%files -n desktop-translations
|
||||
%defattr(-,root,root)
|
||||
%if %suse_version <= 1000
|
||||
%dir /usr/share/locale/km
|
||||
%dir /usr/share/locale/km/LC_MESSAGES
|
||||
%endif
|
||||
%if %suse_version <= 1001
|
||||
%dir /usr/share/locale/fy
|
||||
%dir /usr/share/locale/fy/LC_MESSAGES
|
||||
%dir /usr/share/locale/lo
|
||||
%dir /usr/share/locale/lo/LC_MESSAGES
|
||||
%dir /usr/share/locale/nds
|
||||
%dir /usr/share/locale/nds/LC_MESSAGES
|
||||
%dir /usr/share/locale/se
|
||||
%dir /usr/share/locale/se/LC_MESSAGES
|
||||
%dir /usr/share/locale/tt
|
||||
%dir /usr/share/locale/tt/LC_MESSAGES
|
||||
%endif
|
||||
/usr/share/locale/*/LC_MESSAGES/*mo
|
||||
|
||||
%changelog -n update-desktop-files
|
||||
* Thu Dec 07 2006 - coolo@suse.de
|
||||
- update from translators
|
||||
* Mon Nov 20 2006 - coolo@suse.de
|
||||
- update from translators
|
||||
* Tue Nov 07 2006 - coolo@suse.de
|
||||
- update from desktop translations
|
||||
* Thu Nov 02 2006 - coolo@suse.de
|
||||
- update from new SVN
|
||||
* Wed Sep 20 2006 - stbinner@suse.de
|
||||
- add HardwareSettings category to map-desktop-category.sh (#206753)
|
||||
* Tue Jun 13 2006 - coolo@suse.de
|
||||
- don't ignore NoDisplay .desktop files (#165187 and #180627)
|
||||
* Mon Jun 12 2006 - coolo@suse.de
|
||||
- bugfixes from vendor
|
||||
* Fri Jun 09 2006 - coolo@suse.de
|
||||
- another update for desktop translations
|
||||
* Fri Jun 02 2006 - dmueller@suse.de
|
||||
- updated desktop translations (#175645)
|
||||
* Wed Apr 26 2006 - stbinner@suse.de
|
||||
- update from SVN, more Italian & Japanese translation format fixes
|
||||
* Sat Apr 22 2006 - stbinner@suse.de
|
||||
- update (rebuild 107) to fix Italian mess (#168551)
|
||||
* Tue Apr 18 2006 - coolo@suse.de
|
||||
- another update (rebuild 105)
|
||||
* Tue Apr 11 2006 - sbrabec@suse.cz
|
||||
- Updated cs translation from LCN SVN.
|
||||
* Fri Apr 07 2006 - stbinner@suse.de
|
||||
- update translations from SVN
|
||||
* Wed Apr 05 2006 - stbinner@suse.de
|
||||
- update translations
|
||||
* Fri Mar 31 2006 - stbinner@suse.de
|
||||
- update translations and remove not-to-be-translated strings parts
|
||||
* Fri Mar 31 2006 - stbinner@suse.de
|
||||
- own some more locale dirs on PLUS to fix build
|
||||
* Wed Mar 29 2006 - sreeves@suse.de
|
||||
- Add new X-SuSE-ControlCenter-* categories
|
||||
* Fri Mar 24 2006 - dmueller@suse.de
|
||||
- update translations from SVN (de,es,fr,it,ja,pt_BR,zh_CN,zh_TW)
|
||||
* Fri Mar 24 2006 - coolo@suse.de
|
||||
- update translations from SVN
|
||||
* Fri Mar 17 2006 - coolo@suse.de
|
||||
- update translations from SVN
|
||||
* Mon Mar 06 2006 - coolo@suse.de
|
||||
- fix sed call (#152224)
|
||||
* Mon Feb 27 2006 - coolo@suse.de
|
||||
- update translations from SVN
|
||||
* Mon Feb 27 2006 - stbinner@suse.de
|
||||
- patch map-desktop-category.sh for PLUS distributions
|
||||
* Wed Feb 22 2006 - stbinner@suse.de
|
||||
- add "km" locale dirs to fix build on PLUS
|
||||
* Thu Feb 16 2006 - sbrabec@suse.cz
|
||||
- Fix of DocPath warning check (149699#c12).
|
||||
* Wed Feb 15 2006 - coolo@suse.de
|
||||
- fixed the addition of new tags
|
||||
* Tue Feb 14 2006 - coolo@suse.de
|
||||
- fixed PREPARE_PACKAGE and used it one more time
|
||||
* Tue Feb 14 2006 - coolo@suse.de
|
||||
- enhance the script/macro:
|
||||
* the docpath is guessed now
|
||||
* allow -D to overwrite guessing of docpaths
|
||||
* allow -N/-G/-C to overwrite Name/GenericName/Comment
|
||||
* Mon Feb 13 2006 - coolo@suse.de
|
||||
- update translations from lcn SVN
|
||||
* Tue Feb 07 2006 - coolo@suse.de
|
||||
- fix the escaping of to translated text
|
||||
* Mon Feb 06 2006 - dmueller@suse.de
|
||||
- remove duplicate desktop files and add a check
|
||||
to avoid the same happening in the future
|
||||
* Mon Feb 06 2006 - coolo@suse.de
|
||||
- let the translations work again (workaround #147685)
|
||||
* Fri Feb 03 2006 - coolo@suse.de
|
||||
- updated translations received so far
|
||||
* Fri Jan 27 2006 - mls@suse.de
|
||||
- converted neededforbuild to BuildRequires
|
||||
* Fri Jan 20 2006 - dmueller@suse.de
|
||||
- split off desktop-translations package. install translations there.
|
||||
* Wed Jan 18 2006 - dmueller@suse.de
|
||||
- sync kappfinder desktop files/icons with upstream
|
||||
(fixes lyx failure)
|
||||
* Mon Jan 09 2006 - coolo@suse.de
|
||||
- print the error to STDERR, so Rudi sees them
|
||||
* Mon Jan 09 2006 - coolo@suse.de
|
||||
- brp-desktop is a bit picky: fixing format
|
||||
* Sat Jan 07 2006 - coolo@suse.de
|
||||
- fixing obvious perl knowledge lack
|
||||
* Thu Jan 05 2006 - coolo@suse.de
|
||||
- fix bug related to groups
|
||||
* Fri Dec 16 2005 - coolo@suse.de
|
||||
- rework translation applying script
|
||||
- readding translations
|
||||
* Thu Nov 03 2005 - coolo@suse.de
|
||||
- reset the translations to prepare a new way of handling them
|
||||
* Thu Sep 29 2005 - stbinner@suse.de
|
||||
- add "Photograph" -> "Photography" category mapping
|
||||
* Mon Sep 12 2005 - coolo@suse.de
|
||||
- update translations (mainly hu)
|
||||
* Mon Sep 05 2005 - adrian@suse.de
|
||||
- add finish translations
|
||||
* Fri Sep 02 2005 - aj@suse.de
|
||||
- Revert changes to extra-files, kappfinder-* since they cause
|
||||
build problems.
|
||||
* Thu Sep 01 2005 - adrian@suse.de
|
||||
- final translation update
|
||||
* Wed Aug 31 2005 - adrian@suse.de
|
||||
- update translations
|
||||
* Wed Aug 17 2005 - coolo@suse.de
|
||||
- update translations
|
||||
* Thu Aug 11 2005 - adrian@suse.de
|
||||
- add X-SuSE-YaST-AppArmor
|
||||
* Mon May 23 2005 - adrian@suse.de
|
||||
- do only warn about not existing DocPath
|
||||
* Thu May 19 2005 - adrian@suse.de
|
||||
- validate DocPath target
|
||||
* Wed Mar 16 2005 - adrian@suse.de
|
||||
- translation updates
|
||||
* Mon Mar 14 2005 - adrian@suse.de
|
||||
- fixed hu desktop entries by Karl
|
||||
* Wed Mar 09 2005 - adrian@suse.de
|
||||
- allow RSS-News tag
|
||||
* Thu Feb 17 2005 - adrian@suse.de
|
||||
- do not move screensaver entries
|
||||
- prefer .png icons during install
|
||||
* Wed Feb 16 2005 - adrian@suse.de
|
||||
- auto move desktop files from legacy applnk path to XDG path
|
||||
* Tue Feb 15 2005 - schwab@suse.de
|
||||
- Use the first icon found.
|
||||
* Thu Feb 10 2005 - adrian@suse.de
|
||||
- fix german Planner menu entry
|
||||
- new hungarian translations
|
||||
* Fri Jan 14 2005 - adrian@suse.de
|
||||
- accept Feedback as Category (#41682)
|
||||
* Thu Jan 13 2005 - adrian@suse.de
|
||||
- update to current translation state from cvs.
|
||||
* Wed Nov 17 2004 - adrian@suse.de
|
||||
- honor only [Desktop Entry] section
|
||||
- allow "Clock" Category
|
||||
* Tue Nov 16 2004 - adrian@suse.de
|
||||
- package also some icon templates, which can get installed via -i
|
||||
* Mon Nov 15 2004 - adrian@suse.de
|
||||
- install also icon files with -i
|
||||
* Thu Oct 28 2004 - adrian@suse.de
|
||||
- add -d/--docid switch to add identifier for documentation team
|
||||
* Tue Oct 19 2004 - adrian@suse.de
|
||||
- update french and chinese translations
|
||||
* Tue Oct 05 2004 - adrian@suse.de
|
||||
- add translation for Office Suite to czech (#46833)
|
||||
* Mon Oct 04 2004 - adrian@suse.de
|
||||
- new translations for el
|
||||
* Fri Oct 01 2004 - adrian@suse.de
|
||||
- update translations
|
||||
- do not add Categories line, if empty
|
||||
* Sun Sep 26 2004 - adrian@suse.de
|
||||
- use current translations from cvs
|
||||
* Tue Aug 17 2004 - coolo@suse.de
|
||||
- handle packaged CVS dirs for convenience
|
||||
* Tue Aug 17 2004 - coolo@suse.de
|
||||
- new translation round
|
||||
* Tue Aug 03 2004 - adrian@suse.de
|
||||
- fix encoding of impress.desktop
|
||||
- update kappfinder templates to KDE 3.3 state
|
||||
* Fri Jul 30 2004 - coolo@suse.de
|
||||
- make the warning an error - no one cares for WARNINGS in %%install
|
||||
sections ;(
|
||||
* Mon May 17 2004 - adrian@suse.de
|
||||
- update chinese translations
|
||||
* Sun Apr 04 2004 - adrian@suse.de
|
||||
- mark desktop files to translate with X-SuSE-translate=true
|
||||
- update translations
|
||||
* Fri Apr 02 2004 - adrian@suse.de
|
||||
- adding sk and it files
|
||||
- export direct from cvs
|
||||
* Wed Mar 31 2004 - coolo@suse.de
|
||||
- adding some more german files
|
||||
* Tue Mar 30 2004 - adrian@suse.de
|
||||
- add functionality to update explicit given files
|
||||
(needed for directory files)
|
||||
- update hungarian translations
|
||||
* Mon Mar 29 2004 - coolo@suse.de
|
||||
- adding bulgarian
|
||||
- adding japanish
|
||||
- adding slowenian
|
||||
* Wed Mar 24 2004 - adrian@suse.de
|
||||
- auto convert Gnome 1 desktop files to Utf8
|
||||
(script by Stanislav, #36835)
|
||||
* Mon Mar 22 2004 - coolo@suse.de
|
||||
- adding dutch
|
||||
- adding hungarian
|
||||
* Wed Mar 17 2004 - adrian@suse.de
|
||||
- add spanish translations
|
||||
- add norwegian translations
|
||||
* Tue Mar 16 2004 - coolo@suse.de
|
||||
- adding czech translations
|
||||
* Tue Mar 16 2004 - coolo@suse.de
|
||||
- updating german translations
|
||||
* Sun Mar 14 2004 - coolo@suse.de
|
||||
- adding translations (#34304)
|
||||
* Wed Mar 10 2004 - adrian@suse.de
|
||||
- update kappfinder data (from KDE 3.2.1)
|
||||
* Wed Mar 03 2004 - adrian@suse.de
|
||||
- fix typo in map-desktop-files
|
||||
* Sun Feb 29 2004 - adrian@suse.de
|
||||
- add WebUtility Category
|
||||
* Tue Feb 17 2004 - adrian@suse.de
|
||||
- remove Mixer -> AudioMixer mapping
|
||||
(the other way arround exists and is valid)
|
||||
- check for double Category entries
|
||||
- add ContactManagement Category
|
||||
* Mon Feb 16 2004 - adrian@suse.de
|
||||
- fix build as user
|
||||
* Mon Feb 16 2004 - adrian@suse.de
|
||||
- Viewer is also an official tag now
|
||||
- temp. fail on outdated Categories
|
||||
- introduce "Jukebox"
|
||||
* Mon Nov 10 2003 - adrian@suse.de
|
||||
- adjust Categories to match the Menu Standard Version 0.8
|
||||
* Thu Oct 30 2003 - adrian@suse.de
|
||||
- add slovak translations
|
||||
* Mon Oct 06 2003 - adrian@suse.de
|
||||
- fix tail usage
|
||||
* Fri Sep 26 2003 - adrian@suse.de
|
||||
- add KDE 3.2 applications path
|
||||
* Wed Sep 17 2003 - adrian@suse.de
|
||||
- add more transalations
|
||||
* Wed Sep 17 2003 - adrian@suse.de
|
||||
- fix OO template call (#31130)
|
||||
* Sat Sep 13 2003 - adrian@suse.de
|
||||
- higher MimeType priorities for OO
|
||||
- remove version number from OO desktop file templates
|
||||
* Thu Sep 11 2003 - adrian@suse.de
|
||||
- fix a very stupid bug, we don't have the rpm yet, during the
|
||||
build .... CheckHardware stuff is working now (#30469)
|
||||
* Sun Sep 07 2003 - adrian@suse.de
|
||||
- fix: ProjectManagement is an official group
|
||||
* Fri Sep 05 2003 - adrian@suse.de
|
||||
- implement support for CheckHardware
|
||||
* Fri Sep 05 2003 - adrian@suse.de
|
||||
- introduce Video group
|
||||
* Thu Sep 04 2003 - adrian@suse.de
|
||||
- define icons and remove Categories from OO desktop files
|
||||
- add new possible Categories
|
||||
* Tue Sep 02 2003 - adrian@suse.de
|
||||
- list all X-SuSE-Core- groups explicit
|
||||
* Mon Sep 01 2003 - adrian@suse.de
|
||||
- fix conflict between "X-SuSE-Core" and "Core" Category
|
||||
* Mon Sep 01 2003 - adrian@suse.de
|
||||
- fix usage of multiple switches
|
||||
* Mon Sep 01 2003 - adrian@suse.de
|
||||
- several mapping fixes
|
||||
- add -u option to hide entries unimportant entries by default
|
||||
* Thu Aug 28 2003 - adrian@suse.de
|
||||
- change desktop search path order to install the right files
|
||||
for OpenOffice.org
|
||||
* Mon Aug 25 2003 - adrian@suse.de
|
||||
- mapping fixes
|
||||
* Mon Aug 18 2003 - adrian@suse.de
|
||||
- add template files for OpenOffice
|
||||
* Sun Aug 17 2003 - adrian@suse.de
|
||||
- fix: map Categories always
|
||||
- some more mappings
|
||||
* Sat Aug 16 2003 - adrian@suse.de
|
||||
- add .desktop file templates from kappfinder
|
||||
* Fri Aug 15 2003 - adrian@suse.de
|
||||
- add /opt/gnome/share/gnome/apps/ path
|
||||
* Thu Aug 14 2003 - adrian@suse.de
|
||||
- ignore also NoDisplay=true files
|
||||
* Tue Aug 12 2003 - adrian@suse.de
|
||||
- add DialUp Category
|
||||
- map Internet -> Network
|
||||
* Tue Aug 12 2003 - adrian@suse.de
|
||||
- add -r|--reset option
|
||||
* Mon Aug 11 2003 - adrian@suse.de
|
||||
- add /usr/lib/rpm/map-desktop-category.sh to check Categories
|
||||
and to set X-SuSE- prefix automagically
|
||||
* Wed Jul 30 2003 - adrian@suse.de
|
||||
- use $RPM_SOURCE_DIR
|
||||
* Mon Jul 28 2003 - adrian@suse.de
|
||||
- add --create and --install switches for %%suse_update_desktop_file
|
||||
* Thu Jul 24 2003 - adrian@suse.de
|
||||
- ignore desktop files with Hidden flag
|
||||
* Thu Jul 24 2003 - adrian@suse.de
|
||||
- initial package
|
||||
* provide suse_update_desktop_file.sh script for the
|
||||
%%suse_update_desktop_file rpm macro
|
||||
* a first po-file with translations
|
Loading…
Reference in New Issue
Block a user