Open berezovskyi opened 10 years ago
First, I had to create a makefiles/target.mk
file:
TARGET_ARCH = desktop
UI_TYPE = gtk
Next, ccache
was required: sudo apt-get install ccache
The linebreak.h
is part of the libunibreak
package: sudo apt-get install libunibreak-dev
Also, you need to replace the linked library -llinebreak
with -lunibreak
in:
Old liblinebreak exists only in the repositories for Ubuntu 10.04.
The library fribidi
is required as well: sudo apt-get install libfribidi-bin libfribidi-dev
Ooops, there is README.build
, will work on getting the packaging to succeed and will try to make a Wiki page out of that.
Well, I have made to the end before seeing README, so I only had to execute make install
to be able to run the FBReader on my system.
I've added the wiki page that combines the contents of the README.build as well as the Ubuntu-specific findings I did.
@geometer, could you take a look, please? And close the issue if everything is in place.
P.S. I would appreciate the instructions on how to build the packages for desktop-debian
. Below is my output:
andrew@andrew-zenbook:~/src/FBReader$ ./build_packages.sh desktop-debian
cp: cannot stat ‘distributions-nonGPL’: No such file or directory
make: Entering directory `/home/andrew/src/FBReader/fbreader-0.14.0'
Building desktop debian package... OK
make: Leaving directory `/home/andrew/src/FBReader/fbreader-0.14.0'
mv: cannot stat ‘fbreader-0.14.0/*.deb’: No such file or directory
mv: cannot stat ‘fbreader-0.14.0/*.dsc’: No such file or directory
mv: cannot stat ‘fbreader-0.14.0/*.changes’: No such file or directory
mv: cannot stat ‘fbreader-0.14.0/*.tar.gz’: No such file or directory
Looks nice. I will read carefully asap.
There is no
README
file or Wiki, so I think there should be a place where there are introductory guidelines to compiling the project (after deciding to attempt to fix the issue #168).I am doing it on Ubuntu 14.04, so I will describe my steps for this platforms.
I hope that when I manage to build the project successfully, the outline of my steps will make it to Wiki/README to make the lives of other people easier.