DebianDog - Wheezy

A home for all kinds of Puppy related projects
Message
Author
User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#701 Post by fredx181 »

lsusb |grep -i audio
Command 'lsusb' is not found, that's because package "usbutils" is not installed, so install it first:

Code: Select all

apt-get update
apt-get install usbutils
Fred

User avatar
saintless
Posts: 3862
Joined: Sat 11 Jun 2011, 13:43
Location: Bulgaria

#702 Post by saintless »

Thanks, Fred.
I use DD-Squeeze most of the time while posting here and usbutils is included there. I forget sometimes Wheezy does not have exactly the same packages installed.

Toni

User avatar
saintless
Posts: 3862
Joined: Sat 11 Jun 2011, 13:43
Location: Bulgaria

#703 Post by saintless »

Hi, Fred.

Repository updated with latest gsu in Updated section and only smaller mpv available for installing with apt-get. Fixes post information changed:
http://murga-linux.com/puppy/viewtopic. ... 368#776368
If you like something to be changed in the information or in repository structure or inside sections I will do it.

Toni

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#704 Post by fredx181 »

Repository updated with latest gsu in Updated section and only smaller mpv available for installing with apt-get. Fixes post information changed:
http://murga-linux.com/puppy/viewtopic. ... 368#776368
If you like something to be changed in the information or in repository structure or inside sections I will do it.
Thanks, looks good, Toni.

Fred

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#705 Post by fredx181 »

Hi All,

See for YouTube-Get (A simple YouTube downloader application I made), in the 'Utility' thread:
http://www.murga-linux.com/puppy/viewto ... 586#831586

Toni, please test when you have time.
I also added script "m-play" + menu item "Play with MPlayer" for playing a video from a file or a YouTube url with mplayer or mpv.
But maybe it fits better in another package, like gnome-mplayer-1.0.7 or/and mpv.
Also there's "youtube-get-xterm" script in /usr/local/bin which displays the progress in an xterm window.


Fred

User avatar
saintless
Posts: 3862
Joined: Sat 11 Jun 2011, 13:43
Location: Bulgaria

#706 Post by saintless »

Very nice utility, Fred, thanks :)
I also added script "m-play" + menu item "Play with MPlayer" for playing a video from a file or a YouTube url with mplayer or mpv.
I don't think it is good idea to edit included packages if there is easier way than upgrading package version. What do you think about separate m-play deb package with mplayer | mpv as dependency? I think it is fine to keep it in youtube-get with mplayer | mpv dependency. youtube-get might need modding to use uxterm and adding more dependencies anyway.
There is a problem with youtube video files names. Good testing example are these (the first link works fine in youtube-get):
https://www.youtube.com/watch?v=PhHkSB1Yj3E
https://www.youtube.com/watch?v=oS7j8O96vGc
https://www.youtube.com/watch?v=TypkCQszNJU
In Jwm version:

Code: Select all

root@debian:~# youtube-get
________________________________________________

Youtube downloader
________________________________________________

Found URL  https://www.youtube.com/watch?v=PhHkSB1Yj3E 

Downloading the code
Done
Parsing
Found: Itag:18 Quality:360p
Downloading Marina_Devyatova_-_Talyanochka_(PPZ_Russia_2011) 360p
Found URL  https://www.youtube.com/watch?v=oS7j8O96vGc 

Downloading the code
Done
Parsing
Found: Itag:18 Quality:360p
Downloading ÐаÑина_ÐевÑÑова_-_Ð360p
Unable to parse command line: Invalid byte sequence in conversion input
Found URL  https://www.youtube.com/watch?v=TypkCQszNJU 

