openSUSE Forums > openSUSE Build Service (OBS) » How to build package against a packman-package?

Go Back   openSUSE Forums > openSUSE Build Service (OBS)
Forums FAQ Members List Search Today's Posts Mark Forums Read


openSUSE Build Service (OBS) Questions about creating packages for openSUSE and using the Build Service

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 23-May-2009, 19:58
Puzzled Penguin
 
Join Date: Mar 2009
Posts: 13
balta3 hasn't been rated much yet
Default How to build package against a packman-package?

Hi,

I've started a VDR-repository where I want to add a lot of plugins. For the vdr-xine-plugin I need to compile against the libxine from packman. Is there a simple way in the BuildService or do I have to build my own libxine?

Or should I go the dirty way and add the libxine-rpm to the sources and install it in the spec?

I hope someone can help me.

Greets

PS: If someone is interested: home:balta3:vdr(ext/devel/develext)
This are my first steps in building rpms and using the buildservice so if you have suggestions please tell me
Reply With Quote
  #2 (permalink)  
Old 23-May-2009, 21:04
Wise Penguin
 
Join Date: Mar 2009
Posts: 1,824
Akoellh is a reputation jewel in the roughAkoellh is a reputation jewel in the roughAkoellh is a reputation jewel in the roughAkoellh is a reputation jewel in the roughAkoellh is a reputation jewel in the rough
Default Re: How to build package against a packman-package?

If packman were an OBS project, you could set "link" or "aggregate" the package to your repo.

But as packman is independent of the OBS, your only way is to build the packages providing dependencies within your repositoy, too.

Quote:
Or should I go the dirty way and add the libxine-rpm to the sources and install it in the spec?
No way in hell (even if that would work, which I very much doubt).
__________________
“Never attribute to malice that which can be adequately explained by stupidity.” (R.J. Hanlon)
Reply With Quote
  #3 (permalink)  
Old 23-May-2009, 21:28
malcolmlewis's Avatar
Global Moderator
 
Join Date: Jun 2008
Location: Podunk
Posts: 4,621
malcolmlewis has great reputationmalcolmlewis has great reputationmalcolmlewis has great reputationmalcolmlewis has great reputationmalcolmlewis has great reputationmalcolmlewis has great reputation
Default Re: How to build package against a packman-package?

Quote:
Originally Posted by balta3
Hi,

I've started a VDR-repository where I want to add a lot of plugins. For
the vdr-xine-plugin I need to compile against the libxine from packman.
Is there a simple way in the BuildService or do I have to build my own
libxine?

Or should I go the dirty way and add the libxine-rpm to the sources and
install it in the spec?

I hope someone can help me.

Greets

PS: If someone is interested: home:balta3:vdr(ext/devel/develext)
This are my first steps in building rpms and using the buildservice if
you have suggestions please tell me

Hi
It might be better to ask your question on the buildservice mailing
list as there may be patent
issues, see here <http://en.opensuse.org/Application_Black_List>

--
Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.1 (i586) Kernel 2.6.27.21-0.1-pae
up 2 days 22:48, 1 user, load average: 0.17, 0.27, 0.20
ASUS eeePC 1000HE ATOM N280 1.66GHz | GPU Mobile 945GM/GMS/GME

Reply With Quote
  #4 (permalink)  
Old 24-May-2009, 06:52
Puzzled Penguin
 
Join Date: Mar 2009
Posts: 13
balta3 hasn't been rated much yet
Default Re: How to build package against a packman-package?

Quote:
Originally Posted by malcolmlewis View Post
Hi
It might be better to ask your question on the buildservice mailing
list as there may be patent
issues, see here <http://en.opensuse.org/Application_Black_List>
Yes you're right, so I shouldn't build my own xine. But couldn't I link to the libxine-package from openSUSE:11.1 and replace the mentioned vdr-xine-patch by the current version? If I leave the rest of the spec, there shouldn't be any patentissues I think.

However, the user has to install the packman-package because DVB is broadcasted in MPEG...
Reply With Quote
  #5 (permalink)  
