abclinuxu.cz AbcLinuxu.cz itbiz.cz ITBiz.cz HDmag.cz HDmag.cz abcprace.cz AbcPráce.cz
Inzerujte na AbcPráce.cz od 950 Kč
Rozšířené hledání
×
    včera 18:00 | IT novinky

    DuckDuckGo AI Chat umožňuje "pokecat si" s GPT-3.5 Turbo od OpenAI nebo Claude 1.2 Instant od Anthropic. Bez vytváření účtu. Všechny chaty jsou soukromé. DuckDuckGo je neukládá ani nepoužívá k trénování modelů umělé inteligence.

    Ladislav Hagara | Komentářů: 0
    včera 14:22 | IT novinky

    VASA-1, výzkumný projekt Microsoftu. Na vstupu stačí jediná fotka a zvukový záznam. Na výstupu je dokonalá mluvící nebo zpívající hlava. Prý si technologii nechá jenom pro sebe. Žádné demo, API nebo placená služba. Zatím.

    Ladislav Hagara | Komentářů: 2
    včera 04:44 | Nová verze

    Nová čísla časopisů od nakladatelství Raspberry Pi: MagPi 140 (pdf) a HackSpace 77 (pdf).

    Ladislav Hagara | Komentářů: 0
    včera 01:00 | Nová verze

    ESPHome, tj. open source systém umožňující nastavovat zařízení s čipy ESP (i dalšími) pomocí konfiguračních souborů a připojit je do domácí automatizace, například do Home Assistantu, byl vydán ve verzi 2024.4.0.

    Ladislav Hagara | Komentářů: 0
    18.4. 22:11 | IT novinky Ladislav Hagara | Komentářů: 0
    18.4. 20:55 | Nová verze

    Neziskové průmyslové konsorcium Khronos Group vydalo verzi 1.1 specifikace OpenXR (Wikipedie), tj. standardu specifikujícího přístup k platformám a zařízením pro XR, tj. platformám a zařízením pro AR (rozšířenou realitu) a VR (virtuální realitu). Do základu se z rozšíření dostalo XR_EXT_local_floor. Společnost Collabora implementuje novou verzi specifikace do platformy Monado, tj. open source implementace OpenXR.

    Ladislav Hagara | Komentářů: 2
    18.4. 17:22 | Nová verze

    Byla vydána nová verze 0.38.0 multimediálního přehrávače mpv (Wikipedie) vycházejícího z přehrávačů MPlayer a mplayer2. Přehled novinek, změn a oprav na GitHubu. Požadován je FFmpeg 4.4 nebo novější a také libplacebo 6.338.2 nebo novější.

    Ladislav Hagara | Komentářů: 13
    18.4. 17:11 | Nová verze

    ClamAV (Wikipedie), tj. multiplatformní antivirový engine s otevřeným zdrojovým kódem pro detekci trojských koní, virů, malwaru a dalších škodlivých hrozeb, byl vydán ve verzích 1.3.1, 1.2.3 a 1.0.6. Ve verzi 1.3.1 je mimo jiné řešena bezpečnostní chyba CVE-2024-20380.

    Ladislav Hagara | Komentářů: 2
    18.4. 12:11 | IT novinky

    Digitální a informační agentura (DIA) oznámila (PDF, X a Facebook), že mobilní aplikace Portál občana je ode dneška oficiálně venku.

    Ladislav Hagara | Komentářů: 10
    18.4. 05:11 | Komunita

    #HACKUJBRNO 2024, byly zveřejněny výsledky a výstupy hackathonu města Brna nad otevřenými městskými daty, který se konal 13. a 14. dubna 2024.

    Ladislav Hagara | Komentářů: 2
    KDE Plasma 6
     (68%)
     (11%)
     (2%)
     (20%)
    Celkem 566 hlasů
     Komentářů: 4, poslední 6.4. 15:51
    Rozcestník

    Dotaz: Jak napsat e-build pro libjingle?

    16.12.2005 20:43 Käyttäjä 11133 | skóre: 58 | blog: Ajattelee menneisyyttä
    Jak napsat e-build pro libjingle?
    Přečteno: 163×
    Dobrý den píšu (svůj první) e-build pro libjingle a můj kód vypadá zatím takto:
    # Copyright 1999-2005 Gentoo Foundation
    # Distributed under the terms of the GNU General Public License v2
    # $Header: $
    
    DESCRIPTION=""
    HOMEPAGE="https://sourceforge.net/projects/libjingle/"
    SRC_URI="http://kent.dl.sourceforge.net/sourceforge/libjingle/libjingle-0.1.0.tar.gz"
    
    LICENSE="BSD"
    SLOT="0"
    KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
    IUSE="speex ilbc"
    
    DEPEND="net-libs/ortp"
    RDEPEND="
                speex? ( >=media-libs/speex-1.1.6 )
                ilbc? ( dev-libs/ilbc-rfc3951 )
    "
    
    src_compile() {
        use speex && myconf="--with-speex=/usr/include/speex"
        use ilbc && myconf="--with-ilbc=/usr/include/ilbc"
        econf ${myconf} || die
            emake || die
    }
    
    a při kompilaci mi to vypisuje chybu:
    >>> emerge (1 of 1) net-libs/libjingle-0.1.0 to /
    >>> md5 files   ;-) libjingle-0.1.0.ebuild
    >>> md5 files   ;-) files/digest-libjingle-0.1.0
    >>> md5 src_uri ;-) libjingle-0.1.0.tar.gz
    >>> Unpacking source...
    >>> Unpacking libjingle-0.1.0.tar.gz to /var/tmp/portage/libjingle-0.1.0/work
    >>> Source unpacked.
     * econf: updating libjingle-0.1.0/config.guess with /usr/share/gnuconfig/config.guess
     * econf: updating libjingle-0.1.0/config.sub with /usr/share/gnuconfig/config.sub
    ./configure --prefix=/usr --host=i686-pc-linux-gnu
    --mandir=/usr/share/man --infodir=/usr/share/info
    --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib
    --build=i686-pc-linux-gnu --with-ilbc=/usr/include/ilbc
    checking build system type... i686-pc-linux-gnu
    checking host system type... i686-pc-linux-gnu
    checking target system type... i686-pc-linux-gnu
    checking for a BSD-compatible install... /bin/install -c
    checking whether build environment is sane... yes
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
    checking for C compiler default output... a.out
    checking whether the C compiler works... yes
    checking whether we are cross compiling... no
    checking for suffix of executables...
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether i686-pc-linux-gnu-gcc accepts -g... yes
    checking for i686-pc-linux-gnu-gcc option to accept ANSI C... none needed
    checking for style of include used by make... GNU
    checking dependency style of i686-pc-linux-gnu-gcc... gcc3
    checking for i686-pc-linux-gnu-g++... i686-pc-linux-gnu-g++
    checking whether we are using the GNU C++ compiler... yes
    checking whether i686-pc-linux-gnu-g++ accepts -g... yes
    checking dependency style of i686-pc-linux-gnu-g++... gcc3
    checking for a sed that does not truncate output... /bin/sed
    checking for egrep... grep -E
    checking for ld used by i686-pc-linux-gnu-gcc... /usr/i686-pc-linux-gnu/bin/ld
    checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
    checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r
    checking for BSD-compatible nm... /usr/bin/i686-pc-linux-gnu-nm -B
    checking whether ln -s works... yes
    checking how to recognise dependent libraries... pass_all
    checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E
    checking for ANSI C header files... yes
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking dlfcn.h usability... yes
    checking dlfcn.h presence... yes
    checking for dlfcn.h... yes
    checking how to run the C++ preprocessor... i686-pc-linux-gnu-g++ -E
    checking for i686-pc-linux-gnu-g77... i686-pc-linux-gnu-g77
    checking whether we are using the GNU Fortran 77 compiler... yes
    checking whether i686-pc-linux-gnu-g77 accepts -g... yes
    checking the maximum length of command line arguments... 32768
    checking command to parse /usr/bin/i686-pc-linux-gnu-nm -B output from i686-pc-linux-gnu-gcc object... ok
    checking for objdir... .libs
    checking for i686-pc-linux-gnu-ar... i686-pc-linux-gnu-ar
    checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib
    checking for i686-pc-linux-gnu-strip... i686-pc-linux-gnu-strip
    checking if i686-pc-linux-gnu-gcc static flag  works... yes
    checking if i686-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no
    checking for i686-pc-linux-gnu-gcc option to produce PIC... -fPIC
    checking if i686-pc-linux-gnu-gcc PIC flag -fPIC works... yes
    checking if i686-pc-linux-gnu-gcc supports -c -o file.o... yes
    checking whether the i686-pc-linux-gnu-gcc linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
    checking whether -lc should be explicitly linked in... no
    checking how to hardcode library paths into programs... immediate
    checking whether stripping libraries is possible... yes
    checking dynamic linker characteristics... GNU/Linux ld.so
    checking if libtool supports shared libraries... yes
    checking whether to build shared libraries... yes
    checking whether to build static libraries... yes
    configure: creating libtool
    appending configuration tag "CXX" to libtool
    checking for ld used by i686-pc-linux-gnu-g++... /usr/i686-pc-linux-gnu/bin/ld
    checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
    checking whether the i686-pc-linux-gnu-g++ linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
    checking for i686-pc-linux-gnu-g++ option to produce PIC... -fPIC
    checking if i686-pc-linux-gnu-g++ PIC flag -fPIC works... yes
    checking if i686-pc-linux-gnu-g++ supports -c -o file.o... yes
    checking whether the i686-pc-linux-gnu-g++ linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
    checking how to hardcode library paths into programs... immediate
    checking whether stripping libraries is possible... yes
    checking dynamic linker characteristics... GNU/Linux ld.so
    appending configuration tag "F77" to libtool
    checking if libtool supports shared libraries... yes
    checking whether to build shared libraries... yes
    checking whether to build static libraries... yes
    checking for i686-pc-linux-gnu-g77 option to produce PIC... -fPIC
    checking if i686-pc-linux-gnu-g77 PIC flag -fPIC works... yes
    checking if i686-pc-linux-gnu-g77 supports -c -o file.o... yes
    checking whether the i686-pc-linux-gnu-g77 linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
    checking how to hardcode library paths into programs... immediate
    checking whether stripping libraries is possible... yes
    checking dynamic linker characteristics... GNU/Linux ld.so
    checking for a BSD-compatible install... /bin/install -c
    checking for XML_ParserCreate in -lexpat... yes
    checking alsa/asoundlib.h usability... yes
    checking alsa/asoundlib.h presence... yes
    checking for alsa/asoundlib.h... yes
    checking for snd_pcm_open in -lasound... yes
    checking for pkg-config... /usr/bin/pkg-config
    checking for glib-2.0 gmodule-2.0... yes
    checking GLIB_CFLAGS... -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
    checking GLIB_LIBS... -Wl,--export-dynamic -lgmodule-2.0 -ldl -lglib-2.0
    checking for ortp... yes
    checking ORTP_CFLAGS... -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
    checking ORTP_LIBS... -pthread -lortp -lgthread-2.0 -lglib-2.0
    checking speex.h usability... no
    checking speex.h presence... no
    checking for speex.h... no
    configure: WARNING: Could not find a libspeex version that have the speex_encode_int() function. Please install libspeex=1.0.5 or libspeex>=1.1.6 from http://www.speex.org/
    checking iLBC_decode.h usability... no
    checking iLBC_decode.h presence... no
    checking for iLBC_decode.h... no
    configure: WARNING: Could not find ilbc headers or libs. Please install ilbc package from http://www.linphone.org if you want iLBC codec support in libjingle.
    configure: creating ./config.status
    config.status: creating Makefile
    config.status: creating talk/Makefile
    config.status: creating talk/base/Makefile
    config.status: creating talk/third_party/Makefile
    config.status: creating talk/third_party/mediastreamer/Makefile
    config.status: creating talk/examples/Makefile
    config.status: creating talk/examples/login/Makefile
    config.status: creating talk/examples/call/Makefile
    config.status: creating talk/p2p/Makefile
    config.status: creating talk/p2p/base/Makefile
    config.status: creating talk/p2p/client/Makefile
    config.status: creating talk/session/Makefile
    config.status: creating talk/session/phone/Makefile
    config.status: creating talk/xmllite/Makefile
    config.status: creating talk/xmpp/Makefile
    config.status: creating config.h
    config.status: executing depfiles commands
    
    libjingle 0.1.0
    
    Supported Codecs:
    Speex: no
    iLBC: no
    MULAW: yes
    
    cd . && /bin/sh /var/tmp/portage/libjingle-0.1.0/work/libjingle-0.1.0/missing --run aclocal-1.6
    cd . && \
      /bin/sh /var/tmp/portage/libjingle-0.1.0/work/libjingle-0.1.0/missing --run automake-1.6 --gnu  Makefile
    cd . && /bin/sh /var/tmp/portage/libjingle-0.1.0/work/libjingle-0.1.0/missing --run autoconf
    /bin/sh ./config.status --recheck
    running /bin/sh ./configure  --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --build=i686-pc-linux-gnu --with-ilbc=/usr/include/ilbc CFLAGS=-march=pentium4 -O3 -pipe -fomit-frame-pointer CXXFLAGS=-march=pentium4 -O3 -pipe -fomit-frame-pointer build_alias=i686-pc-linux-gnu host_alias=i686-pc-linux-gnu  --no-create --no-recursion
    checking build system type... i686-pc-linux-gnu
    checking host system type... i686-pc-linux-gnu
    checking target system type... i686-pc-linux-gnu
    checking for a BSD-compatible install... /bin/install -c
    checking whether build environment is sane... yes
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
    checking for C compiler default output file name... a.out
    checking whether the C compiler works... yes
    checking whether we are cross compiling... no
    checking for suffix of executables...
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether i686-pc-linux-gnu-gcc accepts -g... yes
    checking for i686-pc-linux-gnu-gcc option to accept ANSI C... none needed
    checking for style of include used by make... GNU
    checking dependency style of i686-pc-linux-gnu-gcc... gcc3
    checking for i686-pc-linux-gnu-g++... i686-pc-linux-gnu-g++
    checking whether we are using the GNU C++ compiler... yes
    checking whether i686-pc-linux-gnu-g++ accepts -g... yes
    checking dependency style of i686-pc-linux-gnu-g++... gcc3
    checking for a sed that does not truncate output... /bin/sed
    checking for egrep... grep -E
    checking for ld used by i686-pc-linux-gnu-gcc... /usr/i686-pc-linux-gnu/bin/ld
    checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
    checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r
    checking for BSD-compatible nm... /usr/bin/i686-pc-linux-gnu-nm -B
    checking whether ln -s works... yes
    checking how to recognise dependent libraries... pass_all
    checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E
    checking for ANSI C header files... yes
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking dlfcn.h usability... yes
    checking dlfcn.h presence... yes
    checking for dlfcn.h... yes
    checking how to run the C++ preprocessor... i686-pc-linux-gnu-g++ -E
    checking for i686-pc-linux-gnu-g77... i686-pc-linux-gnu-g77
    checking whether we are using the GNU Fortran 77 compiler... yes
    checking whether i686-pc-linux-gnu-g77 accepts -g... yes
    checking the maximum length of command line arguments... 32768
    checking command to parse /usr/bin/i686-pc-linux-gnu-nm -B output from i686-pc-linux-gnu-gcc object... ok
    checking for objdir... .libs
    checking for i686-pc-linux-gnu-ar... i686-pc-linux-gnu-ar
    checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib
    checking for i686-pc-linux-gnu-strip... i686-pc-linux-gnu-strip
    checking for correct ltmain.sh version... no
    
    *** [Gentoo] sanity check failed! ***
    *** libtool.m4 and ltmain.sh have a version mismatch! ***
    *** (libtool.m4 = 1.5.20, ltmain.sh = 1.5) ***
    
    Please run:
    
      libtoolize --copy --force
    
    if appropriate, please contact the maintainer of this
    package (or your distribution) for help.
    
    make: *** [config.status] Error 1
    
    tak bych se chtěl zeptat jak jí předejít. Chyb je tam více: 1. Nejde podpora pro speex
    2. Nejde podpora pro ilbc
    3. Nejde zkompilovat
    Předem děkuji za jakoukoli odpověď.

    Odpovědi

    16.12.2005 20:45 #Tom
    Rozbalit Rozbalit vše Re: Jak napsat e-build pro libjingle?
    A jde to zkompilovat normálně?
    16.12.2005 20:48 Käyttäjä 11133 | skóre: 58 | blog: Ajattelee menneisyyttä
    Rozbalit Rozbalit vše Re: Jak napsat e-build pro libjingle?
    Pokud provedu ten příkaz libtoolize --copy --force tak to jde, ale bez toho spexu a iLBC.
    16.12.2005 21:27 Käyttäjä 11133 | skóre: 58 | blog: Ajattelee menneisyyttä
    Rozbalit Rozbalit vše Re: Jak napsat e-build pro libjingle?
    Ok 3. problém jsem vyřešil pozměněním funkce src_compile() na
    src_compile() {
        use speex && myconf="--with-speex=/usr/include/speex"
        use ilbc && myconf="--with-ilbc=/usr/include/ilbc"
        libtoolize --copy --force
        econf ${myconf} || die
            emake || die
    }
    
    , ale teď mi kompilace padá na (i při manuálním kompilování):
    depmode=gcc3 /bin/sh ../../../depcomp \
    i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../..  -DPOSIX   -march=pentium4 -O3 -pipe -fomit-frame-pointer -c -o relayserver_main.o `test -f 'relayserver_main.cc' || echo './'`relayserver_main.cc
    relayserver_main.cc: In function `int main(int, char**)':
    relayserver_main.cc:47: error: `assert' undeclared (first use this function)
    relayserver_main.cc:47: error: (Each undeclared identifier is reported only
       once for each function it appears in.)
    make[4]: *** [relayserver_main.o] Error 1
    make[4]: *** Waiting for unfinished jobs....
    make[4]: Leaving directory `/var/tmp/portage/libjingle-0.1.0/work/libjingle-0.1.0/talk/p2p/base'
    make[3]: *** [all-recursive] Error 1
    make[3]: Leaving directory `/var/tmp/portage/libjingle-0.1.0/work/libjingle-0.1.0/talk/p2p'
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory `/var/tmp/portage/libjingle-0.1.0/work/libjingle-0.1.0/talk'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/var/tmp/portage/libjingle-0.1.0/work/libjingle-0.1.0'
    make: *** [all] Error 2
    
    16.12.2005 22:03 WerK | skóre: 19 | blog: desktop
    Rozbalit Rozbalit vše Re: Jak napsat e-build pro libjingle?
    Zkuste dat na zacatek toho souboru : #include <assert.h> ... nekdy to tam chybi
    16.12.2005 22:53 Käyttäjä 11133 | skóre: 58 | blog: Ajattelee menneisyyttä
    Rozbalit Rozbalit vše Re: Jak napsat e-build pro libjingle?
    Chybělo tam něco jiného, ale doli mi poradil a udělal jsem diff, teďka experimentuji s epachem.
    16.12.2005 23:03 Jan Kundrát (jkt) | skóre: 27 | blog: jkt | Praha - Bohnice
    Rozbalit Rozbalit vše Re: Jak napsat e-build pro libjingle?
    Jinak IIRC se emake nema pouzivat, lec presne nevim, s ebuildama nedelam. Fakt si precti tu dokumentaci, je hodne pekna.
    Luboš Doležel (Doli) avatar 17.12.2005 16:29 Luboš Doležel (Doli) | skóre: 98 | blog: Doliho blog | Kladensko
    Rozbalit Rozbalit vše Re: Jak napsat e-build pro libjingle?
    Něco jiného to není ;-). Akorát se v C++ používá spíš cassert, V C spíš assert.h
    16.12.2005 21:58 Jan Kundrát (jkt) | skóre: 27 | blog: jkt | Praha - Bohnice
    Rozbalit Rozbalit vše Re: Jak napsat e-build pro libjingle?
    Dobrý den píšu (svůj první) e-build pro libjingle a můj kód vypadá zatím takto:
    SRC_URI="http://kent.dl.sourceforge.net/sourceforge/libjingle/libjingle-0.1.0.tar.gz"
    SRC_URI="mirror://sourceforge/libjingle/libjingle-0.1.0.tar.gz", iirc

    KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
    Fuj, vyhod to, co nepouzivas.

    Precti si dokumentaci...
    16.12.2005 22:24 Käyttäjä 11133 | skóre: 58 | blog: Ajattelee menneisyyttä
    Rozbalit Rozbalit vše Re: Jak napsat e-build pro libjingle?
    ad SRC_URI="mirror://sourceforge/libjingle/libjingle-0.1.0.tar.gz" ve verzi co mám na diksu už je to opravené na radu uživatele "Spike" ad Fuj, vyhod to, co nepouzivas. OK
    17.12.2005 09:40 Spike | skóre: 30 | blog: Communicator | Praha
    Rozbalit Rozbalit vše Re: Jak napsat e-build pro libjingle?
    SRC_URI="mirror://sourceforge/libjingle/${P}.tar.gz"

    ^_~
    17.12.2005 16:19 Jan Kundrát (jkt) | skóre: 27 | blog: jkt | Praha - Bohnice
    Rozbalit Rozbalit vše Re: Jak napsat e-build pro libjingle?
    Njn, rikam, ze s ebuildama nedelam :-).
    David Watzke avatar 17.12.2005 17:44 David Watzke | skóre: 74 | blog: Blog... | Praha
    Rozbalit Rozbalit vše Re: Jak napsat e-build pro libjingle?
    SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
    ^_~
    “Being honest may not get you a lot of friends but it’ll always get you the right ones” ―John Lennon
    16.12.2005 23:21 Käyttäjä 11133 | skóre: 58 | blog: Ajattelee menneisyyttä
    Rozbalit Rozbalit vše Re: Jak napsat e-build pro libjingle?
    Většina problémů vyřešena, e-build jsem publikoval na: http://www.ebuildexchange.org/eshow.php?eid=10101 takže pokud někdo máte zájem.
    16.12.2005 23:29 Käyttäjä 11133 | skóre: 58 | blog: Ajattelee menneisyyttä
    Rozbalit Rozbalit vše Re: Jak napsat e-build pro libjingle?
    17.12.2005 16:21 Jan Kundrát (jkt) | skóre: 27 | blog: jkt | Praha - Bohnice
    Rozbalit Rozbalit vše Re: Jak napsat e-build pro libjingle?
    Proc ne do Bugzilly?
    David Watzke avatar 24.12.2005 20:38 David Watzke | skóre: 74 | blog: Blog... | Praha
    Rozbalit Rozbalit vše Re: Jak napsat e-build pro libjingle?
    Mám taky problém s ebuildem. Už jich bylo víc, ale kupříkladu tohle:
    NM="mac-port"
    DESCRIPTION="APE commandline converter"
    HOMEPAGE="http://sourceforge.net/projects/${NM}/"
    SRC_URI="http://jaist.dl.sourceforge.net/sourceforge/${NM}/${PV}-u4-b4.tar.gz"
    RESTRICT="nomirror"
    LICENSE="LGPL"
    KEYWORDS="~x86 ~amd64"
    S="${WORKDIR}/mac-3.99-u4-b4"
    Můžete pojmenovat třeba mac-3.99-r4.ebuild. Zkompiluje se se vším všady a pak když se provádí ebuild ... qmerge, čili merge do /, tak to tam nevyhodí nic... :/

    Nevíte na co jsem zapomněl?

    “Being honest may not get you a lot of friends but it’ll always get you the right ones” ―John Lennon
    David Watzke avatar 24.12.2005 20:52 David Watzke | skóre: 74 | blog: Blog... | Praha
    Rozbalit Rozbalit vše Re: Jak napsat e-build pro libjingle?
    SRC_URI samozřejmě mirror://sourceforge/${NM}/${PV}-u4-b4.tar.gz. :-D
    “Being honest may not get you a lot of friends but it’ll always get you the right ones” ―John Lennon
    24.12.2005 21:07 Jan Kundrát (jkt) | skóre: 27 | blog: jkt | Praha - Bohnice
    Rozbalit Rozbalit vše Re: Jak napsat e-build pro libjingle?
    NM="mac-port"
    Co to je?
    HOMEPAGE="http://sourceforge.net/projects/${NM}/"
    fuj.
    S="${WORKDIR}/mac-3.99-u4-b4"
    Viz manual...
    David Watzke avatar 24.12.2005 21:52 David Watzke | skóre: 74 | blog: Blog... | Praha
    Rozbalit Rozbalit vše Re: Jak napsat e-build pro libjingle?
    Co to je?
    To jsem okoukal...
    fuj.
    To už jsem taky někde viděl...
    Viz manual...
    Co tam mám hledat? Kdybych tu cestu napsal špatně, ani se to nezkompiluje a hodí to chybu.
    “Being honest may not get you a lot of friends but it’ll always get you the right ones” ―John Lennon
    24.12.2005 21:56 Jan Kundrát (jkt) | skóre: 27 | blog: jkt | Praha - Bohnice
    Rozbalit Rozbalit vše Re: Jak napsat e-build pro libjingle?
    Viz manual...
    Co tam mám hledat? Kdybych tu cestu napsal špatně, ani se to nezkompiluje a hodí to chybu.
    Promennou $S?
    David Watzke avatar 24.12.2005 21:59 David Watzke | skóre: 74 | blog: Blog... | Praha
    Rozbalit Rozbalit vše Re: Jak napsat e-build pro libjingle?
    Path to the temporary build directory, used by src_compile and src_install. Default: "${WORKDIR}/${P}". Ebuilds should not provide a value for this ebuild if it is the default.

    Buď si to neumím správně přeložit, nechápu to, nebo si nejsem vědom toho, co jsem udělal špatně... :-(

    “Being honest may not get you a lot of friends but it’ll always get you the right ones” ―John Lennon
    25.12.2005 08:47 Spike | skóre: 30 | blog: Communicator | Praha
    Rozbalit Rozbalit vše Re: Jak napsat e-build pro libjingle?
    Nemáš to nastavovat, pokud je to default tak jako tak.
    25.12.2005 09:49 Spike | skóre: 30 | blog: Communicator | Praha
    Rozbalit Rozbalit vše Re: Jak napsat e-build pro libjingle?
    Toto by tě mělo VELICE zajímat. http://dev.gentoo.org/~plasmaroo/devmanual/archs/amd64/
    David Watzke avatar 25.12.2005 13:53 David Watzke | skóre: 74 | blog: Blog... | Praha
    Rozbalit Rozbalit vše Re: Jak napsat e-build pro libjingle?
    Děkuju, ty jsi Bůh! Stačí to přehodit v /usr/portage/profiles/default-linux/amd64/2005.1/make.defaults. Fakt díky moc! :o)
    “Being honest may not get you a lot of friends but it’ll always get you the right ones” ―John Lennon
    25.12.2005 14:58 Jan Kundrát (jkt) | skóre: 27 | blog: jkt | Praha - Bohnice
    Rozbalit Rozbalit vše Re: Jak napsat e-build pro libjingle?
    WTF? Proc sahat do profilu???
    David Watzke avatar 25.12.2005 15:16 David Watzke | skóre: 74 | blog: Blog... | Praha
    Rozbalit Rozbalit vše Re: Jak napsat e-build pro libjingle?
    Je to nejrychlejší metoda, kterou jsem našel, když nechci hrabat v ebuildu. Nebo není?
    “Being honest may not get you a lot of friends but it’ll always get you the right ones” ―John Lennon
    25.12.2005 15:44 Jan Kundrát (jkt) | skóre: 27 | blog: jkt | Praha - Bohnice
    Rozbalit Rozbalit vše Re: Jak napsat e-build pro libjingle?
    • Co chces udelat?
    • Proc kvui tomu menis profil, ktery se ti stejne pri pristi synchronizaci prepise?
    • Jak souvisi arch-specific notes pro amd64 s vyse zminenym ebuildem?
    25.12.2005 16:32 Spike | skóre: 30 | blog: Communicator | Praha
    Rozbalit Rozbalit vše Re: Jak napsat e-build pro libjingle?
    Moje chyba, patřilo to asi do úplně jiného dotazu. (Ovšem také jeho a týkalo se to myslím stejného softu.) Mám v tom teď také zmatek. ^_^;
    David Watzke avatar 25.12.2005 16:41 David Watzke | skóre: 74 | blog: Blog... | Praha
    Rozbalit Rozbalit vše Re: Jak napsat e-build pro libjingle?
    Jsou věci, který bych si rád zkompiloval (a už zkompiloval) pro 32bit. Třeba wavplay a wavsplit. Proč měním profil? Protože emergnu jednu věc a zase to vrátím. Jak to souvisí? No to nevím, ten ebuild.. prostě nedovedu napsat. Když se přepnu na 32bit, kompilace failne...
    “Being honest may not get you a lot of friends but it’ll always get you the right ones” ―John Lennon
    25.12.2005 21:38 Lukáš Zapletal | skóre: 42 | blog: lzapův svět | Olomouc
    Rozbalit Rozbalit vše Re: Jak napsat e-build pro libjingle?
    use speex && myconf="--with-speex" use ilbc && myconf="--with-ilbc" libtoolize --copy --force econf ${myconf} || die

    Hmmm, a co když

    USE="speex ilbc" emerge libjingle ?

    Podle tohoto kódu se to zkompiluje jen s ilbc.

    Založit nové vláknoNahoru

    Tiskni Sdílej: Linkuj Jaggni to Vybrali.sme.sk Google Del.icio.us Facebook

    ISSN 1214-1267   www.czech-server.cz
    © 1999-2015 Nitemedia s. r. o. Všechna práva vyhrazena.