Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 12 Dec 2019, 00:31
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects
DebianDog - Wheezy
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 48 of 99 [1481 Posts]   Goto page: Previous 1, 2, 3, ..., 46, 47, 48, 49, 50, ..., 97, 98, 99 Next
Author Message
saintless


Joined: 11 Jun 2011
Posts: 3882
Location: Bulgaria

PostPosted: Mon 02 Mar 2015, 12:19    Post subject:  

Very nice utility, Fred, thanks Smile
Quote:
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:
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:
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:
#  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/viewtopic.php?p=765330#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:
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
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@debian:~#


Toni

_________________
Farewell, Nooby, you will be missed...
Back to top
View user's profile Send private message MSN Messenger 
fredx181


Joined: 11 Dec 2013
Posts: 4209
Location: holland

PostPosted: Mon 02 Mar 2015, 15:21    Post subject:  

HaHa! Smile

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 Smile ) .

Fred
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 4209
Location: holland

PostPosted: Mon 02 Mar 2015, 17:31    Post subject:  

Hi Toni,

How do you like this workaround/compromise?
Code:
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/viewtopic.php?p=831586#831586

Fred

Last edited by fredx181 on Tue 03 Mar 2015, 14:13; edited 1 time in total
Back to top
View user's profile Send private message 
saintless


Joined: 11 Jun 2011
Posts: 3882
Location: Bulgaria

PostPosted: Tue 03 Mar 2015, 03:24    Post subject:  

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

_________________
Farewell, Nooby, you will be missed...
Back to top
View user's profile Send private message MSN Messenger 
mcewanw

Joined: 16 Aug 2007
Posts: 3200

PostPosted: Tue 03 Mar 2015, 07:44    Post subject:  

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/viewtopic.php?p=831586#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
Back to top
View user's profile Send private message Visit poster's website 
fredx181


Joined: 11 Dec 2013
Posts: 4209
Location: holland

PostPosted: Tue 03 Mar 2015, 14:07    Post subject:  

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/viewtopic.php?p=831586#831586
The most valuable for me was the script from here:
http://www.reddit.com/r/linux/comments/28yuy7/small_bash_script_to_download_youtube_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,
Quote:
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/viewtopic.php?p=831586#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, 17:14; edited 1 time in total
Back to top
View user's profile Send private message 
limelime

Joined: 18 Feb 2015
Posts: 16

PostPosted: Tue 03 Mar 2015, 15:45    Post subject: How do you install mpv?  

Hi,
How do you install mpv?

I tried the followings:
Code:

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".
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 4209
Location: holland

PostPosted: Tue 03 Mar 2015, 16:05    Post subject:  

Hi limelime,

Quote:
How do you install mpv?

I tried the followings:
-----


Strange, doing the exact same I got:
Code:
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:
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:
apt-get purge mpv


Fred
Back to top
View user's profile Send private message 
limelime

Joined: 18 Feb 2015
Posts: 16

PostPosted: Tue 03 Mar 2015, 17:20    Post subject:  

Hi Fred,

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

#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:

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.
Back to top
View user's profile Send private message 
mcewanw

Joined: 16 Aug 2007
Posts: 3200

PostPosted: Wed 04 Mar 2015, 01:02    Post subject:  

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
Back to top
View user's profile Send private message Visit poster's website 
saintless


Joined: 11 Jun 2011
Posts: 3882
Location: Bulgaria

PostPosted: Wed 04 Mar 2015, 05:05    Post subject:  

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

_________________
Farewell, Nooby, you will be missed...
Back to top
View user's profile Send private message MSN Messenger 
Keisha

Joined: 18 Nov 2014
Posts: 469

PostPosted: Wed 04 Mar 2015, 17:54    Post subject: update March 4 2015 on infinality for DD-Wheezy  

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
Back to top
View user's profile Send private message 
saintless


Joined: 11 Jun 2011
Posts: 3882
Location: Bulgaria

PostPosted: Thu 05 Mar 2015, 04:54    Post subject:  

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

_________________
Farewell, Nooby, you will be missed...
Back to top
View user's profile Send private message MSN Messenger 
anikin

Joined: 10 May 2012
Posts: 1020

PostPosted: Thu 05 Mar 2015, 05:52    Post subject:  

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
Quote:
I have them both compiled, but I want to do some testing and maybe preliminary configuration setup first.
and before and after screenshots, maybe?
Back to top
View user's profile Send private message 
Keisha

Joined: 18 Nov 2014
Posts: 469

PostPosted: Sun 08 Mar 2015, 04:14    Post subject: infinality native for wheezy, first try  

***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.php?p=832727#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:
/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:
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:
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:
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.

_________________
“A wise man can learn more from a foolish question than a fool can learn from a wise answer.” --Bruce Lee

Last edited by Keisha on Sun 08 Mar 2015, 12:28; edited 2 times in total
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 48 of 99 [1481 Posts]   Goto page: Previous 1, 2, 3, ..., 46, 47, 48, 49, 50, ..., 97, 98, 99 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Projects
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1959s ][ Queries: 13 (0.0410s) ][ GZIP on ]