You are not logged in.

#1 2008-02-12 12:57:18

satimis
Member
Registered: 2007-03-03
Posts: 186

Where can I download freetype2-lcd tarball

Hi folks,


Archlinux 86-64 2007-08-2


Following;
http://aur.archlinux.org/packages.php

on searching I found

Location      Category      Name      Votes      Description      Maintainer
unsupported     lib     freetype2-lcd 2.3.5-3        84     TrueType font rendering library (with custom LCD filter)     eWoud
unsupported     lib     freetype2-lcd_ 2.3.5-1        8     TrueType font rendering library for LCD Displays     sda00

But the links displayed here don't provide "freetype2-lcd" package.


On googling I found;
freetype2-lcd-2.3.5-13.1.src.rpm
and
freetype2-lcd-2.3.5-13.1.i586.rpm

on
http://download.opensuse.org/repositori … -13.1.html

But they are rpm packages NOT tarball.


Please advise where can I download a workable freetype2-lcd tarball


TIA


B.R.
satimis

Offline

#2 2008-02-12 13:00:50

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: Where can I download freetype2-lcd tarball

wget http://aur.archlinux.org/packages/freetype2-lcd/freetype2-lcd.tar.gz

Then unpack it, within /var/abs/local/

I use untar:

#!/bin/bash

# From http://forums.gentoo.org/viewtopic-t-15443-postdays-0-postorder-asc-start-25.html

TAR=$(which tar)
UNZIP=$(which unzip)
UNRAR=$(which unrar)
SEVENZ=$(which 7z)

if [ ! -e $1 ]; then
   echo "no filename given"
   exit 1
fi

# returns gzip, bzip2 or Zip
TYPE=$(file $1 | cut -d " " -f 2)
NOEXT=$(echo $1 |cut -d "." -f 1)

if [ $TYPE == "gzip" ]; then
    # Extend this - might just need gunzip
    $TAR -vxzf $1
elif [ $TYPE == "bzip2" ]; then
    $TAR -vxjf $1
elif [ $TYPE == "Zip" ]; then
    $UNZIP -dv $NOEXT $1
elif [ $TYPE == "RAR" ]; then
    $UNRAR xv $1 $NOEXT
elif [ $TYPE == "7-zip" ]; then
    $SEVENZ x $1
fi

Offline

#3 2008-02-12 13:08:58

Misfit138
Misfit Emeritus
From: USA
Registered: 2006-11-27
Posts: 4,189

Re: Where can I download freetype2-lcd tarball

Offline

#4 2008-02-12 16:37:32

satimis
Member
Registered: 2007-03-03
Posts: 186

Re: Where can I download freetype2-lcd tarball

Hi brebs


Thanks for your advice and script.

wget http://aur.archlinux.org/packages/freetype2-lcd/freetype2-lcd.tar.gz

Then unpack it, within /var/abs/local/

I'm now building ABS.  I can't find /var/abs/local


$ ls -al /var/abs/

total 36
drwxr-xr-x  8 root root 4096 2008-02-13 07:56 .
drwxr-xr-x 15 root root 4096 2008-02-13 07:45 ..
drwxr-xr-x  6 root root 4096 2008-02-13 07:54 .sup
-rw-r--r--  1 root root  419 2008-01-10 12:51 README
drwxr-xr-x 20 root root 4096 2008-02-13 07:56 community
drwxr-xr-x  6 root root 4096 2008-02-13 07:50 core
drwxr-xr-x 22 root root 4096 2008-02-13 07:54 extra
drwxr-xr-x  5 root root 4096 2008-02-13 07:56 testing
drwxr-xr-x 10 root root 4096 2008-02-13 07:54 unstable

Shall I create /var/abs/local directory?  Shall it be owned by root?  Or by user?  What about its permission?  TIA


B.R.
satimi

Offline

#5 2008-02-12 16:40:07

satimis
Member
Registered: 2007-03-03
Posts: 186

Re: Where can I download freetype2-lcd tarball

Misfit138 wrote:

Thanks for your advice.

I'll try this front end later.


B.R.
satimis

Offline

#6 2008-02-12 17:00:00

loosec
Member
Registered: 2007-03-08
Posts: 134

Re: Where can I download freetype2-lcd tarball

satimis wrote:

Shall I create /var/abs/local directory?  Shall it be owned by root?  Or by user?  What about its permission?

I've always just created it and never thought twice about permissions. The wiki is good reading thou.
ABS-wiki

Offline

#7 2008-02-12 17:08:22

Misfit138
Misfit Emeritus
From: USA
Registered: 2006-11-27
Posts: 4,189

Re: Where can I download freetype2-lcd tarball

loosec wrote:
satimis wrote:

Shall I create /var/abs/local directory?  Shall it be owned by root?  Or by user?  What about its permission?

I've always just created it and never thought twice about permissions. The wiki is good reading thou.
ABS-wiki

