Commit 68bcfdfc authored by Sam Hocevar's avatar Sam Hocevar

. ajout de quoi faire des packages debian :

   - fichiers de contr�le pour dpkg-buildpackage
   - une ic�ne de merde - que les artistes la remplacent
   - page de man
 . les donn�es qui ne sont pas platform-dependant sont maintenant
  dans le r�pertoire share ( et plus lib )
 . le client va chercher les polices dans le r�pertoire courant
  et dans /usr/share/videolan/vlc/
 . le message pr�c�dent �tait l'ajout du r�pertoire share/ mais
  les scripts CVS semblent avoir d�conn�
parent 35d26630
......@@ -68,6 +68,9 @@ DEBUG=0
#----------------- do not change anything below this line ----------------------
prefix=@prefix@
INSTALL=@INSTALL@
################################################################################
# Configuration pre-processing
################################################################################
......@@ -89,7 +92,8 @@ PROGRAM_BUILD = `date` $(USER)
# including ARCH_xx and SYS_xx. It will be passed to C compiler.
DEFINE += -DARCH_$(shell echo $(ARCH) | cut -f1 -d' ')
DEFINE += -DSYS_$(SYS)
DEFINE += -DPLUGIN_PATH="\"$(PREFIX)/lib/videolan/vlc\""
DEFINE += -DPLUGIN_PATH="\"$(prefix)/lib/videolan/vlc\""
DEFINE += -DDATA_PATH="\"$(prefix)/share/videolan/vlc\""
#DEFINE += -DPROGRAM_OPTIONS="\"$(shell echo $(PROGRAM_OPTIONS) | tr 'A-Z' 'a-z')\""
#DEFINE += -DPROGRAM_BUILD="\"$(PROGRAM_BUILD)\""
ifeq ($(DEBUG),1)
......@@ -338,9 +342,11 @@ distclean: clean
rm -rf .dep
install:
$(INSTALL) vlc $(PREFIX)/bin
mkdir -p $(PREFIX)/lib/videolan/vlc
$(INSTALL) $(PLUGIN_OBJ) $(PREFIX)/lib/videolan/vlc
$(INSTALL) vlc $(prefix)/bin
mkdir -p $(prefix)/lib/videolan/vlc
$(INSTALL) $(PLUGIN_OBJ) $(prefix)/lib/videolan/vlc
$(INSTALL) share/*.psf $(prefix)/share/videolan/vlc
$(INSTALL) share/*.png $(prefix)/share/videolan/vlc
show:
@echo "Command line for C objects:"
......
vlc (0.1.99-1) unstable; urgency=low
* Initial Release.
-- Samuel Hocevar <sam@via.ecp.fr> Mon, 13 Mar 2000 02:21:45 +0100
Local variables:
mode: debian-changelog
End:
Source: vlc
Section: graphics
Priority: optional
Maintainer: Samuel Hocevar <sam@via.ecp.fr>
Standards-Version: 3.0.1
Package: vlc
Architecture: any
Depends: ${shlibs:Depends}
Description: VideoLAN Client - a free network-aware MPEG and DVD player
VideoLAN is a free MPEG2 software solution.
.
The VideoLAN Client allows to play MPEG2 Transport Streams from the
network or from a file, as well as direct DVD playback.
This package was debianized by Samuel Hocevar <sam@via.ecp.fr> on
Mon, 13 Mar 2000 02:21:45 +0100.
It was downloaded from ftp://ftp.via.ecp.fr/pub/videolan/
Upstream Author(s): The VideoLAN Team <videolan@via.ecp.fr>
VideoLAN is Copyright 1996, 1997, 1998, 1999, 2000 The VideoLAN Team
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, 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, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA.
On Debian GNU/Linux systems, the complete text of the GNU General
Public License can be found in `/usr/share/common-licenses/GPL'.
usr/bin
usr/lib/videolan/vlc
usr/share/videolan/vlc
AUTHORS
INSTALL
NEWS
README
vlc_0.1.99-1_i386.deb unknown optional
#!/usr/bin/make -f
# debian/rules for the VideoLAN Client - uses debhelper.
# based on Joey Hess's one.
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
# This is the debhelper compatability version to use.
export DH_COMPAT=1
build: build-stamp
build-stamp:
dh_testdir
./configure --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info
$(MAKE)
touch build-stamp
clean:
dh_testdir
dh_testroot
rm -f build-stamp
-$(MAKE) distclean
dh_clean
install: build
dh_testdir
dh_testroot
dh_clean -k
dh_installdirs
$(MAKE) install prefix=`pwd`/debian/tmp/usr
# Build architecture-independent files here.
binary-indep: build install
# We have nothing to do by default.
# Build architecture-dependent files here.
binary-arch: build install
# dh_testversion
dh_testdir
dh_testroot
# dh_installdebconf
dh_installdocs
dh_installexamples
dh_installmenu
# dh_installemacsen
# dh_installpam
# dh_installinit
dh_installcron
dh_installmanpages
dh_installinfo
# dh_undocumented
dh_installchangelogs
dh_link
dh_strip
dh_compress
dh_fixperms
# You may want to make some executables suid here.
dh_suidregister
# dh_makeshlibs
dh_installdeb
# dh_perl
dh_shlibdeps
dh_gencontrol
dh_md5sums
dh_builddeb
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install
shlibs:Depends=gdk-imlib1 (>= 1.9.8-3), libart2 (>= 1.0.56-1), libaudiofile0, libc6 (>= 2.1.2), libdb2 (>= 1:2.4.14-7), libesd0 (>= 0.2.16) | libesd-alsa0 (>= 0.2.16), libglib1.2 (>= 1.2.0), libgnome32 (>= 1.0.56-1), libgnomesupport0 (>= 1.0.56-1), libgnomeui32 (>= 1.0.56-1), libgtk1.2 (>= 1.2.7-1), libz1, xlib6g (>= 3.3.6)
.\" Hey, EMACS: -*- nroff -*-
.\" First parameter, NAME, should be all caps
.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
.\" other parameters are allowed: see man(7), man(1)
.TH VLC 1 "March 13, 2000"
.\" Please adjust this date whenever revising the manpage.
.\"
.\" Some roff macros, for reference:
.\" .nh disable hyphenation
.\" .hy enable hyphenation
.\" .ad l left justify
.\" .ad b justify to both left and right margins
.\" .nf disable filling
.\" .fi enable filling
.\" .br insert line break
.\" .sp <n> insert n+1 empty lines
.\" for manpage-specific macros, see man(7)
.SH NAME
vlc \- The VideoLAN Client
.SH SYNOPSIS
.B vlc
.RI [ options ]
.RI [ parameters ]
.SH DESCRIPTION
This manual page documents briefly the
.B vlc
, a free MPEG2 player.
.SH OPTIONS
These programs follow the usual GNU command line syntax, with long
options starting with two dashes (`-').
A summary of options is included below.
.TP
.B \-\-noaudio
Disable audio output.
.TP
.B \-\-aout <plugin>
Specify an audio output plugin.
.TP
.B \-\-stereo, \-\-mono
Choose stereo or mono audio output
.TP
.B \-\-novideo
Disable video output.
.TP
.B \-\-vout <plugin>
Specify a video output plugin.
.TP
.B \-\-display <display>
Specify the display name.
.TP
.B \-\-width <w>, -\-\height <h>
Choose the display coordinates.
.TP
.B \-g, \-\-grayscale
Grayscale output.
.TP
.B \-\-color
Color output.
.TP
.B \-\-novlans
Disable VLANs support.
.TP
.B \-\-server <host>, \-\-port <port>
Choose the video server address and port.
.TP
.B \-h, \-\-help
Print help and exit.
.TP
.B \-H, \-\-longhelp
Print long help and exit.
.TP
.B \-v, \-\-version
Output version information and exit.
.SH PARAMETERS
.B vlc
also accepts a lot of parameters to customize its behaviour.
.TP
.B Interface parameters:
vlc_init=<filename> initialization script
vlc_channels=<filename> channels list
.TP
.B Audio parameters:
vlc_aout=<method name> audio method
vlc_dsp=<filename> dsp device path
vlc_stereo={1|0} stereo or mono output
vlc_audio_rate=<rate> output rate
.TP
.B Video parameters:
vlc_vout=<method name> display method
vlc_display=<display> display used
vlc_width=<width> display width
vlc_height=<height> dislay height
vlc_fb_dev=<filename> framebuffer device path
vlc_grayscale={1|0} grayscale or color output
.TP
.B Input parameters:
vlc_server=<hostname> video server
vlc_server_port=<port> video server port
vlc_iface=<interface> network interface
vlc_vlan_server=<host> vlan server
vlc_vlan_port=<port> vlan server port
.SH SEE ALSO
.BR vls (1),
.br
.SH AUTHOR
This manual page was written by the VideoLAN Team <videolan@via.ecp.fr>,
for the Debian GNU/Linux system (but may be used by others).
?package(vlc):command="/usr/bin/vlc" hotkey="V" needs="X11" \
section="Apps/Graphics" title="VideoLAN Client" \
icon="/usr/share/videolan/vlc/vlc.png"
......@@ -292,8 +292,8 @@
#define VOUT_GAMMA 0.
/* Default fonts */
#define VOUT_DEFAULT_FONT "lib/default8x9.psf"
#define VOUT_LARGE_FONT "lib/default8x16.psf"
#define VOUT_DEFAULT_FONT "default8x9.psf"
#define VOUT_LARGE_FONT "default8x16.psf"
/*
* Time settings
......
This diff is collapsed.
......@@ -204,7 +204,11 @@ vout_thread_t * vout_CreateThread ( char *psz_display, int i_root_window,
/* Load fonts - fonts must be initialized after the system method since
* they may be dependant on screen depth and other thread properties */
p_vout->p_default_font = vout_LoadFont( VOUT_DEFAULT_FONT );
p_vout->p_default_font = vout_LoadFont( DATA_PATH "/" VOUT_DEFAULT_FONT );
if( p_vout->p_default_font == NULL )
{
p_vout->p_default_font = vout_LoadFont( "share/" VOUT_DEFAULT_FONT );
}
if( p_vout->p_default_font == NULL )
{
p_vout->p_sys_destroy( p_vout );
......@@ -212,7 +216,11 @@ vout_thread_t * vout_CreateThread ( char *psz_display, int i_root_window,
free( p_vout );
return( NULL );
}
p_vout->p_large_font = vout_LoadFont( VOUT_LARGE_FONT );
p_vout->p_large_font = vout_LoadFont( DATA_PATH "/" VOUT_LARGE_FONT );
if( p_vout->p_large_font == NULL )
{
p_vout->p_large_font = vout_LoadFont( "share/" VOUT_LARGE_FONT );
}
if( p_vout->p_large_font == NULL )
{
vout_UnloadFont( p_vout->p_default_font );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment