You are not logged in.
Pages: 1
Hi folks,
Archlinux 86_64 2007 08-2
Please advise on which repo I can download "efax-gtk"
http://efax-gtk.sourceforge.net/
TIA
B.R.
satimis
Offline
It's in the AUR.
Offline
It's in the AUR.
Thanks for your advice.
I found this package on;
http://aur.archlinux.org/packages.php?ID=6884
It needs following dependencies
glibc
gtk2
libsigc++2.0
Sources
http://mesh.dl.sourceforge.net/sourcefo … 12.src.tgz
According to;
AUR User Guidelines
http://wiki.archlinux.org/index.php/AUR_User_Guidelines
Whether running;
pacman -U efax-gtk-3.0.12.src.tgz
will install the package drawing the needed dependencies as well?
TIA
B.R.
satimis
Offline
These will need to be installed before you run makepkg on the PKGBUILD file. In fact, just run makepkg and if there are not installed it will tell you. You probably already have glibc!
Offline
These will need to be installed before you run makepkg on the PKGBUILD file. In fact, just run makepkg and if there are not installed it will tell you. You probably already have glibc!
Thanks for your advice.
I see. The installation won't pull the dependencies?
$ pacman -Qs glibc
local/glibc 2.7-7 (base)
GNU C Library
local/nss-mdns 0.10-1
glibc plugin providing host name resolution via mDNS
Yes. glibc already installed.
$ pacman -Qs gtk2
local/gtk-sharp-2 2.10.2-1
gtk2 bindings for C#
local/gtk2 2.12.8-1
The GTK+ Toolkit (v2)
I have no idea whether the packages installed are the right ones?
$ pacman -Qs libsigc++
local/libsigc++2.0 2.1.1-1
Libsigc++ implements a full callback system for use in widget libraries - V2
package installed.
I see. I think I have to run "makepkg" instead of "makepkg -s" without "s" option up.
Where shall I keep the compressed tarball before its decompression? On /home/satimis?
B.R.
satimis
Offline
It looks like you have all the dependencies installed.
Just download the tarball to your home directory and uncompress it. Some people like having a separate directory for building packages but that is really up to you. All you need to do is uncompress the tarball, change into the <pkgname> directory and run makepkg. Then "pacman -U <pkg file>.
Offline
It looks like you have all the dependencies installed.
Just download the tarball to your home directory and uncompress it. Some people like having a separate directory for building packages but that is really up to you. All you need to do is uncompress the tarball, change into the <pkgname> directory and run makepkg. Then "pacman -U <pkg file>.
Performed following steps:-
$ cd /home/satimis
$ wget http://aur.archlinux.org/packages/efax- … gtk.tar.gz
$ tar zxpf efax-gtk.tar.gz
$ cd efax-gtk
$ ls
PKGBUILD
$ makepkg PKGBUILD
==> ERROR: efax-gtk is not available for the 'x86_64' architecture.
Note that many packages may need a line added to their PKGBUILD
such as arch=('x86_64').
$ cat PKGBUILD
pkgname=efax-gtk
pkgver=3.0.12
pkgrel=1
pkgdesc="Efax-gtk is a GUI front end for the efax fax program"
url="http://efax-gtk.sourceforge.net"
license="GPL"
depends=('gtk2' 'glibc' 'libsigc++2.0')
makedepends=(pkgconfig)
conflicts=()
replaces=()
backup=()
install=
source=(http://mesh.dl.sourceforge.net/sourceforge/efax-gtk/$pkgname-$pkgver.src.tgz)
build() {
# mkdir -p $startdir/pkg/var/spool/fax
cd $startdir/src/$pkgname-$pkgver
./configure --prefix=/usr --sysconfdir=/etc --with-spooldir=/var/spool/fax
make || return 1
make DESTDIR=$startdir/pkg install
}
md5sums=('837a212ea4e5e86cba32ea558c2e8c8a'
add following line;
arch=('x86_64')
between;
pkgver=3.0.12
and
pkgrel=1
$ cat PREBUILD
pkgname=efax-gtk
pkgver=3.0.12
arch=('x86_64')
pkgrel=1
pkgdesc="Efax-gtk is a GUI front end for the efax fax program"
url="http://efax-gtk.sourceforge.net"
license="GPL"
depends=('gtk2' 'glibc' 'libsigc++2.0')
makedepends=(pkgconfig)
conflicts=()
replaces=()
backup=()
install=
source=(http://mesh.dl.sourceforge.net/sourceforge/efax-gtk/$pkgname-$pkgver.src.tgz)
build() {
# mkdir -p $startdir/pkg/var/spool/fax
cd $startdir/src/$pkgname-$pkgver
./configure --prefix=/usr --sysconfdir=/etc --with-spooldir=/var/spool/fax
make || return 1
make DESTDIR=$startdir/pkg install
}
md5sums=('837a212ea4e5e86cba32ea558c2e8c8a'
$ makepkg
.....
.....
==> Tidying install...
-> Removing info/doc files...
-> Compressing man pages...
-> Stripping debugging symbols from binaries and libraries...
==> Creating package...
-> Generating .PKGINFO file...
-> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: efax-gtk (Sat Mar 22 21:32:49 HKT 2008)
This time it works
$ mv efax-gtk-3.0.12.src.tgz efax-gtk-3.0.12.pkg.tgz
$ ls
PKGBUILD efax-gtk-3.0.12.pkg.tgz pkg src
$ sudo pacman -U efax-gtk-3.0.12.pkg.tgz
Password:
loading package data...
error: missing package metadata in efax-gtk-3.0.12.pkg.tgz
error: 'efax-gtk-3.0.12.pkg.tgz': invalid or corrupted package
Failed.
B.R.
satimis
Offline
$ mv efax-gtk-3.0.12.src.tgz efax-gtk-3.0.12.pkg.tgz
$ ls
PKGBUILD efax-gtk-3.0.12.pkg.tgz pkg src
I don't understand the mv there... Once you have run makepkg you will have a file called efax-gtk-3.0.12-x86_64.pkg.tar.gz in that directory. You want to pacman -U that file.
Offline
satimis wrote:$ mv efax-gtk-3.0.12.src.tgz efax-gtk-3.0.12.pkg.tgz
$ ls
PKGBUILD efax-gtk-3.0.12.pkg.tgz pkg srcI don't understand the mv there... Once you have run makepkg you will have a file called efax-gtk-3.0.12-x86_64.pkg.tar.gz in that directory. You want to pacman -U that file.
No I can't find that file.
After running "makepkg PKGBUILD
$ ls efax-gtk
PKGBUILD efax-gtk-3.0.12.src.tgz pkg src
So I renamed it as efax-gtk-3.0.12.pkg.tgz
$ locate efax-gtk *pkg
/home/satimis/abs/local/freetype2-lcd/pkg
/usr/bin/makepkg
/usr/bin/testpkg
/usr/lib/python2.5/test/output/test_pkg
/usr/sbin/gconfpkg
/usr/share/pear/doc/Structures_Graph/docs/tutorials/Structures_Graph/Structures_Graph.pkg
/var/abs/community/system/versionpkg
/var/abs/extra/gnome/gconf/gconfpkg
Can't find that file.
Did it again.
$ rm -rf efax-gtk
$ tar zxpf efax-gtk.tar.gz
$ cd efax-gtk
$ ls
PKGBUILD
$ makepkg PKGBUILD
==> ERROR: efax-gtk is not available for the 'x86_64' architecture.
Note that many packages may need a line added to their PKGBUILD
such as arch=('x86_64').
$ makepkg -s PKGBUILD
==> ERROR: efax-gtk is not available for the 'x86_64' architecture.
Note that many packages may need a line added to their PKGBUILD
such as arch=('x86_64').
Add the line "arch=('x86_64')" on the top of the file PKGBUILD
& cat PKGBUILD
arch=('x86_64')
pkgname=efax-gtk
pkgver=3.0.12
pkgrel=1
pkgdesc="Efax-gtk is a GUI front end for the efax fax program"
url="http://efax-gtk.sourceforge.net"
license="GPL"
depends=('gtk2' 'glibc' 'libsigc++2.0')
makedepends=(pkgconfig)
conflicts=()
replaces=()
backup=()
install=
source=(http://mesh.dl.sourceforge.net/sourceforge/efax-gtk/$pkgname-$pkgver.sr$
build() {
# mkdir -p $startdir/pkg/var/spool/fax
cd $startdir/src/$pkgname-$pkgver
./configure --prefix=/usr --sysconfdir=/etc --with-spooldir=/var/spool/fax
make || return 1
make DESTDIR=$startdir/pkg install
}
md5sums=('837a212ea4e5e86cba32ea558c2e8c8a')
$ makepkg PKGBUILD
==> ERROR: A package has already been built. (use -f to overwrite)
Very strange I can't find it.
$ ls
PKGBUILD
$ makepkg -f PKGBUILD
.....
make[2]: Leaving directory `/home/satimis/efax-gtk/src/efax-gtk-3.0.12'
make[1]: Leaving directory `/home/satimis/efax-gtk/src/efax-gtk-3.0.12'
==> Tidying install...
-> Removing info/doc files...
-> Compressing man pages...
-> Stripping debugging symbols from binaries and libraries...
==> Creating package...
-> Generating .PKGINFO file...
-> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: efax-gtk (Sat Mar 22 23:31:47 HKT 2008)
$ ls -al
total 1104
drwxr-sr-x 4 satimis satimis 4096 2008-03-22 23:30 .
drwxr-xr-x 33 satimis satimis 4096 2008-03-22 23:22 ..
-rw-r--r-- 1 satimis satimis 684 2008-03-22 23:28 PKGBUILD
-rw-r--r-- 1 satimis satimis 1102352 2006-11-09 05:27 efax-gtk-3.0.12.src.tgz
drwxr-sr-x 5 satimis satimis 4096 2008-03-22 23:31 pkg
drwxr-sr-x 3 satimis satimis 4096 2008-03-22 23:30 src
$ sudo find / -name *pkg
Password:
/var/cache/pacman/pkg
/home/satimis/efax-gtk/pkg
/home/satimis/abs/local/freetype2-lcd/pkg
$ sudo find / -name *pkg*
/var/cache/pacman/pkg
/home/satimis/efax-gtk/pkg
Still can't find that *pkg* file.
satimis
Offline
Is the command you are running
makepkg PKGBUILD
?
What happens if you delete everything in the directory but the PKGBUILD and then run just
makepkg
?
Offline
Is the command you are running
makepkg PKGBUILD
?
Yes, on the 1st test.
On the 2nd test, deleting the directory efax-gtk and its content and re-extracting the package, I ran "makepkg -f PKGBUILD". Because w/o the option "f", it complaint saying ;
==> ERROR: A package has already been built. (use -f to overwrite)
I'm quite surprised that I have deleted everything. How can a package be already built?
What happens if you delete everything in the directory but the PKGBUILD and then run just
makepkg
?
I'll test it later and come back to the forum again. I'm now not on Archlinux box.
satimis
Offline
satimis - the underlying problem here is your reluctance to read and understand the relevant documentation e.g. the makepkg and makepkg.conf man pages, the wiki pages on ABS (Arch Build System) etc. Given your stated previous experience with *nix systems, it should not be difficult for you to learn this yourself, rather than relying on random posts from other forum users.
The man pages are on your system, and in the wiki, start here: http://wiki.archlinux.org/index.php/ABS … ild_System
Offline
As an aside, could you possibly show us your /etc/makepkg.conf ? I have a sneaking suspicion your package is being built and placed somewhere set in your makepkg config.
Offline
As an aside, could you possibly show us your /etc/makepkg.conf ? I have a sneaking suspicion your package is being built and placed somewhere set in your makepkg config.
Ah thanks for reminding me.
Sometimes ago on building ABS tree, on /etc/makepkg.conf I changed "PKGDEST=/home/packages" to "PKGDEST=/var/abs/local"
(Remark: I checked my notes confirming above)
$ sudo find / -name *pkg* | grep efax
/var/abs/local/efax-gtk-3.0.12-1-x86_64.pkg.tar.gz
/home/satimis/efax-gtk/pkg
This time I found the package. It is because the PC has been rebooted. Last time if running "updatedb" I think I also found it.
$ cd /var/abs/local/
$ ls
efax-gtk-3.0.12-1-x86_64.pkg.tar.gz freetype2-lcd-2.3.5-3-x86_64.pkg.tar.gz
$ cp efax-gtk-3.0.12-1-x86_64.pkg.tar.gz /home/satimis/efax-gtk
$ cd /home/satimis/efax-gtk
$ ls
PKGBUILD efax-gtk-3.0.12-1-x86_64.pkg.tar.gz efax-gtk-3.0.12.src.tgz pkg src
$ sudo pacman -U efax-gtk-3.0.12-1-x86_64.pkg.tar.gz
Password:
loading package data...
checking dependencies...
(1/1) checking for file conflicts [#################################################] 100%
(1/1) installing efax-gtk [#################################################] 100%
Done
$ which efax-gtk
/usr/bin/efax-gtk
On GNOME desktop
Applications --> Office --> Efax-gtk
starts
efax-gtk: Conditions, Notices and Disclaimers
window
--> Accept
start "efax-gtk" window
Socket running on port 9900
I'll get a modem to test it. I trust it can work. I ran efax on command lines several years ago w/o problem. efax-gtk is its front end.
Start OOo Writer. But I can't find the efax printer there. On "Printer Setup" it only displays "HP_Printer".
I'll sort out this problem later to see whether;
Applications --> System Tools -->: Manage Printing
can help?
If fortunately I can solve all problem I'll write the complete procedure, step by step, on Wiki. Hoping that it can help other folks who are interested on setup "Print Fax" function on applications.
Thanks
B.R.
satimis
Offline
Hi folks,
Have finished the complete setup. Now the fax machine can send and receive faxes. Additionaly fax can be sent direct on application with PRINT command.
I spent an hour and can't figure out how to put following steps on Wiki. "code" "/code" and "quote" "/quote" don't work. The whole document was in a complete state of mess. Should I apply HTLM coding?
Can any folk help me to upload it to Wiki? OR shed me some light how to do it? TIA
==============================================================
Following steps illustrates the setup of a fax machine on a Linux box and sending faxes direct on application with "Print" command. Its features are similiar to running Symantic WinFax on MS Windows box. The complete steps can be divided into 3 parts, namely;
Part-1
Installation of efax-gtk package;
http://efax-gtk.sourceforge.net
which is the frnot-end of efax;
http://www.cce.com/efax/
Part-2
Setup of fax machine on a Linux box,
Archlinux
Version 86-64 2007-08-2
Gnome Desktop
Part-3
Setup of a Virtual fax printer, allowing to send fax direct on application with the "Print" command.
Part-1
Installing efax-gtk
package:- efax-gtk in the AUR
http://aur.archlinux.org/packages.php?ID=6884
It needs following dependencies
glibc
gtk2
libsigc++2.0
To check whether the abovementioned dependencies are already running on the Archlinux box;
$ pacman -Qs glibc
local/glibc 2.7-7 (base)
GNU C Library
local/nss-mdns 0.10-1
glibc plugin providing host name resolution via mDNS
$ pacman -Qs gtk2
local/gtk-sharp-2 2.10.2-1
gtk2 bindings for C#
local/gtk2 2.12.8-1
The GTK+ Toolkit (v2)
$ pacman -Qs libsigc++
local/libsigc++2.0 2.1.1-1
Libsigc++ implements a full callback system for use in widget libraries - V2
They are already running on the Archlinux box.
$ sudo nano /etc/makepkg.conf
set PKGDEST as;
PKGDEST=/home/user/efax-gtk
Creating a prebuild package
$ cd /home/user
$ wget http://aur.archlinux.org/packages/efax- … gtk.tar.gz
$ tar zxpf efax-gtk.tar.gz
$ cd efax-gtk
$ ls
PKGBUILD
$ makepkg PKGBUILD
==> ERROR: efax-gtk is not available for the 'x86_64' architecture.
Note that many packages may need a line added to their PKGBUILD
such as arch=('x86_64').
$ cat PKGBUILD
pkgname=efax-gtk
pkgver=3.0.12
pkgrel=1
pkgdesc="Efax-gtk is a GUI front end for the efax fax program"
url="http://efax-gtk.sourceforge.net"
license="GPL"
depends=('gtk2' 'glibc' 'libsigc++2.0')
makedepends=(pkgconfig)
conflicts=()
replaces=()
backup=()
install=
source=(http://mesh.dl.sourceforge.net/sourceforge/efax-gtk/$pkgname-$pkgver.src.tgz)
build() {
# mkdir -p $startdir/pkg/var/spool/fax
cd $startdir/src/$pkgname-$pkgver
./configure --prefix=/usr --sysconfdir=/etc --with-spooldir=/var/spool/fax
make || return 1
make DESTDIR=$startdir/pkg install
}
md5sums=('837a212ea4e5e86cba32ea558c2e8c8a'
add;
arch=('x86_64')
between the lines;
pkgver=3.0.12
and
pkgrel=1
$ cat PREBUILD
pkgname=efax-gtk
pkgver=3.0.12
arch=('x86_64')
pkgrel=1
pkgdesc="Efax-gtk is a GUI front end for the efax fax program"
url="http://efax-gtk.sourceforge.net"
license="GPL"
depends=('gtk2' 'glibc' 'libsigc++2.0')
makedepends=(pkgconfig)
conflicts=()
replaces=()
backup=()
install=
source=(http://mesh.dl.sourceforge.net/sourceforge/efax-gtk/$pkgname-$pkgver.src.tgz)
build() {
# mkdir -p $startdir/pkg/var/spool/fax
cd $startdir/src/$pkgname-$pkgver
./configure --prefix=/usr --sysconfdir=/etc --with-spooldir=/var/spool/fax
make || return 1
make DESTDIR=$startdir/pkg install
}
md5sums=('837a212ea4e5e86cba32ea558c2e8c8a'
$ makepkg
.....
.....
==> Tidying install...
-> Removing info/doc files...
-> Compressing man pages...
-> Stripping debugging symbols from binaries and libraries...
==> Creating package...
-> Generating .PKGINFO file...
-> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: efax-gtk (Sat Mar 22 21:32:49 HKT 2008)
Done. Continued
$ sudo pacman -U efax-gtk-3.0.12-1-x86_64.pkg.tar.gz
Password:
loading package data...
checking dependencies...
(1/1) checking for file conflicts [#################################################] 100%
(1/1) installing efax-gtk [#################################################] 100%
$ which efax-gtk
/usr/bin/efax-gtk
On GNOME desktop
Applications --> Office --> Efax-gtk
starts "efax-gtk: Conditions, Notices and Disclaimers" window
--> Accept
start "efax-gtk" window
Socket running on port 9900
That concludes Part-1
Part-2
Applications --> Office --> efax-gtk
starts "efax-gtk"
Make following change;
File --> Settings
--> Identity
Name: Your name
Number: Your fax/tel line number
--> Modem
Change;
Serial Device:ttyS1
as;
ttyS0
--> Receive
[check] Popup dialog when fax received by modem
leaving others as DEFAULT --> OK
Clicking "Standyby"
[Inactive] changed to [Standing by to recieve calls]
On the windown box displaying;
Socket running on port 9900
efax-0.9a:14:07:41 opened /dev/ttySO
efax-0.9a:14:07:43
efax-0.9a: 13:29:34 using V2.210-
V90_2M DLSROCKWELLAC/K56 in class 2
efax-0.9a: 13:29:34 waiting for activity
Efax-gtk can now send and receive faxes. That finishes Part-2
Part-3
Setup "Print Fax" command allowing to send fax on application with "Print" command.
Perform following steps;
1. On a browser, type localhost:631 on URL_box
2. Click "Administration" tag and select "Add Printer".
3. On "Add new printer" page, fill in the first line ("Name") with Fax leaving other two lines blank.
--> Continue
4. On "Device for Fax" page, highlight "Internet Printing Protocol (ipp)" (actually, it doesn't matter what you select).
--> Continue
5. On "Device URI for Fax" page, replace "ipp:" with "socket://localhost:9900".
--> Continue
6. On "Maker/Manufacturer for Fax" highlight "Raw"
--> Continue
7. On "Model/Driver for Fax" page highlight "Raw Quene (en)"
--> Add Printer
8 On "Enter username and password for "CUPS" at http://localhost:631" window
Username: root
Password: root password
--> OK
9. On "Set Printer Options"
Fax: Banners
Starting Banner: none
Ending Banner: none
Fax: Policies
Error Policy: stop-printer
Operation Policy: default
--> Set printer Options (clicking either one can work)
Then following notice displayed
The fax printer has been configured successfully.;
Testing:-
Start OpenOffice Writer
Typing few lines on it.
File --> Print --> Select "Fax" --> OK
Starts "efax-gtk: print job received on socket" window automatically.
Enter "Tel number:" --> Send fax
Fax sent. Now it finishes Part-3
Last edited by satimis (2008-03-24 12:20:08)
Offline
Go to the wiki Main Page, there's a Help section.
Offline
Go to the wiki Main Page, there's a Help section.
Noted with thanks.
Done. Still having a minor problem.
I can't figure out how to change the tile "Editing My New Page" to
"Building a Fax machine on Archlinux" on;
http://wiki.archlinux.org/index.php/My_New_Page
Can you help? TIA
satimis
Offline
Click on the "move" link at the top.
Offline
Click on the "move" link at the top.
Thanks
Done
satimis
Offline
satimis - I have commented on your wiki page. Click on the 'discussion' tab for details.
Offline
satimis - I have commented on your wiki page. Click on the 'discussion' tab for details.
Comment:-
Part-1 / Installation should simply consist of a link to the efax-gtk AUR page, and optionally a link to the ABS wiki page. The specifics of Arch package building are covered elsewhere, so there is no need to include them here.
I have been considering leaving out the installation starting
$ tar zxpf efax-gtk.tar.gz
$ cd efax-gtk
$ ls
PKGBUILD
.....
....
etc.
referring the same to;
Building a Package
http://wiki.archlinux.org/index.php/Mak … _a_Package
But in doing so, following part will be left out as well;
$ makepkg
==> ERROR: efax-gtk is not available for the 'x86_64' architecture.
Note that many packages may need a line added to their PKGBUILD
such as arch=('x86_64').
.....
.....
.....
That is for easy reference to users who run 64bit version. Any suggestion?
Additionally, some of your instructions are incorrect e.g. makepkg does not need PKGBUILD as an argument.
Corrected. Thanks.
Now I start testing "PRINT" emails direct on application w/o via HylaFax server. If successful I'll add the complete steps as Part-4
satimis
Offline
Pages: 1