鐵之狂傲

 取回密碼
 註冊
搜尋

本文章最後由 無我皇 於 19-6-19 16:09 編輯

Xteddy compile and install the entire process
in GNU/Linux with source code
在GNU/Linux中用原始碼編譯安裝xteddy全部過程
201604181-2a-SuSE_Linux_7P-twm-GIMP-thCOM-UIC.jpg

201604181-2a-SuSE_Linux_7P-twm-GIMP-thCOM-UIC.jpg
I xteddy and recompile all screenshots process down,
First, the working directory to the directory under xteddy
Terminal command
cd /free/pg/xteddy-2.0.1
Make sure the file folder configure Executive authority,
In the confirmation screen and other instructions,
The first step to configuring it,
Available text editor to open files in the directory INSTALL to reference,
Terminal command
./configure

小皇重新編譯xteddy並把所有過程拍照下來,
首先把工作目錄移動到xteddy目錄下
終端機指令
cd /free/pg/xteddy-2.0.1
請確認資料夾中檔案configure有執行權限,
確認畫面等下在說明,
第一步驟先組態一下,
可用文字編輯器開啟目錄中的檔案INSTALL來參照,
終端機指令
./configure
- 2 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
201604181-2b-SuSE_Linux_7P-twm-GIMP-thCOM-UIC.jpg

201604181-2b-SuSE_Linux_7P-twm-GIMP-thCOM-UIC.jpg
After configuration is a good compilation,
Terminal command
make

組態好了後就是編譯,
終端機指令
make
- 3 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
201604181-2c-SuSE_Linux_7P-twm-GIMP-thCOM-UIC.jpg

201604181-2c-SuSE_Linux_7P-twm-GIMP-thCOM-UIC.jpg
Preferences folder file has execute permission
View the contents of the file you can set permissions,
If the permissions are insufficient, you cannot install them.

設定資料夾中檔案有執行權限,
查看檔案內容就可以設定權限,
權限不足的話沒法安裝
- 4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
201604181-2d-SuSE_Linux_7P-twm-GIMP-thCOM-UIC.jpg

201604181-2d-SuSE_Linux_7P-twm-GIMP-thCOM-UIC.jpg
To compile successfully after the installation
Terminal Command
make install

編譯成功後再來是安裝
終端機命令
make install
- 5 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
201604181-2e-SuSE_Linux_7P-twm-GIMP-thCOM-UIC.jpg

201604181-2e-SuSE_Linux_7P-twm-GIMP-thCOM-UIC.jpg
The next step is to run the file to see if there is no success,
It is possible to set the following files have executive powers,
xteddy_test
xteddy
Little Queen is facing xteddy_test file by
double-clicking the left mouse button twice,
The successful implementation of xteddy_test is this picture.

接下來就是執行檔案看有沒有成功,
有可能要設定下列檔案有執行權,
xteddy_test
xteddy
小皇是對著檔案xteddy_test連按滑鼠左鍵兩下,
成功執行了xteddy_test就是這個畫面.

= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
= 2 = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
201604192-2a-SuSE_Linux_7P-windowmaker-GIMP-thCOM-UIC.jpg

201604192-2a-SuSE_Linux_7P-windowmaker-GIMP-thCOM-UIC.jpg
Save As can be used to replace the original cover image,
Such an action would not change the source code
and want to spend to achieve the picture,
And then compile the new configuration,
with the following terminal command:
We must first change the working directory
cd path, for example,
cd /UIC/xteddyAll/teddy/Linux/xteddy-UIC
Available command pwd can know the current working directory,
Too lazy to hit the path there is a coup,
netscape available after entering the directory,
Press the left mouse button Highlight path,
After selecting the mouse to move to the back of the terminal on the cd,
Press the Middle mouse button you can highlight the text to paste.
This move is not only fast but also very easy to use without error.
To set the file permissions to configure Executive authority,
terminal command:
chmod +x configure
Then set the configuration terminal command:
./configure

可以用另存新檔把原本的圖片覆蓋替換,
這樣一來就不用更改原始碼而達到想用上的圖片,
然後從新組態和編譯,用下列終端機指令:
首先要改變工作目錄
cd 路徑,例如
cd /UIC/xteddyAll/teddy/Linux/xteddy-UIC
可用命令pwd可以知道目前的工作路徑,
懶得打路徑有一妙招,可用netscape進入目錄中後,
按滑鼠左鍵反白選取路徑,
選好後鼠標移動到終端機上的cd 後面,
按滑鼠中鍵就可以將反白的文字貼上,
這招很好用不但快而且不會出錯.
先設定檔案configure權限有執行權限,終端機命令:
chmod +x configure
然後是設定組態,終端機命令:
./configure
- 2 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
201604192-2b-SuSE_Linux_7P-windowmaker-GIMP-thCOM-UIC.jpg

