Ticket #99 (new Feature)

Opened 3 years ago

Last modified 43 hours ago

Fixed portage-scm tree for liquidsoap via subversion

Reported by: karye Owned by: admin
Priority: 1 Milestone:
Component: Liquidsoap Version: 0.3.6+svn
Keywords: Cc:
Mac OSX: no Linux: yes
NetBSD: no Other Operating System: no
FreeBSD: no

Description

Portage complained about errors in portage tree and missing digest files so I fixed that and successfully emerged liuidsoap-scm. Correct me if I'm misstaken! Attached portage-scm tree.

Instructions: 1. add overlay portage-scm in /etc/make.conf: PORTDIR_OVERLAY="/usr/local/portage /usr/local/portage-scm"

2. add in /etc/portage/package.keywords: media-sound/liquidsoap-scm ** dev-ml/ocaml-fetch-scm ** dev-ml/ocaml-ftp-scm ** dev-ml/ocaml-vorbis-scm ** dev-ml/ocaml-shout-scm ** dev-ml/ocaml-dtools-scm ** dev-ml/ocaml-mad-scm ** dev-ml/ocaml-ogg-scm ** dev-ml/ocaml-lame-scm ** dev-ml/ocaml-ao-scm ** dev-ml/ocaml-taglib-scm ** dev-ml/ocaml-faac-scm ** dev-ml/ocaml-faad-scm ** dev-ml/ocaml-duppy-scm **

3. add in /etc/portage/package.use media-sound/liquidsoap-scm mp3 unicode -alsa ao taglib lame -mp3id3 wget aac -id3tag .. or whatever you like.

Great thx guys for all your work! /karye

Attachments

portage-scm.tar.bz2 Download (7.9 KB) - added by karye 3 years ago.
portage-svn.tar.bz2 Download (5.4 KB) - added by karye 3 years ago.
liquidsoap svn-tree

Change History

Changed 3 years ago by karye

follow-up: ↓ 2   Changed 3 years ago by gim

