ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] q: plib и SDL.h
@ 2012-03-05 16:20 Michael Shigorin
  2012-03-06  3:42 ` REAL
  2012-03-06  3:53 ` REAL
  0 siblings, 2 replies; 5+ messages in thread
From: Michael Shigorin @ 2012-03-05 16:20 UTC (permalink / raw)
  To: sisyphus

	Здравствуйте.
Напоролся тут на недоступность SDL.h при использовании проектом
puSDL.h (и отсутствии -I/usr/include/SDL) -- противопоказания
добавлению в plib такого патча есть?

http://git.altlinux.org/people/mike/packages/?p=plib.git;a=commitdiff;h=6f261a91bf33e218e4f69b3b58448b5c5144eca1

-- 
 ---- WBR, Michael Shigorin <mike@altlinux.ru>
  ------ Linux.Kiev http://www.linux.kiev.ua/


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [sisyphus] q: plib и SDL.h
  2012-03-05 16:20 [sisyphus] q: plib и SDL.h Michael Shigorin
@ 2012-03-06  3:42 ` REAL
  2012-03-06  3:53 ` REAL
  1 sibling, 0 replies; 5+ messages in thread
From: REAL @ 2012-03-06  3:42 UTC (permalink / raw)
  To: shigorin, ALT Linux Sisyphus discussions

05.03.2012 22:20, Michael Shigorin пишет:
> Напоролся тут на недоступность SDL.h при использовании проектом
> puSDL.h (и отсутствии -I/usr/include/SDL)

Не понял...

 > rpm -qf /usr/include/SDL/SDL.h
libSDL-devel-1.2.14-alt6



-- 

REAL aka Евгений Ростовцев, программист ЦНИТ КемГУ



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [sisyphus] q: plib и SDL.h
  2012-03-05 16:20 [sisyphus] q: plib и SDL.h Michael Shigorin
  2012-03-06  3:42 ` REAL
@ 2012-03-06  3:53 ` REAL
  2012-03-06 10:31   ` Sergey V Turchin
  2012-03-06 10:54   ` Michael Shigorin
  1 sibling, 2 replies; 5+ messages in thread
From: REAL @ 2012-03-06  3:53 UTC (permalink / raw)
  To: shigorin, ALT Linux Sisyphus discussions

05.03.2012 22:20, Michael Shigorin пишет:
> Напоролся тут на недоступность SDL.h при использовании проектом
> puSDL.h (и отсутствии -I/usr/include/SDL) -- противопоказания
> добавлению в plib такого патча есть?
>
> http://git.altlinux.org/people/mike/packages/?p=plib.git;a=commitdiff;h=6f261a91bf33e218e4f69b3b58448b5c5144eca1

Думаю, этот патч вовсе излишен. Достаточно в спеке перед %configure 
добавить
%add_optflags -I%_includedir/SDL

-- 

REAL aka Евгений Ростовцев, программист ЦНИТ КемГУ



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [sisyphus] q: plib и SDL.h
  2012-03-06  3:53 ` REAL
@ 2012-03-06 10:31   ` Sergey V Turchin
  2012-03-06 10:54   ` Michael Shigorin
  1 sibling, 0 replies; 5+ messages in thread
From: Sergey V Turchin @ 2012-03-06 10:31 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussions

[-- Attachment #1: Type: text/plain, Size: 326 bytes --]

On 6 марта 2012 09:53:45 REAL wrote:

[...]
> Достаточно в спеке перед %configure
> добавить
> %add_optflags -I%_includedir/SDL
Наверняка можно даже
SDL_CFLAGS=`pkg-config --cflags sdl`
%add_optflags $SDL_CFLAGS

-- 
Regards, Sergey.       ALT Linux, http://www.altlinux.ru/

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [sisyphus] q: plib и SDL.h
  2012-03-06  3:53 ` REAL
  2012-03-06 10:31   ` Sergey V Turchin
@ 2012-03-06 10:54   ` Michael Shigorin
  1 sibling, 0 replies; 5+ messages in thread
From: Michael Shigorin @ 2012-03-06 10:54 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussions

On Tue, Mar 06, 2012 at 09:53:45AM +0600, REAL wrote:
> >Напоролся тут на недоступность SDL.h при использовании проектом
> >puSDL.h (и отсутствии -I/usr/include/SDL) -- противопоказания
> >добавлению в plib такого патча есть?
> >http://git.altlinux.org/people/mike/packages/?p=plib.git;a=commitdiff;h=6f261a91bf33e218e4f69b3b58448b5c5144eca1
> Думаю, этот патч вовсе излишен. Достаточно в спеке перед
> %configure добавить %add_optflags -I%_includedir/SDL

Так это придётся делать везде, где включают puSDL.h,
но не озадачиваются sdl.pc.  Впрочем, настаивать не буду
-- это была попытка собрать FlightGear-1.0.0 для стареньких
видимокарт, да только он всё равно валится с:

X Error of failed request:  GLXBadDrawable
  Major opcode of failed request:  154 (GLX)
  Minor opcode of failed request:  29 (X_GLXGetDrawableAttributes)
  Serial number of failed request:  51
  Current serial number in output stream:  51

-- 
 ---- WBR, Michael Shigorin <mike@altlinux.ru>
  ------ Linux.Kiev http://www.linux.kiev.ua/


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-03-06 10:54 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-05 16:20 [sisyphus] q: plib и SDL.h Michael Shigorin
2012-03-06  3:42 ` REAL
2012-03-06  3:53 ` REAL
2012-03-06 10:31   ` Sergey V Turchin
2012-03-06 10:54   ` Michael Shigorin

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git