201604192-2b-SuSE_Linux_7P-windowmaker-GIMP-thCOM-UIC.jpg
Again is compiled, the terminal command, type:
make

再來是編譯,終端機指令請鍵入:
make
- 3 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
201604192-2c-SuSE_Linux_7P-windowmaker-GIMP-thCOM-UIC.jpg

201604192-2c-SuSE_Linux_7P-windowmaker-GIMP-thCOM-UIC.jpg
Compiled again be installed, the terminal command:
make install

編譯好後再來是安裝,終端機指令:
make install
- 4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
201604192-2d-SuSE_Linux_7P-windowmaker-GIMP-thCOM-UIC.jpg

201604192-2d-SuSE_Linux_7P-windowmaker-GIMP-thCOM-UIC.jpg
Finally xteddy test file permissions set to
have executive powers, the terminal command:
chmod +x xteddy_test
Then use the mouse to point File Manager file xteddy_test
run twice, Look, there is not the same as
the two figures was substituted out.
To turn off xteddy only signed out, wm2 environment does
not sign out option to leave a lot of trouble,
You can press (Ctrl + Alt + Backspace key) to leave wm2 window manager.

最後把xteddy_test檔案權限設定成有執行權,終端機命令:
chmod +x xteddy_test
再用檔案管理員用滑鼠點檔案xteddy_test兩下運行,
瞧,有兩張圖不一樣了被置換掉了.
要關閉xteddy只能登出了,wm2環境沒有登出選項要離開很麻煩,
可以按(Ctrl + Alt + Backspace鍵)來離開wm2視窗管理員.
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
= 3 = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
201604192-3a-SuSE_Linux_7P-wm2-xfce-GIMP-thCOM-UIC.png

201604192-3a-SuSE_Linux_7P-wm2-xfce-GIMP-thCOM-UIC.png
Although you can not change the source code,
but the replacement image would not be able to change
the number of images, Next is to change the source code to
change the number of images of teaching,
Examples are the newAdd folder files are copied to the images folder,
xv picture is to save files to a folder newAdd,
http://www.angelfire.com/ct/dreamsplace/xteddy.html
From my site with dream garden - in to download
xteddy version is that there newAdd folder.

雖然可以置換圖片但不去改原始碼圖片數量就沒法變更,
接下來是改原始碼來變更圖片數量的教學,
例子中是把newAdd資料夾中的檔案拷貝到images資料夾中,
圖片中是用xv來另存檔案到newAdd資料夾中,
http://www.angelfire.com/ct/dreamsplace/xteddy.html
從小皇的網站同夢園 - xteddy 中下載到的版本就是有newAdd資料夾.
- 2 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
201604192-3b-SuSE_Linux_7P-wm2-xfce-GIMP-thCOM-UIC.png

201604192-3b-SuSE_Linux_7P-wm2-xfce-GIMP-thCOM-UIC.png
Use a text editor to edit the images folder in the following
three files: (Makefile, Makefile.am, Makefile.in)
Write image archives to find the name of the place,
The file name you want to accede,
Like the more lazy and accurate approach,
After the file name can be highlighted
with the middle mouse button to paste.
I was xftree this file manager,
Change the file name use xftree options
It automatically highlighted, and ready to paste like,
is this screen shot,

用文字編輯器去編輯images資料夾中的下面這三個檔案:
( Makefile , Makefile.am , Makefile.in )
找到有寫圖片擋案名稱的地方,
把想要加入的檔案名稱加入,
一樣,較懶而且精確的做法,
可以反白檔案名稱後用滑鼠中鍵貼上,
小皇是用xftree這個檔案管理員,
利用xftree更改檔案名稱的選項,
自動就反白了,直接貼上就好,就是這個截圖畫面,
- 3 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
201604192-3c-SuSE_Linux_7P-wm2-xfce-GIMP-thCOM-UIC.jpg

201604192-3c-SuSE_Linux_7P-wm2-xfce-GIMP-thCOM-UIC.jpg
Three files must be changed safer,
changing for the better after the filing,
Reconfigured and compiled terminal command:
./configure
make

三個檔案都要改比較保險,改好存檔後,
重新組態和編譯,終端機命令:
./configure
make
- 4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
201604192-3d-SuSE_Linux_7P-wm2-xfce-GIMP-thCOM-UIC.jpg

