13 changed files with 185 additions and 0 deletions
@ -0,0 +1,6 @@ |
|||
// automatically place or replace customized .desktop files each time a package is installed or is removed/purged or is updated |
|||
|
|||
DPkg |
|||
{ |
|||
Post-Invoke{"/usr/bin/custdtfiles.sh";}; |
|||
}; |
@ -0,0 +1,29 @@ |
|||
#!/bin/bash |
|||
|
|||
# installer has already created these dirs but hey |
|||
mkdir -p /usr/lib/custdesk/c |
|||
mkdir -p /usr/lib/custdesk/c/antix |
|||
|
|||
# this script is called via /etc/apt/apt.conf.d/99-cust-desktopfiles |
|||
# following any package install|upgrade|remove|purge operation |
|||
|
|||
|
|||
cust="/usr/lib/custdesk/c/" |
|||
dest="/usr/share/applications/" |
|||
cd /usr/lib/custdesk/c |
|||
for dafile in *.desktop; do |
|||
if [ -e $dest$dafile ] && ! cmp $dest$dafile $cust$dafile > /dev/null 2>&1; then |
|||
cp $cust$dafile $dest |
|||
fi |
|||
done |
|||
|
|||
cust="/usr/lib/custdesk/c/antix/" |
|||
dest="/usr/share/applications/antix/" |
|||
cd /usr/lib/custdesk/c/antix |
|||
for dafile in *.desktop; do |
|||
if [ -e $dest$dafile ] && ! cmp $dest$dafile $cust$dafile > /dev/null 2>&1; then |
|||
cp $cust$dafile $dest |
|||
fi |
|||
done |
|||
|
|||
exit 0 |
@ -0,0 +1,4 @@ |
|||
custdesk (1.0-1) unstable; urgency=medium |
|||
* Initial release |
|||
|
|||
-- iznit <inzitpartytime@protonmail.com> Sun, 15 May 2022 22:22:22 +0200 |
@ -0,0 +1 @@ |
|||
11 |
@ -0,0 +1,12 @@ |
|||
Source: custdesk |
|||
Section: unknown |
|||
Priority: optional |
|||
Maintainer: iznit <iznitpartytime@protonmail.com> |
|||
Build-Depends: debhelper (>=11) |
|||
Standards-Version: 3.9.8 |
|||
Homepage: https://gitlab.com/iznit2/custdesk |
|||
|
|||
Package: custdesk |
|||
Architecture: all |
|||
Depends: ${shlibs:Depends}, ${misc:Depends} |
|||
Description: provides custom .desktop files |
@ -0,0 +1,4 @@ |
|||
ushareapp/* /usr/lib/custdesk/c |
|||
ushareappantix/* /usr/lib/custdesk/c/antix |
|||
custdtfiles.sh /usr/bin |
|||
99-cust-desktopfiles /etc/apt/apt.conf.d |
@ -0,0 +1,22 @@ |
|||
#!/bin/bash |
|||
#postinst script for custdesk |
|||
|
|||
set -e |
|||
|
|||
case "$1" in |
|||
configure) |
|||
;; |
|||
|
|||
abort-upgrade|abort-remove|abort-deconfigure) |
|||
;; |
|||
|
|||
*) |
|||
echo "postinst script called with unknown argument \`$1'" >&2 |
|||
exit 1 |
|||
;; |
|||
esac |
|||
|
|||
# unavailable here during custdesk package remove|purge |
|||
# we need to forcibly call it once only, during INSTALL of custdesk package |
|||
[ -f /usr/bin/custdtfiles.sh ] && /usr/bin/custdtfiles.sh > /dev/null 2>&1 |
|||
exit 0 |
@ -0,0 +1,22 @@ |
|||
#!/bin/bash |
|||
#preinst script for custdesk |
|||
|
|||
set -e |
|||
|
|||
case "$1" in |
|||
install|upgrade) |
|||
# we will never remove these dirs even if unistalling custdesk package |
|||
mkdir -p /usr/lib/custdesk/c |
|||
mkdir -p /usr/lib/custdesk/c/antix |
|||
;; |
|||
|
|||
abort-upgrade) |
|||
;; |
|||
|
|||
*) |
|||
echo "preinst script called with unknown argument \`$1'" >&2 |
|||
exit 1 |
|||
;; |
|||
esac |
|||
|
|||
exit 0 |
@ -0,0 +1,4 @@ |
|||
#!/usr/bin/make -f |
|||
|
|||
%: |
|||
dh $@ |
@ -0,0 +1 @@ |
|||
3.0 (native) |
@ -0,0 +1,10 @@ |
|||
[Desktop Entry] |
|||
Name=#_Mirage_# |
|||
Comment=A fast GTK+ Image Viewer |
|||
Exec=mirage %f |
|||
Terminal=false |
|||
Type=Application |
|||
Icon=mirage |
|||
Keywords=Image;Viewer;Graphical; |
|||
Categories=GTK;Graphics;2DGraphics;Viewer; |
|||
MimeType=image/bmp;image/gif;image/jpeg;image/jpg;image/pjpeg;image/png;image/tiff;image/x-bmp;image/x-pcx;image/x-png;image/x-portable-anymap;image/x-portable-bitmap;image/x-portable-graymap;image/x-portable-pixmap;image/x-sun-raster;image/x-tga;image/x-xbitmap;image/x-xpixmap;image/svg+xml; |
@ -0,0 +1,10 @@ |
|||
[Desktop Entry] |
|||
Name=#_Pipenightdreams_# |
|||
GenericName=Pipe connecting game |
|||
Comment=Single player game with pipes |
|||
Exec=pipenightdreams |
|||
Icon=pipenightdreams |
|||
Terminal=false |
|||
Type=Application |
|||
Categories=Game;LogicGame; |
|||
Keywords=Game;LogicGame |
@ -0,0 +1,60 @@ |
|||
[Desktop Entry] |
|||
Encoding=UTF-8 |
|||
Name=#_PC Information_# |
|||
Name[am]=የ ኮምፒዩተር መረጃ |
|||
Name[bg]=PC информация |
|||
Name[ca]=Informació del PC |
|||
Name[da]=PC-information |
|||
Name[de]=PC Information |
|||
Name[el]=PC Information |
|||
Name[es]=Información del PC |
|||
Name[fil_PH]=Impormasyon ng PC |
|||
Name[fi]=PC-tiedot |
|||
Name[fr]=Informations du PC |
|||
Name[gl_ES]=información do PC |
|||
Name[hr]=PC informacije |
|||
Name[is]=Upplýsingar um tölvu |
|||
Name[it]=Informazioni sul PC |
|||
Name[ja]=PC の情報 |
|||
Name[lt]=Kompiuterio informacija |
|||
Name[nb]=PC-informasjon |
|||
Name[nl]=PC Informatie |
|||
Name[pl]=Informacje o komputerze |
|||
Name[pt]=Informação do computador |
|||
Name[pt_BR]=Informações do Computador |
|||
Name[sl]=Informacija o osebnem računalniku |
|||
Name[sv]=PC Information |
|||
Name[tr]=PC Bilgisi |
|||
Name[zh_TW]=電腦資訊 |
|||
Comment=Use inxi to show PC information |
|||
Comment[am]=ይጠቀሙ inxi የ ኮምፒዩተር መረጃ ለማየት |
|||
Comment[bg]=Използва inxi, за да покаже PC информация |
|||
Comment[ca]=Usa inxi per mostrar la informació del PC |
|||
Comment[da]=Brug inxi til at vise PC-information |
|||
Comment[de]=benutzt inxi zur Anzeige wichtiger Informationen über den PC |
|||
Comment[el]=Πληροφοριών PC μέσω inxi |
|||
Comment[es]=Utiliza inxi para mostrar información del PC |
|||
Comment[fil_PH]=Gamitin ang inxi para ilitaw ang impormasyon ng PC |
|||
Comment[fi]=Käytä käskyä inxi nähdäksesi PC:n tiedot |
|||
Comment[fr]=Utiliser inxi pour afficher les informations du PC |
|||
Comment[gl_ES]=usa o inxi para amosar a información do computador |
|||
Comment[hr]=Koristi inxi za prikaz PC informacija |
|||
Comment[is]=Use inxi to show PC information |
|||
Comment[it]=Utilizza inxi per avere informazioni sul PC |
|||
Comment[ja]=inxi を使ってPCの情報を表示 |
|||
Comment[lt]=Naudoti inxi, kad būtų parodyta kompiuterio informacija |
|||
Comment[nb]=Vis informasjon om PC-en med inxi |
|||
Comment[nl]=Gebruik inxi om PC informatie te laten zien |
|||
Comment[pl]=Skorzystaj z inxi, aby wyświetlić różne informacje o komputerze i sprzęcie |
|||
Comment[pt]=Usa o inxi para mostrar a informação do computador |
|||
Comment[pt_BR]=Usa o inxi para exibir informações do computador |
|||
Comment[sl]=Uporabite inxi za prikaz podatkov o osebnem računalniku. |
|||
Comment[sv]=Använd inxi för att visa PC information |
|||
Comment[tr]=PC bilgilerini göstermek için inxi kullan |
|||
Comment[zh_TW]=使用inxi顯示PC信息 |
|||
Exec=inxi-gui |
|||
Icon=info_blue |
|||
Terminal=false |
|||
Type=Application |
|||
Categories=System;antix-util; |
|||
NoDisplay=False |
Loading…
Reference in new issue