I fixed a missing digest in ocaml-vorbis ebuilds. Does it fix your tree ? (Or maybe your version of portage don't recognize the new Manifest format?)

trunk/gentoo/portage-scm is meant to be used with paludis which recognize -scm versions and reinstall them on a periodic base. Portage still don't have support for that. I guest the way you deal with it will bring you lots of problems.

in reply to: ↑ 1   Changed 3 years ago by karye

Replying to gim:

I fixed a missing digest in ocaml-vorbis ebuilds. Does it fix your tree ? (Or maybe your version of portage don't recognize the new Manifest format?) trunk/gentoo/portage-scm is meant to be used with paludis which recognize -scm versions and reinstall them on a periodic base. Portage still don't have support for that. I guest the way you deal with it will bring you lots of problems.

I upgraded to latest portage and fixed my tree. Here's the portage variant of the svn-tree if you are interrested. I have no intention to switch to paludis yet ;-) Attached new tarball.

Changed 3 years ago by karye

liquidsoap svn-tree

  Changed 3 years ago by karye

I've added the debug use flag:

# Copyright 2003-2008 The Savonet Team
# Distributed under the terms of the GNU General Public License, v2 or later
# $Header: $

IUSE="debug doc nativecode unicode alsa ao mp3 aac taglib lame rtp speech wget soundtouch"

inherit subversion eutils

DESCRIPTION="Programmable and flexible audio stream generator, mainly intended as a web-radio engine."
HOMEPAGE="http://savonet.sf.net"

ESVN_REPO_URI="https://savonet.svn.sourceforge.net/svnroot/savonet/trunk/liquidsoap"
ESVN_BOOTSTRAP="./bootstrap"

DEPEND="
        dev-lang/ocaml
        dev-ml/pcre-ocaml
        dev-ml/ocaml-duppy-svn
        dev-ml/ocaml-dtools-svn
        dev-ml/ocaml-shout-svn
        dev-ml/ocaml-vorbis-svn
        dev-ml/ocaml-ogg-svn
        unicode? ( dev-ml/camomile )
        alsa?    ( dev-ml/ocaml-alsa-svn )
        ao?      ( dev-ml/ocaml-ao-svn )
        mp3?     ( dev-ml/ocaml-mad-svn )
        aac?     ( dev-ml/ocaml-faac-svn dev-ml/ocaml-faad-svn )
        taglib?  ( dev-ml/ocaml-taglib-svn )
        lame?    ( dev-ml/ocaml-lame-svn )
        soundtouch? ( media-libs/libsoundtouch )
        rtp?     ( net-libs/libortp )
        speech?  ( app-accessibility/festival )
"
RDEPEND="
        >=dev-lang/ocaml-3.08
        speech?  (
                app-accessibility/festival
                media-sound/sox
                media-sound/normalize
        )
        wget?    ( net-misc/wget )
"

SLOT="0"
KEYWORDS="-x86"
LICENSE="GPL-2"
FEATURES="nostrip"

src_compile () {
        econf \
                $(use_enable debug debugging) \
                $(use_enable nativecode) \
                $(use_enable unicode camomile) \
                $(use_enable alsa) \
                $(use_enable ao) \
                $(use_enable mp3 mad) \
                $(use_enable aac) \
                $(use_enable taglib) \
                $(use_enable lame) \
                $(use_enable rtp) \
                $(use_enable soundtouch) \
                || die "configure failed"
        emake || die "emake failed"
        use doc && emake doc
        use doc || emake fakedoc
}

pkg_setup() {
        enewuser  liquidsoap '' '' '' '' || die "problem adding user liquidsoap"
        enewgroup liquidsoap '' '' '' '' || die "problem adding group liquidsoap"
}

src_install () {
        einstall || die "einstall failed"
        use doc && einstall api-doc-install
        einstall gentoo-install
        keepdir /var/lib/log/liquidsoap
        keepdir /var/lib/run/liquidsoap
}

pkg_postinst() {
        einfo "Some example configuration has been put into /etc/liquidsoap/radio.liq."
        einfo "After editing it a bit, you should be able to run it using"
        einfo "/etc/init.d/liquidsoap start"
        einfo "The Savonet team thanks you for using liquidsoap!"
}

  Changed 2 years ago by karye

  • version set to 0.3.6+svn
  • milestone set to 0.3.7

Btw the log dir does not conform with gentoo portage paths: usually the logs end up in /var/log.

So here's an updated ebuild:

# Copyright 2003-2008 The Savonet Team
# Distributed under the terms of the GNU General Public License, v2 or later
# $Header: $

IUSE="debug doc nativecode unicode alsa ao mp3 aac taglib lame rtp speech wget soundtouch"

inherit subversion eutils

DESCRIPTION="Programmable and flexible audio stream generator, mainly intended as a web-radio engine."
HOMEPAGE="http://savonet.sf.net"

ESVN_REPO_URI="https://savonet.svn.sourceforge.net/svnroot/savonet/trunk/liquidsoap"
ESVN_BOOTSTRAP="./bootstrap"

DEPEND="
        dev-lang/ocaml
        dev-ml/pcre-ocaml
        dev-ml/ocaml-duppy-svn
        dev-ml/ocaml-dtools-svn
        dev-ml/ocaml-shout-svn
        dev-ml/ocaml-vorbis-svn
        dev-ml/ocaml-ogg-svn
        unicode? ( dev-ml/camomile )
        alsa?    ( dev-ml/ocaml-alsa-svn )
        ao?      ( dev-ml/ocaml-ao-svn )
        mp3?     ( dev-ml/ocaml-mad-svn )
        aac?     ( dev-ml/ocaml-faac-svn dev-ml/ocaml-faad-svn )
        taglib?  ( dev-ml/ocaml-taglib-svn )
        lame?    ( dev-ml/ocaml-lame-svn )
        soundtouch? ( media-libs/libsoundtouch )
        rtp?     ( net-libs/libortp )
        speech?  ( app-accessibility/festival )
"
RDEPEND="
        >=dev-lang/ocaml-3.08
        speech?  (
                app-accessibility/festival
                media-sound/sox
                media-sound/normalize
        )
        wget?    ( net-misc/wget )
"

SLOT="0"
KEYWORDS="-x86"
LICENSE="GPL-2"
FEATURES="nostrip"

src_compile () {
        econf \
                $(use_enable debug debugging) \
                $(use_enable nativecode) \
                $(use_enable unicode camomile) \
                $(use_enable alsa) \
                $(use_enable ao) \
                $(use_enable mp3 mad) \
                $(use_enable aac) \
                $(use_enable taglib) \
                $(use_enable lame) \
                $(use_enable rtp) \
                $(use_enable soundtouch) \
                || die "configure failed"
        emake || die "emake failed"
        use doc && emake doc
        use doc || emake fakedoc
}

pkg_setup() {
        enewuser  liquidsoap '' '' '' '' || die "problem adding user liquidsoap"
        enewgroup liquidsoap '' '' '' '' || die "problem adding group liquidsoap"
}

src_install () {
        einstall || die "einstall failed"
        use doc && einstall api-doc-install
        einstall gentoo-install
        keepdir /var/log/liquidsoap
        keepdir /var/lib/run/liquidsoap
}

pkg_postinst() {
        einfo "Some example configuration has been put into /etc/liquidsoap/radio.liq."
        einfo "After editing it a bit, you should be able to run it using"
        einfo "/etc/init.d/liquidsoap start"
        einfo "The Savonet team thanks you for using liquidsoap!"
}

  Changed 2 years ago by toots

  • milestone 0.3.7 deleted

  Changed 43 hours ago by 太阳能

China is the world's commitment to implement energy-saving emission reduction targets, to enhance policy support the new energy economy strategy, accelerating the construction of solar photovoltaic technology in rural and urban areas of the application, the relevant state ministries launch solar roofs program. Solar roof planned efforts to break through the integration and solution architecture design of a lack of optical, optoelectronic products combined with low level of construction, optical and network problems, low market awareness of the problem. Solar Roofs Plan into consideration economic and social benefits and other factors, at this stage of economic development, industrial base cities to actively promote a better solar roofs, building integrated photovoltaic curtain wall and other optical model; actively support development in rural and remote areas from the net-generation, implementation of transmission to rural areas, the implementation of the national farmer-friendly policy. Solar roof planned to mobilize all sectors of society through the development of demonstration projects and promote the implementation of relevant national policies. Demonstration projects to strengthen advocacy, to expand its influence, increase market awareness, formation and development of solar photovoltaic products, a good social atmosphere; to promote the implementation of tariff and other Internet-sharing policy, the formation of policy together, amplifying the effect of policies; the optical construction applications as an important building energy efficiency content, in new construction, existing building energy-saving, actively promote the use of urban lighting. Policy limit sun roof demonstration project must be greater than 50kW, which requires at least 400 square meters of total floor area, construction is difficult to participate in the general population, eligible owners will focus on schools, hospitals and government and other public and commercial buildings. Ministry of Finance to consider subsidies, the cost of electricity can be reduced to 0.58 yuan / kWh. Whether PV electricity price electricity price in the thermal power given premium is not clear, but even without the premium, due to lower power generation cost sales price, the owners are still building solar power projects to generate electricity for personal use, replacement power purchased from power. Moreover, local governments can be expected to give additional subsidies, electricity costs will decline further  http://solar-poweronline.info/

Note: See TracTickets for help on using tickets.