From 31a09fcf1c0d7abf4791ca6e5bba37135d3305f7 Mon Sep 17 00:00:00 2001 From: gabrielgio Date: Sun, 12 Jul 2020 20:54:52 +0200 Subject: Add log and some others small fixes --- content/logs/2019-11-16-compiling-emacs.org | 35 ++++++ themes/flamingo/layouts/_default/baseof.html | 22 ---- themes/flamingo/layouts/index.html | 1 - themes/flamingo/layouts/partials/footer.html | 1 - themes/flamingo/layouts/partials/header.html | 11 +- .../flamingo/layouts/partials/log-description.html | 2 +- themes/flamingo/layouts/partials/meta.html | 118 --------------------- themes/flamingo/layouts/partials/sidebar.html | 2 +- 8 files changed, 40 insertions(+), 152 deletions(-) create mode 100644 content/logs/2019-11-16-compiling-emacs.org diff --git a/content/logs/2019-11-16-compiling-emacs.org b/content/logs/2019-11-16-compiling-emacs.org new file mode 100644 index 0000000..4e1c09f --- /dev/null +++ b/content/logs/2019-11-16-compiling-emacs.org @@ -0,0 +1,35 @@ +--- +title: "Compiling emacs from source code on Fedora" +date: 2019-11-16 +tags: ['emacs', 'emacs27', 'linux', 'fedora'] +--- + +Compiling emacs from source and installing on fedora. + +* Installing Packages +Install the following packages: +#+BEGIN_SRC +sudo dnf install git autoconf make gcc texinfo \ + gnutls-devel giflib-devel ncurses-devel \ + libjpeg-turbo-devel giflib-devel gtk3-devel \ + libXpm-devel -y +#+END_SRC + +* Cloning Repository +Clone repository [[http://savannah.gnu.org/projects/emacs/][savannah.gnu.org]]: +#+BEGIN_SRC +git clone -b master git://git.sv.gnu.org/emacs.git +#+END_SRC + +* Compiling +Navigate to emacs folder (~cd emacs~) and execute the following steps + +#+BEGIN_SRC sh +./autogen.sh +./configure +make -j$(nproc) +sudo make install +#+END_SRC + +After verify version with ~emacs --version~, it should be equal or higher than +=28.0.50=. diff --git a/themes/flamingo/layouts/_default/baseof.html b/themes/flamingo/layouts/_default/baseof.html index 9bf2faf..095a2e5 100644 --- a/themes/flamingo/layouts/_default/baseof.html +++ b/themes/flamingo/layouts/_default/baseof.html @@ -29,26 +29,4 @@ {{ partial "footer" . }} - - - diff --git a/themes/flamingo/layouts/index.html b/themes/flamingo/layouts/index.html index 523eb38..c142435 100644 --- a/themes/flamingo/layouts/index.html +++ b/themes/flamingo/layouts/index.html @@ -3,7 +3,6 @@
{{ partial "post-description.html" }}
- {{ $paginator := .Paginate (where .Site.RegularPages "Type" "in" .Site.Params.mainSections) }} {{ range .Paginator.Pages }} {{ .Render "summary" }} {{ end }} diff --git a/themes/flamingo/layouts/partials/footer.html b/themes/flamingo/layouts/partials/footer.html index 40e51c2..e64a204 100644 --- a/themes/flamingo/layouts/partials/footer.html +++ b/themes/flamingo/layouts/partials/footer.html @@ -3,7 +3,6 @@
    - {{ range first 5 (where .Site.RegularPages "Type" "in" .Site.Params.mainSections) }} + {{ range first 5 .Site.RegularPages }}
  • {{ .Title }}
  • {{ end }}
-- cgit v1.2.3