/var/abs/local is *yours*, if you choose to create it and own it. However, any build directory will work.
Another method is to use a build directory in your ~. Build as user, and install as root.

Offline

#8 2008-02-15 09:29:50

satimis
Member
Registered: 2007-03-03
Posts: 186

Re: Where can I download freetype2-lcd tarball

loosec wrote:
satimis wrote:

Shall I create /var/abs/local directory?  Shall it be owned by root?  Or by user?  What about its permission?

I've always just created it and never thought twice about permissions. The wiki is good reading thou.
ABS-wiki

Noted and thanks


satimis

Offline

#9 2008-02-15 09:55:30

satimis
Member
Registered: 2007-03-03
Posts: 186

Re: Where can I download freetype2-lcd tarball

Misfit138 wrote:
loosec wrote:
satimis wrote:

Shall I create /var/abs/local directory?  Shall it be owned by root?  Or by user?  What about its permission?

I've always just created it and never thought twice about permissions. The wiki is good reading thou.
ABS-wiki

/var/abs/local is *yours*, if you choose to create it and own it. However, any build directory will work.
Another method is to use a build directory in your ~. Build as user, and install as root.

Created building directory on /home/satimis/abs/local

$ ls -l /home/satimis/ | grep abs

drwxr-xr-x 3 satimis satimis  4096 2008-02-16 00:58 abs

$ ls -l /home/satimis/abs/

total 4
drwxr-xr-x 2 satimis satimis 4096 2008-02-16 00:58 local

I'll download, extract and install "freetype2-lcd.tar.gz" on it

$ cd /home/satimis/abs/local
$ wget http://aur.archlinux.org/packages/freet … lcd.tar.gz


Thanks


satimis

Offline

#10 2008-02-15 10:55:31

satimis
Member
Registered: 2007-03-03
Posts: 186

Re: Where can I download freetype2-lcd tarball

Hi folks,


Unable to install "freetype2-lcd.tar.gz"

I have it download on /home/satimis/abs/local/

$ cd /home/satimis/abs/local

$ makepkg -ci --asroot freetype2-lcd.tar.gz

==> ERROR: The --asroot option is meant for the root user only.
    Please rerun makepkg without the --asroot flag.

$ makepkg -ci freetype2-lcd.tar.gz

==> ERROR: PKGBUILD does not exist.

Did I miss something?  TIA


Edit:

$ makepkg -cip freetype2-lcd.tar.gz

freetype2-lcd.tar.gz: line 1: : command not found

==> ERROR: An unknown error has occured. Exiting...

Still failed.



B.R.
satimis

Last edited by satimis (2008-02-15 11:02:49)

Offline

#11 2008-02-15 11:07:08

Ramses de Norre
Member
From: Leuven - Belgium
Registered: 2007-03-27
Posts: 1,289

Re: Where can I download freetype2-lcd tarball

Did you extract the tarball? And you run makepkg without arguments.

tar -xzf freetype2-lcd.tar.gz
cd freetype2
makepkg -s

Last edited by Ramses de Norre (2008-02-15 11:07:29)

Offline

#12 2008-02-15 11:18:50

satimis
Member
Registered: 2007-03-03
Posts: 186

Re: Where can I download freetype2-lcd tarball

Ramses de Norre wrote:

Did you extract the tarball? And you run makepkg without arguments.

tar -xzf freetype2-lcd.tar.gz
cd freetype2
makepkg -s

Thanks for your advice.  Still failed.

After extracting the tarball and cd freetype2-lcd


$ ls

PKGBUILD                           freetype-2.2.1-subpixel-disable-quantization.diff
bytecode.patch                     freetype-2.3.0-enable-spr.patch
freetype-2.2.1-enable-valid.patch  freetype-2.3.3-ftbitmap.patch
freetype-2.2.1-memcpy-fix.patch    freetype2-lcd.install

$ makepkg -s

==> Making package: freetype2-lcd 2.3.5-3  (Sat Feb 16 03:12:30 HKT 2008)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
==> ERROR: You do not have write permission to store downloads in /home/sources.
    Aborting...

$ makepkg -s --asroot

==> ERROR: The --asroot option is meant for the root user only.
    Please rerun makepkg without the --asroot flag.

$ su
Password:
#  makepkg -s

==> ERROR: Running makepkg as root is a BAD idea and can cause
    permanent, catastrophic damage to your system. If you
    wish to run as root, please use the --asroot option.

Edit-1:

#  ls -l /home/source

ls: cannot access /home/source: No such file or directory

I don't have this file.


Edit-2

On /etc/makepkg.conf
Comment out following line

#SRCDEST=/home/sources

$ cd /home/satimis/abs/local/freetype2-lcd
$ makepkg -s

==> Making package: freetype2-lcd 2.3.5-3  (Sat Feb 16 04:36:40 HKT 2008)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
  -> Downloading freetype-2.3.5.tar.bz2...