201604192-3d-SuSE_Linux_7P-wm2-xfce-GIMP-thCOM-UIC.jpg
Compiled again be installed, the terminal command:
make install
Finally xteddy test file permissions set to
have executive powers, the terminal command:
chmod + x xteddy_test

編譯好後再來是安裝,終端機指令:
make install
最後把xteddy_test檔案權限設定成有執行權,終端機命令:
chmod +x xteddy_test
- 5 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
201604192-3e-SuSE_Linux_7P-wm2-GIMP-thCOM-UIC.jpg

201604192-3e-SuSE_Linux_7P-wm2-GIMP-thCOM-UIC.jpg
Add some files after running xteddy test,
Discover new images are not transparent,
Fortunately, with lossless image formats .png,
Press (Ctrl + Alt + Backspace key) to exit the X-Window.
Re-login X-Window, For image processing operations.

增加一些檔案後運行xtaddy_test,
發現新增的圖片沒有透明,
還好是用無損圖片格式.png,
(Ctrl + Alt + Backspace鍵)來離開X-Window.
重新登入X-Window, 進行改圖作業.
- 6 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
201604192-3f-SuSE_Linux_7P-wm2-GIMP-thCOM-UIC.jpg

201604192-3f-SuSE_Linux_7P-wm2-GIMP-thCOM-UIC.jpg
In wm2 can only call with terminal program to use,
Png with gimp open file, the original is not set
transparent areas, To set the image with a transparent layer.

在wm2中只能用終端機召喚程式來用,
用gimp開啟png檔案,原來是沒有設定透明區域,
去設定圖片有透明圖層.
- 7 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
201604192-3g-SuSE_Linux_7P-wm2-GIMP-thCOM-UIC.jpg

201604192-3g-SuSE_Linux_7P-wm2-GIMP-thCOM-UIC.jpg
The color of transparent areas,
it must first be edited pictures
The use of a transparent color or region with
a mask painted. Select a color with the way the
election will be cleared up with a transparent region,

把透明區域的顏色,這必須先有編輯過圖片
把要用成透明的區域用一個顏色或遮罩塗滿.
用選擇顏色的方式選起來清除掉就會有透明區域,
- 8 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
201604192-3h-SuSE_Linux_7P-wm2-GIMP-thCOM-UIC.jpg

201604192-3h-SuSE_Linux_7P-wm2-GIMP-thCOM-UIC.jpg
Photos after changing for the better again
reconfigured, compile, install, terminal command:
./configure
make
make install
Executive xteddy_test again,
I use installed before compiling a file with a number of groups,
No new re-use, so you can succeed,
Look! The picture becomes a transparent area.

圖片改好之後再次重新組態,編譯,安裝,終端機命令:
./configure
make
make install
再次執行xteddy_test,
我用的是之前編譯安裝過的同一些檔案群,
沒有重新用新的,這樣也可以成功,
瞧!圖片變成有透明區域了.


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Note that there is no thing is to look at files execute permission,
Terminal command partakers case,
There branch library system is not supported,
I used the system is SuSE Linux 7 PROFESSIONAL,
My computer is three GNU/Linux multi-boot,
In the other two systems Fedora Core 2 Linux and Mandrake Linux 9
Have not been successfully installed successfully,

需要注意的事是看檔案有沒有執行權限,
終端機命令有分大小寫,
還有系統函式庫支不支援,
小皇用的系統是SuSE Linux 7 PROFESSIONAL,
小皇的電腦是有三種GNU/Linux多重開機,
在另外兩個系統Fedora Core 2 Linux和Mandrake Linux 9
都還沒成功安裝成功,

xteddy can get at the following
xteddy可在下列處取得
http://www.gamez.com.tw/thread-514341-1-1.html
taddy和駒都的同人小時鐘和Linux用的茜時計加擬似人格偽春菜

http://www.angelfire.com/ct/dreamsplace/xteddy.html
小皇的網站同夢園 - xteddy
New image file has changed and needs
its own source replacement
有新增圖片但原始碼未改需自己置換
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
In order unnecessary misunderstanding:
I do not know English
English is translated using google translate
If you need to translate,
please use Chinese to translate more accurate.
https://translate.google.com/
為了不必要的誤會:小皇不懂英文,
英文都是用google translate翻譯的,
若需要翻譯請用中文來翻譯比較準確.
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =

回覆 使用道具 檢舉

全世界最先進的跳動筆
你需要登入後才可以回覆 登入 | 註冊

存檔|手機版|聯絡我們|新聞提供|鐵之狂傲

GMT+8, 19-7-22 05:39 , Processed in 0.059828 second(s), 29 queries .

回頂部