[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
wiki:user:kikinovak [2014/02/09 16:39 (UTC)] – kikinovak | wiki:user:kikinovak [2014/02/17 06:53 (UTC)] – kikinovak | ||
---|---|---|---|
Line 53: | Line 53: | ||
- | === Modifier un paquet officiel === | ||
- | L' | ||
- | Pour commencer, supprimer le paquet s'il est installé : | ||
- | < | ||
- | # removepkg audacious-plugins | ||
- | </ | ||
- | |||
- | Ensuite, créer un endroit pour ranger le code source : | ||
- | |||
- | < | ||
- | # cd / | ||
- | # mkdir audacious-plugins | ||
- | # cd audacious-plugins | ||
- | # links mirrors.slackware.com | ||
- | </ | ||
- | |||
- | Récupérer le contenu du répertoire '' | ||
- | |||
- | < | ||
- | # chmod +x audacious-plugins.SlackBuild | ||
- | # ls -lh | ||
- | total 1,4M | ||
- | -rw-r--r-- 1 root root 1,4M nov. 24 15:28 audacious-plugins-3.3.1.tar.xz | ||
- | -rwxr-xr-x 1 root root 4,0K nov. 24 15:28 audacious-plugins.SlackBuild* | ||
- | -rw-r--r-- 1 root root 892 nov. 24 15:28 slack-desc | ||
- | </ | ||
- | |||
- | Maintenant, éditer '' | ||
- | |||
- | < | ||
- | ... | ||
- | # Configure: | ||
- | CFLAGS=" | ||
- | CXXFLAGS=" | ||
- | ./configure \ | ||
- | --prefix=/ | ||
- | --libdir=/ | ||
- | --sysconfdir=/ | ||
- | --mandir=/ | ||
- | --enable-amidiplug \ | ||
- | --disable-gtkui \ -> ajouter cette option | ||
- | --program-prefix= \ | ||
- | --program-suffix= \ | ||
- | ${ARCHOPTS} \ | ||
- | --build=$ARCH-slackware-linux | ||
- | ... | ||
- | </ | ||
- | |||
- | Il ne reste plus qu'à construire et installer le paquet : | ||
- | |||
- | < | ||
- | # ./ | ||
- | ... | ||
- | Slackware package / | ||
- | # installpkg / | ||
- | </ | ||
- | |||
- | === Choisir les options de compilation === | ||
- | |||
- | Le script de configuration des sources (plus exactement la ligne à rallonge qui commence par '' | ||
- | |||
- | < | ||
- | ... | ||
- | # Configure: | ||
- | CFLAGS=" | ||
- | CXXFLAGS=" | ||
- | ./configure \ | ||
- | --prefix=/ | ||
- | --libdir=/ | ||
- | --sysconfdir=/ | ||
- | --mandir=/ | ||
- | --enable-amidiplug \ | ||
- | --program-prefix= \ | ||
- | --program-suffix= \ | ||
- | ${ARCHOPTS} \ | ||
- | --build=$ARCH-slackware-linux | ||
- | |||
- | exit 1 -> ajouter cette commande pour interrompre le script | ||
- | |||
- | # Build and install: | ||
- | make $NUMJOBS || make || exit 1 | ||
- | make install DESTDIR=$PKG || exit 1 | ||
- | ... | ||
- | </ | ||
- | |||
- | Lancer le script, qui affichera un résumé de la configuration au bout de | ||
- | quelques secondes : | ||
- | |||
- | < | ||
- | # ./ | ||
- | ... | ||
- | Configuration: | ||
- | | ||
- | ... | ||
- | |||
- | Interfaces | ||
- | ---------- | ||
- | GTK (gtkui): | ||
- | Winamp Classic (skins): | ||
- | </ | ||
- | |||
- | Les options de configuration sont toutes fournies par le code source lui-même : | ||
- | |||
- | < | ||
- | # tar xvf audacious-plugins-3.3.1.tar.xz | ||
- | # cd audacious-plugins-3.3.1 | ||
- | # ./configure --help | less | ||
- | ... | ||
- | --disable-speedpitch | ||
- | --disable-gtkui | ||
- | --disable-skins | ||
- | --disable-lyricwiki | ||
- | ... | ||
- | </ | ||
- | |||
- | <note tip>Le script se charge déjà de décompresser les sources automatiquement dans ''/ | ||
- | |||
- | < | ||
- | |||
- | Une fois qu'on a choisi toutes les options de configuration, | ||
- | |||
- | < | ||
- | # ./ | ||
- | ... | ||
- | Slackware package / | ||
- | # installpkg / | ||
- | </ | ||
==== Compiler des paquets tiers ==== | ==== Compiler des paquets tiers ==== |