--2008-02-16 04:36:40--  http://downloads.sourceforge.net/sourceforge/freetype/f
reetype-2.3.5.tar.bz2
Resolving downloads.sourceforge.net... 66.35.250.203
Connecting to downloads.sourceforge.net|66.35.250.203|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://nchc.dl.sourceforge.net/sourceforge/freetype/freetype-2.3.5.tar
.bz2 [following]
--2008-02-16 04:36:41--  http://nchc.dl.sourceforge.net/sourceforge/freetype/fre
etype-2.3.5.tar.bz2
Resolving nchc.dl.sourceforge.net... 211.79.61.10, 2001:e10:5c00:1::10
Connecting to nchc.dl.sourceforge.net|211.79.61.10|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1279861 (1.2M) [application/x-tar]
Saving to: `freetype-2.3.5.tar.bz2'

100%[=======================================>] 1,279,861    188K/s   in 6.7s   

2008-02-16 04:36:48 (186 KB/s) - `freetype-2.3.5.tar.bz2' saved [1279861/1279861
]

  -> Found bytecode.patch in build dir
  -> Found freetype-2.3.0-enable-spr.patch in build dir
  -> Found freetype-2.2.1-enable-valid.patch in build dir
  -> Found freetype-2.2.1-memcpy-fix.patch in build dir
  -> Found freetype-2.2.1-subpixel-disable-quantization.diff in build dir
==> Validating source files with md5sums...
    freetype-2.3.5.tar.bz2 ... Passed
    bytecode.patch ... Passed
    freetype-2.3.0-enable-spr.patch ... Passed
    freetype-2.2.1-enable-valid.patch ... Passed
    freetype-2.2.1-memcpy-fix.patch ... Passed
    freetype-2.2.1-subpixel-disable-quantization.diff ... Passed
==> Extracting Sources...
  -> bsdtar -x -f freetype-2.3.5.tar.bz2
==> Entering fakeroot environment...
==> Starting build()...
PKGBUILD: line 29: patch: command not found
==> ERROR: Build Failed.
    Aborting...

Edit-3:


$ sudo pacman -S base-devel

:: group base-devel (including ignored packages):
    abs  autoconf  automake  bin86  bison  csup  diffutils  ed  fakeroot  flex  gcc  libtool  m4  make  patch  
    pkgconfig  
:: Install whole content? [Y/n] Y

looking for inter-conflicts...

Targets: csup-20060318-5  abs-1.0-1  diffutils-2.8.1-5  m4-1.4.10-3  autoconf-2.61-3  automake-1.10.1-2  
         bin86-0.16.17-3  bison-2.3-4  ed-0.8-3  fakeroot-1.9.2-1  flex-2.5.33-4  gcc-4.2.3-1  
         libtool-1.5.26-1  make-3.81-3  patch-2.5.4-4  pkgconfig-0.22-3  

Total Download Size:    1.72 MB
Total Installed Size:   22.19 MB
....

It went throught w/o complaint.


$ makepkg -s

......
==> Tidying install...
  -> Removing info/doc files...
  -> Compressing man pages...
  -> Stripping debugging symbols from binaries and libraries...
  -> Removing libtool .la files...
==> Creating package...
  -> Generating .PKGINFO file...
  -> Compressing package...
bsdtar: Failed to open '/var/cache/pacman/pkg/freetype2-lcd-2.3.5-3-x86_64.pkg.tar.gz': Permission denied
==> ERROR: Failed to create package file.

$ sudo makepkg -s

==> ERROR: Running makepkg as root is a BAD idea and can cause
    permanent, catastrophic damage to your system. If you
    wish to run as root, please use the --asroot option.

$ makepkg -s --asroot

==> ERROR: The --asroot option is meant for the root user only.
    Please rerun makepkg without the --asroot flag.

I don't know how to proceed futher.  Make /var/cache/pacman/pkg/ accessible to all users ???  TIA


Edit-4 (PROBLEM SOLVED);

$ sudo mkdir /var/abs/local
Password:
$ sudo chown -R satimis:satimis /var/abs/local
No complaint


$ sudo nano /etc/makepkg.conf
Change;
PKGDEST=/var/cache/pacman/pkg

as
PKGDEST=/var/cache/local


$ cd /home/satimis/abs/local/freetype2-lcd
$ makepkg -s

.....
==> Tidying install...
  -> Removing info/doc files...
  -> Compressing man pages...
  -> Stripping debugging symbols from binaries and libraries...
  -> Removing libtool .la files...
==> Creating package...
  -> Generating .PKGINFO file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: freetype2-lcd (Sat Feb 16 06:05:10 HKT 2008)

Installation went through w/o complaint.


satimis

Last edited by satimis (2008-02-15 14:26:43)

Offline

Board footer

Powered by FluxBB