how to make an arch generic package?

View: New views
5 Messages — Rating Filter:   Alert me  

how to make an arch generic package?

by randall-22 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

hi all,

i'm a total noob when it comes to building deb packages so i believe
this list is the place to be.

i'm trying to package my first package, called rsnapshot. the available
version in the repo's is aging and since its just a collection of
scripts it appears to be a nice package for a first try.

so far it seems to work following the routine i noted down here
http://doku.songshu.org/doku.php?id=rsnapshot

only i can not figure out how to make the packages without the
architecture specific name like
rsnapshot_1.3.1-1_amd64.deb

according to the new maintainers guide:
> If your package is an `Architecture: all' one, you need to include all the commands for building the package under the `binary-indep' rule, and leave the `binary-arch' rule empty instead.

or i completely misunderstand what this says or it doesn't work,
probably the last option has something to do with me mis configuring
something.

anybody has a clue?

Thanks,

Randall


--
To UNSUBSCRIBE, email to debian-newmaint-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Re: how to make an arch generic package?

by Paul Wise-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, Oct 21, 2009 at 7:54 PM, randall <randall@...> wrote:

> i'm a total noob when it comes to building deb packages so i believe
> this list is the place to be.

I think you are looking for the debian-mentors list.

--
bye,
pabs

http://wiki.debian.org/PaulWise


--
To UNSUBSCRIBE, email to debian-newmaint-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Re: how to make an arch generic package?

by randall-22 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Paul Wise wrote:
> On Wed, Oct 21, 2009 at 7:54 PM, randall <randall@...> wrote:
>
>> i'm a total noob when it comes to building deb packages so i believe
>> this list is the place to be.
>
> I think you are looking for the debian-mentors list.
>
slightly confusing ;)

but thanks

Randall


--
To UNSUBSCRIBE, email to debian-newmaint-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Re: how to make an arch generic package?

by Goswin von Brederlow-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

randall <randall@...> writes:

> hi all,
>
> i'm a total noob when it comes to building deb packages so i believe
> this list is the place to be.
>
> i'm trying to package my first package, called rsnapshot. the available
> version in the repo's is aging and since its just a collection of
> scripts it appears to be a nice package for a first try.
>
> so far it seems to work following the routine i noted down here
> http://doku.songshu.org/doku.php?id=rsnapshot
>
> only i can not figure out how to make the packages without the
> architecture specific name like
> rsnapshot_1.3.1-1_amd64.deb
>
> according to the new maintainers guide:
>> If your package is an `Architecture: all' one, you need to include all the commands for building the package under the `binary-indep' rule, and leave the `binary-arch' rule empty instead.
>
> or i completely misunderstand what this says or it doesn't work,
> probably the last option has something to do with me mis configuring
> something.
>
> anybody has a clue?
>
> Thanks,
>
> Randall

You not only need to put your build rules under binary-indep but you
also need to set the Architecture accordingly in debian/control.
The later controls the name.

MfG
        Goswin


--
To UNSUBSCRIBE, email to debian-newmaint-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Re: how to make an arch generic package?

by randall-22 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Goswin von Brederlow wrote:

> randall <randall@...> writes:
>
>> hi all,
>>
>> i'm a total noob when it comes to building deb packages so i believe
>> this list is the place to be.
>>
>> i'm trying to package my first package, called rsnapshot. the available
>> version in the repo's is aging and since its just a collection of
>> scripts it appears to be a nice package for a first try.
>>
>> so far it seems to work following the routine i noted down here
>> http://doku.songshu.org/doku.php?id=rsnapshot
>>
>> only i can not figure out how to make the packages without the
>> architecture specific name like
>> rsnapshot_1.3.1-1_amd64.deb
>>
>> according to the new maintainers guide:
>>> If your package is an `Architecture: all' one, you need to include all the commands for building the package under the `binary-indep' rule, and leave the `binary-arch' rule empty instead.
>> or i completely misunderstand what this says or it doesn't work,
>> probably the last option has something to do with me mis configuring
>> something.
>>
>> anybody has a clue?
>>
>> Thanks,
>>
>> Randall
>
> You not only need to put your build rules under binary-indep but you
> also need to set the Architecture accordingly in debian/control.
> The later controls the name.
>
> MfG
>         Goswin

thanks,

Jan Beyer already informed me in a private post to change "any" to "all"
in the control file, this indeed does the trick.

Thanks,

Randall


--
To UNSUBSCRIBE, email to debian-newmaint-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...