Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

HOWTO install infinality font-settings for Debian

Share your HowTo, Documentation, Tips and Tricks. Not for support questions!.
Message
Author
DebbyIan
Posts: 158
Joined: 2013-05-09 12:12

Re: HOWTO install infinality font-settings for Debian

#41 Post by DebbyIan »

What's the difference between plain and iu packages?

User avatar
BubuXP
Posts: 29
Joined: 2014-10-27 00:41
Location: Oriental Sicily

Re: HOWTO install infinality font-settings for Debian

#42 Post by BubuXP »

dysnomia wrote: Settings file:
/etc/profile.d/infinality-settings.sh
I rename infinality-settings.sh to 99infinality-settings and place it in /etc/X11/Xsession.d/ because last time I checked, Debian didn't process the scripts in /etc/profile.d/ (but maybe now has changed).

One must consider also that /etc/profile.d/ is processed even if a X session isn't started, while infinality without an X session is useless. So placing the settings file in /etc/X11/Xsession.d/ as above should be the correct manner.

dysnomia
Posts: 2
Joined: 2015-03-27 15:16

Re: HOWTO install infinality font-settings for Debian

#43 Post by dysnomia »

BubuXP wrote: I rename infinality-settings.sh to 99infinality-settings and place it in /etc/X11/Xsession.d/ because last time I checked, Debian didn't process the scripts in /etc/profile.d/ (but maybe now has changed).
I tryed that, did not work for me on KDE, so i decided to put it in /etc/profile.d where it gets executed at least (but obviously before the xserver has been started)
to set the environment variables and put the xserver variables in ~/.Xresources. Even with this solution KDE partially overwrites the xserver variables later with its own settings
stored in ~/.config/fontconfig/fonts.conf. So one must make sure the anti-aliasing settings in 'System Settings->Application Appearence->Fonts' do match!

btw, i got initially inspired by your work to make these script

gkop
Posts: 1
Joined: 2015-07-09 18:19

Re: HOWTO install infinality font-settings for Debian

#44 Post by gkop »

I just wanted to say THANK YOU to jochen for the packages in http://forums.debian.net/viewtopic.php? ... 30#p566078 .

I tried several other suggestions, which did improve on the default Jessie fonts, but these ^^ packages yielded me the same BEAUTIFUL infinality fonts that I had become accustomed to on Wheezy (imo this font rendering is more beautiful than any others I have ever seen, including windows and OSX :D ) So happy!

kenwong
Posts: 53
Joined: 2015-02-14 14:52
Location: Hong Kong

Re: HOWTO install infinality font-settings for Debian

#45 Post by kenwong »

Anybody using testing (stretch) and having installed infinality? How should I install infinality on stretch?

Thank you.

eriksatie
Posts: 15
Joined: 2012-01-10 00:29

Re: HOWTO install infinality font-settings for Debian

#46 Post by eriksatie »

Debian testing user here. Is there a simple instructions to put infinality fonts on this machine? Is the OP instructions still usable?

DebbyIan
Posts: 158
Joined: 2013-05-09 12:12

Re: HOWTO install infinality font-settings for Debian

#47 Post by DebbyIan »

Please stop polluting this thread with user support requests.

Start a new thread instead.

User avatar
bester69
Posts: 2072
Joined: 2015-04-02 13:15
Has thanked: 24 times
Been thanked: 14 times

Re: HOWTO install infinality font-settings for Debian

#48 Post by bester69 »

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
bester69 wrote:STOP 2030 globalists demons, keep the fight for humanity freedom against NWO...

Brainey
Posts: 1
Joined: 2015-09-18 06:58

Re: HOWTO install infinality font-settings for Debian

#49 Post by Brainey »

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

User avatar
bester69
Posts: 2072
Joined: 2015-04-02 13:15
Has thanked: 24 times
Been thanked: 14 times

Re: HOWTO install infinality font-settings for Debian

#50 Post by bester69 »

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.
bester69 wrote:STOP 2030 globalists demons, keep the fight for humanity freedom against NWO...

User avatar
Mad_7
Posts: 111
Joined: 2010-01-09 21:05
Location: Patra, Greece, Europe.

Re: HOWTO install infinality font-settings for Debian

#51 Post by Mad_7 »

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
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: HOWTO install infinality font-settings for Debian

#52 Post by Head_on_a_Stick »

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.
deadbang

User avatar
bester69
Posts: 2072
Joined: 2015-04-02 13:15
Has thanked: 24 times
Been thanked: 14 times

Re: HOWTO install infinality font-settings for Debian

#53 Post by bester69 »

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

Image

Image

:wink:
bester69 wrote:STOP 2030 globalists demons, keep the fight for humanity freedom against NWO...

User avatar
BubuXP
Posts: 29
Joined: 2014-10-27 00:41
Location: Oriental Sicily

Re: HOWTO install infinality font-settings for Debian

#54 Post by BubuXP »

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.

asta
Posts: 2
Joined: 2016-04-25 16:21

Re: HOWTO install infinality font-settings for Debian

#55 Post by asta »

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.

User avatar
BubuXP
Posts: 29
Joined: 2014-10-27 00:41
Location: Oriental Sicily

Re: HOWTO install infinality font-settings for Debian

#56 Post by BubuXP »

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
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: HOWTO install infinality font-settings for Debian

#57 Post by stevepusser »

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
MX Linux packager and developer

User avatar
BubuXP
Posts: 29
Joined: 2014-10-27 00:41
Location: Oriental Sicily

Re: HOWTO install infinality font-settings for Debian

#58 Post by BubuXP »

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
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: HOWTO install infinality font-settings for Debian

#59 Post by stevepusser »

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.
MX Linux packager and developer

User avatar
BubuXP
Posts: 29
Joined: 2014-10-27 00:41
Location: Oriental Sicily

Re: HOWTO install infinality font-settings for Debian

#60 Post by BubuXP »

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.

Post Reply