Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Angepaßte ebuilds für FFGTK Fritzbox Fax
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
Tinitus
Veteran
Veteran


Joined: 20 Sep 2004
Posts: 1754

PostPosted: Tue Feb 21, 2012 5:31 pm    Post subject: Angepaßte ebuilds für FFGTK Fritzbox Fax Reply with quote

Hallo,

ich habe mal die ebuilds für FFGTK von tabos.org angepaßt:

net-misc/ffgtk

cat ffgtk-0.8.1.ebuild

Code:


# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=2

inherit autotools eutils

MY_P=${PN}-${PV}
DESCRIPTION="Implements fax over TCP on your Fritz!Box"
HOMEPAGE="http://www.tabos.org/ffgtk"
SRC_URI="http://www.tabos.org/ffgtk/download/${MY_P}.tar.bz2"

LICENSE="GPL2"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE="+fax appindicator kwallet ebook cups"

DEPEND=">=x11-libs/gtk+-2.6.16
      >=net-dialup/libcapi-3.0.5"

RDEPEND="$DEPEND
   fax? (   media-libs/tiff
         >=net-dialup/libcapifax-0.7.3 )
   cups? ( net-print/cups )"

AUTOMAKE_OPTIONS="--force --install"

S="${WORKDIR}/${MY_P}"

src_unpack() {
   unpack ${A}

   cd "${S}"

   eautoreconf
   intltoolize --automake --force --copy
}

src_configure() {
   econf --docdir=/usr/share/doc/${PF}/html \
      $(use_with fax capifax) \
      $(use_with appindicator) \
      $(use_with kwallet kwallet4) \
      $(use_with ebook)

   #Hack: replace -L$/ with -L/ (broken Makefile)
   sed -i 's/-L\\\$\//-L\//g' ${S}/plugins/Makefile
}

src_install() {
   emake DESTDIR="${D}" install || die
   dodoc README || die
   docinto scripts || die
   dodoc scripts/install-fax.sh || die

   if use cups ; then
      exeinto /usr/libexec/cups/backend/
      doexe ${D}/usr/share/${PN}/ffgtk-cups || die
      diropts -m1777
      dodir /var/spool/${PN} || die
   fi

   make_desktop_entry /usr/bin/ffgtk "Fritz Fun" /usr/share/pixmaps/ffgtk.png || die
}

pkg_postinst() {
   if use cups ; then
      elog "Installing files for cups support."
      elog "To use cups as a fax driver you have to run"
      elog "Create a new Faxprinter with cups Webfrontend"
      elog "http://localhost:631"
      elog "The Standard PS Driver will work"
      elog
   fi

   elog "If you want to use the incoming notification you'll have to dial #96*5*"
   elog
   elog "To use the capifax plugin you will have to enable capi-over-tcp by"
   elog "dialing #96*3*"
}
Back to top
View user's profile Send private message
Tinitus
Veteran
Veteran


Joined: 20 Sep 2004
Posts: 1754

PostPosted: Tue Feb 21, 2012 5:33 pm    Post subject: Re: Angepaßte ebuilds für FFGTK Fritzbox Fax Reply with quote

net-dialup/libcapi

cat libcapi/libcapi-3.0.5a.ebuild

Code:


# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit eutils

DESCRIPTION="CAPI library used by AVM products"
HOMEPAGE="http://www.tabos.org/ffgtk"
SRC_URI="http://www.tabos.org/ffgtk/download/libcapi20-${PV}.tar.bz2"

LICENSE="GPL2"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE=""

DEPEND=""
RDEPEND=""

S="${WORKDIR}/libcapi20"

src_install() {
   emake install DESTDIR="${D}" || die
}
Back to top
View user's profile Send private message
Tinitus
Veteran
Veteran


Joined: 20 Sep 2004
Posts: 1754

PostPosted: Tue Feb 21, 2012 5:34 pm    Post subject: Re: Angepaßte ebuilds für FFGTK Fritzbox Fax Reply with quote

net-dialup/libcapifax

cat libcapifax/libcapifax-0.7.3.ebuild

