Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • francesco-bariatti/pingouins
  • Samuel.Felton/pingouins
  • Lucas.Clement/pingouins
3 results
Show changes
Showing
with 0 additions and 2234 deletions
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% STYLE POUR LES EXPOSÉS TECHNIQUES
% 3e année INSA de Rennes
%
% NE PAS MODIFIER
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage[dvips]{graphicx}
\usepackage[T1]{fontenc}
%\usepackage[latin1]{inputenc}
\usepackage[french]{babel}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Dimensions du document :
\setlength{\voffset} {-0.54cm}
\setlength{\hoffset} {-0,04cm}
\setlength{\textwidth} {14cm}
\setlength{\textheight} {24cm}
\setlength{\oddsidemargin} {1cm}
\setlength{\evensidemargin} {1cm}
\setlength{\marginparsep} {0cm}
\setlength{\marginparwidth} {0cm}
\setlength{\topmargin} {0cm}
\setlength{\headheight} {0,45cm}
\setlength{\headsep} {0,57cm}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Commande simplifiant l'inclusion de figures :
%------------------------------------------------------------------------------
% \FigureEPS{h,t,b,p}{largeur}{nom_fichier}{titre}{nom_symbolique}
%------------------------------------------------------------------------------
\newcommand{\FigureEPS}[5] {
\begin{figure}[#1]
$$ %pour centrer
\includegraphics[width=#2]{#3}
$$
\caption{#4}
\label{#5}
\end{figure}
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Style du document :
\pagestyle{myheadings}
\bibliographystyle{plain-fr}
\setcounter{tocdepth}{3} % Niveau jusqu'où numéroter les titres (table des mat)
\setcounter{secnumdepth}{3}% Niveau jusqu'où numéroter les titres (dans texte)
\sloppy % Baisse le taux des césures
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
How to contribute to Latexila
==========================
This document is designed for the beginners who want to start to contribute to a Gnome software. Latexila will be taken as an example, but this document can help for many other software from the **Gnome Project**, especially thoses who use `jhbuild`.
Why this document ?
-------------------
We are a small team (3 people) at INSA Rennes, a french engineering school, who happened to work on Latexila.
We were not satisfied with the current documentation provided by the Gnome project, which is well documented but provides no real gothrought.
Goal
----
The goal of this document is to provide a walkthrought as complete as possible of the setup of a Latexila devlopper environement.
We choose Fedora as a starting point because it's the Linux distribution providing the broader support for the Gnome environement.
> The setup (download + first build) take something like 2h, but it's largely waiting time.
Resources
----------
* [The Gnome project website for devloppers](https://developer.gnome.org/)
* [Latexila's page at GNOME.org](https://wiki.gnome.org/Apps/LaTeXila)
* [Jhbuild HOWTO](https://wiki.gnome.org/HowDoI/Jhbuild)
Prerequired
-----------
### Computer
We assume that you have at you disposal a fresh or not-so-broken install of Fedora (21 preferred), and a resonable disk space remaining (more than 10GB). We assume that you have administrator's privileges too.
> The testing was done on a fresh install of Fedora 21 Workstation (64bit) up-to-date as of 18 march 2015
> LaTeXiLa's version is latest
### Human
We assume that you are not afraid of the command line.
You can copy/paste commands in most terminals using 'Ctrl'+'Shift'+'C' and 'Ctrl'+'Shift'+'V'.
The basics
----------
1. Install needed packets (hand picked)
```BASH
sudo yum install git gcc gnome-common gtk3-devel vala gcc-c++ xorg-x11-util-macros mesa-libwayland-egl gtkspell3-devel intltool gtksourceview-devel gobject-introspection-devel lcov
```
Or even if you don't care... #bruteforce
```BASH
sudo yum groupinstall development-libs development-tools gnome-software-development
```
Install Jhbuild
---------------
Inspired from [Jhbuild HOWTO](https://wiki.gnome.org/HowDoI/Jhbuild).
1. Make a shadow clone of the repo
```BASH
git clone --depth=1 git://git.gnome.org/jhbuild
```
2. Install it _no root needed_
```BASH
./autogen.sh --simple-install
make
make install
```
Now you can call `jhbuild` from the command line !
Install latexila using jhbuild
------------------------------
1. Get a config file sample at [swilmet's page](https://people.gnome.org/~swilmet/latexila/jhbuildrc).
2. Put it in ```/home/<user>/.config/jhbuildrc```
3. Either change the place prefix to something different or make sure of access rights for the current user.
> If you don't edit your config, the repositories will be put at ```/home/<user>/<repo>``` and files will be compiled to ```/opt```
4. Get all the dependencies from the git repositories.
This can take a very~ long~ time~ if you have a laptop and a not-so-good internet conection, because some of the repositories are big, like `Glib` or `GTK3`.
> Average time is half an hour on a desktop computer with fiber internet access
```BASH
jhbuild update latexila
```
> If you have an error, just try the choices you are given, one by one and, if needed, hunt the needed packages using `yum search`.
Build Latexila
--------------
1. Install (or check) system dependencies
```BASH
jhbuild sysdeps --install
```
> Jhbuild will ask for root access during the process
2. Building vala
```BASH
jhbuild update vala
jhbuild build vala
```
3. Building the software and all his dependencies
```BASH
jhbuild build latexila
```
> The first build can take up to an hour or even two, depending on how powerfull you workstation is.
> Take a coffe !
4. Building only latexila
If you want to build only latexila, you can do so by using
```BASH
jhbuild buildone latexila
```
This will build the current `master` version.
5. Custom build for testing
```BASH
# into [...]/latexila
jhbuild make
```
Run Latexila
------------
Juste type
```BASH
jhbuild run latexila
```
> You can have a _distribution_ version of latexila by running the usual ```sudo yum install latexila```
\relax
\providecommand\hyper@newdestlabel[2]{}
\bibstyle{plain-fr}
\providecommand\HyperFirstAtBeginDocument{\AtBeginDocument}
\HyperFirstAtBeginDocument{\ifx\hyper@anchor\@undefined
\global\let\oldcontentsline\contentsline
\gdef\contentsline#1#2#3#4{\oldcontentsline{#1}{#2}{#3}}
\global\let\oldnewlabel\newlabel
\gdef\newlabel#1#2{\newlabelxx{#1}#2}
\gdef\newlabelxx#1#2#3#4#5#6{\oldnewlabel{#1}{{#2}{#3}}}
\AtEndDocument{\ifx\hyper@anchor\@undefined
\let\contentsline\oldcontentsline
\let\newlabel\oldnewlabel
\fi}
\fi}
\global\let\hyper@last\relax
\gdef\HyperFirstAtBeginDocument#1{#1}
\providecommand\HyField@AuxAddToFields[1]{}
\providecommand\HyField@AuxAddToCoFields[2]{}
\@input{./lst_config.aux}
\@writefile{toc}{\contentsline {chapter}{\numberline {1}Introduction}{2}{chapter.1}}
\@writefile{lof}{\addvspace {10\p@ }}
\@writefile{lot}{\addvspace {10\p@ }}
\newlabel{cha:Introduction}{{1}{2}{Introduction}{chapter.1}{}}
\@writefile{toc}{\contentsline {section}{\numberline {1.1}Latexila}{2}{section.1.1}}
\newlabel{sec:latexila}{{1.1}{2}{Latexila}{section.1.1}{}}
\@writefile{toc}{\contentsline {chapter}{\numberline {2}\IeC {\'E}tude pratique}{3}{chapter.2}}
\@writefile{lof}{\addvspace {10\p@ }}
\@writefile{lot}{\addvspace {10\p@ }}
\newlabel{cha:etude_pratique}{{2}{3}{Étude pratique}{chapter.2}{}}
\@writefile{toc}{\contentsline {section}{\numberline {2.1}T\IeC {\^a}che \IeC {\`a} r\IeC {\'e}aliser}{3}{section.2.1}}
\newlabel{sec:tache_a_realiser}{{2.1}{3}{Tâche à réaliser}{section.2.1}{}}
\@writefile{toc}{\contentsline {subsection}{\numberline {2.1.1}La compl\IeC {\'e}tion dans LaTeXila 2.2}{3}{subsection.2.1.1}}
\newlabel{sub:completion}{{2.1.1}{3}{La complétion dans LaTeXila 2.2}{subsection.2.1.1}{}}
\@writefile{toc}{\contentsline {subsection}{\numberline {2.1.2}Une compl\IeC {\'e}tion dynamique}{3}{subsection.2.1.2}}
\newlabel{sub:completion_dyn}{{2.1.2}{3}{Une complétion dynamique}{subsection.2.1.2}{}}
\@input{./draw/doc_opening.aux}
\@input{./draw/uml_completion_structure.aux}
\@writefile{toc}{\contentsline {chapter}{\numberline {3}R\IeC {\'e}alisation}{4}{chapter.3}}
\@writefile{lof}{\addvspace {10\p@ }}
\@writefile{lot}{\addvspace {10\p@ }}
\@writefile{toc}{\contentsline {section}{\numberline {3.1}Int\IeC {\'e}gration d'une recherche au document courant}{4}{section.3.1}}
\providecommand*\caption@xref[2]{\@setref\relax\@undefined{#1}}
\newlabel{fig:doc_opening}{{\caption@xref {fig:doc_opening}{ on input line 94}}{4}{Intégration d'une recherche au document courant}{figure.caption.2}{}}
\@writefile{lof}{\contentsline {figure}{\numberline {3.1}{\ignorespaces Diagramme de s\IeC {\'e}quence d'une analyse de document\relax }}{4}{figure.caption.2}}
\@writefile{toc}{\contentsline {subsection}{\numberline {3.1.1}Invite de compl\IeC {\'e}tion}{4}{subsection.3.1.1}}
\@input{./draw/filtering_completion.aux}
\newlabel{fig:uml_completion_structure}{{\caption@xref {fig:uml_completion_structure}{ on input line 103}}{5}{Invite de complétion}{figure.caption.3}{}}
\@writefile{lof}{\contentsline {figure}{\numberline {3.2}{\ignorespaces Le diagramme UML de la structure de compl\IeC {\'e}tion.\relax }}{5}{figure.caption.3}}
\@writefile{toc}{\contentsline {section}{\numberline {3.2}Int\IeC {\'e}gration d'une recherche \IeC {\`a} plusieurs documents}{5}{section.3.2}}
\@input{./draw/multiple_doc_completion.aux}
\newlabel{fig:filtering_completion}{{\caption@xref {fig:filtering_completion}{ on input line 125}}{6}{Intégration d'une recherche à plusieurs documents}{figure.caption.4}{}}
\@writefile{lof}{\contentsline {figure}{\numberline {3.3}{\ignorespaces Diagramme de s\IeC {\'e}quence d'une demande de compl\IeC {\'e}tion.\relax }}{6}{figure.caption.4}}
\@writefile{toc}{\contentsline {section}{\numberline {3.3}Int\IeC {\'e}gration des fichiers non-ouverts}{6}{section.3.3}}
\newlabel{fig:multiple_doc_completion}{{\caption@xref {fig:multiple_doc_completion}{ on input line 149}}{7}{Intégration des fichiers non-ouverts}{figure.caption.5}{}}
\@writefile{lof}{\contentsline {figure}{\numberline {3.4}{\ignorespaces Diagramme de s\IeC {\'e}quence d'analyse en arri\IeC {\`e}re plan.\relax }}{7}{figure.caption.5}}
\@writefile{toc}{\contentsline {section}{\numberline {3.4}Gestion de projet}{7}{section.3.4}}
\@writefile{toc}{\contentsline {subsection}{\numberline {3.4.1}Git}{7}{subsection.3.4.1}}
\newlabel{sub:git}{{3.4.1}{7}{Git}{subsection.3.4.1}{}}
\@writefile{toc}{\contentsline {chapter}{\numberline {4}Conclusion}{8}{chapter.4}}
\@writefile{lof}{\addvspace {10\p@ }}
\@writefile{lot}{\addvspace {10\p@ }}
\newlabel{sec:remerciements}{{4}{8}{}{chapter.4}{}}
\BOOKMARK [0][-]{chapter.1}{Introduction}{}% 1
\BOOKMARK [1][-]{section.1.1}{Latexila}{chapter.1}% 2
\BOOKMARK [0][-]{chapter.2}{\311tude pratique}{}% 3
\BOOKMARK [1][-]{section.2.1}{T\342che \340 r\351aliser}{chapter.2}% 4
\BOOKMARK [2][-]{subsection.2.1.1}{La compl\351tion dans LaTeXila 2.2}{section.2.1}% 5
\BOOKMARK [2][-]{subsection.2.1.2}{Une compl\351tion dynamique}{section.2.1}% 6
\BOOKMARK [0][-]{chapter.3}{R\351alisation}{}% 7
\BOOKMARK [1][-]{section.3.1}{Int\351gration d'une recherche au document courant}{chapter.3}% 8
\BOOKMARK [2][-]{subsection.3.1.1}{Invite de compl\351tion}{section.3.1}% 9
\BOOKMARK [1][-]{section.3.2}{Int\351gration d'une recherche \340 plusieurs documents}{chapter.3}% 10
\BOOKMARK [1][-]{section.3.3}{Int\351gration des fichiers non-ouverts}{chapter.3}% 11
\BOOKMARK [1][-]{section.3.4}{Gestion de projet}{chapter.3}% 12
\BOOKMARK [2][-]{subsection.3.4.1}{Git}{section.3.4}% 13
\BOOKMARK [0][-]{chapter.4}{Conclusion}{}% 14
File deleted
File deleted
This diff is collapsed.
\contentsline {chapter}{\numberline {1}Introduction}{2}{chapter.1}
\contentsline {section}{\numberline {1.1}Latexila}{2}{section.1.1}
\contentsline {chapter}{\numberline {2}\IeC {\'E}tude pratique}{3}{chapter.2}
\contentsline {section}{\numberline {2.1}T\IeC {\^a}che \IeC {\`a} r\IeC {\'e}aliser}{3}{section.2.1}
\contentsline {subsection}{\numberline {2.1.1}La compl\IeC {\'e}tion dans LaTeXila 2.2}{3}{subsection.2.1.1}
\contentsline {subsection}{\numberline {2.1.2}Une compl\IeC {\'e}tion dynamique}{3}{subsection.2.1.2}
\contentsline {chapter}{\numberline {3}R\IeC {\'e}alisation}{4}{chapter.3}
\contentsline {section}{\numberline {3.1}Int\IeC {\'e}gration d'une recherche au document courant}{4}{section.3.1}
\contentsline {subsection}{\numberline {3.1.1}Invite de compl\IeC {\'e}tion}{4}{subsection.3.1.1}
\contentsline {section}{\numberline {3.2}Int\IeC {\'e}gration d'une recherche \IeC {\`a} plusieurs documents}{5}{section.3.2}
\contentsline {section}{\numberline {3.3}Int\IeC {\'e}gration des fichiers non-ouverts}{6}{section.3.3}
\contentsline {section}{\numberline {3.4}Gestion de projet}{7}{section.3.4}
\contentsline {subsection}{\numberline {3.4.1}Git}{7}{subsection.3.4.1}
\contentsline {chapter}{\numberline {4}Conclusion}{8}{chapter.4}
\relax
\providecommand\hyper@newdestlabel[2]{}
\@setckpt{./lst_config}{
\setcounter{page}{1}
\setcounter{equation}{0}
\setcounter{enumi}{0}
\setcounter{enumii}{0}
\setcounter{enumiii}{0}
\setcounter{enumiv}{0}
\setcounter{footnote}{0}
\setcounter{mpfootnote}{0}
\setcounter{part}{0}
\setcounter{chapter}{0}
\setcounter{section}{0}
\setcounter{subsection}{0}
\setcounter{subsubsection}{0}
\setcounter{paragraph}{0}
\setcounter{subparagraph}{0}
\setcounter{figure}{0}
\setcounter{table}{0}
\setcounter{lstnumber}{1}
\setcounter{Item}{0}
\setcounter{Hfootnote}{0}
\setcounter{bookmark@seq@number}{0}
\setcounter{ContinuedFloat}{0}
\setcounter{lstlisting}{0}
\setcounter{section@level}{0}
}
mktextfm ecrm1095
mktextfm ecrm1095
mktextfm ecrm1095
This diff is collapsed.
% listings for Vala
% Vala definitions
%
\lst definelanguage{Vala}[Sharp]{C}%
{morekeywords={CCode,DBus,Test,cname,cheader_filename,type_id,%
marshaller_type_name,get_value_function,set_value_function,%
default_value,IntegerType,rank,type_signature,size_t,int8,int16,%
int32,uint32,uint16,uint8,int64,uint64,float,double,time_t,%
SimpleType,unichar,cprefix,has_type_id,get,set,ref_function,%
unref_function,free_function,has_target,Compact,delegate,%
destroy_function,PrintFormat,Diagnostics,FILE,LINE,METHOD,%
errordomain,array_length_type,has_array_length,is_null_terminated,%
ReturnsModifiedPointer,dup_function,weak,owned,unowned,value,var,%
connect,async},%
morecomment=[s]{"""}{"""}
}[keywords,strings]
% from https://mail.gnome.org/archives/vala-list/2009-October/msg00139.html
File deleted