这样的文件要用什么编译才能成为deb文件进行安装?
Tofloor
poster avatar
deepin-chinaren
deepin
2019-12-14 23:12
Author
这样的文件要用什么编译才能成为deb文件进行安装?最好能说详细一些

Reply Favorite View the author
All Replies
avatar
ghostry
deepin
2019-12-14 23:51
#1
这个看起来是源码包,

可以看看readme文件里有没有写编译方式.

如果小白的话,估计要学很多东西才能做出来deb包.
Reply View the author
avatar
i8520
deepin
2019-12-15 00:02
#2
本帖最后由 i8520 于 2019-12-14 16:09 编辑

readme.md文件里有编译到方法,可以根据编译的步骤,写自动编译脚本,然后把源码文件夹,打包成DEB这个是我自己弄的,你可以参考一下
  1. https://bbs.deepin.org/post/184594#
  2. https://bbs.deepin.org/post/183811#
Copy the Code
有些 编译会用到su这样到ROOT权限,这个要先开启 root


Reply View the author
avatar
deepin-chinaren
deepin
2019-12-15 01:10
#3
https://bbs.deepin.org/post/186923
这个看起来是源码包,

可以看看readme文件里有没有写编译方式.

# TTKDownloader
![QtCreator](https://img.shields.io/badge/Cod ... g?style=flat-square)
![License](https://img.shields.io/badge/lic ... g?style=flat-square)
![TTKDownloader](https://img.shields.io/badge/Gre ... g?style=flat-square)

![LOGO](https://github.com/Greedysky/TTK ... go_pic.png?raw=true)

### **|[About](https://github.com/Greedysky/TTKDownloader#usage)|[License](https://github.com/Greedysky/TTKDownloader#license)|[Download](https://github.com/Greedysky/TTKDownloader#download)|[Features](https://github.com/Greedysky/TTKDownloader#features)|[Screenshots](https://github.com/Greedysky/TTKDownloader#screenshots)|[Copyright](https://github.com/Greedysky/TTKDownloader#copyright)|[Contribute](https://github.com/Greedysky/TTKDownloader#how-to-contribute)|**

Usage
----
## CI Status
* Qt develop version be tested on Qt4.8.7 for windows-mingw 32bit
* Qt develop version be tested on Qt4.8.6 for ubuntu-linux-gcc 64bit
* Qt develop version be tested on Qt5.x for windows-mingw 32bit
* Qt develop version be tested on Qt5.x for ubuntu-linux-gcc 64bit
* Qt develop version be tested on Qt5.x for windows-msvc

| Platform | Qt & Compiler       | Status                                                                                      |
| :---:    | :---:               | :---:                                                                                       |
| Linux    | 4.8.7 GCC & 5.x GCC    | ![Linux](https://img.shields.io/badge/build-passing-brightgreen.svg)                            |
| Windows  | 4.8.7 GCC & 5.x GCC       | ![Windows](https://img.shields.io/badge/build-passing-brightgreen.svg) |
| Windows  | 5.x MSVC       | ![Windows](https://img.shields.io/badge/build-passing-brightgreen.svg) |
| OS X     | 5.x Clang     | ![OSX](https://img.shields.io/badge/build-unknown-lightgrey.svg)                           |

# For Developers

License
---
TTKDownloader is free software licensed under the term of [Licence GPL v3](https://github.com/Greedysky/TTKDownloader/blob/master/LICENSE). If you use TTKDownloader or its constituent libraries, you must adhere to the terms of the license in question.

Download
---
Github: **https://github.com/Greedysky/TTKDownloader**

Skin Download URL: **http://pan.baidu.com/s/1mh7AeG4**

Features
-------
TTKDownloader that imitation xunlei downloader.
* Support resuming of file transfers.
* Support thunder, flashget, qq url.

Screenshots
----
### Demo
![Demo](https://github.com/Greedysky/TTK ... o/demo.jpg?raw=true)

![Demo](https://github.com/Greedysky/TTK ... /demo2.jpg?raw=true)

Copyright
-------
* This file is part of the TTK Downloader project.
* Copyright (c) 2015 - 2019 Greedysky Studio.
* mail: greedysky@163.com.

How To Contribute
-------
* Fork this project on github and make a branch. Commit in that branch, and push, then create a pull request to be reviewed and merged.
* Create an issue if you have any problem when using project or you find a bug, etc.
* What you can do: translation, write document, wiki, find or fix bugs, give your idea for this project etc.
* If you want to join the project developed together, please send e-mail to me.
Reply View the author
avatar
走钢丝
deepin
2019-12-15 01:47
#4
qt 的项目可以先试试这样编译:

自动生成 makefile
qmake

编译生成目标文件
make

可选,安装生成的目标文件
sudo make install

缺少依赖的话,sudo apt install xxx 安装需要的依赖。。当然,很多时候需要 dev 结尾的包。
Reply View the author
avatar
ghostry
deepin
2019-12-15 01:49
#5
https://bbs.deepin.org/post/186923
# TTKDownloader
![QtCreator](https://img.shields.io/badge/Coded%20with-QtCreator%20IDE-blue.svg?st ...

这看起来没有说怎么编译,

不过上面说了这个是qt项目.

可以去找下qt项目都怎么编译的.

或者给作者发消息,请求他在 releases 中放deb包.
Reply View the author