顯示具有 ppa 標籤的文章。 顯示所有文章
顯示具有 ppa 標籤的文章。 顯示所有文章

2021年5月5日 星期三

build geany from geany.git

OS: Ubuntu 18.04  64bit

### ### ###
### install from geany ppa too
$ sudo add-apt-repository ppa:geany-dev/ppa
$ sudo apt-get update
$ sudo apt-get install geany geany-plugins

### end session



### ### ###
### build from source code : geany.git
###
$ cd ~/jeffer
$ git clone https://github.com/geany/geany.git
$ cd geany
$ git reset 1.37.1
~/jeffer/geany$ ./autogen.sh 

**Error**: You must have `intltool' installed.
**Error**: You must have `glib' installed.
You must have pkg-config installed to compile .
$ sudo apt-get install pkg-config
$ sudo apt install intltool
$ sudo apt install libglib2.0-dev
$ ./autogen.sh
$ apt search libgtk-3   

###  libgtk-3-dev
$ sudo apt install libgtk-3-dev
$ ./autogen.sh

configure: error: Documentation enabled but rst2html not found.

#### open another terminal to another directory
#### from https://pypi.org/project/rst2html/
#### download rst2html-2020.7.4.tar.gz (1.5 kB)
$ tar xvf rst2html-2020.7.4.tar.gz
$ sudo pip install rst2html

The directory '/home/jeffer/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/home/jeffer/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Collecting rst2html
  Downloading https://files.pythonhosted.org/packages/29/8e/050653d3f88c7c0ef3ba6df84421dc022d84f152e2c84fc23d49b2d60d1f/rst2html-2020.7.4.tar.gz
Collecting docutils (from rst2html)
  Downloading https://files.pythonhosted.org/packages/4c/5e/6003a0d1f37725ec2ebd4046b657abb9372202655f96e76795dca8c0063c/docutils-0.17.1-py2.py3-none-any.whl (575kB)
    100%  
Installing collected packages: docutils, rst2html
  Running setup.py install for rst2html ... done
Successfully installed docutils-0.17.1 rst2html-2020.7.4

####
#### back to /geny  folder terminal
####
$ ./autogen.sh
.......
Install Geany in                   : /usr/local
Compiling Git revision             : 26f4813f
Using GTK version                  : 3.22.30
Enable binary relocation           : no
Build with plugin support          : yes
Use (UNIX domain) socket support   : yes
Use virtual terminal support (VTE) : yes
Build HTML documentation           : yes
Build PDF documentation            : no
Build API documentation            : no
Generate GtkDoc header             : no
Configuration is done OK.
Now type 'make' to compile.
$ ./configure
    ### Makefile  use GCC flag  use  -O0 -g3 to maximize debug info
$ make
### whereis execute file .../geany/src/.lib/geany
$ sudo make install

### $ make clean   ### to make sure clean
### entry point is main.c main()
### I untar  eclipse-cpp-2021-03-R-linux-gtk-x86_64.tar.gz  to a  folder , run eclipse, import geany project , It can debug.

2021年5月3日 星期一

Install newer version(PPA) geany & plugin for unbuntu 18.04LTS

### Install  newer version(PPA) geany & plugin  for  unbuntu 18.04LTS ###
sudo add-apt-repository ppa:geany-dev/ppa
sudo apt-get update
sudo apt-cache policy geany
sudo apt-get install geany
sudo apt-get install geany-plugins
apt-cache search geany

2021年5月1日 星期六

ubuntu 如何用最新版本的 git

$git --version
$sudo  add-apt-repository ppa:git-core/ppa
$sudo  apt-get update
$sudo  apt-cache policy git
$sudo  apt-get install git
$sudo  apt-cache policy git
$git --version

食用油

豆大芥小 加熱均 又非橄㰖 造假多 油麻菜籽 螻蟻命 自求多福 身安康 目前 我推 芥花油,較耐高溫. 從成份上來看 橄㰖>芥花>大豆 . 從CP/造假上來看 又不推 高價 橄㰖了, 可能 摻其它大豆等油/加色素等, 最近新聞 數千公頓大豆 不知所踪, 合理推測, 是...