Code:


# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit eutils

DESCRIPTION="CAPI library used by AVM products"
HOMEPAGE="http://www.tabos.org/ffgtk"
SRC_URI="http://www.tabos.org/ffgtk/download/libcapi20-${PV}.tar.bz2"

LICENSE="GPL2"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE=""

DEPEND=""
RDEPEND=""

S="${WORKDIR}/libcapi20"

src_install() {
   emake install DESTDIR="${D}" || die
}
Server net-dialup # cat libcapi
libcapi/    libcapifax/
Server net-dialup # cat libcapifax/libcapifax-0.7.3.ebuild
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit eutils

DESCRIPTION="Send and receive fax through FRITZ!Box or compatible routers"
HOMEPAGE="http://www.tabos.org/ffgtk"
SRC_URI="http://www.tabos.org/ffgtk/download/capifax-${PV}-jmb3.tar.bz2"

LICENSE="GPL2"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE=""

DEPEND=">=net-dialup/libcapi-3.0.5
   >=media-libs/spandsp-0.0.6_pre12-r1"
RDEPEND="${DEPEND}"

S="${WORKDIR}/capifax-${PV}"

src_install() {
   emake install DESTDIR="${D}" || die
}
Back to top
View user's profile Send private message
Tinitus
Veteran
Veteran


Joined: 20 Sep 2004
Posts: 1754

PostPosted: Tue Feb 21, 2012 5:35 pm    Post subject: Re: Angepaßte ebuilds für FFGTK Fritzbox Fax Reply with quote

Vielleicht könntet Ihr mal testen.....


Nachtrag:

Um die Funktionalität zu testen empfiehlt es sich ffgtk aus der Konsole zu starten und den Debuglevel in den Einstellungen auf Max. (3) zusetzen.

Gruß
Back to top
View user's profile Send private message
cryptosteve
Veteran
Veteran


Joined: 04 Jan 2004
Posts: 1169
Location: GER

PostPosted: Tue Feb 21, 2012 6:18 pm    Post subject: Reply with quote

Supercool, schonmal vielen Dank dafür.

Ich werde es bei nächster Gelegenheit testen, da ich immer Verwendung für ein aktuelles ffgtk habe.
_________________
- born to create drama -
gpg: 0x9B6C7E15
CS Virtual Travel Bug: VF6G5D
Back to top
View user's profile Send private message
Guschtel
n00b
n00b


Joined: 29 Dec 2005
Posts: 5

PostPosted: Sun Feb 26, 2012 5:44 pm    Post subject: [x] funktioniert auf amd64 Reply with quote

[x] funktioniert auf amd64
Back to top
View user's profile Send private message
cryptosteve
Veteran
Veteran


Joined: 04 Jan 2004
Posts: 1169
Location: GER

PostPosted: Thu Oct 25, 2012 6:54 am    Post subject: Reply with quote

Moin,
es hat nicht zufällig jemand ebuilds für das aktuelle ffgtk 0.8.3 rumfliegen?
_________________
- born to create drama -
gpg: 0x9B6C7E15
CS Virtual Travel Bug: VF6G5D
Back to top
View user's profile Send private message
b3rT
n00b
n00b


Joined: 09 Jun 2003
Posts: 70
Location: Germany

PostPosted: Thu Oct 25, 2012 5:41 pm    Post subject: Reply with quote

für ffgtk reicht ein versions-bump des ebuilds
Back to top
View user's profile Send private message
Tinitus
Veteran
Veteran


Joined: 20 Sep 2004
Posts: 1754

PostPosted: Sat Oct 27, 2012 11:49 am    Post subject: Reply with quote

b3rT wrote:
für ffgtk reicht ein versions-bump des ebuilds


Aber es stürzt dann bei eingehendem Anruf ab....
Back to top
View user's profile Send private message
b3rT
n00b
n00b


Joined: 09 Jun 2003
Posts: 70
Location: Germany

PostPosted: Sat Oct 27, 2012 1:02 pm    Post subject: Reply with quote

bei mir läuft es - auch bei eingehenden anrufen
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
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