HOWTO install infinality font-settings for Debian

Share your own howto's etc. Not for support questions!

Re: HOWTO install infinality font-settings for Debian

Postby eriksatie » 2015-08-16 18:44

Debian testing user here. Is there a simple instructions to put infinality fonts on this machine? Is the OP instructions still usable?
eriksatie
 
Posts: 15
Joined: 2012-01-10 00:29

Re: HOWTO install infinality font-settings for Debian

Postby DebbyIan » 2015-08-16 19:26

Please stop polluting this thread with user support requests.

Start a new thread instead.
DebbyIan
 
Posts: 97
Joined: 2013-05-09 12:12

Re: HOWTO install infinality font-settings for Debian

Postby bester69 » 2015-09-03 14:56

i used:
infinality.sh--> Windows7
infctl.sh --> Win7

forcing 96 PPP
Hint: Medium RGB
lcdlegacy
antialias
not autohint

I linked Windows 10 fonts truetype directory ( /usr/share/fonts/truetype/sudo ln -s /sda1/Windows/FONTS)
I set infinallity settings and compared to Windows 10 vs Debian Jessie same document, by taking some captures but i cant match the fonts, don you know what can be the problem??

Image
subir fotos gratis

Image
User avatar
bester69
 
Posts: 806
Joined: 2015-04-02 13:15

Re: HOWTO install infinality font-settings for Debian

Postby Brainey » 2015-09-18 07:02

KDE with kdm display manager don't load all infinality settings. :( If you want use infinality, just migrate on lightdm.
Brainey
 
Posts: 1
Joined: 2015-09-18 06:58

Re: HOWTO install infinality font-settings for Debian

Postby bester69 » 2015-10-17 13:48

Brainey wrote:KDE with kdm display manager don't load all infinality settings. :( If you want use infinality, just migrate on lightdm.


its seems true, i installed lightdm and fonts looks much better than with kdm, my fonts now match almost 95% windows fonts. thanks a lot, now im using lightdm.
User avatar
bester69
 
Posts: 806
Joined: 2015-04-02 13:15

Re: HOWTO install infinality font-settings for Debian

Postby Mad_7 » 2015-11-02 04:34

Here's a small guide, hot to install (the binaries of) Infinality Ultimate (also known as bohoomil's), at Debian Jessie, from Ubuntu PPA repository:
(I tested it, at my system. Debian Jessie x64 KDE).
Normally, this should be avoided, but since there are no other dependencies, I think it's OK in this case.
I hope some time there will be binaries for Debian too, of course. :D

Here are the few steps:

1) Add the repository:
Give (as root):
Code: Select all
add-apt-repository "deb http://ppa.launchpad.net/rjvbertin/infinaltimate/ubuntu trusty main"


2) The sources are commented off, by default.
Personally, I delete them anyway (editing (as root) the sources.list), or with a GUI way (eg. giving
Code: Select all
software-properties-kde
and deleting them, from there).

3) Refresh the repositories and install the updates (with Synaptic or from console).
Pay attention, NOT to install anything new!
Updating is enough. Installing something new, may break your system.

4) Optionally, edit (as root) the /etc/profile.d/infinality-settings.sh file, to your liking.
(eg.
Code: Select all
kdesu kate /etc/profile.d/infinality-settings.sh
).

Personally, I changed the USE_STYLE="3" option, to 5 (more a more intense result), but it's up to you to give any value from 1 to 5 (or leave the default 3).

5) That's it! You're ready to go! :D
Every application that will start from now, will use the new files - settings.
It's a good idea though, to log-off and back on (or to restart) for letting your entire desktop, make use of Infinality Ultimate.

Note: I tested it for about a week and I didn't had any negative side-effects.
Only the very first time after installation, for some reason when rebooted, I had a delay (<1min.) on the shutdown.
User avatar
Mad_7
 
Posts: 95
Joined: 2010-01-09 21:05
Location: Patra, Greece, Europe.

Re: HOWTO install infinality font-settings for Debian

Postby Head_on_a_Stick » 2015-11-02 19:21

Mad_7 wrote:1) Add the repository:
Give (as root):
Code: Select all
add-apt-repository "deb http://ppa.launchpad.net/rjvbertin/infinaltimate/ubuntu trusty main"

Rather than adding a PPA, why not just compile the package locally instead?
https://wiki.debian.org/CreatePackageFromPPA

EDIT: Also, freetype2 in jessie is pretty freakin' awesome these days -- I can hardly tell the difference even with bohoomil's Infinality version as long as the recommended ~/.config/fontconfig/fonts.conf is used.
“Controlling complexity is the essence of computer programming."Brian Kernighan

Please read before posting How to report a problem
User avatar
Head_on_a_Stick
 
Posts: 6488
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: HOWTO install infinality font-settings for Debian