Downloading the code
Done
Parsing
Found: Itag:18 Quality:360p
Downloading ÐаÑÑÑа-_ÐаÑина_ÐевÑÑова._-_Marina_Devyatova_Katyusha 360p
^[[?1;2cUnable to parse command line: Invalid byte sequence in conversion input
root@debian:~# 1;2c
In OpenBox:

Code: Select all

root@dog:~# youtube-get
________________________________________________

Youtube downloader
________________________________________________

Found URL  https://www.youtube.com/watch?v=PhHkSB1Yj3E 

Downloading the code
Done
Parsing
Found: Itag:18 Quality:360p
Downloading Marina_Devyatova_-_Talyanochka_(PPZ_Russia_2011) 360p
Found URL  https://www.youtube.com/watch?v=oS7j8O96vGc 

Downloading the code
Done
Parsing
Found: Itag:18 Quality:360p
Downloading пїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅ_пїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅ_-_пїЅпїЅпїЅпїЅ 360p
Unable to parse command line: Invalid byte sequence in conversion input
Found URL  https://www.youtube.com/watch?v=TypkCQszNJU 

Downloading the code
Done
Parsing
Found: Itag:18 Quality:360p
Downloading пїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅ-_пїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅ_пїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅ._-_Marina_Devyatova_Katyusha 360p
Unable to parse command line: Invalid byte sequence in conversion input
root@dog:~# 
Fix one is installing locales, setting up with dpkg-reconfigure locales and starting youtube-get from uxterm.
Maybe adding locales as dependency or recommended package will be a solution.

Fix two is adding /etc/default/locale without installing locales:

Code: Select all

#  File generated by update-locale
LANG=en_US.UTF-8
and starting youtube-get from uxterm.
Note Jwm version has /usr/share/i18n/charmaps/UTF-8.gz and it is missing in OpenBox. I guess when I added this file you missed my post:
http://www.murga-linux.com/puppy/viewto ... 330#765330
I'm not sure fix two is good solution. I would go with adding locales as dependency or recommended package for youtube-get.

I will try to test more in the next days.

Edit: Just as example for fix two (without installing locales in Jwm version) starting youtube-get from uxterm:

Code: Select all

root@debian:~# youtube-get
________________________________________________

Youtube downloader
________________________________________________

Found URL  https://www.youtube.com/watch?v=PhHkSB1Yj3E 

Downloading the code
Done
Parsing
Found: Itag:18 Quality:360p
Downloading Marina_Devyatova_-_Talyanochka_(PPZ_Russia_2011) 360p
Found URL  https://www.youtube.com/watch?v=oS7j8O96vGc 

Downloading the code
Done
Parsing
Found: Itag:18 Quality:360p
Downloading Марина_Дев

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#707 Post by fredx181 »

HaHa! :)

Thanks for thoroughly testing Toni!
I knew I overlooked something, Hmm.. locales..., russian.
I'm trying out some workaround now without having to install locales.
For your third example I got it working, the filename would be then "MarinaDevyatovaKatyusha.mp4", by removing all multibyte characters.
But your second contains only russian, so this way it became just .mp4, need to work on that to make it maybe become only the video ID, like "oS7j8O96vGc.mp4" which would be a compromise.
Get back later.
I had at first all names like that (video ID) but I changed it to the title name (with it's consequences :) ) .

Fred

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#708 Post by fredx181 »

Hi Toni,

How do you like this workaround/compromise?

Code: Select all

root@dog:/mnt/sda2/yt# ./youtube-get
________________________________________________

Youtube downloader
________________________________________________


Found URL  https://www.youtube.com/watch?v=PhHkSB1Yj3E 

Downloading the code
Done
Parsing
Found: Itag:18 Quality:360p
Downloading Marina_Devyatova__Talyanochka_PPZ_Russia_2011 360p

Found URL  https://www.youtube.com/watch?v=oS7j8O96vGc 

Downloading the code
Done
Parsing
Found: Itag:18 Quality:360p
Downloading oS7j8O96vGc 360p

Found URL  https://www.youtube.com/watch?v=TypkCQszNJU 

Downloading the code
Done
Parsing
Found: Itag:18 Quality:360p
Downloading Marina_Devyatova_Katyusha 360p
root@dog:/mnt/sda2/yt# 
For the 2nd video the ID name is used (with short displaying message)
The 3rd shows as filename only the english part of the title.

Attached new youtube-get

Maybe what you proposed is best, but I think it's complicated, you can't just run it from the menu.

Edit: Removed youtube-get from here, see for a .deb package with latest changes here:
http://www.murga-linux.com/puppy/viewto ... 586#831586

Fred
Last edited by fredx181 on Tue 03 Mar 2015, 18:13, edited 1 time in total.

User avatar
saintless
Posts: 3862
Joined: Sat 11 Jun 2011, 13:43
Location: Bulgaria

#709 Post by saintless »

fredx181 wrote:For the 2nd video the ID name is used (with short displaying message)
The 3rd shows as filename only the english part of the title.
Hi, Fred.
It is fine this way if you ask me. Even if you make it to use video ID for every download will be OK.
My fix two (without installing locales) is not good solution because it changes locale file content and because it needs running youtube-get in uxterm every time.

Toni

mcewanw
Posts: 3169
Joined: Thu 16 Aug 2007, 10:48
Contact:

#710 Post by mcewanw »

fredx181 wrote:Hi All,

See for YouTube-Get (A simple YouTube downloader application I made), in the 'Utility' thread:
http://www.murga-linux.com/puppy/viewto ... 586#831586

Fred
Hi Fred,

Just wondering if you are sure the code is GPL? I think I know the original outline is from Dr. Mark Humphrys as a student exercise at Dublin City University. Aside from the yad additions and translation of small percentdecode perl script to bash I think its important, if we can assume GPL, to give credit to Mark, at least, for the general idea? Especially since you are publishing the code.

Certainly nice to have a yad frontend to that and general improvements re locales you are working on. Just hope youtube format doesn't change for a while!

William :-)
github mcewanw

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#711 Post by fredx181 »

Hi Toni, William,
William wrote:Just wondering if you are sure the code is GPL? I think I know the original outline is from Dr. Mark Humphrys as a student exercise at Dublin City University. Aside from the yad additions and translation of small percentdecode perl script to bash I think its important, if we can assume GPL, to give credit to Mark, at least, for the general idea? Especially since you are publishing the code.

Certainly nice to have a yad frontend to that and general improvements re locales you are working on. Just hope youtube format doesn't change for a while!
William,
You are absolutely right, I should have mentioned the source.
Edited my post in the Utility thread:
http://www.murga-linux.com/puppy/viewto ... 586#831586
The most valuable for me was the script from here:
http://www.reddit.com/r/linux/comments/ ... be_videos/
(which refers to Dr. Mark Humphrys idea)
Added also info about source on top of script and in description in DEBIAN/control file
Also please see my Edit2 and check out new uploaded .deb
To be honest I don't know much about GPL, how can I know the code is GPL?

Thanks for the feedback!

Toni,
It is fine this way if you ask me. Even if you make it to use video ID for every download will be OK.
Yes, it could by fine if there was no better way, I found it by checking for non-printable characters and only in that case fallback to the video ID name.
Setting up locales to any default language works for me with russian characters, no need to restrict running in uxterm
Added to control: Recommends: locales and Depends; gnome-mplayer-1.0.7 | mpv | mplayer
Indeed let's keep it with included m-play, if you agree.
New .deb here:
http://www.murga-linux.com/puppy/viewto ... 586#831586

And thanks again for testing and your suggestions about locales.

EdIt: Just found another bash script "youtube-downloader.sh" here:
https://gist.github.com/oliveiraev/2992029
How compact can it be!
It needs as argument only the video ID e.g. RxkjBin8mOs
Downloads highest available quality.

Fred
Last edited by fredx181 on Tue 03 Mar 2015, 21:14, edited 1 time in total.

limelime
Posts: 16
Joined: Wed 18 Feb 2015, 16:11

How do you install mpv?

#712 Post by limelime »

Hi,
How do you install mpv?

I tried the followings:

Code: Select all

apt-get update

dpkg -i mpv_0.8.0dd_i386.deb
# It gives the following errors:
#  dpkg: error processing mpv (--install):
#   dependency problems - leaving unconfigured
#  Processing triggers for desktop-file-utils ...
#  Processing triggers for hicolor-icon-theme ...
#  Processing triggers for mime-support ...
#  Errors were encountered while processing:
#   mpv

apt-get -f install
# apt-get displays that it will remove mpv, which doesn't make sense. Here is what it displays:
# The following packages will be REMOVED:
#  mpv

Edit: I was booting in "DebianDog live-boot v3 live (no save)" of "DebianDog-Wheezy-openbox_xfce.iso".

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#713 Post by fredx181 »

Hi limelime,
How do you install mpv?

I tried the followings:
-----
Strange, doing the exact same I got:

Code: Select all

root@dog:~# apt-get update
---------
---------                                              
Reading package lists... Done
root@dog:~# dpkg -i mpv_0.8.0dd_i386.deb
Selecting previously unselected package mpv.
(Reading database ... 32000 files and directories currently installed.)
Unpacking mpv (from mpv_0.8.0dd_i386.deb) ...
dpkg: dependency problems prevent configuration of mpv:
 mpv depends on libva-glx1; however:
  Package libva-glx1 is not installed.
 mpv depends on libva1; however:
  Package libva1 is not installed.
 mpv depends on libdvdnav4; however:
  Package libdvdnav4 is not installed.
 mpv depends on libguess1; however:
  Package libguess1 is not installed.
 mpv depends on libv4l-0; however:
  Package libv4l-0 is not installed.
 mpv depends on libpulse0; however:
  Package libpulse0 is not installed.
 mpv depends on libbs2b0; however:
  Package libbs2b0 is not installed.
 mpv depends on libjack0; however:
  Package libjack0 is not installed.
 mpv depends on libx264-132; however:
  Package libx264-132 is not installed.
 mpv depends on libenca0; however:
  Package libenca0 is not installed.
 mpv depends on libcdio-cdda1; however:
  Package libcdio-cdda1 is not installed.
 mpv depends on libcdio13; however:
  Package libcdio13 is not installed.
 mpv depends on libmpg123-0; however:
  Package libmpg123-0 is not installed.
 mpv 
dpkg: error processing mpv (--install):
 dependency problems - leaving unconfigured
Processing triggers for desktop-file-utils ...
Processing triggers for hicolor-icon-theme ...
Processing triggers for mime-support ...
Errors were encountered while processing:
 mpv
root@dog:~# apt-get -f install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
  libasyncns0 libbs2b0 libcaca0 libcdio-cdda1 libcdio-paranoia1 libcdio13
  libdvdnav4 libenca0 libguess1 libjack0 libjson0 liblircclient0 libmowgli2
  libmpg123-0 libpulse0 libsndfile1 libv4l-0 libv4lconvert0 libva-glx1
  libva-x11-1 libva1 libvdpau1 libvorbis0a libvorbisenc2 libwrap0 libx264-132
Suggested packages:
  libdvdcss2 jackd1 lirc pulseaudio nvidia-vdpau-driver vdpau-driver
Recommended packages:
  tcpd
The following NEW packages will be installed:
  libasyncns0 libbs2b0 libcaca0 libcdio-cdda1 libcdio-paranoia1 libcdio13
  libdvdnav4 libenca0 libguess1 libjack0 libjson0 liblircclient0 libmowgli2
  libmpg123-0 libpulse0 libsndfile1 libv4l-0 libv4lconvert0 libva-glx1
  libva-x11-1 libva1 libvdpau1 libvorbis0a libvorbisenc2 libwrap0 libx264-132
0 upgraded, 26 newly installed, 0 to remove and 27 not upgraded.
1 not fully installed or removed.
Need to get 2,875 kB of archives.
After this operation, 8,557 kB of additional disk space will be used.
Do you want to continue [Y/n]? 
You are sure that apt-get update was successful?
Such a outcome as you have is mostly caused by that the package list is not updated.

Btw, you could have done just:

Code: Select all

apt-get install mpv
But now that you installed with dpkg -i (it's a broken package now=not completely installed), before install do:

Code: Select all

apt-get purge mpv
Fred

limelime
Posts: 16
Joined: Wed 18 Feb 2015, 16:11

#714 Post by limelime »

Hi Fred,

Sorry, my bad. I did comment out earlier deb-multimedia repository from the /etc/apt/sources.list.

Code: Select all

#deb ftp://ftp.deb-multimedia.org wheezy main non-free
I reinstated the repository and did "apt-get update && apt-get install mpv". It is now installed correctly.

For the record, if you commented out deb-multimedia repository, you will get the following error if you tried to install mpv.

Code: Select all

apt-get install mpv
....
....
The following packages have unmet dependencies:
 mpv : Depends: libx264-132 but it is not installable
E: Unable to correct problems, you have held broken packages.

mcewanw
Posts: 3169
Joined: Thu 16 Aug 2007, 10:48
Contact:

#715 Post by mcewanw »

fredx181 wrote: Added also info about source on top of script and in description in DEBIAN/control file
Also please see my Edit2 and check out new uploaded .deb
To be honest I don't know much about GPL, how can I know the code is GPL?
That's good. The only reason I commented about it was that youtube downloaders are of big interest generally and I feel that DebianDog may be of bigger interest also than Toni or yourself may imagine. Such a small Debian system is, I feel very up and coming and likely to be of interest to many. I could imagine the underlying script authors being upset if they came across the DD thread and weren't mentioned in regards to this utility.

I note that the underlying bash script writer 'alcaitiff' doesn't note any license, which in any case would probably be determined by the original version by Dr. Mark Humphrys. However, I can't find any record so far via google of the 2011 version he said he wrote, so maybe he didn't state a license to use either, which is a pity since having no license muddies the waters a bit in terms of permissions to further develop the code, though I am sure there is no problem. At least in giving credit where credit is due the basic code author(s) will surely be happy, which is good since it is a nice and very useful utility that you have further enhanced, and no perl nor python required - excellent!

William
github mcewanw

User avatar
saintless
Posts: 3862
Joined: Sat 11 Jun 2011, 13:43
Location: Bulgaria

#716 Post by saintless »

Hi, Fred and all.
youtube-get added in DD repository and is available for installing with apt-get or synaptic after running apt-get update first. Keeping m-play included is fine. It is youtube related script and it is best to keep it in youtube-get.
I added gmplayer-portable as alternative in control file to make it compatible with DebianDog-Squeeze also (Squeeze has gmplayer-portable already included).
We can replace the package if more improvements or fixes are availble in the future.

Toni

Keisha
Posts: 469
Joined: Tue 18 Nov 2014, 05:43

update March 4 2015 on infinality for DD-Wheezy

#717 Post by Keisha »

I've had a conversation in email with the author of infinality, bohoomil. He tells me that it is not necessary to patch the source of libfontconfig, however the "fontconfig-infinality" font configuration files under /etc/fonts are necessary. But these are just xml .conf files (and one shell script), not binaries. The only function of the patches which bohoomil was formerly supplying, was just to create the .conf files and shell script. They did not modify the libfontconfig binary. Nowadays he supplies these .conf files and shell script separately.

It is, however, necessary to patch libcairo; without a patched libcairo you do not have infinality ---this is confirmed by bohoomil. So, the infinality packages you see offered for Wheezy which lack a patched libcairo are just libfreetype with bytecode interpreter (bci) hinting turned on. They are not really "a taste of infinality".

Hopefully, I can post a set of preliminary .deb's by the end of this week, which do not need anything else added and which match the version numbers of libfreetype and libcairo2 provided by Wheezy. I have them both compiled, but I want to do some testing and maybe preliminary configuration setup first.
“A wise man can learn more from a foolish question than a fool can learn from a wise answer.â€￾ --Bruce Lee

User avatar
saintless
Posts: 3862
Joined: Sat 11 Jun 2011, 13:43
Location: Bulgaria

#718 Post by saintless »

Thank you, Keisha!
Again - work on this when you have time only.
The packages you make for DebianDog-Wheezy will be compatible with standard Debian-Wheezy and useful for much more people not registered in this forum.

Toni

anikin
Posts: 994
Joined: Thu 10 May 2012, 06:16

#719 Post by anikin »

Keisha wrote:I've had a conversation in email with the author of infinality, bohoomil.
Just a pedantic clarification:
bohoomil is a prominent persona in the fonts scene, but he is not the author of infinality, infinality is.
infinality wrote:If it isn't already obvious, I've not had the drive and dedication recently to continue work on this project. I still demand awesome font rendering, but think that maybe I've done my contribution thus far and would like to turn it over to someone who will at least take care of bugfixes and patching cleanly to new versions of freetype.
most probably, bohoomil will take up the torch: http://www.infinality.net/forum/viewtopic.php?f=2&t=350
I have them both compiled, but I want to do some testing and maybe preliminary configuration setup first.
and before and after screenshots, maybe?

Keisha
Posts: 469
Joined: Tue 18 Nov 2014, 05:43

infinality native for wheezy, first try

#720 Post by Keisha »

***UPDATE: Toni has transformed my initial, Debian-novice first-try packages into ones which conform to the Debian package database architecture, so use his install procedure instead; it is at http://murga-linux.com/puppy/viewtopic. ... 727#832727***

download: http://www.datafilehost.com/d/04d7437e
3.44 MB

sha1sum infinality-wheezy.tar.gz
66959b2cf186f58fd1944f794e51f7403cf091d4 infinality-wheezy.tar.gz

The download includes before and after screenies.

Install in this order:

1. infinality-etc-fonts.tar.gz...font configuration files for infinality.
--unpack this in its own subdirectory, for example /tmp/unpacked-etc-fonts-infinality
--use ROX-Filer to rename existing directory /etc/fonts to /etc/fonts--original
--make a new subdirectory /etc/fonts and copy the contents of /tmp/unpacked-etc-fonts-infinality into it.
--in other words, there should now be subdirectories
/etc/fonts/conf.avail
/etc/fonts/conf.avail.infinality
/etc/fonts/conf.d
and files fonts.conf and fonts.dtd

--there is a configuration script,
/etc/fonts/conf.avail.infinality/fc-presets.
To use it, in a terminal window run

Code: Select all

/etc/fonts/conf.avail.infinality/fc-presets set
and choose 1 (combi) (the other options are "ms" if you have Microsoft fonts on your system, and "free" for if you have the infinality-bundle set of fonts, available at http://bohoomil.com/repo/fonts/). This will preset infinality for the "combi" set of font definitions, which is your own custom definitions. By default it gives configuration files for (in addition to the standard infinality configuration set in conf.d)

30-metric-aliases-combi.conf
37-repl-global-combi.conf
60-latin-combi.conf
65-non-latin-combi.conf
66-aliases-wine-combi.conf

and I have added the following links to set infinality for the DejaVu and Oxygen and FreeSans fonts provided with DebianDog Wheezy:
40-nonlatin.conf
45-dejavu.conf
45-latin-misc.conf
45-oxygen.conf
69-unifont.conf
90-non-tt-fonts.conf
90-tt-dejavu.conf
90-tt-oxygen.conf

If you add more fonts, then search for configuration files in either the infinality-bundle repo linked above, or in /etc/fonts/conf.avail.infinality/fonts-settings (which is erroneously referred to in the README in /etc/fonts/conf.d as "ftypes", so I've made a symlink of that name to avoid confusion) for a configuration file or files.


2. Install libfreetype-infinality6_2.4.9-3_i386.deb (right-click in Thunar, Install .deb)...infinality-patched libfreetype and /etc/ld.so.conf.d/freetype-infinality-i386-linux-gnu.conf
--this .deb installs libfreetype.so.6.8.1 and its symlink libfreetype.so in /usr/lib/i386-linux-gnu/freetype-infinality. However, Debian(Dog) Wheezy supplies libfreetype.so.6.8.1 and its symlink libfreetype.so in /usr/lib/i386-linux-gnu.

I was not sure if /etc/ld.so.conf.d/freetype-infinality-i386-linux-gnu.conf will point the library search path correctly, so I simply renamed the originals. This works, so you should do it too:

Code: Select all

mv -f /usr/lib/i386-linux-gnu/libfreetype.so.6.8.1 /usr/lib/i386-linux-gnu/libfreetype.so.6.8.1--original
mv -f /usr/lib/i386-linux-gnu/libfreetype.so /usr/lib/i386-linux-gnu/libfreetype.so--original
ldconfig

3. cairo_1.12.2-1_i386.deb (right-click in Thunar, Install .deb)...infinality-patched libcairo2
--this .deb places libcairo.so.2.11200.2 and its symlink libcairo.so.2 in /usr/lib, but Debian(Dog) Wheezy places them in /usr/lib/i386-linux-gnu. So, I renamed the originals:

Code: Select all

mv -f /usr/lib/i386-linux-gnu/libcairo.so.2.11200.2 /usr/lib/i386-linux-gnu/libcairo.so.2.11200.2--original
mv -f /usr/lib/i386-linux-gnu/libcairo.so.2 /usr/lib/i386-linux-gnu/libcairo.so.2--original
ldconfig

4. infinality-config-file.tar.gz...supplies /etc/profile.d/infinality-settings.sh (configuration file)


Install the above four and reboot and you have infinality fonting in Debian(Dog) Wheezy.

In the config file /etc/profile.d/infinality-settings.sh, I have USE_STYLE= (line 707) set as "DEFAULT" but you may wish to try "INFINALITY" or "LINUX" or "UBUNTU". Ignore the advice about also setting style in /etc/fonts/local.conf, that advice is obsolete, there no longer is a local.conf in infinality. You must reboot for new settings to take effect. Also make sure that the Xft.dpi= number near the top of /etc/profile.d/infinality-settings.sh matches what is shown by

Code: Select all

xdpyinfo | grep resolution
I hope it works for you, and I trust that Toni and Fred can fix it so it complies fully with Debian packaging standards.
Last edited by Keisha on Sun 08 Mar 2015, 16:28, edited 2 times in total.
“A wise man can learn more from a foolish question than a fool can learn from a wise answer.â€￾ --Bruce Lee

Post Reply