mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-23 18:14:51 +08:00
chakra-common: remove deprecated
- copy-path.desktop: remove as not used. - root-action: removed as not supported anymore - homepage: edit url - forum: switch to discourse page
This commit is contained in:
parent
4c1c43c2cb
commit
cdaae61d8e
@ -5,7 +5,7 @@ Comment[da]=Chakra fora
|
||||
Comment[it]=Forum di Chakra
|
||||
Comment[nl]=Chakra forums
|
||||
Comment[ja]=Chakraフォーラム
|
||||
Exec=xdg-open https://www.chakralinux.org/forum/
|
||||
Exec=xdg-open https://community.chakralinux.org/
|
||||
Icon=system-users
|
||||
Name=Forums
|
||||
Name[da]=Fora
|
||||
|
@ -6,7 +6,7 @@ Comment[da]=Chakra webside
|
||||
Comment[it]=Homepage di Chakra
|
||||
Comment[nl]=Homepage van Chakra
|
||||
Comment[ja]=Chakraのホームページ
|
||||
Exec=xdg-open https://www.chakralinux.org
|
||||
Exec=xdg-open https://chakralinux.org
|
||||
GenericName[ca]=
|
||||
GenericName=
|
||||
Icon=chakra-shield
|
||||
|
@ -4,24 +4,18 @@ source ../kdeapps.conf
|
||||
pkgname=chakra-common
|
||||
arch=('x86_64')
|
||||
pkgver=${_kdever}
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="Common configuration files, scripts and artwork"
|
||||
url="http://www.chakralinux.org"
|
||||
url="http://chakralinux.org"
|
||||
license=('GPL' 'BSD')
|
||||
options=('!debug' 'strip')
|
||||
groups=("kde" "kde-minimal" "kde-uninstall")
|
||||
depends=("qt5-base"
|
||||
'pinentry'
|
||||
'openssh'
|
||||
'bash>=4.2'
|
||||
'glibc>=2.15'
|
||||
'python3' 'python3-jinja' 'python3-pyelftools' 'python3-tqdm')
|
||||
install=chakra-common.install
|
||||
source=('https://dl.opendesktop.org/api/files/download/id/1485341541/rootactions_servicemenu_2.9.1.tar.gz'
|
||||
'servicemenu-copy-path.desktop'
|
||||
#'http://www.kde-apps.org/CONTENT/content-files/102825-compressattach.desktop.bz2'
|
||||
'servicemenu-rootactions.patch'
|
||||
'Chakra-Bugs.desktop'
|
||||
source=('Chakra-Bugs.desktop'
|
||||
'Chakra-ChangeLog.desktop'
|
||||
'Chakra-Code.desktop'
|
||||
'Chakra-Documentation.desktop'
|
||||
@ -42,18 +36,13 @@ source=('https://dl.opendesktop.org/api/files/download/id/1485341541/rootactions
|
||||
'chakra-helper.sh'
|
||||
'kde4.sh'
|
||||
'chakra-check-links.py::https://raw.githubusercontent.com/Inkane/listMissingLibs/master/list_missing_libs.py')
|
||||
# skipping chakra-paste because gitorious has issues with wget
|
||||
# 'https://gitorious.org/chakra-paste/chakra-paste/archive/05f0a884a4de1460309ee95d678eb034c4c964b5.tar.gz'
|
||||
sha256sums=('8c02e552d6d18246235e3141eebd02b125fad15717660dfa231b629a14837f65'
|
||||
'92c69474167e6f8e7bac8e95c90702ac20aa95add759a55e7bb8453d52f46e40'
|
||||
'ba4b1f429bd6900f6989df6e50b69fea38110ccb4a304a903de6e291d0af8b74'
|
||||
'd87b802cb60705439b0e43517837a4e71dc882a4ce9863f762fa9bf6112433cb'
|
||||
sha256sums=('d87b802cb60705439b0e43517837a4e71dc882a4ce9863f762fa9bf6112433cb'
|
||||
'8dc16af56320b0e95c105453bd625319edbdf066ab1c8435ed8eaea606d601d0'
|
||||
'15d1e26bc76535efcc9abd536f5c1b75aaacf5d92b13e035b17a0ebb96aef5ab'
|
||||
'c1574b4e9b3649db9063ccc8ed71d88c89603b4e2594934d43d726b02b477ef8'
|
||||
'23e22cbbd1d7a6630717a1e06698b0735e780189af780292de9d7d5bfa0a0faa'
|
||||
'75c4fe63a05b1c4820072e1ac591970d0649018489e870ab9157fb29b24d1c2f'
|
||||
'1ba63dbaf15e0becdc2ce745f0253f8422f1873467b83681356cf18d102818f0'
|
||||
'9bdc5320ed9efdf3dbbd6c3f81058bc725e34c4eeaafba252896bcb61300e8ad'
|
||||
'e9d138eadbf35808f0253e16c2f6d5d672d662937f70618e109f8a58b92e2f98'
|
||||
'cf6be6c5dd059021b140f97f82be4ed33e887aa8b588b5d4adb0b035d05a90a6'
|
||||
'18c53e91e5ff32754e0a71d208bff62f5f6880e68a86699e734b28d5e2387aab'
|
||||
'7e947d88d6c5464b5e11770d597af11bcfb01283bc9bed2bea15fcb3dbb90e33'
|
||||
@ -88,13 +77,6 @@ package() {
|
||||
# Install config file for updates
|
||||
install -D -m755 -o root -g root ${srcdir}/updates.conf ${pkgdir}/etc/chakra/updates.conf
|
||||
|
||||
# Install root actions
|
||||
cd ${srcdir}/rootactions_servicemenu_2.9.1/Root_Actions_2.9.1/
|
||||
install -dm755 ${pkgdir}/usr/share/kservices5/ServiceMenus/
|
||||
install -Dm755 dolphin-KDE4/*.desktop ${pkgdir}/usr/share/kservices5/ServiceMenus/
|
||||
install -Dm644 krusader-KDE4/krusader_rootactions.xml "$pkgdir"/usr/share/apps/krusader/krusader_rootactions.xml
|
||||
install -Dm755 rootactions-servicemenu.pl "$pkgdir"/usr/bin/rootactions-servicemenu.pl
|
||||
|
||||
# Install Chakra icons
|
||||
cd ${srcdir}/chakra-icons/
|
||||
mkdir -p ${pkgdir}/usr/share/icons/hicolor/scalable/apps/
|
||||
|
@ -1,44 +0,0 @@
|
||||
# Version 0.1.1
|
||||
#
|
||||
[Desktop Entry]
|
||||
X-SuSE-translate=true
|
||||
X-KDE-ServiceTypes=KonqPopupMenu/Plugin
|
||||
ServiceTypes=all/allfiles
|
||||
Actions=wholePath;attachMail;
|
||||
Type=Service
|
||||
X-KDE-Submenu=Copy Path
|
||||
X-KDE-Submenu[ca]=Copia el camí
|
||||
X-KDE-Submenu[da]=Kopiér stien
|
||||
X-KDE-Submenu[de]=Pfad kopieren
|
||||
X-KDE-Submenu[el]=Αντιγραφή Διαδρομής
|
||||
X-KDE-Submenu[es]=Copiar ruta
|
||||
X-KDE-Submenu[fr]=Copie de chemin
|
||||
X-KDE-Submenu[it]=Copia Percorso
|
||||
X-KDE-Submenu[ja]=パスをコピー
|
||||
|
||||
[Desktop Action wholePath]
|
||||
Name=copy whole path
|
||||
Name[ca]=Copia el camí sencer
|
||||
Name[da]=kopiér hele stien
|
||||
Name[de]=kopiere Pfad
|
||||
Name[el]=Αντιγραφή Ολόκληρης Διαδρομής
|
||||
Name[es]=Copiar ruta completa
|
||||
Name[fr]=copier le chemin complet
|
||||
Name[it]=copia l'intero percorso
|
||||
Name[ja]=フルパスをコピー
|
||||
Icon=klipper
|
||||
Exec=qdbus org.kde.klipper /klipper setClipboardContents %U
|
||||
|
||||
[Desktop Action attachMail]
|
||||
Name=attach to kmail
|
||||
Name[ca]=Adjunta al kmail
|
||||
Name[da]=vedhæft til kmail
|
||||
Name[de]=kmail Anhang
|
||||
Name[el]=Επισύναψη στο Kmail
|
||||
Name[es]=Adjuntar en kmail
|
||||
Name[fr]=envoyer avec kmail
|
||||
Name[it]=allega a kmail
|
||||
Name[sv]=Bifoga till KMail
|
||||
Name[ja]=kmailに添付
|
||||
Icon=internet-mail
|
||||
Exec=kmail --attach %U
|
@ -1,128 +0,0 @@
|
||||
--- rootactions_servicemenu_2.4.10/Root_Actions_2.4.10/rootactions-servicemenu.pl.orig 2010-12-15 20:51:48.296667211 -0500
|
||||
+++ rootactions_servicemenu_2.4.10/Root_Actions_2.4.10/rootactions-servicemenu.pl 2010-12-15 21:37:27.893333878 -0500
|
||||
@@ -815,9 +815,8 @@
|
||||
if ( exists $ENV{KDEDIR} ) {
|
||||
$KDEBINPATH = "$ENV{KDEDIR}/bin/";
|
||||
}
|
||||
-
|
||||
else {
|
||||
- $KDEBINPATH = "";
|
||||
+ $KDEBINPATH = "/usr/bin/";
|
||||
}
|
||||
|
||||
}
|
||||
@@ -850,7 +849,7 @@
|
||||
sub root_konsole_here {
|
||||
$APPNAME = shift @ARGV ;
|
||||
$WORKDIR = shift @ARGV ;
|
||||
- exec "$SUCOMMAND \"\'$EXECNAME\' do_root_konsole \'$APPNAME\' \'$WORKDIR\'\"";
|
||||
+ exec "$SUCOMMAND \"$EXECNAME\" do_root_konsole \"$APPNAME\" \"$WORKDIR\"";
|
||||
exit $?;
|
||||
}
|
||||
|
||||
@@ -881,7 +880,7 @@
|
||||
$APPNAME = `$DIALOGCOMMAND --title "$OPENTITLE" --inputbox "$OPENMSG" program` ;
|
||||
if ( $? eq 0 ) {
|
||||
chomp $APPNAME ;
|
||||
- exec "$SUCOMMAND \"\'$EXECNAME\' do_open_with \'$APPNAME\' \'$TARGET\'\"";
|
||||
+ exec "$SUCOMMAND \"$EXECNAME\" do_open_with \"$APPNAME\" \"$TARGET\"";
|
||||
exit $?;
|
||||
}
|
||||
}
|
||||
@@ -896,7 +895,7 @@
|
||||
$APPNAME = "kwrite"; }
|
||||
}
|
||||
|
||||
- exec "$SUCOMMAND \"\'$EXECNAME\' do_open_with \'$APPNAME\' \'$TARGET\'\"";
|
||||
+ exec "$SUCOMMAND \"$EXECNAME\" do_open_with \"$APPNAME\" \"$TARGET\"";
|
||||
exit $?;
|
||||
}
|
||||
|
||||
@@ -907,7 +906,7 @@
|
||||
&root_reminder_msgs;
|
||||
#Which program? (first argument)
|
||||
$APPNAME = shift @ARGV ;
|
||||
-
|
||||
+
|
||||
if ( -x $KDEBINPATH.$APPNAME ) {
|
||||
$CPROGRAM = $KDEBINPATH.$APPNAME ; }
|
||||
else {
|
||||
@@ -928,10 +927,10 @@
|
||||
|
||||
©_dialog_msgs;
|
||||
$OLDNAME = $ARGV[0];
|
||||
- $NEWNAME = `$DIALOGCOMMAND --title "$COPYTITLE" --inputbox "$COPYMSG" \'$OLDNAME\'` ;
|
||||
+ $NEWNAME = `$DIALOGCOMMAND --title "$COPYTITLE" --inputbox "$COPYMSG" \"$OLDNAME\"` ;
|
||||
chop $NEWNAME;
|
||||
if ( $? eq 0 && $OLDNAME ne $NEWNAME ) {
|
||||
- exec "$SUCOMMAND \"\'$EXECNAME\' do_copy \'$OLDNAME\' \'$NEWNAME\'\"";
|
||||
+ exec "$SUCOMMAND \"$EXECNAME\" do_copy \"$OLDNAME\" \"$NEWNAME\"";
|
||||
exit $?;
|
||||
|
||||
}
|
||||
@@ -955,17 +954,17 @@
|
||||
$TARGET = join("' '", @ARGV) ;
|
||||
chomp($RENAMERPATH = `which $BATCHRENAMER`);
|
||||
if ( $#ARGV > 0 && -x $RENAMERPATH ) {
|
||||
- exec "$SUCOMMAND \"\'$EXECNAME\' do_open_with \'$BATCHRENAMER\' \'$TARGET\'\"";
|
||||
+ exec "$SUCOMMAND \"$EXECNAME\" do_open_with \"$BATCHRENAMER\" \"$TARGET\"";
|
||||
exit $?;
|
||||
}
|
||||
# else we'll use a simple rename script
|
||||
else {
|
||||
&rename_dialog_msgs;
|
||||
$OLDNAME = $ARGV[0];
|
||||
- $NEWNAME = `$DIALOGCOMMAND --title "$RENAMETITLE" --inputbox "$RENAMEMSG" \'$OLDNAME\'` ;
|
||||
+ $NEWNAME = `$DIALOGCOMMAND --title "$RENAMETITLE" --inputbox "$RENAMEMSG" \"$OLDNAME\"` ;
|
||||
chop $NEWNAME;
|
||||
if ( $? eq 0 && $OLDNAME ne $NEWNAME ) {
|
||||
- exec "$SUCOMMAND \"\'$EXECNAME\' do_rename \'$OLDNAME\' \'$NEWNAME\'\"";
|
||||
+ exec "$SUCOMMAND \"$EXECNAME\" do_rename \"$OLDNAME\" \"$NEWNAME\"";
|
||||
exit $?;
|
||||
}
|
||||
}
|
||||
@@ -996,7 +995,7 @@
|
||||
# kdesu will run the command as regular user if 'Ignore' is chosen from kdesu dialog.
|
||||
# To prevent unwanted deletion of files, we'll run 'do_delete' instead of 'rm -r', 'do delete'
|
||||
# will exit if it's run as normal user, therefore the files writable for user are safe when clicking 'Ignore'
|
||||
- exec "$SUCOMMAND \"\'$EXECNAME\' do_delete \'$TARGET\'\"";
|
||||
+ exec "$SUCOMMAND \"$EXECNAME\" do_delete \"$TARGET\"";
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1024,7 +1023,7 @@
|
||||
}
|
||||
|
||||
# Same as with delete, we don't want kdesu to run 'chown' when 'Ignore' is pressed in the kdesu dialog, so we use 'do_ownership' instead
|
||||
- exec "$SUCOMMAND \"\'$EXECNAME\' do_ownership \'$RECURSIVE\' 0:0 \'$TARGET\'\"";
|
||||
+ exec "$SUCOMMAND \"$EXECNAME\" do_ownership \"$RECURSIVE\" 0:0 \"$TARGET\"";
|
||||
exit $?;
|
||||
}
|
||||
|
||||
@@ -1042,7 +1041,7 @@
|
||||
|
||||
#Create a list of user GIDs, so we can pick only the primary group
|
||||
@GROUPS = split ' ', $);
|
||||
- exec "$SUCOMMAND \"\'$EXECNAME\' do_ownership \'$RECURSIVE\' $>:$GROUPS[0] \'$TARGET\'\"";
|
||||
+ exec "$SUCOMMAND \"$EXECNAME\" do_ownership \"$RECURSIVE\" $>:$GROUPS[0] \"$TARGET\"";
|
||||
exit $?;
|
||||
}
|
||||
|
||||
@@ -1063,7 +1062,7 @@
|
||||
|
||||
if ( $? eq 0 ) {
|
||||
chop $UIDGID;
|
||||
- exec "$SUCOMMAND \"\'$EXECNAME\' do_ownership \'$RECURSIVE\' \'$UIDGID\' \'$TARGET\'\"";
|
||||
+ exec "$SUCOMMAND \"$EXECNAME\" do_ownership \"$RECURSIVE\" \"$UIDGID\" \"$TARGET\"";
|
||||
exit $?;
|
||||
}
|
||||
}
|
||||
@@ -1178,7 +1177,7 @@
|
||||
system "$DIALOGCOMMAND --title \'$SPCTITLE\' --warningcontinuecancel \'$SPCMSG\'";
|
||||
}
|
||||
if ( $? eq 0 ) {
|
||||
- exec "$SUCOMMAND \"\'$EXECNAME\' do_permissions \'$RECURSIVE\' \'$CHMOD\' \'$TARGET\'\"";
|
||||
+ exec "$SUCOMMAND \"$EXECNAME\" do_permissions \"$RECURSIVE\" \"$CHMOD\" \"$TARGET\"";
|
||||
exit $?;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user