debian/0000755000000000000000000000000012201307517007164 5ustar debian/billard-gl.install0000644000000000000000000000016212201307517012564 0ustar src/billard-gl usr/games debian/billard-gl.desktop usr/share/applications debian/billard-gl.xpm usr/share/pixmaps debian/watch0000644000000000000000000000007212201307517010214 0ustar version=3 http://sf.net/billardgl/BillardGL-(.*)\.tar\.gz debian/menu0000644000000000000000000000016212201307517010052 0ustar ?package(billard-gl):needs="X11" section="Games/Simulation" \ title="BillardGL" command="/usr/games/billard-gl" debian/billard-gl.manpages0000644000000000000000000000002412201307517012706 0ustar debian/billard-gl.6 debian/control0000644000000000000000000000260412201307517010571 0ustar Source: billard-gl Section: games Priority: optional Maintainer: Debian Games Team Uploaders: Bartosz Fenski , Barry deFreese Build-Depends: debhelper (>= 9), freeglut3-dev, dpkg-dev (>= 1.16.1~) Standards-Version: 3.9.4 Vcs-Svn: svn://anonscm.debian.org/pkg-games/packages/trunk/billard-gl/ Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-games/packages/trunk/billard-gl/ Homepage: http://www.billardgl.de/index-en.html Package: billard-gl Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, billard-gl-data (= ${source:Version}) Description: 3D billiards game Play a game of 8-ball or 9-ball, either in training mode or against a friend. For beginners, the game features a tutorial, introducing them to the user-interface and controls. Help is also available for those who do not know the rules for an 8-ball or 9-ball game. Package: billard-gl-data Architecture: all Depends: ${misc:Depends} Recommends: billard-gl (= ${source:Version}) Description: 3D billiards game - data files Play a game of 8-ball or 9-ball, either in training mode or against a friend. For beginners, the game features a tutorial, introducing them to the user-interface and controls. Help is also available for those who do not know the rules for an 8-ball or 9-ball game. . This package contains the data files for billard-gl. debian/source/0000755000000000000000000000000012201307517010464 5ustar debian/source/format0000644000000000000000000000001412201307517011672 0ustar 3.0 (quilt) debian/billard-gl.desktop0000644000000000000000000000025512201307517012572 0ustar [Desktop Entry] Type=Application Name=Billard-GL GenericName=billard-gl Comment=Play Billard Game Icon=billard-gl Exec=billard-gl Terminal=false Categories=Game;Simulation; debian/patches/0000755000000000000000000000000012201307517010613 5ustar debian/patches/99_cosmetic_fixes.patch0000755000000000000000000002463412201307517015175 0ustar Author: Thierry Reding Description: Fixes a couple of compiler warnings. Updated: 6/20/2013 - Barry deFreese . Fixed several warnings on string conversions and missing parens. Index: billard-gl-1.75/src/BillardGL.cpp =================================================================== --- billard-gl-1.75.orig/src/BillardGL.cpp 2013-06-19 18:36:57.000000000 -0400 +++ billard-gl-1.75/src/BillardGL.cpp 2013-06-20 04:35:45.000000000 -0400 @@ -35,8 +35,6 @@ #include "BillardGL.h" -#pragma comment(linker, "/subsystem:\"windows\" /entry:\"mainCRTStartup\"") - //Tabellen GLfloat Bewegungstabelle[2000][16][3]; GLint Soundtabelle[1000]; Index: billard-gl-1.75/src/bmp.cpp =================================================================== --- billard-gl-1.75.orig/src/bmp.cpp 2013-06-19 18:36:57.000000000 -0400 +++ billard-gl-1.75/src/bmp.cpp 2013-06-20 04:35:45.000000000 -0400 @@ -4,14 +4,16 @@ // Modified by Volker Blanz, 25.4.2001 // -#include -#include +#include +#include #include #include #include "LA.h" #include "Namen.h" #include "bmp.h" +using namespace std; + // from ioutil: WORDX readWord(FILE *f) { Index: billard-gl-1.75/src/Kugel.cpp =================================================================== --- billard-gl-1.75.orig/src/Kugel.cpp 2013-06-19 18:36:57.000000000 -0400 +++ billard-gl-1.75/src/Kugel.cpp 2013-06-20 05:21:02.000000000 -0400 @@ -123,7 +123,7 @@ glBindTexture(GL_TEXTURE_2D,Texturen[TG]); sprintf(Name,"Texturen/%i/%i.bmp",TG,Nr); loadBMP(tex_r,tex_g,tex_b,Name); - GLfloat *texcoord; + GLfloat *texcoord = NULL; if (tex_r.nrh!=tex_r.nch) { GLfloat Aspekt=(tex_r.nch+1.0)/(tex_r.nrh+1.0); texcoord = (GLfloat*) malloc (20*(Aufloesung+1)*(Aufloesung+2)*sizeof(GLfloat)); @@ -419,17 +419,17 @@ } void Kugel::neuePositionCM(GLfloat neuPos[]) { - GLfloat Pos[]={neuPos[0]/2.8575,neuPos[1]/2.8575,neuPos[2]/2.8575}; + GLfloat Pos[]={static_cast(neuPos[0]/2.8575),static_cast(neuPos[1]/2.8575),static_cast(neuPos[2]/2.8575)}; neuePosition(Pos); } void Kugel::neuePositionCM(GLfloat neuPos_x,GLfloat neuPos_y,GLfloat neuPos_z) { - GLfloat Pos[]={neuPos_x/2.8575,neuPos_y/2.8575,neuPos_z/2.8575}; + GLfloat Pos[]={static_cast(neuPos_x/2.8575),static_cast(neuPos_y/2.8575),static_cast(neuPos_z/2.8575)}; neuePosition(Pos); } void Kugel::neuePositionCM(GLfloat neuPos_x,GLfloat neuPos_y) { - GLfloat Pos[]={neuPos_x/2.8575,neuPos_y/2.8575,0.0}; + GLfloat Pos[]={static_cast(neuPos_x/2.8575),static_cast(neuPos_y/2.8575),0.0}; neuePosition(Pos); } @@ -449,17 +449,17 @@ } void Kugel::neuePositionINCH(GLfloat neuPos[]) { - GLfloat Pos[]={neuPos[0]/1.125,neuPos[1]/1.125,neuPos[2]/1.125}; + GLfloat Pos[]={static_cast(neuPos[0]/1.125),static_cast(neuPos[1]/1.125),static_cast(neuPos[2]/1.125)}; neuePosition(Pos); } void Kugel::neuePositionINCH(GLfloat neuPos_x,GLfloat neuPos_y,GLfloat neuPos_z) { - GLfloat Pos[]={neuPos_x/1.125,neuPos_y/1.125,neuPos_z/1.125}; + GLfloat Pos[]={static_cast(neuPos_x/1.125),static_cast(neuPos_y/1.125),static_cast(neuPos_z/1.125)}; neuePosition(Pos); } void Kugel::neuePositionINCH(GLfloat neuPos_x,GLfloat neuPos_y) { - GLfloat Pos[]={neuPos_x/1.125,neuPos_y/1.125,0.0}; + GLfloat Pos[]={static_cast(neuPos_x/1.125),static_cast(neuPos_y/1.125),0.0}; neuePosition(Pos); } Index: billard-gl-1.75/src/Textfeld.cpp =================================================================== --- billard-gl-1.75.orig/src/Textfeld.cpp 2002-04-23 12:08:13.000000000 -0400 +++ billard-gl-1.75/src/Textfeld.cpp 2013-06-20 06:30:40.000000000 -0400 @@ -168,12 +168,12 @@ Horchen=0; } -void Textfeld::Initialisiere(GLint DLA, char TextZ[]){ +void Textfeld::Initialisiere(GLint DLA, const char TextZ[]){ Initialisiere(DLA); SetzeText(TextZ); } -void Textfeld::InitialisiereKDL(GLint DLA, char TextZ[]){ +void Textfeld::InitialisiereKDL(GLint DLA, const char TextZ[]){ Initialisiere(DLA); SetzeTextKDL(TextZ); } @@ -245,7 +245,7 @@ } -void Textfeld::SetzeText(char TextZ[]){ +void Textfeld::SetzeText(const char TextZ[]){ int i=0; while (TextZ[i] && i<1999) { Zeichenkette[i]=TextZ[i]; @@ -255,7 +255,7 @@ GeneriereDisplayList(); } -void Textfeld::SetzeTextKDL(char TextZ[]){ +void Textfeld::SetzeTextKDL(const char TextZ[]){ int i=0; while (TextZ[i] && i<1999) { Zeichenkette[i]=TextZ[i]; Index: billard-gl-1.75/src/Textfeld.h =================================================================== --- billard-gl-1.75.orig/src/Textfeld.h 2002-04-23 12:10:50.000000000 -0400 +++ billard-gl-1.75/src/Textfeld.h 2013-06-20 06:28:31.000000000 -0400 @@ -3,13 +3,13 @@ Textfeld(); GLint dummyInitialisiere(GLint); void Initialisiere(GLint); - void Initialisiere(GLint,char[]); - void InitialisiereKDL(GLint,char[]); + void Initialisiere(GLint,const char[]); + void InitialisiereKDL(GLint,const char[]); void male(); void Positioniere(GLfloat,GLfloat,GLfloat,GLint); void PositioniereFix(GLfloat,GLfloat,GLfloat,GLint); - void SetzeText(char[]); - void SetzeTextKDL(char[]); + void SetzeText(const char[]); + void SetzeTextKDL(const char[]); GLint Zeichen(char); char* Text(); Index: billard-gl-1.75/src/Schild.h =================================================================== --- billard-gl-1.75.orig/src/Schild.h 2002-04-23 12:10:11.000000000 -0400 +++ billard-gl-1.75/src/Schild.h 2013-06-20 06:39:37.000000000 -0400 @@ -4,10 +4,10 @@ Schild(); void Initialisiere(); void InitialisiereLogo(); - void Initialisiere(GLint,char[]); - void InitialisiereBuchstabe(GLint,char[]); - void Initialisiere(GLint,char[],char); - void Initialisiere(GLint,char[],char[]); + void Initialisiere(GLint,const char[]); + void InitialisiereBuchstabe(GLint,const char[]); + void Initialisiere(GLint,const char[],char); + void Initialisiere(GLint,const char[],const char[]); void male(); void Positioniere(GLfloat,GLfloat,GLfloat,GLfloat); void PositioniereFix(GLfloat,GLfloat,GLfloat,GLfloat); Index: billard-gl-1.75/src/Schild.cpp =================================================================== --- billard-gl-1.75.orig/src/Schild.cpp 2002-04-23 12:09:55.000000000 -0400 +++ billard-gl-1.75/src/Schild.cpp 2013-06-20 07:05:24.000000000 -0400 @@ -31,8 +31,8 @@ } void Schild::Initialisiere(GLint TexGr, - char Name[], - char AlphaName[]){ + const char Name[], + const char AlphaName[]){ FMatrix texr,texg,texb,texa; // Matrix-Bilder, in die die Textur kommt if (!SchildIndex) { SchildIndex=glGenLists(1); @@ -80,7 +80,7 @@ } void Schild::Initialisiere(GLint TexGr, - char Name[]){ + const char Name[]){ FMatrix texr,texg,texb; // Matrix-Bilder, in die die Textur kommt if (!SchildIndex) { SchildIndex=glGenLists(1); @@ -155,7 +155,7 @@ } void Schild::InitialisiereBuchstabe(GLint TexGr, - char Name[]){ + const char Name[]){ FMatrix texr,texg,texb; // Matrix-Bilder, in die die Textur kommt if (!SchildIndex) { SchildIndex=glGenLists(1); @@ -199,7 +199,7 @@ } void Schild::Initialisiere(GLint TexGr, - char Name[], + const char Name[], char Land){ Land='c'; FMatrix texr,texg,texb; // Matrix-Bilder, in die die Textur kommt Index: billard-gl-1.75/src/Schiedsrichter.cpp =================================================================== --- billard-gl-1.75.orig/src/Schiedsrichter.cpp 2002-04-22 06:40:54.000000000 -0400 +++ billard-gl-1.75/src/Schiedsrichter.cpp 2013-06-20 07:04:45.000000000 -0400 @@ -115,8 +115,8 @@ KugelnAnBande[Kugel]=JA; if (!ErsteBeruehrteKugel && ((Bande==20) || - (Bande==21) && (Kugelx<-63.5) || - (Bande==23) && (Kugelx<-63.5))) { + ((Bande==21) && (Kugelx<-63.5)) || + ((Bande==23) && (Kugelx<-63.5)))) { BandeAusserhalbKopffeldvorKugelBeruehrt = JA; } } @@ -236,17 +236,17 @@ ErsteVersenkteKugel && ErsteBeruehrteKugel != 8 && ErsteVersenkteKugel != 8) { - if ((SpielerAmStoss == SPIELER1) && - (ErsteVersenkteKugel < 8) || - (SpielerAmStoss == SPIELER2) && - (ErsteVersenkteKugel > 8)) { + if (((SpielerAmStoss == SPIELER1) && + (ErsteVersenkteKugel < 8)) || + ((SpielerAmStoss == SPIELER2) && + (ErsteVersenkteKugel > 8))) { GruppenVerteilung = S1_GANZE_S2_HALBE; //printf("Gruppenverteilung: S1_GANZE_S2_HALBE\n"); } - if ((SpielerAmStoss == SPIELER1) && - (ErsteVersenkteKugel > 8) || - (SpielerAmStoss == SPIELER2) && - (ErsteVersenkteKugel < 8)) { + if (((SpielerAmStoss == SPIELER1) && + (ErsteVersenkteKugel > 8)) || + ((SpielerAmStoss == SPIELER2) && + (ErsteVersenkteKugel < 8))) { GruppenVerteilung = S1_HALBE_S2_GANZE; //printf("Gruppenverteilung: S1_HALBE_S2_GANZE\n"); } @@ -274,10 +274,10 @@ } } - if ((SpielerAmStoss==SPIELER1) && - (FoulsHintereinanderSpieler1 == 3) || - (SpielerAmStoss==SPIELER2) && - (FoulsHintereinanderSpieler2 == 3)) { + if (((SpielerAmStoss==SPIELER1) && + (FoulsHintereinanderSpieler1 == 3)) || + ((SpielerAmStoss==SPIELER2) && + (FoulsHintereinanderSpieler2 == 3))) { Verloren = JA; //printf("Verloren durch drei Fouls hintereinander\n"); } @@ -485,7 +485,7 @@ GLint Schiedsrichter::FarbigeKugel(GLint Kugel){ if (Spiel==ACHTBALL) { - if (08)&&(nummer[15]>8)); + } while (((nummer[1]<8)&&(nummer[15]<8))||((nummer[1]>8)&&(nummer[15]>8))); Kugel[nummer[0]].neuePositionCM(-63.5,0.0); Kugel[nummer[1]].neuePositionCM(63.5+12*asw3+random(Epsilon),-2.0*a+random(Epsilon)); debian/patches/06_language_pack.patch0000644000000000000000000000322312201307517014722 0ustar Author: Vincent Legout Bug-Debian: http://bugs.debian.org/580711 Description: Fix a segmentation fault due to missing strings in language files Index: billard-gl-1.75/lp/901.lang =================================================================== --- billard-gl-1.75.orig/lp/901.lang 2010-05-08 22:19:14.075833001 +0800 +++ billard-gl-1.75/lp/901.lang 2010-05-08 22:19:43.659833001 +0800 @@ -143,6 +143,8 @@ 295 Texture Interpolation : 296 Off 297 Linear +298 Standard +299 High 300 Quality : 301 Very Fast Index: billard-gl-1.75/lp/904.lang =================================================================== --- billard-gl-1.75.orig/lp/904.lang 2010-05-08 22:20:00.947833001 +0800 +++ billard-gl-1.75/lp/904.lang 2010-05-08 22:20:33.283833001 +0800 @@ -141,6 +141,8 @@ 295 Interpolacion de texturas : 296 No 297 Lineal +298 Normal +299 Alta 300 Calidad : 301 Muy rápido Index: billard-gl-1.75/lp/905.lang =================================================================== --- billard-gl-1.75.orig/lp/905.lang 2010-05-08 22:21:10.631833001 +0800 +++ billard-gl-1.75/lp/905.lang 2010-05-08 22:21:48.847833001 +0800 @@ -141,6 +141,8 @@ 295 Struktur Interpolation : 296 Off 297 Lineær +298 Standard +299 High 300 Kvalitet : 301 Meget Hurtig Index: billard-gl-1.75/lp/907.lang =================================================================== --- billard-gl-1.75.orig/lp/907.lang 2010-05-08 22:21:19.331833000 +0800 +++ billard-gl-1.75/lp/907.lang 2010-05-08 22:21:40.583833001 +0800 @@ -141,6 +141,8 @@ 295 Struktur Interpolation : 296 Off 297 Lineær +298 Standard +299 High 300 Kvalitet : 301 Meget Hurtig debian/patches/series0000644000000000000000000000032712201307561012031 0ustar 01_debianize_data_path.patch 02_divide-by-zero_on_alpha.patch 03_config_buffer_overflows.patch 04_starting_resolution.patch 05_Makefile.patch 06_language_pack.patch 99_cosmetic_fixes.patch 07_segfault_no_home.patch debian/patches/07_segfault_no_home.patch0000644000000000000000000000312412201307517015460 0ustar Description: billard-gl tries to get the HOME dir but doesn't fail gracefully if it is not set in the environment. This patch addresses that. Author: Barry deFreese Debian-Bug: http://bugs.debian.org/715681 Index: billard-gl-1.75/src/KommandoZeilenParameter.cpp =================================================================== --- billard-gl-1.75.orig/src/KommandoZeilenParameter.cpp 2013-08-09 11:52:05.000000000 -0400 +++ billard-gl-1.75/src/KommandoZeilenParameter.cpp 2013-08-09 20:25:45.906456954 -0400 @@ -2,6 +2,9 @@ #include #include #include +#include +#include +#include #include "Namen.h" #include "KommandoZeilenParameter.h" @@ -9,7 +12,13 @@ FILE *f; #ifndef _WIN32 char dateiname[512]; - snprintf(dateiname,sizeof(dateiname),"%s/.BillardGL.conf.v7",getenv("HOME")); + const char *homedir = getenv("HOME"); + if (!homedir) { + struct passwd *pw; + pw = getpwuid(getuid()); + homedir = pw->pw_dir; + } + snprintf(dateiname,sizeof(dateiname),"%s/.BillardGL.conf.v7",homedir); f=fopen(dateiname,"w+"); #endif #ifdef _WIN32 @@ -66,7 +75,13 @@ FILE *f; #ifndef _WIN32 char dateiname[512]; - snprintf(dateiname,sizeof(dateiname),"%s/.BillardGL.conf.v7",getenv("HOME")); + const char *homedir = getenv("HOME"); + if (!homedir) { + struct passwd *pw; + pw = getpwuid(getuid()); + homedir = pw->pw_dir; + } + snprintf(dateiname,sizeof(dateiname),"%s/.BillardGL.conf.v7",homedir); f=fopen(dateiname,"r"); #endif #ifdef _WIN32 debian/patches/02_divide-by-zero_on_alpha.patch0000755000000000000000000000205112201307517016630 0ustar Author: Julien LEMOINE Bug-Debian: http://bugs.debian.org/166378 Description: Fixes divide-by-zero on alphas. --- a/src/kugeltabellen.cpp +++ b/src/kugeltabellen.cpp @@ -7,6 +7,7 @@ #ifndef M_PI #define M_PI 3.14159265358979323846 #endif +#define EPSILON 0.00001 GLint calc_ind2(GLint b, GLint c, GLint Aufloesung) { return ((c*(2*Aufloesung+3-c))/2)+b; @@ -28,9 +29,9 @@ GLfloat temp_y=ay+((b+0.0)/(Aufloesung+0.0))*(by-ay)+((c+0.0)/(Aufloesung+0.0))*(cy-ay); GLfloat temp_z=az+((b+0.0)/(Aufloesung+0.0))*(bz-az)+((c+0.0)/(Aufloesung+0.0))*(cz-az); GLfloat Abstand=sqrt(temp_x*temp_x+temp_y*temp_y+temp_z*temp_z); - temp_x=temp_x/Abstand; - temp_y=temp_y/Abstand; - temp_z=temp_z/Abstand; + temp_x= (temp_x/Abstand == 0) ? EPSILON : temp_x/Abstand; + temp_y= (temp_y/Abstand == 0) ? EPSILON : temp_y/Abstand; + temp_z= (temp_z/Abstand == 0) ? EPSILON : temp_z/Abstand; vertices[iv++]=temp_x; vertices[iv++]=temp_y; vertices[iv++]=temp_z; debian/patches/03_config_buffer_overflows.patch0000755000000000000000000000247612201307517017056 0ustar Author: Ulf Härnhammar Description: Fixes buffer overflows while loading the config file. Bug-Debian: http://bugs.debian.org/290822 --- a/src/KommandoZeilenParameter.cpp +++ b/src/KommandoZeilenParameter.cpp @@ -8,8 +8,8 @@ void SchreibeKonfiguration(){ FILE *f; #ifndef _WIN32 - char dateiname[40]; - sprintf(dateiname,"%s/.BillardGL.conf.v7",getenv("HOME")); + char dateiname[512]; + snprintf(dateiname,sizeof(dateiname),"%s/.BillardGL.conf.v7",getenv("HOME")); f=fopen(dateiname,"w+"); #endif #ifdef _WIN32 @@ -65,8 +65,8 @@ void LeseKonfiguration(){ FILE *f; #ifndef _WIN32 - char dateiname[40]; - sprintf(dateiname,"%s/.BillardGL.conf.v7",getenv("HOME")); + char dateiname[512]; + snprintf(dateiname,sizeof(dateiname),"%s/.BillardGL.conf.v7",getenv("HOME")); f=fopen(dateiname,"r"); #endif #ifdef _WIN32 @@ -95,9 +95,9 @@ fscanf(f,"%i",&GrueneLampe); fscanf(f,"%f",&EffektLautstaerke); fscanf(f,"%f",&MusikLautstaerke); - fscanf(f,"%s",Spieler1temp); - fscanf(f,"%s",Spieler2temp); - fscanf(f,"%s",NetzwerkSpielertemp); + fscanf(f,"%9s",Spieler1temp); + fscanf(f,"%9s",Spieler2temp); + fscanf(f,"%9s",NetzwerkSpielertemp); for (int i=0;i<10;i++) { if (Spieler1temp[i]=='%') { Spieler1[i]=' '; debian/patches/04_starting_resolution.patch0000755000000000000000000000137712201307517016270 0ustar Author: Thierry Reding Description: By default, start in windowed mode at a resolution of 640x480. Bug-Debian: http://bugs.debian.org/173197 Bug-Debian: http://bugs.debian.org/284855 --- a/src/KommandoZeilenParameter.cpp +++ b/src/KommandoZeilenParameter.cpp @@ -144,7 +144,7 @@ BandenFaktor = 0.4; KollisionsFaktor = 0.95; ZBufferLoeschen = 1; - BildschirmAufloesung = 800; + BildschirmAufloesung = 640; Farbtiefe = 16; Reflektionen = 0; Sprache = 0; @@ -154,7 +154,7 @@ TischLampen = 2; GrueneLampe = 0; - FullScreen = 1; + FullScreen = 0; EffektLautstaerke = .5; MusikLautstaerke = .5; debian/patches/05_Makefile.patch0000755000000000000000000000175212201307517013665 0ustar Author: Thierry Reding Description: Fix makefile to generate lowercase name for executable. Enable debian/rules to pass additional CFLAGS. Index: billard-gl-1.75/src/Makefile =================================================================== --- billard-gl-1.75.orig/src/Makefile 2013-06-19 18:29:12.000000000 -0400 +++ billard-gl-1.75/src/Makefile 2013-06-19 18:29:45.000000000 -0400 @@ -7,12 +7,12 @@ CC = gcc CXX = g++ -CFLAGS = -pipe -Wall -W -DNO_DEBUG -g -CXXFLAGS= -pipe -Wall -W -DNO_DEBUG -g +CFLAGS = -pipe -Wall -W -DNO_DEBUG $(MORE_CFLAGS) +CXXFLAGS= -pipe -Wall -W -DNO_DEBUG $(MORE_CFLAGS) INCPATH = -I/usr/X11R6/include LINK = g++ -LFLAGS = -LIBS = -L/usr/X11R6/lib -lGL -lGLU -lglut -lXmu -lXext -lX11 -lm -lXi +LFLAGS = $(LDFLAGS) +LIBS = -lGL -lGLU -lglut ## -lqgl -lGLU @@ -109,7 +109,7 @@ SRCMOC = OBJMOC = DIST = -TARGET = BillardGL +TARGET = billard-gl INTERFACE_DECL_PATH = . ####### Implicit rules debian/patches/01_debianize_data_path.patch0000755000000000000000000000043312201307517016076 0ustar Description: Changes the data path to conform with the FHS. Origin: other --- a/src/Namen.h +++ b/src/Namen.h @@ -23,7 +23,7 @@ #define TUTORIAL 105 #ifndef _WIN32 -#define PFAD "/usr/share/BillardGL/" +#define PFAD "/usr/share/games/billard-gl/" #endif #ifndef PFAD debian/billard-gl.xpm0000644000000000000000000003725212201307517011734 0ustar /* XPM */ static char * billard_gl_xpm[] = { "48 48 699 2", " c None", ". c #171616", "+ c #262626", "@ c #363636", "# c #454444", "$ c #494949", "% c #434343", "& c #353535", "* c #252525", "= c #141414", "- c #292929", "; c #515151", "> c #706F6F", ", c #818181", "' c #8C8C8C", ") c #909090", "! c #939393", "~ c #969696", "{ c #8B8B8B", "] c #7E7E7E", "^ c #6F6E6E", "/ c #4A4A4A", "( c #161616", "_ c #454545", ": c #737373", "< c #8A8A8A", "[ c #989898", "} c #A1A1A1", "| c #A9A9A9", "1 c #AEAEAE", "2 c #B3B3B3", "3 c #B4B4B4", "4 c #B6B6B6", "5 c #ADADAD", "6 c #A8A8A8", "7 c #9F9F9F", "8 c #959595", "9 c #898989", "0 c #6F6F6F", "a c #3C3B3B", "b c #464646", "c c #7B7B7B", "d c #A2A2A2", "e c #B7B7B7", "f c #BFBFBF", "g c #C5C5C5", "h c #C9C9C9", "i c #CCCCCC", "j c #D1D1D1", "k c #C5C3BE", "l c #BEB4A0", "m c #B8A173", "n c #AB8B4D", "o c #A17A2F", "p c #916A1E", "q c #735315", "r c #402B03", "s c #292928", "t c #6C6B6B", "u c #919191", "v c #B1B1B1", "w c #BCBCBC", "x c #C6C6C6", "y c #CECECE", "z c #D6D6D6", "A c #DCDCDC", "B c #E0E0DF", "C c #E4E4E3", "D c #E5E5E4", "E c #E3DFD8", "F c #E3D2B0", "G c #DFB666", "H c #DCA02F", "I c #D6910B", "J c #CE8801", "K c #C58200", "L c #BD7C00", "M c #AF7300", "N c #A16A00", "O c #8D5D00", "P c #664302", "Q c #251902", "R c #828282", "S c #9B9B9B", "T c #BDBDBD", "U c #D4D4D4", "V c #DDDDDC", "W c #EAEAEA", "X c #EFEFEE", "Y c #F3F3F3", "Z c #F5F5F5", "` c #F8F8F6", " . c #F9EFD1", ".. c #F9D178", "+. c #F6B22E", "@. c #F6A405", "#. c #F29F00", "$. c #EF9D00", "%. c #E89900", "&. c #E39500", "*. c #DC9100", "=. c #D28A00", "-. c #C88300", ";. c #BC7B00", ">. c #AC7100", ",. c #996500", "'. c #7D5301", "). c #3D2902", "!. c #545454", "~. c #A4A4A4", "{. c #C7C7C7", "]. c #D3D3D3", "^. c #DEDEDE", "/. c #E7E7E7", "(. c #EFEFEF", "_. c #F6F6F6", ":. c #FBFBFB", "<. c #FDFDFD", "[. c #FFFDF4", "}. c #FFE9AC", "|. c #FFCC4A", "1. c #FFB409", "2. c #FFB000", "3. c #FEAD00", "4. c #FDAB00", "5. c #FDA900", "6. c #FAA600", "7. c #F5A100", "8. c #EE9D00", "9. c #E69700", "0. c #DD9100", "a. c #D18900", "b. c #C38000", "c. c #B57700", "d. c #A16900", "e. c #895A00", "f. c #4B3202", "g. c #545453", "h. c #BBBBBB", "i. c #CACACA", "j. c #DADADA", "k. c #F7F7F7", "l. c #FFFEFE", "m. c #FFFAE8", "n. c #FFE394", "o. c #FFC933", "p. c #FFBA07", "q. c #FFBF1E", "r. c #FFCD49", "s. c #FFDC7A", "t. c #FFE190", "u. c #FFE192", "v. c #FFDA73", "w. c #FFC947", "x. c #FFBA1B", "y. c #FEAD02", "z. c #FCA800", "A. c #F6A200", "B. c #E49600", "C. c #D78E00", "D. c #C98400", "E. c #B97900", "F. c #A66D00", "G. c #8C5C00", "H. c #533703", "I. c #AAAAAA", "J. c #CFCFCF", "K. c #EAEAE9", "L. c #FCFCFC", "M. c #FFFFFF", "N. c #FFFCEF", "O. c #FFE38F", "P. c #FFC624", "Q. c #FFBC03", "R. c #FFCA1F", "S. c #FFE79A", "T. c #FFFAE6", "U. c #FFFFFC", "V. c #FFFEFB", "W. c #FFFAE5", "X. c #FFE396", "Y. c #FEC02C", "Z. c #FEAD01", "`. c #FCA700", " + c #F4A000", ".+ c #E99900", "++ c #DB9000", "@+ c #CD8700", "#+ c #BC7C00", "$+ c #A56C00", "%+ c #404040", "&+ c #A7A7A7", "*+ c #D0D0D0", "=+ c #E1E1E1", "-+ c #EDEDED", ";+ c #F9F9F9", ">+ c #FEFEFE", ",+ c #FFFBED", "'+ c #FFE28C", ")+ c #FFC41E", "!+ c #FFBF00", "~+ c #FFC303", "{+ c #FFDD64", "]+ c #FFFBEA", "^+ c #FFDF88", "/+ c #FFB50D", "(+ c #F8A400", "_+ c #EC9B00", ":+ c #DD9200", "<+ c #CE8800", "[+ c #342303", "}+ c #FEFCF1", "|+ c #FFE49A", "1+ c #FFC62B", "2+ c #FFBE02", "3+ c #FFC300", "4+ c #FFC802", "5+ c #FFE373", "6+ c #FFFDF5", "7+ c #858585", "8+ c #B8B8B8", "9+ c #FFFFFD", "0+ c #FFEAB0", "a+ c #FFBC1A", "b+ c #FEAB00", "c+ c #B77800", "d+ c #A06900", "e+ c #7A5001", "f+ c #1E1402", "g+ c #6A6A6A", "h+ c #9A9A9A", "i+ c #F9F9F7", "j+ c #FEF0C4", "k+ c #FFCA3F", "l+ c #FFBD03", "m+ c #FFC000", "n+ c #FFC500", "o+ c #FFCB00", "p+ c #FFE149", "q+ c #FFFEF6", "r+ c #121212", "s+ c #000000", "t+ c #5B5B5B", "u+ c #F1F0F0", "v+ c #FFFFFE", "w+ c #FFEBB4", "x+ c #FFB80D", "y+ c #EB9B00", "z+ c #B37500", "A+ c #956200", "B+ c #624102", "C+ c #414040", "D+ c #8F8F8F", "E+ c #F8F1DA", "F+ c #FFD260", "G+ c #FFB608", "H+ c #FFBB00", "I+ c #FFC200", "J+ c #FFC700", "K+ c #FFCD00", "L+ c #FFD71B", "M+ c #FFF9D8", "N+ c #1B1B1A", "O+ c #030303", "P+ c #3F3F3F", "Q+ c #8E8E8E", "R+ c #FFDF84", "S+ c #FFB300", "T+ c #D68D00", "U+ c #AA6F00", "V+ c #885900", "W+ c #312102", "X+ c #787878", "Y+ c #E4E2DE", "Z+ c #EFD49E", "`+ c #FEB81F", " @ c #FFB401", ".@ c #FFD400", "+@ c #FFEF73", "@@ c #FAFAFA", "#@ c #CBCBCB", "$@ c #8C8C8B", "%@ c #C2C2C2", "&@ c #A0A0A0", "*@ c #606060", "=@ c #FFC31F", "-@ c #FDAA00", ";@ c #F3A000", ">@ c #E29500", ",@ c #D08900", "'@ c #B87900", ")@ c #9C6600", "!@ c #734C01", "~@ c #3E3D3D", "{@ c #DED6C8", "]@ c #EEBA55", "^@ c #FBA804", "/@ c #FFB100", "(@ c #FFB900", "_@ c #FFD600", ":@ c #FFDD08", "<@ c #FFFACA", "[@ c #5D5D5D", "}@ c #555554", "|@ c #E8E8E8", "1@ c #373737", "2@ c #3E3E3E", "3@ c #DDDDDD", "4@ c #333333", "5@ c #555555", "6@ c #E1E0E0", "7@ c #FFE286", "8@ c #FFB901", "9@ c #FBA600", "0@ c #EE9C00", "a@ c #C68200", "b@ c #AD7100", "c@ c #8D5C00", "d@ c #2E1F02", "e@ c #BCBBBA", "f@ c #D1BE9A", "g@ c #E9A41D", "h@ c #FFB600", "i@ c #FFBE00", "j@ c #FFC600", "k@ c #FFD900", "l@ c #FFE428", "m@ c #FFFEF1", "n@ c #646464", "o@ c #F5F5F4", "p@ c #A5A5A5", "q@ c #FFF7D2", "r@ c #FFC20D", "s@ c #FEAC00", "t@ c #888888", "u@ c #AAA9A8", "v@ c #C3A873", "w@ c #DD960D", "x@ c #FFB200", "y@ c #FFD200", "z@ c #FFDA00", "A@ c #FFEC45", "B@ c #FFFEFA", "C@ c #B1B1B0", "D@ c #464545", "E@ c #797979", "F@ c #7A7A7A", "G@ c #D2D2D2", "H@ c #FFFDF1", "I@ c #FFCB25", "J@ c #D98F00", "K@ c #C48100", "L@ c #A96E00", "M@ c #815501", "N@ c #1A1202", "O@ c #959493", "P@ c #B49454", "Q@ c #CD8905", "R@ c #FFC800", "S@ c #FFD800", "T@ c #FFE200", "U@ c #FFF057", "V@ c #FBFBFA", "W@ c #605F5F", "X@ c #BEBEBE", "Y@ c #E2E2E2", "Z@ c #1A1A1A", "`@ c #FFD340", " # c #F4A100", ".# c #E09300", "+# c #CC8600", "@# c #905E00", "## c #3B2702", "$# c #686765", "%# c #A08042", "&# c #BE7D00", "*# c #FFBA00", "=# c #FFD300", "-# c #FFDD00", ";# c #FFE500", "># c #FFF052", ",# c #4B4B4B", "'# c #CDCDCD", ")# c #767676", "!# c #FFFFFB", "~# c #FFD83D", "{# c #E89800", "]# c #D38B00", "^# c #9B6500", "/# c #5D3D02", "(# c #7A6439", "_# c #A66D02", ":# c #DA8F00", "<# c #FFBC00", "[# c #FFE300", "}# c #FFEE34", "|# c #FFFEF4", "1# c #636363", "2# c #1E1E1E", "3# c #B5B5B5", "4# c #FFD52D", "5# c #FDA800", "6# c #D88E00", "7# c #C17F00", "8# c #A46C00", "9# c #764E01", "0# c #231C10", "a# c #8B5D06", "b# c #C88400", "c# c #E19400", "d# c #FFB700", "e# c #FFCF00", "f# c #FFDB00", "g# c #FFF113", "h# c #FFFDDE", "i# c #525252", "j# c #9E9E9E", "k# c #FFFCDE", "l# c #FFD615", "m# c #FFB500", "n# c #F09E00", "o# c #DE9200", "p# c #AB7000", "q# c #7E5301", "r# c #160F01", "s# c #8E5D00", "t# c #B17400", "u# c #CB8600", "v# c #F7A200", "w# c #FEAE00", "x# c #FFB800", "y# c #FFC100", "z# c #FFCA00", "A# c #FFDF00", "B# c #FFEA00", "C# c #FFF100", "D# c #FFF989", "E# c #656565", "F# c #C0C0C0", "G# c #ACACAC", "H# c #505050", "I# c #343333", "J# c #444444", "K# c #F4F4F4", "L# c #FFF2A9", "M# c #FFD303", "N# c #AE7200", "O# c #231802", "P# c #412C02", "Q# c #FFE000", "R# c #FFEC00", "S# c #FFF426", "T# c #FFFEE9", "U# c #646463", "V# c #F8F8F8", "W# c #FFE843", "X# c #2F2002", "Y# c #432D03", "Z# c #8F5E00", "`# c #FFE100", " $ c #FFEE00", ".$ c #FFF501", "+$ c #FFFA80", "@$ c #FFF8B9", "#$ c #FFDB03", "$$ c #B47600", "%$ c #342202", "&$ c #432D02", "*$ c #E39600", "=$ c #FFF500", "-$ c #FFFA09", ";$ c #FFFAAD", ">$ c #D9D9D9", ",$ c #FFFDDD", "'$ c #FFE826", ")$ c #FFB102", "!$ c #F7AA13", "~$ c #E3A93B", "{$ c #CFA658", "]$ c #B49861", "^$ c #917A4F", "/$ c #322713", "($ c #FFED00", "_$ c #FFF400", ":$ c #FFFA00", "<$ c #FFFA12", "[$ c #FFFAA9", "}$ c #FFFFFA", "|$ c #FFFDDF", "1$ c #FFED43", "2$ c #FFE101", "3$ c #FFCD03", "4$ c #FFC920", "5$ c #FFD565", "6$ c #FFE9AB", "7$ c #F6EED9", "8$ c #CDCCCC", "9$ c #B2B2B2", "0$ c #8E8D8D", "a$ c #2E2E2D", "b$ c #B27500", "c$ c #CE8700", "d$ c #FEAF00", "e$ c #FFF200", "f$ c #FFFA08", "g$ c #FFFB6C", "h$ c #FFFDEA", "i$ c #FFFBC8", "j$ c #FFEF30", "k$ c #FFE501", "l$ c #FFDE0C", "m$ c #FFE457", "n$ c #FFF2AE", "o$ c #E3E3E2", "p$ c #AFAFAF", "q$ c #8D8D8D", "r$ c #242424", "s$ c #2C1D02", "t$ c #FFC900", "u$ c #FFD000", "v$ c #FFDC00", "w$ c #FFE700", "x$ c #FFF700", "y$ c #FFFA18", "z$ c #FFFA79", "A$ c #FFFCCA", "B$ c #FFFDEE", "C$ c #FFFCBE", "D$ c #FFF554", "E$ c #FFF109", "F$ c #FFE904", "G$ c #FFEB2F", "H$ c #FFF487", "I$ c #FFFDE8", "J$ c #F3F3F2", "K$ c #DFDFDE", "L$ c #C8C8C8", "M$ c #ABABAB", "N$ c #151515", "O$ c #A96F00", "P$ c #C78300", "Q$ c #FFB400", "R$ c #FFBD00", "S$ c #FFCE00", "T$ c #FFD700", "U$ c #FFE400", "V$ c #FFF300", "W$ c #FFFA01", "X$ c #FFFB0C", "Y$ c #FFFA23", "Z$ c #FFF944", "`$ c #FFFB58", " % c #FFF943", ".% c #FFF923", "+% c #FFF307", "@% c #FFF20C", "#% c #FFF446", "$% c #FFF9B5", "%% c #C4C4C4", "&% c #A6A6A6", "*% c #777776", "=% c #724B01", "-% c #A46B00", ";% c #BF7D00", ">% c #EB9A00", ",% c #FFCC00", "'% c #FFF000", ")% c #FFF409", "!% c #FFF75D", "~% c #FFFCC4", "{% c #616060", "]% c #563902", "^% c #976300", "/% c #F8A300", "(% c #FFF900", "_% c #FFF810", ":% c #FFF865", "<% c #FFFCD6", "[% c #949494", "}% c #414141", "|% c #8A5B00", "1% c #F19F00", "2% c #FFC400", "3% c #FFF800", "4% c #FFF711", "5% c #FFF861", "6% c #FFFCD3", "7% c #F0F0F0", "8% c #878787", "9% c #1F1F1F", "0% c #774E01", "a% c #C07E00", "b% c #D58C00", "c% c #EA9A00", "d% c #F9A500", "e% c #FFE800", "f% c #FFEF00", "g% c #FFF205", "h% c #FFF654", "i% c #FFFCCE", "j% c #6C6C6C", "k% c #523602", "l% c #946100", "m% c #CA8500", "n% c #FFF003", "o% c #FFF442", "p% c #FFF9BE", "q% c #F1F1F0", "r% c #929292", "s% c #3D3D3D", "t% c #1F1502", "u% c #835601", "v% c #A76E00", "w% c #E79800", "x% c #FFEA25", "y% c #FFF7A2", "z% c #E7E7E6", "A% c #A3A3A3", "B% c #593B02", "C% c #FFDB0A", "D% c #FFF170", "E% c #FFFDE6", "F% c #ECECEC", "G% c #DBDBDB", "H% c #424242", "I% c #181102", "J% c #784F01", "K% c #BB7B00", "L% c #CF8800", "M% c #FFCD02", "N% c #FFE03D", "O% c #E1E1E0", "P% c #6B6B6B", "Q% c #3A2703", "R% c #BF7E00", "S% c #D48B00", "T% c #FFC711", "U% c #FFE784", "V% c #F2F2F2", "W% c #838383", "X% c #5B3C02", "Y% c #AF7200", "Z% c #C28000", "`% c #D48C00", " & c #FFC328", ".& c #FFF0C3", "+& c #E3E3E3", "@& c #D5D5D5", "#& c #C3C3C3", "$& c #6B4601", "%& c #966300", "&& c #EF9E03", "*& c #F9C55B", "=& c #FEF9E7", "-& c #EEEEEE", ";& c #5D5C5C", ">& c #191102", ",& c #B07300", "'& c #C27F00", ")& c #D18A03", "!& c #DEB86D", "~& c #EAE7E1", "{& c #C1C1C1", "]& c #626161", "^& c #6D4802", "/& c #AD7203", "(& c #BE9D5D", "_& c #CBCAC8", ":& c #E4E4E4", "<& c #D8D8D8", "[& c #616161", "}& c #130D01", "|& c #5F3F02", "1& c #8C6B2C", "2& c #A2A2A0", "3& c #DBDBDA", "4& c #453D2F", "5& c #7F7F7F", "6& c #999999", "7& c #E6E6E6", "8& c #7D7D7D", "9& c #393939", "0& c #222121", "a& c #646363", "b& c #9C9C9C", "c& c #2D2D2D", "d& c #5A5959", "e& c #252524", "f& c #484848", "g& c #6D6C6C", "h& c #1C1C1C", "i& c #191818", "j& c #2F2E2E", "k& c #565656", "l& c #666665", "m& c #696969", "n& c #626262", "o& c #2E2D2D", "p& c #171717", " . + @ # $ $ % & * = ", " - ; > , ' ) ! ~ ~ ! ) { ] ^ / + ", " ( _ : < [ } | 1 2 3 4 4 3 2 5 6 7 8 9 0 a ", " b c ! d 1 e f g h i j j j j i h k l m n o p q r ", " s t u d v w x y z A B C D D D E F G H I J K L M N O P Q ", " b R S 1 T h U V C W X Y Z ` ...+.@.#.$.%.&.*.=.-.;.>.,.'.). ", " !.' ~.4 {.].^./.(._.:.<.[.}.|.1.2.2.3.4.5.6.7.8.9.0.a.b.c.d.e.f. ", " g.) | h.i.j.D (.k.<.l.m.n.o.p.q.r.s.t.u.v.w.x.y.z.A.8.B.C.D.E.F.G.H. ", " !.) I.T J.A K.Z L.M.N.O.P.Q.R.S.T.U.M.M.M.M.V.W.X.Y.Z.`. +.+++@+#+$+G.f. ", " %+' &+T *+=+-+;+>+,+'+)+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$<&U j #@x X@3#| b&8%;&Z@ ", " c&[&7+8 &@I.9$e h.T f f T h.4 v I.&@8 W%d&e& ", " 9%f&g&W%D+~ b&7 &@&@j#b&8 Q+R t % h& ", " i&j&# k&l&m&m&n&5@%+o&p& "}; debian/rules0000755000000000000000000000121412201307517010242 0ustar #!/usr/bin/make -f DPKG_EXPORT_BUILDFLAGS = 1 include /usr/share/dpkg/buildflags.mk MORE_CFLAGS=$(shell dpkg-buildflags --get CPPFLAGS) \ $(shell dpkg-buildflags --get CFLAGS) \ $(shell dpkg-buildflags --get CXXFLAGS) ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS))) export MORE_CFLAGS+=-g else export MORE_CFLAGS+=-O2 endif ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) INSTALL_PROGRAM += -s endif %: dh $@ -Dsrc override_dh_auto_install: override_dh_installchangelogs: dh_installchangelogs src/README override_dh_fixperms-indep: dh_fixperms chmod 0644 debian/billard-gl-data/usr/share/games/billard-gl/Texturen/2/filzkachel.bmp debian/changelog0000644000000000000000000001610212201307517011036 0ustar billard-gl (1.75-15) unstable; urgency=low [ Evgeni Golov ] * Correct Vcs-* URLs to point to anonscm.debian.org [ Barry deFreese ] * Add patch to fix null HOME var. (Closes: #715681). -- Barry deFreese Fri, 09 Aug 2013 11:54:47 -0400 billard-gl (1.75-13) unstable; urgency=low * Use override_dh_fixperms-indep. + When building arch only package, file didn't exist. -- Barry deFreese Fri, 21 Jun 2013 03:46:41 -0400 billard-gl (1.75-12) unstable; urgency=low [ Vincent Legout ] * Add 06_language_pack.patch: Fix a segmentation fault due to missing strings in language files (Closes: #580711) [ Barry deFreese ] * Update rules to dh style. + Bump debhelper build-dep and compat to 9. * Update 05_Makefile.patch to set LFLAGS = $(LDFLAGS). * Bump Standards Version to 3.9.4. -- Barry deFreese Wed, 19 Jun 2013 17:25:00 -0400 billard-gl (1.75-11) unstable; urgency=low [ Gonéri Le bouder ] * remove the duplicated last entry in the changelog * rename billard-gl.1 to billard-gl.6 since it's a game manpage [ Evgeni Golov ] * Fix the encoding of the last changelog entry, sorry Eddy and Linas. * Correct the spelling of billiards in the short description and remove an additional space. [ Paul Wise ] * Team upload. * Link to the English version of the website in Homepage * Link with GL, GLU as well as GLUT (Closes: #577314, #553938) * Prune Thierry Reding from Uploaders (Closes: #572544) * Add ${misc:Depends} to dependencies in case debhelper needs it * Switch to the dpkg-source v3 quilt format and DEP-3 patch headers * Include the extra languages from the language pack (Closes: #493918) * Refer to the correct version of the GPL in the copyright information * Update Barry deFreese's email address in the Uploaders field * Bump Standards-Version, no changes needed * Also include the upstream changelog in the data package -- Paul Wise Tue, 13 Apr 2010 23:40:53 +0800 billard-gl (1.75-10) unstable; urgency=low [ Jon Dowland ] * update menu section to "Games/Simulation" for menu transition (thanks Linas Žvirblis) [ Eddy PetriÈ™or ] * add dpkg-dev (>= 1.13.19) as a build dependency [ Cyril Brulebois ] * Added Vcs-Svn and Vcs-Browser fields in the control file. * debian/copyright: Mention this package is now maintained by the Debian Game team. * debian/rules: Install menu file again. [ Barry deFreese ] * Fix watch file (Closes: #450137). * Clean up desktop file (Encoding is deprecated). * Bump Standards Version to 3.7.3. + Menu policy transition. -- Barry deFreese Thu, 10 Apr 2008 23:24:29 -0400 billard-gl (1.75-9.1) unstable; urgency=low * NMU with current maintainer's authorization. * Set Maintainer to the Debian Games Team. * debian/control: - Update Standards-Version. - Update debhelper version. - Make package binNMU safe. (Closes: #432943) - Update Homepage in new control field. * Add a .desktop and an icon. (Closes: #432833) * debian/rules: - Remove deprecated DH_COMPAT. - Install .desktop and icon. - Don't install menu anymore. * debian/compat: Add. -- Arthur Loiret Wed, 10 Oct 2007 11:52:22 +0200 billard-gl (1.75-9) unstable; urgency=low * Removed the build-dependency on xlibs-dev. * Now build-depending on freeglut3-dev, because xlibmesa-dev does not exist in etch any longer and freeglut3-dev will pull in the necessary GL and GLU build-dependencies. * Modified the 05_Makefile.dpatch to reduce the number of libraries linked against. Most of the libraries are spurious. * Updated the FSF's address. -- Thierry Reding Mon, 19 Dec 2005 13:05:06 +0100 billard-gl (1.75-8) unstable; urgency=low * New upload to build with new C++ ABI. * Updated Standards-Version to 3.6.2.1, no changes. * Use *.install files to copy files from the upstream directory to the build directory. * Fixed lintian warning about a texture file having world executable permissions but not being an ELF binary or script. -- Thierry Reding Fri, 26 Aug 2005 20:17:34 +0200 billard-gl (1.75-7) unstable; urgency=low * New maintainer. (Closes: #236582) * Added patch by Ulf Harnhammar. (Closes: #290822) * By default, start in windowed mode at a resolution of 640x480. Closes: #284855 Closes: #173197 * Updated the billard-gl(6) manpage and the watchfile. * Fixed lintian warnings about the menu file. * Migrated the data files from /usr/share/billard-gl to /usr/share/games/billard-gl (as recommended by FHS 4.7). * Previous patches to the upstream source extracted into debian/patches. * Data split from the binary. Added the billard-gl-data package. * Upstream makefile now accepts CFLAGS from debian/rules. -- Thierry Reding Mon, 31 Jan 2005 03:57:08 +0100 billard-gl (1.75-6) unstable; urgency=low * The "fixing bugs whilst naked" release. * Rebuilding the package using gcc 3.x! (Closes: #210574) * Orphaning this package due to lack of activity upstream and lack of interest on my part. -- Jamie Wilkinson Sun, 7 Mar 2004 20:15:07 +1100 billard-gl (1.75-5) unstable; urgency=low * The "last upload for the year before I incapacitate myself" release. * Applied patch from Julien Lemoine to fix a divide-by-zero on alphas. (Closes: #166378) * Updated build-dependency on debhelper to version 4. * Updated short description. -- Jamie Wilkinson Tue, 31 Dec 2002 15:02:43 +1100 billard-gl (1.75-4) unstable; urgency=low * Bumped DH_COMPAT to 4. * Bumped standards version to 3.5.8.0. -- Jamie Wilkinson Sun, 24 Nov 2002 14:38:46 +1100 billard-gl (1.75-3) unstable; urgency=low * Remove execute permissions on a bitmap, making lintian happy. -- Jamie Wilkinson Sun, 24 Nov 2002 14:13:16 +1100 billard-gl (1.75-2) unstable; urgency=low * New maintainer. (Closes: #158511) This release is dedicated to the memory of Martin Butterweck, who sadly passed away on the 21st of July. * Changed build-depends to depend on libglut3-dev instead of glutg3-dev, and to mention libgl-dev. * Changed description. * Fixed copyright to mention all three authors properly. * Created a manual page. (Closes: #144721) -- Jamie Wilkinson Fri, 6 Sep 2002 15:37:49 +1000 billard-gl (1.75-1) unstable; urgency=low * New upstream release Closes: #144891 * Changed description Closes: #144878 * Added undocumented link -- Martin Butterweck Tue, 30 Apr 2002 23:09:09 +0200 billard-gl (1.70-2) unstable; urgency=low * Removed Build-Depends on libstdc++2.10-dev Closes: #142778 * Changed menu section to Games/Sports -- Martin Butterweck Sun, 14 Apr 2002 15:52:50 +0200 billard-gl (1.70-1) unstable; urgency=low * Initial Release. Closes: #142207 -- Martin Butterweck Fri, 12 Apr 2002 00:11:50 +0200 debian/billard-gl-data.links0000644000000000000000000000007312201307517013146 0ustar usr/share/games/billard-gl usr/share/games/billard-gl-data debian/billard-gl-data.install0000644000000000000000000000016612201307517013477 0ustar src/Texturen usr/share/games/billard-gl src/lang usr/share/games/billard-gl lp/*.lang usr/share/games/billard-gl/lang debian/billard-gl.60000644000000000000000000000364512201307517011274 0ustar .TH BILLARD-GL 6 "January 22, 2005" .SH NAME billard-gl \- OpenGL billiards game .SH SYNOPSIS .B billard-gl .RI [ options ] .br .SH DESCRIPTION This manual page documents the \fBbillard-gl\fR program. This manual page was written for Debian because the original program does not have a manual page. .PP .B billard-gl implements a game of 8- or 9-ball billiards, which you can play against the computer or a friend. The general idea of billiards is to hit the coloured balls with the cue ball in such a way that these balls fall in one of the six pockets of the table. .SH OPTIONS .TP \fB\-f\fR \fB\-fullscreen switches to fullscreen mode (can currently not be changed from inside \fBbillard-gl\fR itself) .TP \fB\-f\fR \fB\-windowed switches to windowed mode (default; can currently not be changed from inside \fBbillard-gl\fR itself) .TP .B \-t \fRVALUE texture size for the balls. Valid values are 1 for full size textures, 2 for half size textures, 4 for quarter size textures, and 8 for eighth size textures. .TP .B \-tt \fRVALUE texture size for the table. Valid values are 1 for full size textures, 2 for half size textures, 4 for quarter size textures, 8 for eighth size textures, and 0 for no textures. .TP .B -at \fRVALUE texture size for the display. Valid values are 1 for full size textures and 2 for halfsized textures. .TP .B \-g \fRVALUE ball geometry; odd numbers >= 3. Higher values create more complex geometry. .PP To run .B billard-gl with minimum settings, try .IP .B billard-gl -t 8 -tt 0 -at 2 -g 3 .P or for maximum settings, try .IP .B billard-gl -t 1 -tt 1 -at 1 -g 11 .PP All of the options are configurable from within .B billard-gl itself, unless stated otherwise. .SH AUTHOR .B billard-gl was written by Stefan Disch, Tobias Nopper and Martina Welte. .PP This manual page was written by Jamie Wilkinson and updated by Thierry Reding for Debian (but may be used by others). debian/compat0000644000000000000000000000000212201307517010362 0ustar 9 debian/copyright0000644000000000000000000000246612201307517011127 0ustar This package was debianized by Martin Butterweck on Fri, 12 Apr 2002 00:11:50 +0200, adopted by Jamie Wilkinson on Fri, 6 Apr 2002, orphaned on Sun, 07 Mar 2004 and adopted by Thierry Reding on Fri, 21 Jan 2005. Today, the current maintainer is the Debian Games Team. It was downloaded from http://www.billardgl.de Upstream Authors: Tobias Nopper, Stefan Disch and Martina Welte Copyright: Copyright (C) 2001, 2002 Tobias Nopper, Stefan Disch and Martina Welte License: This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. On Debian systems, the full text of the GNU General Public License can be found at /usr/share/common-licenses/GPL-2.