Old 24-May-2009, 08:28
malcolmlewis's Avatar
Global Moderator
 
Join Date: Jun 2008
Location: Podunk
Posts: 4,621
malcolmlewis has great reputationmalcolmlewis has great reputationmalcolmlewis has great reputationmalcolmlewis has great reputationmalcolmlewis has great reputationmalcolmlewis has great reputation
Default Re: How to build package against a packman-package?

Quote:
Originally Posted by balta3
malcolmlewis;1990590 Wrote:
> Hi
> It might be better to ask your question on the buildservice mailing
> list as there may be patent
> issues, see here <http://en.opensuse.org/Application_Black_List>


Yes you're right, so I shouldn't build my own xine. But couldn't I link
to the libxine-package from openSUSE:11.1 and replace the mentioned
vdr-xine-patch by the current version? If I leave the rest of the spec,
there shouldn't be any patentissues I think.

However, the user has to install the packman-package because DVB is
broadcasted in MPEG...
Hi
Just add it as a Requires: section and then reference a version number
=> xxxxxx assuming the packman one is greater.

--
Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.1 (i586) Kernel 2.6.27.21-0.1-pae
up 3 days 9:49, 1 user, load average: 3.43, 2.65, 1.21
ASUS eeePC 1000HE ATOM N280 1.66GHz | GPU Mobile 945GM/GMS/GME

Reply With Quote
  #6 (permalink)  
Old 24-May-2009, 09:09
Monex's Avatar
Busy Penguin
 
Join Date: Jun 2008
Location: Germany
Posts: 256
Monex hasn't been rated much yet
Default Re: How to build package against a packman-package?

Hi,

I've found this article: Nabble - opensuse-packaging - home:RedDwarf:fakePackman

Maybe this helps
Reply With Quote
  #7 (permalink)  
Old 24-May-2009, 10:04
malcolmlewis's Avatar
Global Moderator
 
Join Date: Jun 2008
Location: Podunk
Posts: 4,621
malcolmlewis has great reputationmalcolmlewis has great reputationmalcolmlewis has great reputationmalcolmlewis has great reputationmalcolmlewis has great reputationmalcolmlewis has great reputation
Default Re: How to build package against a packman-package?

Quote:
Originally Posted by balta3
malcolmlewis;1990590 Wrote:
> Hi
> It might be better to ask your question on the buildservice mailing
> list as there may be patent
> issues, see here <http://en.opensuse.org/Application_Black_List>


Yes you're right, so I shouldn't build my own xine. But couldn't I link
to the libxine-package from openSUSE:11.1 and replace the mentioned
vdr-xine-patch by the current version? If I leave the rest of the spec,
there shouldn't be any patentissues I think.

However, the user has to install the packman-package because DVB is
broadcasted in MPEG...

Hi
I think it's best you ask the build service, the other option is to add
a package request to packman?

You could also emulate the obs locally, then build and host somewhere?

Another option is to create a nosrc rpm which again you would need to
ask about.

--
Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.1 (i586) Kernel 2.6.27.21-0.1-pae
up 3 days 11:24, 1 user, load average: 0.37, 0.27, 0.25
ASUS eeePC 1000HE ATOM N280 1.66GHz | GPU Mobile 945GM/GMS/GME

Reply With Quote
  #8 (permalink)  
Old 16-Jun-2009, 16:58
Busy Penguin
 
Join Date: Jun 2008
Posts: 389
RedDwarf hasn't been rated much yet
Default Re: How to build package against a packman-package?

home:RedDwarf:fakePackman hasn't a libxine package. I could build a libxine package with better than default openSUSE codec support, but it would still not have everything the Packman packages have since libxine itself implements some probably patented stuff. So it doesn't makes sense.

Still it seems to work. I think right now I'm the only source of Amarok 2.1 with MP4 support. If anybody else is using it I would like to know.

But sure, you can build against the libxine from openSUSE and it will work with the libxine from Packman... I don't think you need to do anything extra. It's user responsability to install a libxine with MPEG support if they want to decode MPEG streams...
Reply With Quote
Reply

Bookmarks


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2