Postby bester69 » 2016-03-12 04:39

See How nice Infinality fonts looks with Windows7 style and Segoe UI fonts

Image

Image

:wink:
User avatar
bester69
 
Posts: 806
Joined: 2015-04-02 13:15

Re: HOWTO install infinality font-settings for Debian

Postby BubuXP » 2016-04-19 00:33

I "dissected" bohoomil's work and I updated my version of Infinality: now it should be identical in aspect and functionality to the current Infinality in Arch, except for fonts bundles (but I'll try to port these too).
If you are interested, sources are provided for all the packages, and all the changes I made can be found in the packages' changelogs, that I'm trying to keep as detailed as I can.

Instructions and packages can be found here for Jessie and here for Stretch/Sid.

Any feedback is greatly appreciated to further improve my work.
I don't have statistics of downloads in Google Drive, so I don't have a clue about how much users I reach with my packages.

EDIT: I dissected so much bohoomil's work that I found a bug in fontconfig that can compromise the visual result.
I will fix my packages soon, so for the moment hold on.

EDIT2: everything fixed and totally renewed. Read the instructions.
User avatar
BubuXP
 
Posts: 29
Joined: 2014-10-27 00:41
Location: Oriental Sicily

Re: HOWTO install infinality font-settings for Debian

Postby asta » 2016-04-25 16:29

Thanks for providing the packages for stretch BubuXP. Unfortunately you forgot to upload the 32-bit versions, which are needed for multi arch. Can you add them to your google drive, or give me some pointers on how to compile them? Just by looking at bohoomil's repository I really have no clue how to do that.
asta
 
Posts: 2
Joined: 2016-04-25 16:21

Re: HOWTO install infinality font-settings for Debian

Postby BubuXP » 2016-04-25 22:06

asta wrote:Thanks for providing the packages for stretch BubuXP. Unfortunately you forgot to upload the 32-bit versions, which are needed for multi arch. Can you add them to your google drive, or give me some pointers on how to compile them? Just by looking at bohoomil's repository I really have no clue how to do that.

Unfortunately I cannot compile i386 versions of the packages right now, I should create a chroot environment to do this, and I don't have much time now.

If you want to compile i386 versions by yourself you need a i386 installation of Debian (in a virtual machine or in chroot is ok too), then:

1) Install these two packages:
Code: Select all
# apt install devscripts build-essential

(this will download and install many packages).

2) Download the source files from the "sources" directory in Google Drive (where you find the packages). You must download the source for cairo and freetype; infinality-deb is not needed, as it's architecture-indipendent and the package it creates (fontconfig-infinality) is ok for i386 and amd64.
Then extract both the .dsc files with:
Code: Select all
$ dpkg-source -x [i]filename[/i].dsc


3) Now install the packages needed to compile cairo and freetype with:
Code: Select all
# apt-get build-dep cairo freetype

(many other packages to install here too).

4) then enter inside the directories extracted in 2) (freetype-version/ and cairo-version/) and from here just type
Code: Select all
$ debuild -uc -us

When compile is finished, if there are no errors you should find the packages in the upper directory.

If it's difficult for you just wait that I or someone else can compile it.
User avatar
BubuXP
 
Posts: 29
Joined: 2014-10-27 00:41
Location: Oriental Sicily

Re: HOWTO install infinality font-settings for Debian

Postby stevepusser » 2016-04-25 22:21

I could build your packages for Jessie on the openSUSE Build Service--but they don't offer a testing Debian build, just 7 and 8. Or help you set a repo there, it turns out to be rather easy, even easier than a PPA. I've set up quite a few of my own in the last month. For example, this is the first one I set up, and you get this sort of page automatically:

https://software.opensuse.org/download. ... e=palemoon
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: AzPainter 2.0.4, Pale Moon 27.3.0, Liquorix kernel 4.11-4, mpv 0.25.0, Kodi 17.1, Ksnip 1.3.1, Mesa 13.0.6
User avatar
stevepusser
 
Posts: 8224
Joined: 2009-10-06 05:53

Re: HOWTO install infinality font-settings for Debian

Postby BubuXP » 2016-04-25 23:01

stevepusser wrote:I could build your packages for Jessie on the openSUSE Build Service--but they don't offer a testing Debian build, just 7 and 8. Or help you set a repo there, it turns out to be rather easy, even easier than a PPA. I've set up quite a few of my own in the last month. For example, this is the first one I set up, and you get this sort of page automatically:
https://software.opensuse.org/download. ... e=palemoon


Nice, I was searching for something like this but I cannot find anything.
It's a shame that it cannot build for Testing, but usually packages compiled for Stable works ok on Testing too.
I will try to make a repository as soon I have the time, but if you want you can do it right now (if you need something just ask me).
User avatar
BubuXP
 
