Browse Source

export de gdebi-fixdesk + appel de gdebi-fixdesk lors du build

pull/82/head
arpinux 2 years ago
parent
commit
4c06ae579d
  1. 22
      DFbuild.sh
  2. 22
      src-deb/gdebi-fixdesk/copyright
  3. 18
      src-deb/gdebi-fixdesk/gdebi-fixdesk.equivs
  4. 17
      src-deb/gdebi-fixdesk/gdebi.desktop
  5. 8
      src-deb/gdebi-fixdesk/postinst
  6. 8
      src-deb/gdebi-fixdesk/prerm

22
DFbuild.sh

@ -36,26 +36,27 @@ echo "INFO: building DFiso-${VERSION}-${ARCH}"
mkdir -p config/packages
## construction des paquets debian
mkdir -p src-deb
cd src-deb/
# gdebi-fixdesk
echo ""
echo "INFOS : construction du gdebi-fixdesk.deb"
cd src-deb/gdebi-fixdesk/
git clone --branch master --depth 1 https://debian-facile.org/git/ProjetsDF/gdebi-fixdesk.git
cd gdebi-fixdesk/
equivs-build gdebi-fixdesk.equivs
mv *.deb ../../config/packages/
cd ../../
cd ../
# handymenu
echo ""
echo "INFOS : construction du handymenu.deb"
cd src-deb/
git clone --branch master --depth 1 https://debian-facile.org/git/ProjetsDF/handymenu.git
cd handymenu/
equivs-build handymenu.equivs
mv *.deb ../../config/packages/
cd ../../
cd ../
# df-manuel
echo ""
echo "récupération des sources pour doc-dfiso-buster"
cd src-deb/
echo "INFOS : récupération des sources pour doc-dfiso-buster"
git clone --branch master --depth 1 https://debian-facile.org/git/ProjetsDF/doc-dfiso-buster.git
cd doc-dfiso-buster/docs/
./mkpdf
@ -63,13 +64,14 @@ cd ../debian/
./mkdeb
cd ../
mv *.deb ../../config/packages/
cd ../
rm -Rf doc-dfiso-buster/
cd ../
cd ../../
echo ""
echo "INFOS : nettoyage du dossier de construction des deb's"
rm -Rf src-deb/
# import des cahiers du débutant
# pensez à vérifier la version sur le serveur pour ajuster la commande
echo ""
echo "INFOS : récupération des cahiers du débutant"
cd config/packages/
wget -q -c https://debian-facile.org/projets/lescahiersdudebutant/download/lescahiersdudebutant_10.5-2_all.deb
cd ../../

22
src-deb/gdebi-fixdesk/copyright

@ -1,22 +0,0 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: gdebi-fixdesk
Files: *
Copyright:
2020 arnault perret <contact@arpinux.org>
2020 Fabien Givors <f+debian@chezlefab.net>
2020 association debian-facile <contact@debian-facile.org>
License: WTFPLv2
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2004 Sam Hocevar <sam@hocevar.net>
.
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING,
DISTRIBUTION AND MODIFICATION
.
0. You just DO WHAT THE FUCK YOU WANT TO.

18
src-deb/gdebi-fixdesk/gdebi-fixdesk.equivs

@ -1,18 +0,0 @@
Section: misc
Priority: optional
Homepage: https://debian-facile.org
Standards-Version: 3.9.2
Package: gdebi-fixdesk
Version: 1.0
Copyright: copyright
Maintainer: arnault perret <contact@arpinux.org>
Depends: gdebi
Architecture: all
Files: gdebi.desktop /usr/share/gdebi-fixdesk/
Postinst: postinst
Prerm: prerm
Description: Correcteur de lanceur gdebi-gtk
Paquet de transition pour corriger le lanceur
gdebi installé par défaut.
.

17
src-deb/gdebi-fixdesk/gdebi.desktop

@ -1,17 +0,0 @@
[Desktop Entry]
Name=GDebi Package Installer
Name[fr]=Installateur de paquets GDebi
GenericName=Package Installer
GenericName[fr]=Installateur de paquets
Comment=Install and view software packages
Comment[fr]=Installer et lister les paquets logiciels
Exec=sh -c "gdebi-gtk %f"
Icon=gnome-mime-application-x-deb
Terminal=false
Type=Application
Categories=System;
MimeType=application/vnd.debian.binary-package;
NotShowIn=KDE;
X-Ubuntu-Gettext-Domain=gdebi
StartupNotify=true
Keywords=package;apt;dpkg;install

8
src-deb/gdebi-fixdesk/postinst

@ -1,8 +0,0 @@
#!/bin/sh
mkdir -p /usr/local/share/applications/
if [ ! -e /usr/local/share/applications/gdebi.desktop ]
then
ln -s /usr/share/gdebi-fixdesk/gdebi.desktop /usr/local/share/applications/
fi

8
src-deb/gdebi-fixdesk/prerm

@ -1,8 +0,0 @@
#!/bin/sh
if [ -h /usr/local/share/applications/gedebi.desktop ]
then
rm -f /usr/local/share/applications/gedebi.desktop
fi
rmdir --ignore-fail-on-non-empty /usr/local/share/applications/
Loading…
Cancel
Save