Posts: 29
Joined: 2014-10-27 00:41
Location: Oriental Sicily

Re: HOWTO install infinality font-settings for Debian

Postby stevepusser » 2016-04-26 01:33

I do have a guide with some tips for using the OBS:


OpenSUSE Build Service Guide

Things to watch out for:

All the packages you add to a project end up in the same repository, which makes it handy if your project requires updated dependencies or build-depends. Building those in your repo makes them available to other packages there or to those that add the repo.

Non-alphanumeric characters in the versioning: OBS replaces these with whitespaces, which causes a FTBFS (failure to build from source). For example, "foo-1.2.3-1~bpo80+1" would have to be changed to something like "foo-1.2.3-1bpo80.1" for a successful build.

It really doesn't matter what release you put on the first stanza of the changelog, OBS will automatically put the correct version in the Release file that apt downloads. If you're only building for Debian, you might put "stable". The origin/release that apt sees for these packages will be "download.opensuse.org".

Example: foo (1.2.3-0) stable; urgency=medium

If only building for one version of Ubuntu, just use that release, or leave it at "stable" if you are building for both Debian and Ubuntu from the same source.

Example: foo (1.2.3-0) trusty; urgency=medium

OBS will automatically generate a download page for each package in the repository, but the package name at the end of the URL has to exactly match the name of the package in the repo. Let's say you want a backport of the GIMP, and give your project the title "GIMP". Then when it's built and you click the download link, it's empty, because the actual package name is "gimp". The solution is to either title the project as "gimp", or change the URL from having "GIMP" at the end to "gimp". If you're building multiple programs in one repository, you only have to tell the users to add the repository one time, as well as just add the one key.

Additional build-depends or dependencies: quite often a backport will require newer versions of a build dependency or a dependency. This should be built first in the project as the first packages; then the later packages will use them from the OBS repo to fulfill those build-deps as specified in the debian/control file. If you are building for Debian 7 and 8, and only need those newer build-deps in Debian 7, the Debian 8 build can be disabled for those packages; you don't want the package to draw your dependency from OBS when it's already in the standard Debian 8 repo.

OBS also seems to have trouble with dummy packages that provide build-depends; for example libjpeg-dev if listed in the build-deps can generate an error-- instead, list the "real" build-dep provided provided by libjep62-turbo-dev.

Each home project that you have on OBS will generate a repo; all packages that you add to the home project will go into that repo. So if you have multiple packages, just give your users instructions to add the repository for one of those packages, and the rest will be available to them. This will avoid duplicate source URLs in their sources.

Separate repositories can be added via subprojects.

Generating Source Packages

You should have devscripts installed to provide "debuild". It is also good to be able to build the packages yourself locally to work out any problems beforehand. Anyway, download the source packages you need: 1. Usually for outside sourced programs, you need the .orig.tar.xx tarball, either the .debian.tar.xx tarball or the .diff.gz file, and the .dsc file. Put these all into a folder with no spaces in its PATH in somewhere in your home directory, open a terminal in that folder, and run

dpkg-source -x <name_of_.dsc_file>

Usually tab-complete in the terminal will fill in the name of that file for you. (Note that if no changes are needed in the debian folder, these source packages can be directly uploaded to OBS without the need for generating new, changed source files as follows).

Then enter the newly extracted source folder, and edit the changelog and control files in /debian as necessary to get it to build on your target release and to make sure the versioning won't cause a FTBFS in OBS. (see above) This is where building the package on yoour own machine can help to work out any changes necessary.

Once any changes are complete, go back out of the /debian folder to the root of the extracted source folder, open a terminal, and run

debuild -S -uc -us

to generate new source files. These can be uploaded to OBS once you create a new package via the "add file" button.

Your target repositories are set up when you create a home project, but they can be individually disabled for each package as you wish.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: AzPainter 2.0.4, Pale Moon 27.3.0, Liquorix kernel 4.11-4, mpv 0.25.0, Kodi 17.1, Ksnip 1.3.1, Mesa 13.0.6
User avatar
stevepusser
 
Posts: 8224
Joined: 2009-10-06 05:53

Re: HOWTO install infinality font-settings for Debian

Postby BubuXP » 2016-04-26 12:01

I'm experimenting with OBS, I will post the new packages as soon as they're ready (I need some little change to let OBS compile them and then I should test the Jessie packages in Testing).

Do you know if there is some similar build service but with Testing support? I found other services in OBS documentation but I didn't find this exact information.
User avatar
BubuXP
 
Posts: 29
Joined: 2014-10-27 00:41
Location: Oriental Sicily

PreviousNext

Return to Docs, Howtos, Tips & Tricks

Who is online

Users browsing this forum: No registered users and 4 guests

fashionable