parent
5ea472950e
commit
f46db03da1
@ -0,0 +1,363 @@
|
||||
From slackware:
|
||||
http://www.slackware.org.uk/slackbuilds.org/14.0/multimedia/backlite/
|
||||
https://bugs.gentoo.org/show_bug.cgi?id=443192
|
||||
|
||||
diff -Nru backlite-1.0.3.orig/backlite.pro backlite-1.0.3/backlite.pro
|
||||
--- backlite-1.0.3.orig/backlite.pro 2011-12-07 21:34:56.000000000 +0100
|
||||
+++ backlite-1.0.3/backlite.pro 2012-11-23 10:02:55.000000000 +0100
|
||||
@@ -386,6 +386,11 @@
|
||||
INCLUDEPATH += $$a/ffmpeg
|
||||
INCLUDEPATH += $$a/ffmpeg/libavformat
|
||||
}
|
||||
+ exists($$a/ffmpeg/libavutil) {
|
||||
+ message(found $$a/ffmpeg!)
|
||||
+ INCLUDEPATH += $$a/ffmpeg
|
||||
+ INCLUDEPATH += $$a/ffmpeg/libavutil
|
||||
+ }
|
||||
exists($$a/ffmpeg/libswscale) {
|
||||
message(found $$a/ffmpeg!)
|
||||
INCLUDEPATH += $$a/ffmpeg
|
||||
@@ -400,6 +405,10 @@
|
||||
message(found $$a/libavformat!)
|
||||
INCLUDEPATH += $$a/libavformat
|
||||
}
|
||||
+ exists($$a/libavutil) {
|
||||
+ message(found $$a/libavutil!)
|
||||
+ INCLUDEPATH += $$a/libavutil
|
||||
+ }
|
||||
exists($$a/libswscale) {
|
||||
message(found $$a/libswscale!)
|
||||
INCLUDEPATH += $$a/libswscale
|
||||
diff -Nru backlite-1.0.3.orig/src/backup/k9mp4enc.cpp backlite-1.0.3/src/backup/k9mp4enc.cpp
|
||||
--- backlite-1.0.3.orig/src/backup/k9mp4enc.cpp 2011-12-07 21:34:56.000000000 +0100
|
||||
+++ backlite-1.0.3/src/backup/k9mp4enc.cpp 2012-12-11 10:01:39.507859366 +0100
|
||||
@@ -619,7 +619,7 @@
|
||||
// cmd << "-lavfopts" << "i_certify_that_my_video_stream_does_not_use_b_frames";
|
||||
}
|
||||
//synchronize audio
|
||||
- cmd << "-async" << "1" ;
|
||||
+ cmd << "-async" << "44100" ;
|
||||
cmd << "-y" << KShell::quoteArg(path);
|
||||
cmd << slNewAudio;
|
||||
// if (m_extractMkv) {
|
||||
diff -Nru backlite-1.0.3.orig/src/core/k9audiocodecs.cpp backlite-1.0.3/src/core/k9audiocodecs.cpp
|
||||
--- backlite-1.0.3.orig/src/core/k9audiocodecs.cpp 2011-12-07 21:34:56.000000000 +0100
|
||||
+++ backlite-1.0.3/src/core/k9audiocodecs.cpp 2012-12-11 10:01:39.510859330 +0100
|
||||
@@ -75,10 +75,10 @@
|
||||
m_codecs[4]=_k9AudioCodec("sonic","-oac lavc -lavcopts acodec=sonic:abitrate=$AUDBR","mencoder");
|
||||
m_codecs[5]=_k9AudioCodec("aac","-oac faac -faacopts br=$AUDBR","mencoder");
|
||||
m_codecs[6]=_k9AudioCodec("mp3 (lame)","-oac mp3lame -lameopts abr:br=$AUDBR","mencoder");
|
||||
- m_codecs[7]=_k9AudioCodec("copy","-acodec copy","ffmpeg","");
|
||||
- m_codecs[8]=_k9AudioCodec("mp3","-acodec libmp3lame -ab $AUDBRk -ac 2","ffmpeg",".mp3");
|
||||
- m_codecs[9]=_k9AudioCodec("vorbis","-acodec vorbis -ab $AUDBRk -ac 2","ffmpeg",".ogg");
|
||||
- m_codecs[10]=_k9AudioCodec("aac","-acodec libfaac -ab $AUDBRk -ac 2","ffmpeg",".aac");
|
||||
+ m_codecs[7]=_k9AudioCodec("copy","-codec:a copy","ffmpeg","");
|
||||
+ m_codecs[8]=_k9AudioCodec("mp3","-codec:a libmp3lame -ab $AUDBRk -ac 2 -ar 44100","ffmpeg",".mp3");
|
||||
+ m_codecs[9]=_k9AudioCodec("vorbis","-codec:a vorbis -ab $AUDBRk -ac 2 -ar 44100","ffmpeg",".ogg");
|
||||
+ m_codecs[10]=_k9AudioCodec("aac","-codec:a libfaac -ab $AUDBRk -ac 2 -ar 44100","ffmpeg",".aac");
|
||||
|
||||
save();
|
||||
}
|
||||
diff -Nru backlite-1.0.3.orig/src/core/k9videocodecs.cpp backlite-1.0.3/src/core/k9videocodecs.cpp
|
||||
--- backlite-1.0.3.orig/src/core/k9videocodecs.cpp 2011-12-07 21:34:56.000000000 +0100
|
||||
+++ backlite-1.0.3/src/core/k9videocodecs.cpp 2012-12-11 10:01:39.512859304 +0100
|
||||
@@ -98,12 +98,12 @@
|
||||
m_codecs[18]=_k9VideoCodec("ASUS v1","","-ovc lavc -lavcopts vcodec=asv1:vhq:v4mv:vqmin=2:vbitrate=$VIDBR:aspect=$ASPECT -vf crop=$CROPWIDTH:$CROPHEIGHT:$CROPLEFT:$CROPTOP,scale=$WIDTH:$HEIGHT,dsize=$ASPECT","-ovc lavc -lavcopts vcodec=asv1:vhq:v4mv:vqmin=2:vbitrate=$VIDBR:aspect=$ASPECT:turbo:vpass=$PASS -vf crop=$CROPWIDTH:$CROPHEIGHT:$CROPLEFT:$CROPTOP,scale=$WIDTH:$HEIGHT,dsize=$ASPECT","-ovc lavc -lavcopts vcodec=asv1:vhq:v4mv:vqmin=2:vbitrate=$VIDBR:aspect=$ASPECT:turbo:vpass=$PASS -vf crop=$CROPWIDTH:$CROPHEIGHT:$CROPLEFT:$CROPTOP,scale=$WIDTH:$HEIGHT,dsize=$ASPECT","mencoder");
|
||||
m_codecs[19]=_k9VideoCodec("ASUS v2","","-ovc lavc -lavcopts vcodec=asv2:vhq:v4mv:vqmin=2:vbitrate=$VIDBR:aspect=$ASPECT -vf crop=$CROPWIDTH:$CROPHEIGHT:$CROPLEFT:$CROPTOP,scale=$WIDTH:$HEIGHT,dsize=$ASPECT","-ovc lavc -lavcopts vcodec=asv2:vhq:v4mv:vqmin=2:vbitrate=$VIDBR:aspect=$ASPECT:turbo:vpass=$PASS -vf crop=$CROPWIDTH:$CROPHEIGHT:$CROPLEFT:$CROPTOP,scale=$WIDTH:$HEIGHT,dsize=$ASPECT","-ovc lavc -lavcopts vcodec=asv2:vhq:v4mv:vqmin=2:vbitrate=$VIDBR:aspect=$ASPECT:turbo:vpass=$PASS -vf crop=$CROPWIDTH:$CROPHEIGHT:$CROPLEFT:$CROPTOP,scale=$WIDTH:$HEIGHT,dsize=$ASPECT","mencoder");
|
||||
m_codecs[20]=_k9VideoCodec("flv","","-ovc lavc -lavcopts vcodec=flv:vhq:v4mv:vqmin=2:vbitrate=$VIDBR:aspect=$ASPECT -vf crop=$CROPWIDTH:$CROPHEIGHT:$CROPLEFT:$CROPTOP,scale=$WIDTH:$HEIGHT,dsize=$ASPECT","-ovc lavc -lavcopts vcodec=flv:vhq:v4mv:vqmin=2:vbitrate=$VIDBR:aspect=$ASPECT:turbo:vpass=$PASS -vf crop=$CROPWIDTH:$CROPHEIGHT:$CROPLEFT:$CROPTOP,scale=$WIDTH:$HEIGHT,dsize=$ASPECT","-ovc lavc -lavcopts vcodec=flv:vhq:v4mv:vqmin=2:vbitrate=$VIDBR:aspect=$ASPECT:turbo:vpass=$PASS -vf crop=$CROPWIDTH:$CROPHEIGHT:$CROPLEFT:$CROPTOP,scale=$WIDTH:$HEIGHT,dsize=$ASPECT","mencoder");
|
||||
- m_codecs[21]=_k9VideoCodec("copy","","-vcodec copy","-vcodec copy","-vcodec copy","ffmpeg");
|
||||
- m_codecs[22]=_k9VideoCodec("x264","","-b $VIDBRk -s $WIDTHx$HEIGHT -vf crop=$CROPWIDTH:$CROPHEIGHT:$CROPLEFT:$CROPTOP -aspect $ASPECT -vcodec libx264 -level 30","-b $VIDBRk -s $WIDTHx$HEIGHT -croptop $CROPTOP -cropbottom $CROPBOTTOM -cropleft $CROPLEFT -cropright $CROPRIGHT -aspect $ASPECT -vcodec libx264 -pass $PASS -passlogfile $PASSLOGFILE -level 30","-b $VIDBRk -s $WIDTHx$HEIGHT -croptop $CROPTOP -cropbottom $CROPBOTTOM -cropleft $CROPLEFT -cropright $CROPRIGHT -aspect $ASPECT -vcodec libx264 -pass $PASS -passlogfile $PASSLOGFILE -level 30","ffmpeg");
|
||||
- m_codecs[23]=_k9VideoCodec("x264 (high)","","-b $VIDBRk -s $WIDTHx$HEIGHT -vf crop=$CROPWIDTH:$CROPHEIGHT:$CROPLEFT:$CROPTOP -aspect $ASPECT -vcodec libx264 -level 30 -flags +loop+mv4 -cmp 256 -partitions +parti4x4+parti8x8+partp4x4+partp8x8+partb8x8 -me_method hex -subq 7 -trellis 1 -refs 5 -bf 3 -flags2 +bpyramid+wpred+mixed_refs+dct8x8 -coder 1 -me_range 16 -g 250 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -qmin 10 -qmax 51 -qdiff 4","-b $VIDBRk -s $WIDTHx$HEIGHT -croptop $CROPTOP -cropbottom $CROPBOTTOM -cropleft $CROPLEFT -cropright $CROPRIGHT -aspect $ASPECT -vcodec libx264 -level 30 -flags +loop+mv4 -cmp 256 -partitions +parti4x4+parti8x8+partp4x4+partp8x8+partb8x8 -me_method hex -subq 7 -trellis 1 -refs 5 -bf 3 -flags2 +bpyramid+wpred+mixed_refs+dct8x8 -coder 1 -me_range 16 -g 250 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -qmin 10 -qmax 51 -qdiff 4 -pass $PASS -passlogfile $PASSLOGFILE","-b $VIDBRk -s $WIDTHx$HEIGHT -croptop $CROPTOP -cropbottom $CROPBOTTOM -cropleft $CROPLEFT -cropright $CROPRIGHT -aspect $ASPECT -vcodec libx264 -level 30 -flags +loop+mv4 -cmp 256 -partitions +parti4x4+parti8x8+partp4x4+partp8x8+partb8x8 -me_method hex -subq 7 -trellis 1 -refs 5 -bf 3 -flags2 +bpyramid+wpred+mixed_refs+dct8x8 -coder 1 -me_range 16 -g 250 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -qmin 10 -qmax 51 -qdiff 4 -pass $PASS -passlogfile $PASSLOGFILE","ffmpeg");
|
||||
- m_codecs[24]=_k9VideoCodec("MPEG-4 ","","-b $VIDBRk -s $WIDTHx$HEIGHT -vf crop=$CROPWIDTH:$CROPHEIGHT:$CROPLEFT:$CROPTOP -aspect $ASPECT -vcodec mpeg4 ","-b $VIDBRk -s $WIDTHx$HEIGHT -croptop $CROPTOP -cropbottom $CROPBOTTOM -cropleft $CROPLEFT -cropright $CROPRIGHT -aspect $ASPECT -vcodec mpeg4 -pass $PASS -passlogfile $PASSLOGFILE","-b $VIDBRk -s $WIDTHx$HEIGHT -croptop $CROPTOP -cropbottom $CROPBOTTOM -cropleft $CROPLEFT -cropright $CROPRIGHT -aspect $ASPECT -vcodec mpeg4 -pass $PASS -passlogfile $PASSLOGFILE","ffmpeg");
|
||||
- m_codecs[25]=_k9VideoCodec("Flash Video","","-b $VIDBRk -s $WIDTHx$HEIGHT -vf crop=$CROPWIDTH:$CROPHEIGHT:$CROPLEFT:$CROPTOP -aspect $ASPECT -vcodec flv ","-b $VIDBRk -s $WIDTHx$HEIGHT -croptop $CROPTOP -cropbottom $CROPBOTTOM -cropleft $CROPLEFT -cropright $CROPRIGHT -aspect $ASPECT -vcodec flv -pass $PASS -passlogfile $PASSLOGFILE","-b $VIDBRk -s $WIDTHx$HEIGHT -croptop $CROPTOP -cropbottom $CROPBOTTOM -cropleft $CROPLEFT -cropright $CROPRIGHT -aspect $ASPECT -vcodec flv -pass $PASS -passlogfile $PASSLOGFILE","ffmpeg");
|
||||
- m_codecs[26]=_k9VideoCodec("Windows Media 8","","-b $VIDBRk -s $WIDTHx$HEIGHT -vf crop=$CROPWIDTH:$CROPHEIGHT:$CROPLEFT:$CROPTOP -aspect $ASPECT -vcodec wmv2","-b $VIDBRk -s $WIDTHx$HEIGHT -croptop $CROPTOP -cropbottom $CROPBOTTOM -cropleft $CROPLEFT -cropright $CROPRIGHT -aspect $ASPECT -vcodec wmv2 -pass $PASS -passlogfile $PASSLOGFILE","-b $VIDBRk -s $WIDTHx$HEIGHT -croptop $CROPTOP -cropbottom $CROPBOTTOM -cropleft $CROPLEFT -cropright $CROPRIGHT -aspect $ASPECT -vcodec wmv2 -pass $PASS -passlogfile $PASSLOGFILE","ffmpeg");
|
||||
+ m_codecs[21]=_k9VideoCodec("copy","","-codec:v copy","-codec:v copy","-codec:v copy","ffmpeg");
|
||||
+ m_codecs[22]=_k9VideoCodec("x264","","-b $VIDBRk -s $WIDTHx$HEIGHT -vf crop=$CROPWIDTH:$CROPHEIGHT:$CROPLEFT:$CROPTOP -aspect $ASPECT -codec:v libx264 -level 30","-b $VIDBRk -s $WIDTHx$HEIGHT -vf crop=$WIDTH-$CROPRIGHT-$CROPLEFT:$HEIGHT-$CROPTOP-$CROPBOTTOM:$CROPLEFT:$CROPTOP -aspect $ASPECT -codec:v libx264 -pass $PASS -passlogfile $PASSLOGFILE -level 30","-b $VIDBRk -s $WIDTHx$HEIGHT -vf crop=$WIDTH-$CROPRIGHT-$CROPLEFT:$HEIGHT-$CROPTOP-$CROPBOTTOM:$CROPLEFT:$CROPTOP -aspect $ASPECT -codec:v libx264 -pass $PASS -passlogfile $PASSLOGFILE -level 30","ffmpeg");
|
||||
+ m_codecs[23]=_k9VideoCodec("x264 (high)","","-b $VIDBRk -s $WIDTHx$HEIGHT -vf crop=$CROPWIDTH:$CROPHEIGHT:$CROPLEFT:$CROPTOP -aspect $ASPECT -codec:v libx264 -level 30 -flags +loop+mv4 -cmp 256 -partitions +parti4x4+parti8x8+partp4x4+partp8x8+partb8x8 -me_method hex -subq 7 -trellis 1 -refs 5 -bf 3 -b-pyramid normal -weightb 1 -mixed-refs 1 -8x8dct 1 -coder 1 -me_range 16 -g 250 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -qmin 10 -qmax 51 -qdiff 4","-b $VIDBRk -s $WIDTHx$HEIGHT -vf crop=$WIDTH-$CROPRIGHT-$CROPLEFT:$HEIGHT-$CROPTOP-$CROPBOTTOM:$CROPLEFT:$CROPTOP -aspect $ASPECT -codec:v libx264 -level 30 -flags +loop+mv4 -cmp 256 -partitions +parti4x4+parti8x8+partp4x4+partp8x8+partb8x8 -me_method hex -subq 7 -trellis 1 -refs 5 -bf 3 -b-pyramid normal -weightb 1 -mixed-refs 1 -8x8dct 1 -coder 1 -me_range 16 -g 250 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -qmin 10 -qmax 51 -qdiff 4 -pass $PASS -passlogfile $PASSLOGFILE","-b $VIDBRk -s $WIDTHx$HEIGHT -vf crop=$WIDTH-$CROPRIGHT-$CROPLEFT:$HEIGHT-$CROPTOP-$CROPBOTTOM:$CROPLEFT:$CROPTOP -aspect $ASPECT -codec:v libx264 -level 30 -flags +loop+mv4 -cmp 256 -partitions +parti4x4+parti8x8+partp4x4+partp8x8+partb8x8 -me_method hex -subq 7 -trellis 1 -refs 5 -bf 3 -b-pyramid normal -weightb 1 -mixed-refs 1 -8x8dct 1 -coder 1 -me_range 16 -g 250 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -qmin 10 -qmax 51 -qdiff 4 -pass $PASS -passlogfile $PASSLOGFILE","ffmpeg");
|
||||
+ m_codecs[24]=_k9VideoCodec("MPEG-4 ","","-b $VIDBRk -s $WIDTHx$HEIGHT -vf crop=$CROPWIDTH:$CROPHEIGHT:$CROPLEFT:$CROPTOP -aspect $ASPECT -codec:v mpeg4 ","-b $VIDBRk -s $WIDTHx$HEIGHT -vf crop=$WIDTH-$CROPRIGHT-$CROPLEFT:$HEIGHT-$CROPTOP-$CROPBOTTOM:$CROPLEFT:$CROPTOP -aspect $ASPECT -codec:v mpeg4 -pass $PASS -passlogfile $PASSLOGFILE","-b $VIDBRk -s $WIDTHx$HEIGHT -vf crop=$WIDTH-$CROPRIGHT-$CROPLEFT:$HEIGHT-$CROPTOP-$CROPBOTTOM:$CROPLEFT:$CROPTOP -aspect $ASPECT -codec:v mpeg4 -pass $PASS -passlogfile $PASSLOGFILE","ffmpeg");
|
||||
+ m_codecs[25]=_k9VideoCodec("Flash Video","","-b $VIDBRk -s $WIDTHx$HEIGHT -vf crop=$CROPWIDTH:$CROPHEIGHT:$CROPLEFT:$CROPTOP -aspect $ASPECT -codec:v flv ","-b $VIDBRk -s $WIDTHx$HEIGHT -vf crop=$WIDTH-$CROPRIGHT-$CROPLEFT:$HEIGHT-$CROPTOP-$CROPBOTTOM:$CROPLEFT:$CROPTOP -aspect $ASPECT -codec:v flv -pass $PASS -passlogfile $PASSLOGFILE","-b $VIDBRk -s $WIDTHx$HEIGHT -vf crop=$WIDTH-$CROPRIGHT-$CROPLEFT:$HEIGHT-$CROPTOP-$CROPBOTTOM:$CROPLEFT:$CROPTOP -aspect $ASPECT -codec:v flv -pass $PASS -passlogfile $PASSLOGFILE","ffmpeg");
|
||||
+ m_codecs[26]=_k9VideoCodec("Windows Media 8","","-b $VIDBRk -s $WIDTHx$HEIGHT -vf crop=$CROPWIDTH:$CROPHEIGHT:$CROPLEFT:$CROPTOP -aspect $ASPECT -codec:v wmv2","-b $VIDBRk -s $WIDTHx$HEIGHT -vf crop=$WIDTH-$CROPRIGHT-$CROPLEFT:$HEIGHT-$CROPTOP-$CROPBOTTOM:$CROPLEFT:$CROPTOP -aspect $ASPECT -codec:v wmv2 -pass $PASS -passlogfile $PASSLOGFILE","-b $VIDBRk -s $WIDTHx$HEIGHT -vf crop=$WIDTH-$CROPRIGHT-$CROPLEFT:$HEIGHT-$CROPTOP-$CROPBOTTOM:$CROPLEFT:$CROPTOP -aspect $ASPECT -codec:v wmv2 -pass $PASS -passlogfile $PASSLOGFILE","ffmpeg");
|
||||
|
||||
save();
|
||||
|
||||
diff -Nru backlite-1.0.3.orig/src/import/k9avidecode.cpp backlite-1.0.3/src/import/k9avidecode.cpp
|
||||
--- backlite-1.0.3.orig/src/import/k9avidecode.cpp 2011-12-07 21:34:56.000000000 +0100
|
||||
+++ backlite-1.0.3/src/import/k9avidecode.cpp 2012-11-23 09:39:06.000000000 +0100
|
||||
@@ -37,11 +37,13 @@
|
||||
: QObject(parent) {
|
||||
CodecHandle=0;
|
||||
FormatHandle=0;
|
||||
+ UtilHandle=0;
|
||||
SwscaleHandle=0;
|
||||
glibref=0;
|
||||
if (glibref==0) {
|
||||
CodecHandle=dlopen("libavcodec.so",RTLD_LAZY ); //| RTLD_GLOBAL
|
||||
FormatHandle=dlopen("libavformat.so",RTLD_LAZY);
|
||||
+ UtilHandle=dlopen("libavutil.so",RTLD_LAZY);
|
||||
#ifdef HAVE_SWSCALE
|
||||
SwscaleHandle=dlopen("libswscale.so",RTLD_LAZY);
|
||||
if (SwscaleHandle==0)
|
||||
@@ -56,6 +58,12 @@
|
||||
if (!FormatHandle ) {
|
||||
errs << i18n("Cannot open the library %1").arg("libavformat");
|
||||
}
|
||||
+# if LIBAVUTIL_VERSION_INT >= AV_VERSION_INT(51, 33, 0)
|
||||
+ if (!UtilHandle) {
|
||||
+ m_error =i18n("Cannot open then library %1").arg("libavutil");
|
||||
+ return;
|
||||
+ }
|
||||
+# endif
|
||||
#ifdef HAVE_SWSCALE
|
||||
if (!SwscaleHandle) {
|
||||
errs << i18n("Cannot open the library %1").arg("libswscale");
|
||||
@@ -63,17 +71,32 @@
|
||||
#endif
|
||||
|
||||
av_register_all = (av_register_all_t)dlsym(FormatHandle,"av_register_all");
|
||||
+# if LIBAVFORMAT_VERSION_INT >= AV_VERSION_INT(53, 2, 0)
|
||||
+ avformat_open_input = (avformat_open_input_t)dlsym(FormatHandle,"avformat_open_input");
|
||||
+# else
|
||||
av_open_input_file = (av_open_input_file_t)dlsym(FormatHandle,"av_open_input_file");
|
||||
+# endif
|
||||
+# if LIBAVFORMAT_VERSION_INT >= AV_VERSION_INT(53, 6, 0)
|
||||
+ avformat_find_stream_info = (avformat_find_stream_info_t)dlsym(FormatHandle,"avformat_find_stream_info");
|
||||
+# else
|
||||
av_find_stream_info = (av_find_stream_info_t)dlsym(FormatHandle,"av_find_stream_info");
|
||||
+# endif
|
||||
avcodec_find_decoder =(avcodec_find_decoder_t) dlsym(CodecHandle,"avcodec_find_decoder");
|
||||
+# if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(53, 8, 0)
|
||||
+ avcodec_open2 = (avcodec_open2_t)dlsym(CodecHandle,"avcodec_open2");
|
||||
+# else
|
||||
avcodec_open = (avcodec_open_t)dlsym(CodecHandle,"avcodec_open");
|
||||
+# endif
|
||||
avcodec_alloc_frame = (avcodec_alloc_frame_t)dlsym(CodecHandle,"avcodec_alloc_frame");
|
||||
avpicture_get_size = (avpicture_get_size_t)dlsym(CodecHandle,"avpicture_get_size");
|
||||
av_malloc = (av_malloc_t)dlsym(CodecHandle,"av_malloc");
|
||||
avpicture_fill = (avpicture_fill_t)dlsym(CodecHandle,"avpicture_fill");
|
||||
av_read_frame = (av_read_frame_t)dlsym(FormatHandle,"av_read_frame");
|
||||
+# if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(52, 23, 0)
|
||||
+ avcodec_decode_video2 = (avcodec_decode_video2_t)dlsym(CodecHandle,"avcodec_decode_video2");
|
||||
+# else
|
||||
avcodec_decode_video = (avcodec_decode_video_t)dlsym(CodecHandle,"avcodec_decode_video");
|
||||
- if (avcodec_decode_video==0) avcodec_decode_video=(avcodec_decode_video_t)dlsym(CodecHandle,"avcodec_decode_video2");
|
||||
+# endif
|
||||
#ifndef HAVE_SWSCALE
|
||||
img_convert = (img_convert_t)dlsym(CodecHandle,"img_convert");
|
||||
//if img_convert is null (deprecated in ffmpeg), we need libswscale
|
||||
@@ -85,7 +108,11 @@
|
||||
if (av_free_packet==0)
|
||||
av_free_packet=av_free_packet_internal;
|
||||
avcodec_close = (avcodec_close_t)dlsym(FormatHandle,"avcodec_close");
|
||||
+# if LIBAVFORMAT_VERSION_INT >= AV_VERSION_INT(53, 17, 0)
|
||||
+ avformat_close_input = (avformat_close_input_t)dlsym(FormatHandle,"avformat_close_input");
|
||||
+# else
|
||||
av_close_input_file = (av_close_input_file_t)dlsym(FormatHandle,"av_close_input_file");
|
||||
+# endif
|
||||
av_seek_frame=(av_seek_frame_t)dlsym(FormatHandle,"av_seek_frame");
|
||||
av_rescale_q=(av_rescale_q_t)dlsym(FormatHandle,"av_rescale_q");
|
||||
avcodec_flush_buffers=(avcodec_flush_buffers_t)dlsym(CodecHandle,"avcodec_flush_buffers");
|
||||
@@ -94,7 +121,11 @@
|
||||
sws_getContext=(sws_getContext_t)dlsym(SwscaleHandle,"sws_getContext");
|
||||
sws_scale= (sws_scale_t)dlsym(SwscaleHandle,"sws_scale");
|
||||
#endif
|
||||
+# if LIBAVUTIL_VERSION_INT >= AV_VERSION_INT(51, 33, 0)
|
||||
+ av_gettime=(av_gettime_t)dlsym(UtilHandle,"av_gettime");
|
||||
+# else
|
||||
av_gettime=(av_gettime_t)dlsym(FormatHandle,"av_gettime");
|
||||
+# endif
|
||||
|
||||
if (errs.count() >0) {
|
||||
m_error=errs.join("\n");
|
||||
@@ -118,6 +149,8 @@
|
||||
dlclose(FormatHandle);
|
||||
if (CodecHandle)
|
||||
dlclose(CodecHandle);
|
||||
+ if(UtilHandle)
|
||||
+ dlclose(UtilHandle);
|
||||
#ifdef HAVE_SWSCALE
|
||||
if (SwscaleHandle)
|
||||
dlclose(CodecHandle);
|
||||
@@ -134,12 +167,24 @@
|
||||
close();
|
||||
|
||||
// Open video file
|
||||
- if (av_open_input_file(&m_FormatCtx, _fileName.toUtf8(), NULL, 0, NULL)!=0) {
|
||||
+ if (
|
||||
+# if LIBAVFORMAT_VERSION_INT >= AV_VERSION_INT(53, 2, 0)
|
||||
+ avformat_open_input(&m_FormatCtx, _fileName.toUtf8(), 0, 0)!=0
|
||||
+# else
|
||||
+ av_open_input_file(&m_FormatCtx, _fileName.toUtf8(), NULL, 0, NULL)!=0
|
||||
+# endif
|
||||
+ ) {
|
||||
m_error=i18n("Couldn't open the file %1").arg(_fileName);
|
||||
return false; // Couldn't open file}
|
||||
}
|
||||
// Retrieve stream information
|
||||
- if (av_find_stream_info(m_FormatCtx)<0) {
|
||||
+ if (
|
||||
+# if LIBAVFORMAT_VERSION_INT >= AV_VERSION_INT(53, 6, 0)
|
||||
+ avformat_find_stream_info(m_FormatCtx, NULL)<0
|
||||
+# else
|
||||
+ av_find_stream_info(m_FormatCtx)<0
|
||||
+# endif
|
||||
+ ) {
|
||||
m_error =i18n("Couldn't find stream information");
|
||||
return false; // Couldn't find stream information
|
||||
}
|
||||
@@ -168,7 +213,13 @@
|
||||
return false; // Codec not found
|
||||
}
|
||||
// Open codec
|
||||
- if (avcodec_open(m_CodecCtx, m_Codec)<0) {
|
||||
+ if (
|
||||
+# if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(53, 8, 0)
|
||||
+ avcodec_open2(m_CodecCtx, m_Codec, NULL)<0
|
||||
+# else
|
||||
+ avcodec_open(m_CodecCtx, m_Codec)<0
|
||||
+# endif
|
||||
+ ) {
|
||||
m_error =i18n("Could'nt open the codec");
|
||||
return false; // Could not open codec
|
||||
}
|
||||
@@ -245,15 +296,23 @@
|
||||
// Is this a packet from the video stream?
|
||||
if (packet.stream_index==m_videoStream) {
|
||||
// Decode video frame
|
||||
+# if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(52, 23, 0)
|
||||
+ avcodec_decode_video2(m_CodecCtx, m_Frame, &frameFinished, &packet);
|
||||
+# else
|
||||
avcodec_decode_video(m_CodecCtx, m_Frame, &frameFinished,
|
||||
packet.data, packet.size);
|
||||
+# endif
|
||||
|
||||
// Did we get a video frame?
|
||||
if (frameFinished) {
|
||||
// if (m_Frame->pts >=fspos)
|
||||
int64_t cur_dts=fspos;
|
||||
- if (m_FormatCtx->cur_st)
|
||||
- cur_dts= m_FormatCtx->cur_st->cur_dts;
|
||||
+# if LIBAVFORMAT_VERSION_INT >= AV_VERSION_INT(54, 2, 0)
|
||||
+ cur_dts= packet.dts;
|
||||
+# else
|
||||
+ if (m_FormatCtx->cur_st)
|
||||
+ cur_dts= m_FormatCtx->cur_st->cur_dts;
|
||||
+# endif
|
||||
if (cur_dts >=fspos) {
|
||||
bFound=true;
|
||||
#ifndef HAVE_SWSCALE
|
||||
@@ -309,7 +368,11 @@
|
||||
avcodec_close(m_CodecCtx);
|
||||
|
||||
// Close the video file
|
||||
+# if LIBAVFORMAT_VERSION_INT >= AV_VERSION_INT(53, 17, 0)
|
||||
+ avformat_close_input(&m_FormatCtx);
|
||||
+# else
|
||||
av_close_input_file(m_FormatCtx);
|
||||
+# endif
|
||||
m_opened=false;
|
||||
}
|
||||
}
|
||||
diff -Nru backlite-1.0.3.orig/src/import/k9avidecode.h backlite-1.0.3/src/import/k9avidecode.h
|
||||
--- backlite-1.0.3.orig/src/import/k9avidecode.h 2011-12-07 21:34:56.000000000 +0100
|
||||
+++ backlite-1.0.3/src/import/k9avidecode.h 2012-11-23 09:39:06.000000000 +0100
|
||||
@@ -15,6 +15,7 @@
|
||||
#include "k9common.h"
|
||||
#include <qobject.h>
|
||||
#include <avformat.h>
|
||||
+#include <avutil.h>
|
||||
#include <qimage.h>
|
||||
#include <cstdlib>
|
||||
#include <QObject>
|
||||
@@ -29,10 +30,22 @@
|
||||
//typedef dvd_file_t * (*DVDOpenFile_t) ( dvd_reader_t *, int, dvd_read_domain_t );
|
||||
typedef void (*av_register_all_t) (void);
|
||||
typedef int64_t (*av_gettime_t) (void);
|
||||
+#if LIBAVFORMAT_VERSION_INT >= AV_VERSION_INT(53, 2, 0)
|
||||
+typedef int (*avformat_open_input_t)(AVFormatContext **, const char *, AVInputFormat *, AVDictionary **);
|
||||
+#else
|
||||
typedef int (*av_open_input_file_t)(AVFormatContext **, const char *,AVInputFormat *,int, AVFormatParameters *);
|
||||
+#endif
|
||||
+#if LIBAVFORMAT_VERSION_INT >= AV_VERSION_INT(53, 6, 0)
|
||||
+typedef int (*avformat_find_stream_info_t)(AVFormatContext *, AVDictionary **);
|
||||
+#else
|
||||
typedef int (*av_find_stream_info_t)(AVFormatContext *);
|
||||
+#endif
|
||||
typedef AVCodec* (*avcodec_find_decoder_t)(enum CodecID);
|
||||
+#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(53, 8, 0)
|
||||
+typedef int (*avcodec_open2_t)(AVCodecContext *, AVCodec *, AVDictionary **);
|
||||
+#else
|
||||
typedef int (*avcodec_open_t)(AVCodecContext *, AVCodec *);
|
||||
+#endif
|
||||
typedef AVFrame * (*avcodec_alloc_frame_t)(void);
|
||||
|
||||
typedef int (*avpicture_get_size_t)(int , int , int );
|
||||
@@ -40,11 +53,19 @@
|
||||
typedef int (*avpicture_fill_t)(AVPicture *, uint8_t *,int , int , int);
|
||||
typedef int (*av_read_frame_t)(AVFormatContext *, AVPacket *);
|
||||
|
||||
+#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(52, 23, 0)
|
||||
+typedef int (*avcodec_decode_video2_t)(AVCodecContext *, AVFrame *, int *, AVPacket *);
|
||||
+#else
|
||||
typedef int (*avcodec_decode_video_t)(AVCodecContext *, AVFrame *,int *, uint8_t *, int );
|
||||
+#endif
|
||||
typedef int (*img_convert_t)(AVPicture *, int , const AVPicture *, int ,int, int);
|
||||
typedef void (*av_free_t)(void *);
|
||||
typedef int (*avcodec_close_t)(AVCodecContext *);
|
||||
+#if LIBAVFORMAT_VERSION_INT >= AV_VERSION_INT(53, 17, 0)
|
||||
+typedef void (*avformat_close_input_t)(AVFormatContext **);
|
||||
+#else
|
||||
typedef void (*av_close_input_file_t)(AVFormatContext *);
|
||||
+#endif
|
||||
typedef int (*av_seek_frame_t)(AVFormatContext *,int,int64_t timestamp,int flags); typedef int64_t (*av_rescale_q_t)(int64_t , AVRational , AVRational ) ;
|
||||
typedef void (*avcodec_flush_buffers_t)(AVCodecContext *);
|
||||
typedef void (*av_free_packet_t)(AVPacket *);
|
||||
@@ -77,21 +98,41 @@
|
||||
|
||||
private:
|
||||
av_register_all_t av_register_all;
|
||||
+# if LIBAVFORMAT_VERSION_INT >= AV_VERSION_INT(53, 2, 0)
|
||||
+ avformat_open_input_t avformat_open_input;
|
||||
+# else
|
||||
av_open_input_file_t av_open_input_file;
|
||||
+# endif
|
||||
+# if LIBAVFORMAT_VERSION_INT >= AV_VERSION_INT(53, 6, 0)
|
||||
+ avformat_find_stream_info_t avformat_find_stream_info;
|
||||
+# else
|
||||
av_find_stream_info_t av_find_stream_info;
|
||||
+# endif
|
||||
avcodec_find_decoder_t avcodec_find_decoder;
|
||||
+# if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(53, 8, 0)
|
||||
+ avcodec_open2_t avcodec_open2;
|
||||
+# else
|
||||
avcodec_open_t avcodec_open;
|
||||
+# endif
|
||||
avcodec_alloc_frame_t avcodec_alloc_frame;
|
||||
av_seek_frame_t av_seek_frame;
|
||||
avpicture_get_size_t avpicture_get_size;
|
||||
av_malloc_t av_malloc;
|
||||
avpicture_fill_t avpicture_fill;
|
||||
av_read_frame_t av_read_frame;
|
||||
+# if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(52, 23, 0)
|
||||
+ avcodec_decode_video2_t avcodec_decode_video2;
|
||||
+# else
|
||||
avcodec_decode_video_t avcodec_decode_video;
|
||||
+# endif
|
||||
img_convert_t img_convert;
|
||||
av_free_t av_free;
|
||||
avcodec_close_t avcodec_close;
|
||||
+# if LIBAVFORMAT_VERSION_INT >= AV_VERSION_INT(53, 17, 0)
|
||||
+ avformat_close_input_t avformat_close_input;
|
||||
+# else
|
||||
av_close_input_file_t av_close_input_file;
|
||||
+# endif
|
||||
av_rescale_q_t av_rescale_q;
|
||||
av_gettime_t av_gettime;
|
||||
avcodec_flush_buffers_t avcodec_flush_buffers;
|
||||
@@ -103,6 +144,7 @@
|
||||
#endif
|
||||
void *CodecHandle;
|
||||
void *FormatHandle;
|
||||
+ void *UtilHandle;
|
||||
void *SwscaleHandle;
|
||||
int glibref;
|
||||
|
@ -0,0 +1,89 @@
|
||||
libavutil/time.h in recent ffmpeg versions pollute the includes.
|
||||
include libav* headers correcly.
|
||||
|
||||
Index: backlite-1.0.3/backlite.pro
|
||||
===================================================================
|
||||
--- backlite-1.0.3.orig/backlite.pro
|
||||
+++ backlite-1.0.3/backlite.pro
|
||||
@@ -383,39 +383,31 @@ for(a, INCLOC ) {
|
||||
exists($$a/ffmpeg/libavcodec) {
|
||||
message(found $$a/ffmpeg!)
|
||||
INCLUDEPATH += $$a/ffmpeg
|
||||
- INCLUDEPATH += $$a/ffmpeg/libavcodec
|
||||
}
|
||||
exists($$a/ffmpeg/libavformat) {
|
||||
message(found $$a/ffmpeg!)
|
||||
INCLUDEPATH += $$a/ffmpeg
|
||||
- INCLUDEPATH += $$a/ffmpeg/libavformat
|
||||
}
|
||||
exists($$a/ffmpeg/libavutil) {
|
||||
message(found $$a/ffmpeg!)
|
||||
INCLUDEPATH += $$a/ffmpeg
|
||||
- INCLUDEPATH += $$a/ffmpeg/libavutil
|
||||
}
|
||||
exists($$a/ffmpeg/libswscale) {
|
||||
message(found $$a/ffmpeg!)
|
||||
INCLUDEPATH += $$a/ffmpeg
|
||||
- INCLUDEPATH += $$a/ffmpeg/libswscale
|
||||
DEFINES += HAVE_SWSCALE
|
||||
}
|
||||
exists($$a/libavcodec) {
|
||||
message(found $$a/libavcodec!)
|
||||
- INCLUDEPATH += $$a/libavcodec
|
||||
}
|
||||
exists($$a/libavformat) {
|
||||
message(found $$a/libavformat!)
|
||||
- INCLUDEPATH += $$a/libavformat
|
||||
}
|
||||
exists($$a/libavutil) {
|
||||
message(found $$a/libavutil!)
|
||||
- INCLUDEPATH += $$a/libavutil
|
||||
}
|
||||
exists($$a/libswscale) {
|
||||
message(found $$a/libswscale!)
|
||||
- INCLUDEPATH += $$a/libswscale
|
||||
DEFINES += HAVE_SWSCALE
|
||||
}
|
||||
}
|
||||
Index: backlite-1.0.3/src/import/k9avidecode.cpp
|
||||
===================================================================
|
||||
--- backlite-1.0.3.orig/src/import/k9avidecode.cpp
|
||||
+++ backlite-1.0.3/src/import/k9avidecode.cpp
|
||||
@@ -10,14 +10,14 @@
|
||||
//
|
||||
//
|
||||
#include "k9avidecode.h"
|
||||
-#include <avcodec.h>
|
||||
+#include <libavcodec/avcodec.h>
|
||||
#include <qimage.h>
|
||||
#include <dlfcn.h>
|
||||
#include "k9common.h"
|
||||
|
||||
#ifdef HAVE_SWSCALE
|
||||
|
||||
-#include "swscale.h"
|
||||
+#include <libswscale/swscale.h>
|
||||
|
||||
static int sws_flags = SWS_BICUBIC;
|
||||
|
||||
Index: backlite-1.0.3/src/import/k9avidecode.h
|
||||
===================================================================
|
||||
--- backlite-1.0.3.orig/src/import/k9avidecode.h
|
||||
+++ backlite-1.0.3/src/import/k9avidecode.h
|
||||
@@ -14,13 +14,13 @@
|
||||
|
||||
#include "k9common.h"
|
||||
#include <qobject.h>
|
||||
-#include <avformat.h>
|
||||
-#include <avutil.h>
|
||||
+#include <libavformat/avformat.h>
|
||||
+#include <libavutil/avutil.h>
|
||||
#include <qimage.h>
|
||||
#include <cstdlib>
|
||||
#include <QObject>
|
||||
#ifdef HAVE_SWSCALE
|
||||
-#include <swscale.h>
|
||||
+#include <libswscale/swscale.h>
|
||||
#endif
|
||||
/**
|
||||
@author Jean-Michel PETIT <k9copy@free.fr>
|
@ -1,3 +1,4 @@
|
||||
DIST innotop-1.4.0.tar.gz 77585 SHA256 43a17cc751629d1566bb4a619e0c4058afffe5499b287ef76b828f3405ddf9b2 SHA512 d3b2e1de9bb8b92221b5f02286150e4e2713c267f98bb50c6acfa0e40f47548add048486654735a2bfba233e3ab5ed77e38679e1e7e3f0c91958f4b042fece5b WHIRLPOOL eb7e170d20852a4fd9cb9f3ec5747ebd9ebaf3eb9db38bcb365b93fa3610219575a331a6643841a0b7da26a7140279f4689b977ed8ce20d7de9d504d7de88c35
|
||||
DIST innotop-1.6.0.tar.gz 113671 SHA256 834fbfdfbd1e612aaf32537b86a30fb84f2a9458498722395cf71d929d12a811 SHA512 ce51f664ab4f775e3a0996cab7b8b1179da84cdc9c732b6ce4093be50086d388a59f13e232c483b48d88475efaa9c214b9fe8f85e39a1cf3b52d1cf2610b18dc WHIRLPOOL 0a89af3a0d29289582b4fd75a5b98ba5fd37d2935ee49bb4e40b5098c560ec321fdc75fa3049c7ebdec2adb79d969f3631e9b9253a8b3a5ed46ee97f8aa6f772
|
||||
DIST innotop-1.7.2.tar.gz 763132 SHA256 9a78de6ffea59f36d223a81ef6b20688ad622b891071b251b9fd2d2359a40c7b SHA512 855fa7288a3bff7839aeaa8970f495dbed79209991de9a5b9aade4161fc83e7208c93b16b26aa5aaac5d5384c98bf6945f4d25a9ce006e3068b97f7c9f6d6c19 WHIRLPOOL e7ed99eecbf0ea14cb3eaf8159e087a9b7965983e707732dbcc07f908e2b349c3763567a9a1c5694ab2b0412da7c7a87286077899fdf0446cbfe31c687c21a8e
|
||||
DIST innotop-1.9.0.tar.gz 143179 SHA256 bc2669ea88fb728c6c4ed9c695c4d0b7b9ae5df0f158ef23e8853694bf4f240a SHA512 a3fe26b7e9e4a4608f6ef68e8cfefca080fd5799cc7780ffadd0b6bd0a0cfd035561bf6c10436f556b8fc79726304cae408343a231a57d02c74e3bd29b941a17 WHIRLPOOL 76226828f8c91608b03d49802cc082a77b552f7a482ab2186e71a4f9fb56662d17d4ee04c5187df78ca68a733ca4a710b3d6156e0b028375576c8abb9b7effd8
|
||||
|
@ -0,0 +1,23 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/innotop/innotop-1.9.0.ebuild,v 1.1 2013/01/18 02:16:49 robbat2 Exp $
|
||||
|
||||
inherit perl-app
|
||||
|
||||
DESCRIPTION="innotop - A text-mode MySQL and InnoDB monitor like mytop, but with many more features"
|
||||
HOMEPAGE="http://code.google.com/p/innotop/"
|
||||
SRC_URI="http://innotop.googlecode.com/files/${P}.tar.gz"
|
||||
|
||||
LICENSE="|| ( Artistic GPL-2 )"
|
||||
KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-perl/DBD-mysql
|
||||
dev-perl/TermReadKey
|
||||
virtual/perl-Term-ANSIColor
|
||||
virtual/perl-Time-HiRes"
|
||||
|
||||
src_install() {
|
||||
perl-module_src_install
|
||||
}
|
@ -0,0 +1,118 @@
|
||||
#!/sbin/runscript
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql-init-scripts/files/mysql-5.1.67-init.d,v 1.1 2013/01/18 01:51:47 robbat2 Exp $
|
||||
|
||||
depend() {
|
||||
use net.lo
|
||||
# localmount needed for $basedir
|
||||
need localmount
|
||||
}
|
||||
|
||||
get_config() {
|
||||
my_print_defaults --config-file="$1" mysqld |
|
||||
sed -n -e "s/^--$2=//p"
|
||||
}
|
||||
|
||||
mysql_svcname() {
|
||||
local ebextra=
|
||||
case "${SVCNAME}" in
|
||||
mysql*) ;;
|
||||
*) ebextra=" (mysql)" ;;
|
||||
esac
|
||||
echo "${SVCNAME}${ebextra}"
|
||||
}
|
||||
|
||||
start() {
|
||||
# Check for old conf.d variables that mean migration was not yet done.
|
||||
set | egrep -sq '^(mysql_slot_|MYSQL_BLOG_PID_FILE|STOPTIMEOUT)'
|
||||
rc=$?
|
||||
# Yes, MYSQL_INIT_I_KNOW_WHAT_I_AM_DOING is a hidden variable.
|
||||
# It does have a use in testing, as it is possible to build a config file
|
||||
# that works with both the old and new init scripts simulateously.
|
||||
if [ "${rc}" = 0 -a -z "${MYSQL_INIT_I_KNOW_WHAT_I_AM_DOING}" ]; then
|
||||
eerror "You have not updated your conf.d for the new mysql-init-scripts-2 revamp."
|
||||
eerror "Not proceeding because it may be dangerous."
|
||||
return 1
|
||||
fi
|
||||
|
||||
# Now we can startup
|
||||
ebegin "Starting $(mysql_svcname)"
|
||||
|
||||
MY_CNF="${MY_CNF:-/etc/${SVCNAME}/my.cnf}"
|
||||
|
||||
if [ ! -r "${MY_CNF}" ] ; then
|
||||
eerror "Cannot read the configuration file \`${MY_CNF}'"
|
||||
return 1
|
||||
fi
|
||||
|
||||
# tail -n1 is critical as these we only want the last instance of the option
|
||||
local basedir=$(get_config "${MY_CNF}" basedir | tail -n1)
|
||||
local datadir=$(get_config "${MY_CNF}" datadir | tail -n1)
|
||||
local pidfile=$(get_config "${MY_CNF}" pid-file | tail -n1)
|
||||
local socket=$(get_config "${MY_CNF}" socket | tail -n1)
|
||||
|
||||
if [ ! -d "${datadir}" ] ; then
|
||||
eerror "MySQL datadir \`${datadir}' is empty or invalid"
|
||||
eerror "Please check your config file \`${MY_CNF}'"
|
||||
return 1
|
||||
fi
|
||||
|
||||
if [ ! -d "${datadir}"/mysql ] ; then
|
||||
eerror "You don't appear to have the mysql database installed yet."
|
||||
eerror "Please run /usr/bin/mysql_install_db to have this done..."
|
||||
return 1
|
||||
fi
|
||||
|
||||
local piddir="${pidfile%/*}"
|
||||
checkpath -d --owner mysql:mysql --mode 0755 "$piddir"
|
||||
rc=$?
|
||||
if [ $rc -ne 0 ]; then
|
||||
eerror "Directory $piddir for pidfile does not exist and cannot be created"
|
||||
return 1
|
||||
fi
|
||||
|
||||
local startup_timeout=${STARTUP_TIMEOUT:-900}
|
||||
local startup_early_timeout=${STARTUP_EARLY_TIMEOUT:-1000}
|
||||
local tmpnice="${NICE:+"--nicelevel "}${NICE}"
|
||||
local tmpionice="${IONICE:+"--ionice "}${IONICE}"
|
||||
start-stop-daemon \
|
||||
${DEBUG:+"--verbose"} \
|
||||
--start \
|
||||
--exec "${basedir}"/sbin/mysqld \
|
||||
--pidfile "${pidfile}" \
|
||||
--background \
|
||||
--wait ${startup_early_timeout} \
|
||||
${tmpnice} \
|
||||
${tmpionice} \
|
||||
-- --defaults-file="${MY_CNF}" ${MY_ARGS}
|
||||
local ret=$?
|
||||
if [ ${ret} -ne 0 ] ; then
|
||||
eend ${ret}
|
||||
return ${ret}
|
||||
fi
|
||||
|
||||
ewaitfile ${startup_timeout} "${socket}"
|
||||
eend $? || return 1
|
||||
|
||||
save_options pidfile "${pidfile}"
|
||||
save_options basedir "${basedir}"
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stopping $(mysql_svcname)"
|
||||
|
||||
local pidfile="$(get_options pidfile)"
|
||||
local basedir="$(get_options basedir)"
|
||||
local stop_timeout=${STOP_TIMEOUT:-120}
|
||||
|
||||
start-stop-daemon \
|
||||
${DEBUG:+"--verbose"} \
|
||||
--stop \
|
||||
--exec "${basedir}"/sbin/mysqld \
|
||||
--pidfile "${pidfile}" \
|
||||
--retry ${stop_timeout}
|
||||
eend $?
|
||||
}
|
||||
# vim: filetype=gentoo-init-d sw=2 ts=2 sts=2 noet:
|
||||
|
@ -0,0 +1,56 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql-init-scripts/mysql-init-scripts-2.0_pre1-r3.ebuild,v 1.1 2013/01/18 01:51:47 robbat2 Exp $
|
||||
|
||||
DESCRIPTION="Gentoo MySQL init scripts."
|
||||
HOMEPAGE="http://www.gentoo.org/"
|
||||
SRC_URI=""
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
# This _will_ break with MySQL 5.0, 4.x, 3.x
|
||||
# It also NEEDS openrc for the save_options/get_options builtins.
|
||||
RDEPEND="!<dev-db/mysql-5.1
|
||||
sys-apps/openrc"
|
||||
|
||||
src_install() {
|
||||
newconfd "${FILESDIR}/mysql-5.1.53-conf.d" "mysql"
|
||||
newinitd "${FILESDIR}/mysql-5.1.67-init.d" "mysql"
|
||||
|
||||
insinto /etc/logrotate.d
|
||||
newins "${FILESDIR}/logrotate.mysql" "mysql"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
grep -sq mysql_slot "${ROOT}"/etc/conf.d/mysql
|
||||
old_conf_present=$?
|
||||
grep -sq get_slot_config "${ROOT}"/etc/init.d/mysql
|
||||
old_init_present=$?
|
||||
|
||||
egrep -sq 'MY_CNF|MY_ARGS|(STARTUP|STOP)_TIMEOUT' "${ROOT}"/etc/conf.d/mysql
|
||||
new_conf_present=$?
|
||||
egrep -sq 'MY_ARGS|STOP_TIMEOUT' "${ROOT}"/etc/init.d/mysql
|
||||
new_init_present=$?
|
||||
|
||||
einfo "Please note if you are using multiple internal 'slots' in the old"
|
||||
einfo "conf.d fille, that you should use multiple init files now."
|
||||
echo old $old_conf_present $old_init_present
|
||||
echo new $new_conf_present $new_init_present
|
||||
|
||||
# new scripts present
|
||||
if [ $new_conf_present -eq 0 -a $new_init_present -eq 0 -a \
|
||||
$old_conf_present -eq 1 -a $old_init_present -eq 1 ]; then
|
||||
:
|
||||
elif [ $old_conf_present -eq 0 -a $old_init_present -eq 0 -a \
|
||||
$new_conf_present -eq 1 -a $new_init_present -eq 1 ]; then
|
||||
ewarn "Old /etc/init.d/mysql and /etc/conf.d/mysql still present!"
|
||||
ewarn "Update both of those files to the new versions!"
|
||||
else
|
||||
eerror "DANGER, mixed update of /etc/init.d/mysql and /etc/conf.d/mysql"
|
||||
eerror "detected! You must update BOTH to the new versions"
|
||||
fi
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST libburn-1.2.4.tar.gz 917837 SHA256 f0598fa76d157a935b576778ab8cc772f96480894239da14be84986ef1313e4b SHA512 4d8c34bdb2c829931b2a8860580319f8e374d6ea04622e40d6b97fc2120dddcd0836d31011c7797508fce0e9e5a4bcd763332bb9d505058ce656e1118c85fe0e WHIRLPOOL ab175c6af51ab1cd1982e5b96480e3b6d17dcf6c70cd6fe3509cb0d440de81c30c5e88d9add269ebf6f4c031c814c56d299d3c125dcf6fdfae16b6ff974917f7
|
||||
DIST libburn-1.2.6.tar.gz 923413 SHA256 7b99a3036834c18259a59293b2aab37892550bd1d19a8a010fa338379555188f SHA512 5026f271680f3321281dfb89d8ab7e2975549db4848a9db79020b42869ab33974d9ba2d8ca1f0bcc6dabb7cd05fa99fb6087fbd6e62bcee77c96f879104c9e70 WHIRLPOOL 6654390f58dea410a3d4734532d9a97e4ce898a6a1853e179820817ad1491232fa86c94086d9837063b0db7ea25664554cfddd63709653aa8d1de165fb329810
|
||||
|
@ -0,0 +1,42 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libburn/libburn-1.2.6.ebuild,v 1.1 2013/01/17 19:02:59 billie Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
DESCRIPTION="Libburn is an open-source library for reading, mastering and writing optical discs."
|
||||
HOMEPAGE="http://libburnia-project.org"
|
||||
SRC_URI="http://files.libburnia-project.org/releases/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE="cdio debug static-libs track-src-odirect"
|
||||
|
||||
RDEPEND="cdio? ( >=dev-libs/libcdio-0.83 )"
|
||||
DEPEND="$RDEPEND
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_enable track-src-odirect) \
|
||||
--enable-pkg-check-modules \
|
||||
$(use_enable cdio libcdio) \
|
||||
--disable-ldconfig-at-install \
|
||||
$(use_enable debug)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
dodoc CONTRIBUTORS doc/{comments,*.txt}
|
||||
|
||||
cd "${S}"/cdrskin
|
||||
docinto cdrskin
|
||||
dodoc *.txt README
|
||||
docinto cdrskin/html
|
||||
dohtml cdrskin_eng.html
|
||||
|
||||
find "${D}" -name '*.la' -exec rm -rf '{}' '+' || die "la removal failed"
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST libisoburn-1.2.4.tar.gz 1279036 SHA256 be5c3adfcf8c32e8489ac77de5842c39cfefd8e994edebabb8353262945a85bf SHA512 379febdaad104cdb020d2fee94da0843f8ae7db497eb4e5fe55cb4da20f88fd07c8ae766767c905abbe7120684a38b2eae7d62169ce00305d4d420204db72390 WHIRLPOOL 07e05f872c7ba7b7546edfe9b18ce44fdbb0d2e0e0d5369ca30c67a116026eb9e17461220035afccbafec3635fd799a6ac99749ad07eb851c435d4ed73025607
|
||||
DIST libisoburn-1.2.6.tar.gz 1363911 SHA256 caf09ad8b96b2ea4ef7cc54b1afbb65f7b7acfae2df6b5599efdef5b8d1bb7ce SHA512 6740659d0371f6b67964c233ba544c515bb42ce4d17a251d7fab56c38938008f8f2a39f750ccbef313aa5ec1b730aaebe4f5714a18075b1dfb195235e8ccf65c WHIRLPOOL c7c4e79254df63c477b3f8d4af3c951f0f71f80840ce8afac141136de78c32f5972d387036d57ea88bfb54bac380f21bca8ede92129ed3738a46814373525f43
|
||||
|
@ -0,0 +1,59 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libisoburn/libisoburn-1.2.6.ebuild,v 1.1 2013/01/17 19:28:26 billie Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
DESCRIPTION="Enables creation and expansion of ISO-9660 filesystems on all CD/DVD media supported by libburn"
|
||||
HOMEPAGE="http://libburnia-project.org/"
|
||||
SRC_URI="http://files.libburnia-project.org/releases/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2 GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~x86"
|
||||
IUSE="acl cdio debug external-filters external-filters-setuid frontend-optional launch-frontend launch-frontend-setuid readline static-libs xattr zlib"
|
||||
|
||||
REQUIRED_USE="frontend-optional? ( || ( launch-frontend launch-frontend-setuid ) )"
|
||||
|
||||
RDEPEND=">=dev-libs/libburn-1.2.6
|
||||
>=dev-libs/libisofs-1.2.6
|
||||
readline? ( sys-libs/readline )
|
||||
acl? ( virtual/acl )
|
||||
xattr? ( sys-apps/attr )
|
||||
zlib? ( sys-libs/zlib )
|
||||
cdio? ( >=dev-libs/libcdio-0.83 )
|
||||
launch-frontend? ( dev-lang/tcl dev-lang/tk )
|
||||
launch-frontend-setuid? ( dev-lang/tcl dev-lang/tk )
|
||||
frontend-optional? ( dev-tcltk/bwidget )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_enable readline libreadline) \
|
||||
$(use_enable acl libacl) \
|
||||
$(use_enable xattr) \
|
||||
$(use_enable zlib) \
|
||||
--disable-libjte \
|
||||
$(use_enable cdio libcdio) \
|
||||
$(use_enable external-filters) \
|
||||
$(use_enable external-filters-setuid) \
|
||||
$(use_enable launch-frontend) \
|
||||
$(use_enable launch-frontend-setuid) \
|
||||
--disable-ldconfig-at-install \
|
||||
--enable-pkg-check-modules \
|
||||
$(use_enable debug)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
dodoc CONTRIBUTORS doc/{comments,*.wiki,startup_file.txt}
|
||||
|
||||
cd "${S}"/xorriso
|
||||
docinto xorriso
|
||||
dodoc changelog.txt README_gnu_xorriso
|
||||
|
||||
find "${D}" -name '*.la' -exec rm -rf '{}' '+' || die "la removal failed"
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST libisofs-1.2.4.tar.gz 763300 SHA256 d0875e51f229c5e34491dce58f3cdddf8c98fadeae9e84b62b27cff7800a967f SHA512 4ebdab4b1d7c2b4b8ffd5431e27e765a405db14117f55a0c749ffa30ca705529f692762959b6e136bee78924524dd38fdbadbd722be1bd11be10ec23d928ab26 WHIRLPOOL 056f4176a84145eacd654648d7df122da843db4f66e76bb54ef579995718ead240bf3abe512fe405f6535245014bb92dec9a101c56a4849928f908afe1ce618b
|
||||
DIST libisofs-1.2.6.tar.gz 763513 SHA256 c89da6821d5cac049657a27bbbc19d69b475ca51bfd595804617ee6ee2e977b7 SHA512 6bc25297b79805b547fdd92833c850b145dcdc0f9e84004aac2cb19b0df302dc1a44612c320fca0f867653a212c42adea3a84a45d273f31cc7523a9325f1e3a4 WHIRLPOOL 3de5fae5663477820a2143cc013bb2a932157c6d6e701f379ea31fbc46eb5752295ec4debf5de1b8421a9b0a4d0044d484092c969baa608f5dabfe0cbe0a1bbe
|
||||
|
@ -0,0 +1,40 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libisofs/libisofs-1.2.6.ebuild,v 1.1 2013/01/17 19:16:08 billie Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
DESCRIPTION="libisofs is an open-source library for reading, mastering and writing optical discs."
|
||||
HOMEPAGE="http://libburnia-project.org/"
|
||||
SRC_URI="http://files.libburnia-project.org/releases/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE="acl debug static-libs verbose-debug xattr zlib"
|
||||
|
||||
RDEPEND="acl? ( virtual/acl )
|
||||
xattr? ( sys-apps/attr )
|
||||
zlib? ( sys-libs/zlib )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_enable debug) \
|
||||
$(use_enable verbose-debug) \
|
||||
$(use_enable acl libacl) \
|
||||
$(use_enable xattr) \
|
||||
$(use_enable zlib) \
|
||||
--disable-libjte \
|
||||
--disable-ldconfig-at-install
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
dodoc Roadmap doc/{checksums.txt,susp_aaip*,Tutorial,zisofs_format.txt}
|
||||
|
||||
find "${D}" -name '*.la' -exec rm -rf '{}' '+' || die "la removal failed"
|
||||
}
|
@ -0,0 +1,47 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libnl/libnl-3.2.19.ebuild,v 1.1 2013/01/17 15:34:15 jer Exp $
|
||||
|
||||
EAPI=4
|
||||
inherit eutils libtool multilib
|
||||
|
||||
DESCRIPTION="A library for applications dealing with netlink socket"
|
||||
HOMEPAGE="http://www.infradead.org/~tgr/libnl/"
|
||||
SRC_URI="
|
||||
http://www.infradead.org/~tgr/${PN}/files/${P}.tar.gz
|
||||
doc? ( http://www.infradead.org/~tgr/${PN}/files/${PN}-doc-${PV}.tar.gz )
|
||||
"
|
||||
LICENSE="LGPL-2.1 doc? ( GPL-2 ) utils? ( GPL-2 )"
|
||||
SLOT="3"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~ia64-linux ~x86-linux"
|
||||
IUSE="doc static-libs utils"
|
||||
|
||||
DEPEND="
|
||||
sys-devel/flex
|
||||
sys-devel/bison
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
elibtoolize
|
||||
epatch "${FILESDIR}"/${PN}-1.1-vlan-header.patch
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--disable-silent-rules \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_enable utils cli)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
if use doc; then
|
||||
dohtml -r \
|
||||
-a css,html,js,map,png \
|
||||
"${WORKDIR}"/${PN}-doc-${PV}/*
|
||||
fi
|
||||
|
||||
prune_libtool_files $(usex static-libs --modules --all)
|
||||
|
||||
dodoc ChangeLog
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST nettle-1.15.tar.gz 829862 SHA256 d6e540bf4acc857a3b09580e7f61822d352ee83c119579bf7333f0a785f7d9ac SHA512 90178ab6af3d7048aeba888d65d83f77823b800689713979ead8e5eeec51026bac183953d4421276e249c2bcbb26e9528ed304754c951147df8bdcf35a2c6596 WHIRLPOOL 852cbc828d78a3b495607d89daf110781c8c3e410519be6d2495c65745a923ca4c7ad548b475330744b84bf416c4bdf72ae3eb1569d94dcca45ee989fe0326e3
|
||||
DIST nettle-2.4.tar.gz 1075789 SHA256 a6009208df6881f75aa1a87081ccfb2ccac1884da10670c53d7b76596f649c3f SHA512 2523e3a0119918c5f4988d8c7e62b1895067b7ffee440910f2040c7cba22d1d26d8f13aee266779edb88605faa6252e4d2e22acbee54d886f766c0c0c9765516 WHIRLPOOL bc5f23379d3c49e59b646f63f28967219f51443767e937043859fb5cccd83b863f1600ca6560019355dcec55428e6113200354a8357bd8770d6cdcb5569a944b
|
||||
DIST nettle-2.5.tar.gz 1113274 SHA256 4aa142e908b0053082d7729fc0155dc90dbe71c8ef5f50f30034805ed5c92c72 SHA512 186c3d8687628d7ce2d0e3880355741970bb6e0354f1b3aa49118e7c729cb65348fa2b1ce3b56dbdf01fbcb25a2bd6d5ce634b8a1ab419f9f93b693321f57ea1 WHIRLPOOL 4229b8a11b3bf45396bad775ead91f9a5c4bb45bde821ba49185a19cd7595e840883e0f90af52744e3aae8ffef17e526c025cc1830b4e228c578debf5a8811ca
|
||||
DIST nettle-2.6.tar.gz 1385695 SHA256 60df624f63b997c832cae29f48ab9ada99df815bcd60d231526b83e786b4b156 SHA512 edee4b7ecd34d7db8636650e59916c358a9be323128b4b7ad6eb4088a0a09a6744d0ebf382b23143fbcee3d40b148f43a54f25759141b16ba0befc3c46740b80 WHIRLPOOL a7f56870918400ae4966ad0b6f398667e629ab91355bc3cbd51039757dbd9bd140fa501ae1b8a0a3cf82196036afd90671776dcb5f2587ba281bc01c27049ae6
|
||||
|
@ -0,0 +1,89 @@
|
||||
--- nettle-2.6/examples/Makefile.in
|
||||
+++ nettle-2.6/examples/Makefile.in
|
||||
@@ -8,7 +8,7 @@
|
||||
include ../config.make
|
||||
|
||||
PRE_CPPFLAGS = -I.. -I$(top_srcdir)
|
||||
-PRE_LDFLAGS = -L..
|
||||
+PRE_LDFLAGS = -L../.lib
|
||||
|
||||
OPENSSL_LIBFLAGS = @OPENSSL_LIBFLAGS@
|
||||
BENCH_LIBS = @BENCH_LIBS@ -lm
|
||||
@@ -49,11 +49,11 @@
|
||||
( cd .. && $(MAKE) nettle-internal.$(OBJEXT))
|
||||
|
||||
# For Solaris and BSD make, we have to use an explicit rule for each executable
|
||||
-next-prime$(EXEEXT): next-prime.$(OBJEXT) $(GETOPT_OBJS) ../libhogweed.a
|
||||
+next-prime$(EXEEXT): next-prime.$(OBJEXT) $(GETOPT_OBJS) ../$(LIBHOGWEED_FORLINK)
|
||||
$(LINK) next-prime.$(OBJEXT) $(GETOPT_OBJS) \
|
||||
-lhogweed -lnettle $(LIBS) -o next-prime$(EXEEXT)
|
||||
|
||||
-random-prime$(EXEEXT): random-prime.$(OBJEXT) io.$(OBJEXT) $(GETOPT_OBJS) ../libhogweed.a
|
||||
+random-prime$(EXEEXT): random-prime.$(OBJEXT) io.$(OBJEXT) $(GETOPT_OBJS) ../$(LIBHOGWEED_FORLINK)
|
||||
$(LINK) random-prime.$(OBJEXT) io.$(OBJEXT) $(GETOPT_OBJS) \
|
||||
-lhogweed -lnettle $(LIBS) -o random-prime$(EXEEXT)
|
||||
|
||||
@@ -102,7 +102,7 @@
|
||||
nettle-benchmark$(EXEEXT): $(BENCH_OBJS)
|
||||
$(LINK) $(BENCH_OBJS) -lnettle $(BENCH_LIBS) $(OPENSSL_LIBFLAGS) -o nettle-benchmark$(EXEEXT)
|
||||
|
||||
-$(TARGETS) : io.$(OBJEXT) ../libnettle.a
|
||||
+$(TARGETS) : io.$(OBJEXT) ../$(LIBNETTLE_FORLINK)
|
||||
|
||||
|
||||
check: $(TS_ALL)
|
||||
--- nettle-2.6/testsuite/Makefile.in
|
||||
+++ nettle-2.6/testsuite/Makefile.in
|
||||
@@ -8,7 +8,7 @@
|
||||
include ../config.make
|
||||
|
||||
PRE_CPPFLAGS = -I.. -I$(top_srcdir)
|
||||
-PRE_LDFLAGS = -L..
|
||||
+PRE_LDFLAGS = -L../.lib
|
||||
|
||||
TS_NETTLE_SOURCES = aes-test.c arcfour-test.c arctwo-test.c \
|
||||
blowfish-test.c cast128-test.c \
|
||||
@@ -93,7 +93,7 @@
|
||||
include $(srcdir)/.test-rules.make
|
||||
|
||||
$(TARGETS) $(EXTRA_TARGETS): testutils.$(OBJEXT) ../nettle-internal.$(OBJEXT) \
|
||||
- ../libnettle.a @IF_HOGWEED@ ../libhogweed.a
|
||||
+ ../$(LIBNETTLE_FORLINK) @IF_HOGWEED@ ../$(LIBHOGWEED_FORLINK)
|
||||
|
||||
# For use as, e.g.,
|
||||
#
|
||||
--- nettle-2.6/tools/Makefile.in
|
||||
+++ nettle-2.6/tools/Makefile.in
|
||||
@@ -15,7 +15,7 @@
|
||||
include ../config.make
|
||||
|
||||
PRE_CPPFLAGS = -I.. -I$(top_srcdir)
|
||||
-PRE_LDFLAGS = -L..
|
||||
+PRE_LDFLAGS = -L../.lib
|
||||
|
||||
HOGWEED_TARGETS = pkcs1-conv$(EXEEXT)
|
||||
TARGETS = sexp-conv$(EXEEXT) nettle-hash$(EXEEXT) nettle-lfib-stream$(EXEEXT) \
|
||||
@@ -34,19 +34,19 @@
|
||||
DISTFILES = $(SOURCES) Makefile.in input.h misc.h output.h parse.h
|
||||
|
||||
sexp_conv_OBJS = $(sexp_conv_SOURCES:.c=.$(OBJEXT)) $(getopt_OBJS)
|
||||
-sexp-conv$(EXEEXT): $(sexp_conv_OBJS) ../libnettle.a
|
||||
+sexp-conv$(EXEEXT): $(sexp_conv_OBJS) ../$(LIBNETTLE_FORLINK)
|
||||
$(LINK) $(sexp_conv_OBJS) -lnettle $(LIBS) -o $@
|
||||
|
||||
-nettle-lfib-stream$(EXEEXT): nettle-lfib-stream.$(OBJEXT) ../libnettle.a
|
||||
+nettle-lfib-stream$(EXEEXT): nettle-lfib-stream.$(OBJEXT) ../$(LIBNETTLE_FORLINK)
|
||||
$(LINK) nettle-lfib-stream.$(OBJEXT) -lnettle $(LIBS) -o $@
|
||||
|
||||
pkcs1_conv_OBJS = $(pkcs1_conv_SOURCES:.c=.$(OBJEXT)) $(getopt_OBJS)
|
||||
-pkcs1-conv$(EXEEXT): $(pkcs1_conv_OBJS) ../libnettle.a ../libhogweed.a
|
||||
+pkcs1-conv$(EXEEXT): $(pkcs1_conv_OBJS) ../$(LIBNETTLE_FORLINK) ../$(LIBHOGWEED_FORLINK)
|
||||
$(LINK) $(pkcs1_conv_OBJS) -lhogweed -lnettle $(LIBS) -o $@
|
||||
|
||||
# FIXME: Avoid linking with gmp
|
||||
nettle_hash_OBJS = $(nettle_hash_SOURCES:.c=.$(OBJEXT)) $(getopt_OBJS)
|
||||
-nettle-hash$(EXEEXT): $(nettle_hash_OBJS) ../libnettle.a
|
||||
+nettle-hash$(EXEEXT): $(nettle_hash_OBJS) ../$(LIBNETTLE_FORLINK)
|
||||
$(LINK) $(nettle_hash_OBJS) -lnettle $(LIBS) -o $@
|
||||
|
||||
|
@ -0,0 +1,50 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/nettle/nettle-2.6.ebuild,v 1.3 2013/01/18 03:39:56 radhermit Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit eutils autotools
|
||||
|
||||
DESCRIPTION="Low-level cryptographic library"
|
||||
HOMEPAGE="http://www.lysator.liu.se/~nisse/nettle/"
|
||||
SRC_URI="http://www.lysator.liu.se/~nisse/archive/${P}.tar.gz"
|
||||
|
||||
LICENSE="|| ( LGPL-3 LGPL-2.1 )"
|
||||
SLOT="0/4" # subslot = libnettle soname version
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
|
||||
IUSE="doc +gmp static-libs test"
|
||||
|
||||
DEPEND="gmp? ( dev-libs/gmp )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-shared.patch
|
||||
|
||||
sed -e '/CFLAGS=/s: -ggdb3::' \
|
||||
-e 's/solaris\*)/sunldsolaris*)/' \
|
||||
-i configure.ac || die
|
||||
|
||||
# conditionally build tests and examples required by tests
|
||||
use test || sed -i '/SUBDIRS/s/testsuite examples//' Makefile.in || die
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# --disable-openssl bug #427526
|
||||
econf \
|
||||
$(use_enable gmp public-key) \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_enable doc documentation) \
|
||||
--disable-openssl
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
if use doc ; then
|
||||
dohtml nettle.html
|
||||
dodoc nettle.pdf
|
||||
fi
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST userspace-rcu-0.7.3.tar.bz2 385350 SHA256 63f540a5d3c947fa3739711099fb87a66036d3c9560f26da763e500da296a1af SHA512 4e699d1b79a39428a964ce51790b46bbf8b565df19cd706b7590af60ad08eefb7212dea409b2c7dd48a8cc54b98e097c085c6134d1a523ed91e23b33e1a2405c WHIRLPOOL 134b5508c73a0ef58ea5f12673fab02b1f3a046236072b1973f59c490c56c1cd590678627067c94f411fd88b39461cab620dbc39e0dcace630911b849ae75644
|
||||
DIST userspace-rcu-0.7.5.tar.bz2 383705 SHA256 0f7d4a1e0c6c6ecc75e7de0a4b80518c6ba93c97872981e196c758db7a2404e2 SHA512 de3d071723ce40428e8b1e9539f236769274c0ceb251bf736baa920ca8625f69e9cce7a400f59cebffdb7c38fb15842ef5feaf8a4bcd1eec0aa7463846644487 WHIRLPOOL a255bc2e4327ffde21a2003527f1621371b12046c7efbf1621ee437f33b2879ad13fcc641d374f58b21da72a4f30549543c9b08c9097643ee78a5c4916de101e
|
||||
DIST userspace-rcu-0.7.6.tar.bz2 393590 SHA256 71f2c0b75f3473e4d7aa6ac5111ca4d9cccccd5d131e87b53a07d35bd2c5900a SHA512 b6bdb512fed79a47205c16311b5d2a70e9133a486c0b9754f3ce54c2b4980b70c5a51abdc268e41b1f1d990f825a9995993ff5412e58374b96f2490fc0baad91 WHIRLPOOL 675ae2f5bc6e667323806ca4ffc96fb0ca3acda94b7c4b0e6a05861f35d867c5d4fcda619f0778b48d1c254a42b822eaee5a7bac5a174491d65878fcced2ec18
|
||||
|
@ -0,0 +1,27 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/userspace-rcu/userspace-rcu-0.7.6.ebuild,v 1.1 2013/01/18 04:16:50 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
DESCRIPTION="userspace RCU (read-copy-update) library"
|
||||
HOMEPAGE="http://lttng.org/urcu"
|
||||
SRC_URI="http://lttng.org/files/urcu/${P}.tar.bz2"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="static-libs test"
|
||||
|
||||
DEPEND="test? ( sys-process/time )"
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--docdir="${EPREFIX}/usr/share/doc/${PF}" \
|
||||
$(use_enable static-libs static)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
find "${ED}" -name '*.la' -exec rm -f {} +
|
||||
}
|
@ -0,0 +1,22 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Filesys-SmbClient/Filesys-SmbClient-3.200.0.ebuild,v 1.1 2013/01/17 14:22:46 flameeyes Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
MODULE_AUTHOR="ALIAN"
|
||||
MODULE_VERSION=3.2
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Provide Perl API for libsmbclient.so"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-lang/perl
|
||||
>=net-fs/samba-3.0.20[smbclient]"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
# tests are not designed to work on a non-developer system.
|
||||
RESTRICT=test
|
@ -1 +1,2 @@
|
||||
DIST Filesys-SmbClient-3.1.tar.gz 51838 SHA256 a31c9e3f5fef7ac9a7fc2aad9a9cdb2817904a93a7b86132e31d7039a1eda502 SHA512 d8c255567e7a38e41b2fdb673d3252f7abc5e254634a78683e79fc88fa1f834ba7b331d65ded526855950d8ff84e9253610a0694672b43cc999aac7f4a4e9a44 WHIRLPOOL dbd0c9aa1dccaefb1d7b84fc62d7034f13cb1213a3dd46b9027bf92076ee46a76568002720e5daa605972479f4117e49f78bd867e216e10d7e8e0c292ea9580e
|
||||
DIST Filesys-SmbClient-3.2.tar.gz 52010 SHA256 a9f2f3d4675de76f9dcae2be40bda93495cd5fafb1bb6326d71833cea451bc6e SHA512 547ad4c94a7cd88e5ac07938d2e315acf416810596979efb40fe036614535cdb1ad7f73bb17f3b6c18b62187a09a2613bc548a9dede6c399673962d9eb837427 WHIRLPOOL b5f840731957791c96d8708825fcd5d352ce8a9ea2c89ba45f44a9e54b61c4c3f2587e426a4708febd69452d895265cc0403a0d9123e9b22e2d93293f4585599
|
||||
|
@ -1 +1 @@
|
||||
DIST charade-1.0.1.tar.gz 168234 SHA256 cff4d84ac23aeb87976bd7f1b2c9768e7e0357730dc448734122a52c6e5920d2 SHA512 430777f388cb20fe1ce93dc6515854cbc7385e35b2a5869e0cda4449cefb80280b27cfccb58138c7d0de5b0c0f63ae809fd9ec73e61160f7216c0b70ac285c8e WHIRLPOOL c2029b1c0e428f53dd186ce57f592f348cec194b59b7edd1f97fa19bc30a4df61548dbfe615468e84523465c83f0f7133266468fb5497345bba40cc84ba0879b
|
||||
DIST charade-1.0.3.tar.gz 168537 SHA256 a607146d151005904f3fd8335e3dc89af214453f0d3a29580e1eb0e67e6c3d7f SHA512 203c8d151b9b2530753fb2c4b2dd91b2d63cf01c0aba80ebe450d75ce7cda3ac0612e8ad3a41a0f8498aec63cd5c3a3d6493975efefc45f6c6310e76a9cdf553 WHIRLPOOL 08e99abc221b27d8cd6b5d29031a7ec052820c5e203c4f2102351a014230c44d35bc574bc7cf1c87c316f2ecd7c38edb33b410dfa388ad96f27e4b1e34182bcf
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/charade/charade-1.0.1.ebuild,v 1.2 2012/12/21 12:55:08 mgorny Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/charade/charade-1.0.3.ebuild,v 1.1 2013/01/18 04:13:36 floppym Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_1,3_2,3_3} )
|
@ -0,0 +1,86 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/django/django-1.4.2-r1.ebuild,v 1.1 2013/01/17 22:56:47 mgorny Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_5,2_6,2_7} )
|
||||
PYTHON_REQ_USE='sqlite?'
|
||||
|
||||
inherit bash-completion-r1 distutils-r1 versionator webapp
|
||||
|
||||
MY_P="Django-${PV}"
|
||||
|
||||
DESCRIPTION="High-level Python web framework"
|
||||
HOMEPAGE="http://www.djangoproject.com/ http://pypi.python.org/pypi/Django"
|
||||
SRC_URI="https://www.djangoproject.com/m/releases/$(get_version_component_range 1-2)/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
|
||||
IUSE="doc mysql postgres sqlite test"
|
||||
|
||||
RDEPEND="dev-python/imaging[${PYTHON_USEDEP}]
|
||||
postgres? ( dev-python/psycopg:2[${PYTHON_USEDEP}] )
|
||||
mysql? ( >=dev-python/mysql-python-1.2.3[${PYTHON_USEDEP}] )"
|
||||
DEPEND="${RDEPEND}
|
||||
doc? ( >=dev-python/sphinx-1.0.7[${PYTHON_USEDEP}] )
|
||||
test? ( ${PYTHON_DEPS//sqlite?/sqlite} )"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
WEBAPP_MANUAL_SLOT="yes"
|
||||
|
||||
python_prepare_all() {
|
||||
# Disable tests requiring network connection.
|
||||
sed \
|
||||
-e "s/test_correct_url_value_passes/_&/" \
|
||||
-e "s/test_correct_url_with_redirect/_&/" \
|
||||
-i tests/modeltests/validation/tests.py || die
|
||||
sed \
|
||||
-e "s/test_urlfield_3/_&/" \
|
||||
-e "s/test_urlfield_4/_&/" \
|
||||
-e "s/test_urlfield_10/_&/" \
|
||||
-i tests/regressiontests/forms/tests/fields.py || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
use doc && emake -C docs html
|
||||
}
|
||||
|
||||
python_test() {
|
||||
# Tests have non-standard assumptions about PYTHONPATH,
|
||||
# and don't work with ${BUILD_DIR}/lib.
|
||||
PYTHONPATH=. \
|
||||
"${PYTHON}" tests/runtests.py --settings=test_sqlite -v1 \
|
||||
|| die "Tests fail with ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
|
||||
newbashcomp extras/django_bash_completion ${PN}
|
||||
|
||||
if use doc; then
|
||||
rm -fr docs/_build/html/_sources
|
||||
dohtml -A txt -r docs/_build/html/.
|
||||
fi
|
||||
|
||||
insinto "${MY_HTDOCSDIR#${EPREFIX}}"
|
||||
doins -r django/contrib/admin/static/admin/.
|
||||
|
||||
webapp_src_install
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "A copy of the admin media is available to"
|
||||
elog "webapp-config for installation in a webroot,"
|
||||
elog "as well as the traditional location in python's"
|
||||
elog "site-packages dir for easy development"
|
||||
elog
|
||||
ewarn "If you build Django ${PV} without USE=\"vhosts\""
|
||||
ewarn "webapp-config will automatically install the"
|
||||
ewarn "admin media into the localhost webroot."
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST jsonpatch-0.12.tar.gz 5396 SHA256 d62765ac03bd9cc6273bfddcf745ea2b86f7697ea01a9a44f762db2647945886 SHA512 5ce4efcd63c2be32f749f358e4fbdc31ea5746d2832d78b44a7e76caa38fd08472cedeacf2c8d71890d53f11f2ba78fb9e5a4011103775c6e805ad9ebee6de8a WHIRLPOOL 9286ce065db063b8e5aeb42314a40a27c5e83a8d027f6bd1a3273dd348a3264bc86c32b3dbe1198b19a2eecf51190fce1fe77d9d299ba2c5605951b2739c1459
|
@ -0,0 +1,21 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/jsonpatch/jsonpatch-0.12.ebuild,v 1.2 2013/01/17 19:23:48 prometheanfire Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_6 python2_7 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Apply JSON-Patches according to
|
||||
http://tools.ietf.org/html/draft-pbryan-json-patch-04"
|
||||
HOMEPAGE="https://github.com/stefankoegl/python-json-patch"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
RDEPEND="dev-python/jsonpointer[${PYTHON_USEDEP}]"
|
@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>python</herd>
|
||||
<maintainer>
|
||||
<email>prometheanfire@gentoo.org</email>
|
||||
<name>Matthew Thode</name>
|
||||
</maintainer>
|
||||
<longdescription lang="en">
|
||||
Python library to apply JSON Patches according to
|
||||
http://tools.ietf.org/html/draft-ietf-appsawg-json-patch-08
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
||||
|
@ -0,0 +1 @@
|
||||
DIST jsonpointer-0.7.tar.gz 3343 SHA256 790255717b982aa9cb837030d4ad4d19447322ff7b8fb4bf8bb340cadc0a42a4 SHA512 900c7341598d3fef4667bf65d4afac8788e9449b45b7799e8cda1406ab703e790431a69f4387f09ace73456c089f179a93d32293a973ff1023aed0dcfe9740b3 WHIRLPOOL 4e618c55bdb52c7f44271e55768aa46a7e04c686695e5829d8a0a0c01d7334b3a0929f4994564548af238352dec49c9e99f3094828aec17f777c518c03c40958
|
@ -0,0 +1,20 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/jsonpointer/jsonpointer-0.7.ebuild,v 1.1 2013/01/17 17:04:22 prometheanfire Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_6 python2_7 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Identify specific nodes in a JSON document (according to draft 08)"
|
||||
HOMEPAGE="https://github.com/stefankoegl/python-json-pointer"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
RDEPEND=""
|
@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>python</herd>
|
||||
<maintainer>
|
||||
<email>prometheanfire@gentoo.org</email>
|
||||
<name>Matthew Thode</name>
|
||||
</maintainer>
|
||||
<longdescription lang="en">
|
||||
Identify specific nodes in a JSON document (according to draft 08)
|
||||
http://tools.ietf.org/html/draft-ietf-appsawg-json-pointer-08
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
||||
|
@ -0,0 +1 @@
|
||||
DIST python-glanceclient-0.7.0.tar.gz 84823 SHA256 57a3c0ab8c48b2e569cb7cfd50fe5709f56d68e52159b14a7d9a24a4221dc617 SHA512 04820e3206bdc3aca7338de55b4b341c7b2e27a7b96d762e952380b56525018c64b451fc2e3ce7c2ddf244627bfece321ef9e2af0471c663085e2deb63e1dc75 WHIRLPOOL 0ccf58dbe7210ffddd1b0a3f328d978ecbd3993a48ff20bc3f7595050113049d0dfda128dca669800f2b9467ef118bd3ea8e28cfee8c79369289cb78d64cab31
|
@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>python</herd>
|
||||
<maintainer>
|
||||
<email>prometheanfire@gentoo.org</email>
|
||||
<name>Matthew Thode</name>
|
||||
</maintainer>
|
||||
<longdescription lang="en">
|
||||
This is a client for the OpenStack Glance API.
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
||||
|
@ -0,0 +1,36 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/python-glanceclient/python-glanceclient-0.7.0.ebuild,v 1.4 2013/01/17 19:51:12 prometheanfire Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A client for the OpenStack Glance API"
|
||||
HOMEPAGE="https://github.com/openstack/python-glanceclient"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
#IUSE="test"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
# test? ( dev-python/mox
|
||||
# dev-python/nose
|
||||
# dev-python/nosehtmloutput
|
||||
# dev-python/openstack-nose-plugin
|
||||
# dev-python/nose-exclude
|
||||
# =dev-python/pep8-1.3.3
|
||||
# >=dev-python/sphinx-1.1.2 )"
|
||||
RDEPEND="virtual/python-argparse[${PYTHON_USEDEP}]
|
||||
dev-python/python-keystoneclient[${PYTHON_USEDEP}]
|
||||
<=dev-python/prettytable-0.7
|
||||
dev-python/pyopenssl
|
||||
dev-python/warlock[${PYTHON_USEDEP}]"
|
||||
|
||||
#python_test() {
|
||||
# "${PYTHON}" setup.py nosetests || die
|
||||
#}
|
@ -0,0 +1,36 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/pyyaml/pyyaml-3.10-r1.ebuild,v 1.1 2013/01/17 22:57:12 chutzpah Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_5,2_6,2_7,3_1,3_2,3_3} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_P="PyYAML-${PV}"
|
||||
|
||||
DESCRIPTION="YAML parser and emitter for Python"
|
||||
HOMEPAGE="http://pyyaml.org/wiki/PyYAML http://pypi.python.org/pypi/PyYAML"
|
||||
SRC_URI="http://pyyaml.org/download/${PN}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris"
|
||||
IUSE="examples libyaml"
|
||||
|
||||
DEPEND="libyaml? ( dev-libs/libyaml dev-python/pyrex )"
|
||||
RDEPEND="libyaml? ( dev-libs/libyaml )"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
python_configure_all() {
|
||||
mydistutilsargs=($(use_with libyaml))
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils-r1_src_install
|
||||
if use examples; then
|
||||
insinto /usr/share/doc/${PF}/examples
|
||||
doins -r examples/.
|
||||
fi
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST warlock-0.7.0.tar.gz 7080 SHA256 cc913fe3855f95512d183d158bd0a0f4e1c4b0619041ddb44fd15af8dc86e22a SHA512 95ed036a86790e07daf648153e8c077a4b3a60e07d557a81693030bd7a9607df63ff081547064cc843fbf41d1f70043313905348b3e78c18b35d46e9ed6e534c WHIRLPOOL 3983b71044d0e25cf59fc750fbcfaa1bfbcbda5fcfcf6ebe81a5a0f2b77e061dc756836abdbb2e54e803c61fb2f6bde10cc625c0bf9488af644f0489fbc36101
|
@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>python</herd>
|
||||
<maintainer>
|
||||
<email>prometheanfire@gentoo.org</email>
|
||||
<name>Matthew Thode</name>
|
||||
</maintainer>
|
||||
<longdescription lang="en">
|
||||
Python object model built on JSON schema and JSON patch.
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
||||
|
@ -0,0 +1,28 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/warlock/warlock-0.7.0.ebuild,v 1.2 2013/01/17 19:20:55 prometheanfire Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python object model built on JSON schema and JSON patch"
|
||||
HOMEPAGE="http://github.com/bcwaldon/warlock"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? ( virtual/python-unittest2[${PYTHON_USEDEP}]
|
||||
dev-python/jsonpatch[${PYTHON_USEDEP}]
|
||||
dev-python/jsonschema[${PYTHON_USEDEP}] )"
|
||||
RDEPEND="dev-python/jsonpatch[${PYTHON_USEDEP}]
|
||||
dev-python/jsonschema[${PYTHON_USEDEP}]"
|
||||
|
||||
python_test() {
|
||||
"${PYTHON}" test/test_core.py || die
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST chicken-3.3.0.tar.gz 4228441 RMD160 74035304164d5c8c2f2ed7571662452df86725f2 SHA1 3af69007f664ccdef988863f1c6ac24405c5500c SHA256 5ce2519bac9956de5700a5777b2bbc2cd89202ef2d2252a40a0d1e8c9854bec6
|
||||
DIST chicken-4.6.0.tar.gz 3019126 RMD160 f279b39b8294496a6e22b39b56d3fcf108d55405 SHA1 a801383786908022223c32337fb1c5814e6c26a5 SHA256 c55d1dadf9941b3efbc7be9181d5c7cbc304a20c614625fbf710c0acaa1cd245
|
||||
DIST chicken-4.7.3.tar.gz 3316152 RMD160 150cdd093e3a375db99f83a90ee1305c70f8f88c SHA1 47b139f8c4c6fa10af891ce36db24744973321c3 SHA256 00c82bc2208d74463a69356d2a30a3771f87048ea87fb9c024d464b3c9d4e230
|
||||
DIST chicken-3.3.0.tar.gz 4228441 SHA256 5ce2519bac9956de5700a5777b2bbc2cd89202ef2d2252a40a0d1e8c9854bec6
|
||||
DIST chicken-4.6.0.tar.gz 3019126 SHA256 c55d1dadf9941b3efbc7be9181d5c7cbc304a20c614625fbf710c0acaa1cd245
|
||||
DIST chicken-4.7.3.tar.gz 3316152 SHA256 00c82bc2208d74463a69356d2a30a3771f87048ea87fb9c024d464b3c9d4e230
|
||||
DIST chicken-4.8.0.tar.gz 3970818 SHA256 5b2e8c6b4b13b502d8c684b394d80ed490d2884c03789353d895ab85d19979ab SHA512 5ea40ca240d9d6ab9a250947288fda3cc1202b6cb689207dc603c1ca86f537f407b1c4a8020533ccfc7b48fa01d3bf8f7229f883a2a95edb3f39863d43aa6c63 WHIRLPOOL 52010977034e0661af4c692d828303ebaad8d6d2517908b2474e64c0f8840c0a8e8342577853d66c1921033926fdefa21db66857786e659d92260390e98b879f
|
||||
|
@ -0,0 +1,70 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-scheme/chicken/chicken-4.8.0.ebuild,v 1.1 2013/01/17 22:22:13 pchrist Exp $
|
||||
|
||||
EAPI="3"
|
||||
|
||||
inherit eutils multilib
|
||||
|
||||
DESCRIPTION="Chicken is a Scheme interpreter and native Scheme to C compiler"
|
||||
HOMEPAGE="http://www.call-cc.org/"
|
||||
SRC_URI="http://code.call-cc.org/releases/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~x86"
|
||||
IUSE="emacs parallel-build"
|
||||
|
||||
DEPEND="sys-apps/texinfo
|
||||
emacs? ( virtual/emacs )"
|
||||
RDEPEND="emacs? ( virtual/emacs app-emacs/scheme-complete )"
|
||||
|
||||
# chicken's testsuite is not runnable before install
|
||||
# upstream has been notified of the issue
|
||||
RESTRICT=test
|
||||
|
||||
src_prepare() {
|
||||
if use "parallel-build"
|
||||
then
|
||||
epatch "${FILESDIR}"/${P}-parallel-build.patch
|
||||
fi
|
||||
|
||||
#Because chicken's Upstream is in the habit of using variables that
|
||||
#portage also uses :( eg. $ARCH and $A
|
||||
sed 's,A\(\s?=\|)\),chicken&,' -i Makefile.cross-linux-mingw \
|
||||
defaults.make rules.make \
|
||||
|| die "sed failed"
|
||||
|
||||
sed "s,ARCH,zARCH," -i Makefile.bsd Makefile.cross-linux-mingw \
|
||||
Makefile.cygwin Makefile.haiku Makefile.linux Makefile.macosx \
|
||||
Makefile.mingw Makefile.mingw-msys Makefile.solaris \
|
||||
defaults.make rules.make \
|
||||
|| die "sed failed"
|
||||
|
||||
sed "s,\$(PREFIX)/lib,\$(PREFIX)/$(get_libdir)," -i defaults.make || die "sed failed"
|
||||
sed "s,\$(DATADIR)/doc,\$(SHAREDIR)/doc/${P}," -i defaults.make || die "sed failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
OPTIONS="PLATFORM=linux PREFIX=/usr"
|
||||
if use "parallel-build"
|
||||
then
|
||||
emake ${OPTIONS} C_COMPILER_OPTIMIZATION_OPTIONS="${CFLAGS}" \
|
||||
LINKER_OPTIONS="${LDFLAGS}" \
|
||||
HOSTSYSTEM="${CBUILD}" || die "emake failed"
|
||||
else
|
||||
emake -j1 ${OPTIONS} C_COMPILER_OPTIMIZATION_OPTIONS="${CFLAGS}" \
|
||||
LINKER_OPTIONS="${LDFLAGS}" \
|
||||
HOSTSYSTEM="${CBUILD}" || die "emake failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# still can't run make in parallel for the install target
|
||||
emake -j1 ${OPTIONS} DESTDIR="${D}" HOSTSYSTEM="${CBUILD}" \
|
||||
LINKER_OPTIONS="${LDFLAGS}" \
|
||||
install || die
|
||||
|
||||
rm "${D}"/usr/share/doc/${P}/LICENSE || die
|
||||
dodoc NEWS || die
|
||||
}
|
@ -0,0 +1,74 @@
|
||||
diff --git a/GNUmakefile b/GNUmakefile
|
||||
index 9bc40ca..c697f14 100644
|
||||
--- a/GNUmakefile
|
||||
+++ b/GNUmakefile
|
||||
@@ -49,6 +49,9 @@ STANDARD_TARGETS \
|
||||
fullcheck libs install-target install-dev bench
|
||||
|
||||
.PHONY: $(STANDARD_TARGETS) dist boot-chicken
|
||||
+# Build this file's targets sequentially. This avoids executing overlapping
|
||||
+# makes if the user specifies multiple targets.
|
||||
+.NOTPARALLEL:
|
||||
|
||||
$(STANDARD_TARGETS):
|
||||
$(MAKE) -f $(SRCDIR)/Makefile.$(PLATFORM) CONFIG=$(CONFIG) $@
|
||||
diff --git a/README b/README
|
||||
index 8d0d067..551b716 100644
|
||||
--- a/README
|
||||
+++ b/README
|
||||
@@ -72,7 +72,7 @@
|
||||
platforms.
|
||||
|
||||
Note that parallel builds (using the "-j" make(1) option) are
|
||||
- *not* supported.
|
||||
+ also supported. Beware that parallel install will not work though.
|
||||
|
||||
If you invoke "make" later with different configuration parameters,
|
||||
it is advisable to run:
|
||||
diff --git a/rules.make b/rules.make
|
||||
index 929b0a3..a8cb9b0 100644
|
||||
--- a/rules.make
|
||||
+++ b/rules.make
|
||||
@@ -243,8 +243,8 @@ lib$(PROGRAM_PREFIX)chicken$(PROGRAM_SUFFIX)$(A): $(APPLY_HACK_OBJECT) $(LIBCHIC
|
||||
|
||||
# import libraries and extensions
|
||||
|
||||
-%.so: %.o
|
||||
- $(LINKER) $(LINKER_OPTIONS) $(LINKER_LINK_SHARED_DLOADABLE_OPTIONS) $^ $(LINKER_OUTPUT_OPTION) $@ \
|
||||
+%.so: %.o $(PRIMARY_LIBCHICKEN)
|
||||
+ $(LINKER) $(LINKER_OPTIONS) $(LINKER_LINK_SHARED_DLOADABLE_OPTIONS) $< $(LINKER_OUTPUT_OPTION) $@ \
|
||||
$(LINKER_LIBRARY_PREFIX)$(PROGRAM_PREFIX)chicken$(PROGRAM_SUFFIX)$(LINKER_LIBRARY_SUFFIX) \
|
||||
$(LIBRARIES)
|
||||
|
||||
@@ -582,9 +582,9 @@ chicken-profile.c: $(SRCDIR)chicken-profile.scm
|
||||
$(CHICKEN) $< $(CHICKEN_PROGRAM_OPTIONS) -output-file $@
|
||||
chicken-install.c: $(SRCDIR)chicken-install.scm setup-download.c setup-api.c
|
||||
$(CHICKEN) $< $(CHICKEN_PROGRAM_OPTIONS) -output-file $@
|
||||
-chicken-uninstall.c: $(SRCDIR)chicken-uninstall.scm
|
||||
+chicken-uninstall.c: $(SRCDIR)chicken-uninstall.scm setup-api.c
|
||||
$(CHICKEN) $< $(CHICKEN_PROGRAM_OPTIONS) -output-file $@
|
||||
-chicken-status.c: $(SRCDIR)chicken-status.scm
|
||||
+chicken-status.c: $(SRCDIR)chicken-status.scm setup-api.c
|
||||
$(CHICKEN) $< $(CHICKEN_PROGRAM_OPTIONS) -output-file $@
|
||||
csc.c: $(SRCDIR)csc.scm
|
||||
$(CHICKEN) $< $(CHICKEN_PROGRAM_OPTIONS) -output-file $@
|
||||
@@ -675,14 +675,17 @@ bench: $(CHICKEN_SHARED_EXECUTABLE) $(CSI_SHARED_EXECUTABLE) $(CSC_PROGRAM)$(EXE
|
||||
.PHONY: boot-chicken
|
||||
|
||||
boot-chicken:
|
||||
+ $(MAKE) -f Makefile.$(PLATFORM) PLATFORM=$(PLATFORM) CONFIG= confclean
|
||||
$(MAKE) -f Makefile.$(PLATFORM) PLATFORM=$(PLATFORM) PREFIX=/nowhere CONFIG= \
|
||||
CHICKEN=$(CHICKEN) PROGRAM_SUFFIX=-boot-stage1 STATICBUILD=1 \
|
||||
C_COMPILER_OPTIMIZATION_OPTIONS= C_HACKED_APPLY= BUILDING_CHICKEN_BOOT=1 \
|
||||
- confclean chicken-boot-stage1$(EXE)
|
||||
+ chicken-boot-stage1$(EXE)
|
||||
+ $(MAKE) -f Makefile.$(PLATFORM) PLATFORM=$(PLATFORM) CONFIG= touchfiles
|
||||
$(MAKE) -f Makefile.$(PLATFORM) PLATFORM=$(PLATFORM) PREFIX=/nowhere CONFIG= \
|
||||
CHICKEN=.$(SEP)chicken-boot-stage1$(EXE) PROGRAM_SUFFIX=-boot \
|
||||
STATICBUILD=1 C_COMPILER_OPTIMIZATION_OPTIONS= \
|
||||
- touchfiles chicken-boot$(EXE) confclean
|
||||
+ chicken-boot$(EXE)
|
||||
+ $(MAKE) -f Makefile.$(PLATFORM) PLATFORM=$(PLATFORM) CONFIG= confclean
|
||||
|
||||
.PHONY: touchfiles
|
||||
|
@ -0,0 +1,2 @@
|
||||
DIST trosh-20.zip 5182303 SHA256 585342c1fd835017f83704be10a02151cfaafdae836ab89a5ffd0d7206b34465 SHA512 2a8988f5715340850a61acde54403c968947d41d5f0a1ac098c4cc3959f69f150cee567933fd5148a2c23c237210c10dc58005de1bd949d6db59cd794a0003ec WHIRLPOOL 0adbd2948162e177a64301021c5ddde19c7a88365b414019ffe4201a16b4ead614f4707dae370fbb195c98923cbdf0d01424c176a7726f6eb5d52ab05b5f544d
|
||||
DIST trosh.png 242 SHA256 567bf00d204e9de9c42a87fac040fdac2fcc17c114427c8175a3f859b455111f SHA512 85ff46c8c75b018a59a8e7dace85fc5ccf2439babedb0e4d134301eb9f7edfe5d7f4f3af1329f04257c16d978f27df38f10cb3ffbc4b424808a5f3c5c78bfc69 WHIRLPOOL 5831ffa87b90d3102c58fef94caff287ac727e7eda9b100ceff9d29a2a50c851e73126b7da28d8ae614887db40863c19f7136f44bb02398f0b92ed0d44ad226c
|
@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>games</herd>
|
||||
<maintainer>
|
||||
<email>hasufell@gentoo.org</email>
|
||||
<name>Julian Ospald</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
|
@ -0,0 +1,51 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/games-action/trosh/trosh-20.ebuild,v 1.1 2013/01/17 21:40:07 hasufell Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils gnome2-utils games
|
||||
|
||||
DESCRIPTION="A game made in 20 hours for a friend. It has explosions"
|
||||
HOMEPAGE="http://stabyourself.net/trosh/"
|
||||
SRC_URI="http://stabyourself.net/dl.php?file=trosh/trosh-linux.zip -> ${P}.zip
|
||||
http://dev.gentoo.org/~hasufell/distfiles/${PN}.png"
|
||||
|
||||
LICENSE="WTFPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND=">=games-engines/love-0.8.0
|
||||
media-libs/devil[png]"
|
||||
DEPEND="app-arch/unzip"
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
src_install() {
|
||||
local dir=${GAMES_DATADIR}/love/${PN}
|
||||
|
||||
exeinto "${dir}"
|
||||
doexe ${PN}.love
|
||||
|
||||
dodoc {LICENSE,readme}.txt README
|
||||
|
||||
doicon -s 32 "${DISTDIR}"/${PN}.png
|
||||
games_make_wrapper ${PN} "love ${PN}.love" "${dir}"
|
||||
make_desktop_entry ${PN}
|
||||
|
||||
prepgamesdirs
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
games_pkg_preinst
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
games_pkg_postinst
|
||||
gnome2_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST vbam-1.8.0.1090.tar.xz 823216 SHA256 998df784fb80188c0cd02502856881fcbfb81e40799504fcef2022f22a1af5c4 SHA512 2ea033161621d8f9e21c369f9b27ab164bd87a331f28293c8bb2fec440766aaaffc2c17ac18009b8a004eec19057dbd786073733d85a728cf1624ad3e9a44ff2 WHIRLPOOL abe1d73005d338e7057d160974b8e42a43a13253d5866a80820f9248c68778765568e12afbbd996a4ce440cdbb3ddb79d88d4a045ae2753b1994c674a7b56a82
|
||||
DIST vbam-1.8.0.1149.tar.xz 824980 SHA256 7eb2c29a416faca9c7ab28cb953c276e76c51b6b45bd5ae83f7f9a32b8c6d252 SHA512 aaf2262780ee723077002c43ca317c81a85bf2350067aa504ad578d1280765f65baac9a8428e595b0c746db1bd37ce29f9bb1758aaef300e7d52b4da45652e46 WHIRLPOOL bc230cb7a485f198a8b3ca050b85b1e167a3b313edf36753c016c8e44a2a10a99a3163c649eb48ffbdb5747fbff35909e30aebd537bcb38c1a72ad0d783e969b
|
||||
|
@ -0,0 +1,48 @@
|
||||
--- vbam-1.8.0.1149/src/gtk/gvbam.desktop
|
||||
+++ vbam-1.8.0.1149/src/gtk/gvbam.desktop
|
||||
@@ -1,11 +1,11 @@
|
||||
-[Desktop Entry]
|
||||
-Version=1.0
|
||||
-Encoding=UTF-8
|
||||
-Type=Application
|
||||
-Name=VBA-M
|
||||
-GenericName=GameBoy Advance Emulator
|
||||
-Comment=Nindendo GameBoy Advance Emulator
|
||||
-Exec=gvbam
|
||||
-Icon=vbam
|
||||
-Categories=Application;Game;Emulator;GTK
|
||||
-MimeType=application/x-gameboy-rom;application/x-gameboy-advance-rom;application/x-dmg-rom;application/x-agb-rom;application/x-gb-rom;application/x-gba-rom
|
||||
+[Desktop Entry]
|
||||
+Version=1.0
|
||||
+Encoding=UTF-8
|
||||
+Type=Application
|
||||
+Name=VBA-M
|
||||
+GenericName=GameBoy Advance Emulator
|
||||
+Comment=Nindendo GameBoy Advance Emulator
|
||||
+Exec=gvbam
|
||||
+Icon=vbam
|
||||
+Categories=Game;Emulator;GTK;
|
||||
+MimeType=application/x-gameboy-rom;application/x-gameboy-advance-rom;application/x-dmg-rom;application/x-agb-rom;application/x-gb-rom;application/x-gba-rom;
|
||||
--- vbam-1.8.0.1149/src/wx/wxvbam.desktop
|
||||
+++ vbam-1.8.0.1149/src/wx/wxvbam.desktop
|
||||
@@ -1,10 +1,10 @@
|
||||
-[Desktop Entry]
|
||||
-Version=1.0
|
||||
-Encoding=UTF-8
|
||||
-Type=Application
|
||||
-Name=VBA-M
|
||||
-GenericName=GameBoy Advance Emulator
|
||||
-Comment=Nindendo GameBoy Advance Emulator
|
||||
-Exec=wxvbam
|
||||
-Icon=vbam
|
||||
-Categories=Application;Game;Emulator
|
||||
+[Desktop Entry]
|
||||
+Version=1.0
|
||||
+Encoding=UTF-8
|
||||
+Type=Application
|
||||
+Name=VBA-M
|
||||
+GenericName=GameBoy Advance Emulator
|
||||
+Comment=Nindendo GameBoy Advance Emulator
|
||||
+Exec=wxvbam
|
||||
+Icon=vbam
|
||||
+Categories=Game;Emulator;
|
@ -0,0 +1,109 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/games-emulation/vbam/vbam-1.8.0.1149.ebuild,v 1.2 2013/01/18 01:08:23 radhermit Exp $
|
||||
|
||||
EAPI=4
|
||||
WX_GTK_VER="2.8"
|
||||
|
||||
inherit eutils cmake-utils wxwidgets games
|
||||
|
||||
ESVN_REPO_URI="https://vbam.svn.sourceforge.net/svnroot/vbam/trunk"
|
||||
|
||||
DESCRIPTION="Game Boy, GBC, and GBA emulator forked from VisualBoyAdvance"
|
||||
HOMEPAGE="http://vba-m.ngemu.com"
|
||||
SRC_URI="http://dev.gentoo.org/~radhermit/distfiles/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="cairo ffmpeg gtk link lirc nls openal +sdl wxwidgets"
|
||||
REQUIRED_USE="|| ( sdl gtk wxwidgets )"
|
||||
|
||||
RDEPEND=">=media-libs/libpng-1.4
|
||||
media-libs/libsdl[joystick]
|
||||
link? ( media-libs/libsfml )
|
||||
sys-libs/zlib
|
||||
virtual/glu
|
||||
virtual/opengl
|
||||
ffmpeg? ( virtual/ffmpeg )
|
||||
gtk? ( >=dev-cpp/glibmm-2.4.0:2
|
||||
>=dev-cpp/gtkmm-2.4.0:2.4
|
||||
>=dev-cpp/gtkglextmm-1.2.0 )
|
||||
lirc? ( app-misc/lirc )
|
||||
nls? ( virtual/libintl )
|
||||
wxwidgets? (
|
||||
cairo? ( x11-libs/cairo )
|
||||
openal? ( media-libs/openal )
|
||||
x11-libs/wxGTK:2.8[X,opengl]
|
||||
)"
|
||||
DEPEND="${RDEPEND}
|
||||
x86? ( || ( dev-lang/nasm dev-lang/yasm ) )
|
||||
nls? ( sys-devel/gettext )
|
||||
app-arch/xz-utils
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-desktop.patch
|
||||
|
||||
# Fix issue with zlib-1.2.5.1 macros (bug #383179)
|
||||
sed -i '1i#define OF(x) x' src/common/memgzio.c || die
|
||||
|
||||
sed -i "s:\(DESTINATION\) bin:\1 ${GAMES_BINDIR}:" \
|
||||
CMakeLists.txt src/wx/CMakeLists.txt || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
$(cmake-utils_use_enable cairo CAIRO)
|
||||
$(cmake-utils_use_enable ffmpeg FFMPEG)
|
||||
$(cmake-utils_use_enable gtk GTK)
|
||||
$(cmake-utils_use_enable link LINK)
|
||||
$(cmake-utils_use_enable lirc LIRC)
|
||||
$(cmake-utils_use_enable nls NLS)
|
||||
$(cmake-utils_use_enable openal OPENAL)
|
||||
$(cmake-utils_use_enable sdl SDL)
|
||||
$(cmake-utils_use_enable wxwidgets WX)
|
||||
$(cmake-utils_use_enable x86 ASM_CORE)
|
||||
$(cmake-utils_use_enable x86 ASM_SCALERS)
|
||||
-DCMAKE_SKIP_RPATH=ON
|
||||
-DDATA_INSTALL_DIR=share/games/${PN}
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cmake-utils_src_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake-utils_src_install
|
||||
|
||||
if use sdl ; then
|
||||
dodoc doc/ReadMe.SDL.txt || die
|
||||
doman debian/vbam.1 || die
|
||||
fi
|
||||
|
||||
prepgamesdirs
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
games_pkg_preinst
|
||||
if use gtk || use wxwidgets ; then
|
||||
gnome2_icon_savelist
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
games_pkg_postinst
|
||||
if use gtk || use wxwidgets ; then
|
||||
gnome2_icon_cache_update
|
||||
fi
|
||||
use gtk && fdo-mime_desktop_database_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
if use gtk || use wxwidgets ; then
|
||||
gnome2_icon_cache_update
|
||||
fi
|
||||
use gtk && fdo-mime_desktop_database_update
|
||||
}
|
@ -1 +1 @@
|
||||
DIST lyntin-4.2.tar.gz 180111 RMD160 284c85f19902341990841be7b0f25520351e8417 SHA1 bc7c3cf884b00c68505b7fb8fd51f88461cdada9 SHA256 7e1d4ea273218cfc9e4a81adafd2e9e5df923e1f64d7baf36db5c7e353cea8fe
|
||||
DIST lyntin-4.2.tar.gz 180111 SHA256 7e1d4ea273218cfc9e4a81adafd2e9e5df923e1f64d7baf36db5c7e353cea8fe SHA512 72792b0ffd3f07d6ad7ec335beca2b064e348c7e30c7517edb07a90ece0608b34ce68798fb7a0aa7ef6568ebbed14f5246368421f5e14c7520d306ae6a29e432 WHIRLPOOL 650ab535a26fa22e72d868770bf1d5a3b48e57a159a327531529e1197fec45354f06a00d7c018100616744a288961eb75a174e676c437fad9e43dbd9114a532b
|
||||
|
@ -0,0 +1,56 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/games-mud/lyntin/lyntin-4.2-r1.ebuild,v 1.1 2013/01/17 15:47:14 hasufell Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_5 python2_6 python2_7 )
|
||||
PYTHON_REQ_USE="tk?"
|
||||
|
||||
inherit distutils-r1 games
|
||||
|
||||
DESCRIPTION="tintin mud client clone implemented in Python"
|
||||
HOMEPAGE="http://lyntin.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/lyntin/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE="tk"
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
RDEPEND=""
|
||||
|
||||
DOCS=( COMMANDS PKG-INFO HACKING README )
|
||||
|
||||
python_install() {
|
||||
distutils-r1_python_install --install-scripts="${GAMES_BINDIR}"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
distutils-r1_src_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils-r1_src_install
|
||||
prepgamesdirs
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
games_pkg_postinst
|
||||
if use tk ; then
|
||||
elog "To start lyntin in GUI mode, create a config file"
|
||||
elog "with this in it:"
|
||||
elog
|
||||
elog "[Lyntin]"
|
||||
elog "ui: tk"
|
||||
elog
|
||||
elog "Then start lyntin like this:"
|
||||
elog
|
||||
elog "runlyntin -c /path/to/config_file\n"
|
||||
fi
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST tintin-2.00.8.tar.gz 257828 RMD160 f3ac710a14ba9b4689bbc2b9222bb254a00e2020 SHA1 59c919cfe1b1b8d217ca9608c5e76140e8c8aa38 SHA256 e364a7fa7ed35a2d166a081cce4682d5fe2481ee9ce72c6a409903d097e1ae45
|
||||
DIST tintin-2.00.8.tar.gz 257828 SHA256 e364a7fa7ed35a2d166a081cce4682d5fe2481ee9ce72c6a409903d097e1ae45
|
||||
DIST tintin-2.00.9.tar.gz 276024 SHA256 cafeee9b60de39d957def5782fb4f8cb29a05af69dc96d3e5807c2d3fb541275 SHA512 88880d7c45028fdc4e20d0acb065e7d578d6dac995a590974b62e418845227bf734f270a6908c8bad13b04265a1c08207e9974c2756b4635697950414e404ba6 WHIRLPOOL 779a39b6c280c0104dc3568d8ab1d7db67cd4e2945a1f501ed8471387a9fc4ccdc0bf7135ce926cb657ae6a95b5cbe7707da49187e8da31d9c8710851abb848a
|
||||
|
@ -0,0 +1,11 @@
|
||||
--- Makefile.in.old 2011-06-24 13:41:36.874647127 +0200
|
||||
+++ Makefile.in 2011-06-24 13:44:40.024430170 +0200
|
||||
@@ -37,7 +37,7 @@
|
||||
|
||||
INCS = @MYINCLUDE@
|
||||
|
||||
-LIBS = @MYLIB@ @LIBS@
|
||||
+LIBS = @LIBS@
|
||||
|
||||
# If you prefer to be able to enter ISO latin-1 characters instead
|
||||
# of being able to use the meta key for special emacs-like commands
|
@ -0,0 +1,38 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/games-mud/tintin/tintin-2.00.9.ebuild,v 1.1 2013/01/17 23:16:26 mr_bones_ Exp $
|
||||
|
||||
EAPI=2
|
||||
inherit games
|
||||
|
||||
DESCRIPTION="(T)he k(I)cki(N) (T)ickin d(I)kumud clie(N)t"
|
||||
HOMEPAGE="http://tintin.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/tintin/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="sys-libs/zlib
|
||||
dev-libs/libpcre
|
||||
sys-libs/readline
|
||||
sys-libs/ncurses"
|
||||
|
||||
S=${WORKDIR}/tt/src
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${P}-ldpermission.patch )
|
||||
|
||||
src_install () {
|
||||
dogamesbin tt++ || die
|
||||
dodoc ../{CREDITS,FAQ,README,SCRIPTS,TODO,docs/*}
|
||||
prepgamesdirs
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
games_pkg_postinst
|
||||
echo
|
||||
ewarn "**** OLD TINTIN SCRIPTS ARE NOT 100% COMPATIBLE WITH THIS VERSION ****"
|
||||
ewarn "read the README for more details."
|
||||
echo
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST toppler-1.1.4.tar.gz 2681258 RMD160 50b59c3efcb21fbe5d0a86861e7592475edc55ef SHA1 153d81ded899a8c5390c3f569e8be96ae90a36c7 SHA256 b6ddb217ab8e5681d5590b4e0aab555e834c512a5700313e056adec6e456da93
|
||||
DIST toppler-1.1.4.tar.gz 2681258 SHA256 b6ddb217ab8e5681d5590b4e0aab555e834c512a5700313e056adec6e456da93
|
||||
DIST toppler-1.1.6.tar.gz 2117137 SHA256 7dbc2905389c2adba0f8c459f3319cf04045ba53ed407e273a50a3a67564cc45 SHA512 e0f6b7b72e38ba3402ba3608116fb51bf36cad129fb5591db62489829f4ed1ec49a4a3b7b1db4aaa34cd1561ee5228d91577f550aad2d55520ccefdff9bda9e9 WHIRLPOOL 06c8dedb4f93289e067514c7592d4e002ac1b315fa5d52769fe05de0f9e31b2a14a4b9ab543736d9b580d6af79af4a09f64a1946a14f4f5bed9538b24b7285ff
|
||||
|
@ -0,0 +1,33 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/games-puzzle/toppler/toppler-1.1.6.ebuild,v 1.1 2013/01/17 18:04:52 mr_bones_ Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit games
|
||||
|
||||
DESCRIPTION="Reimplementation of Nebulous using SDL"
|
||||
HOMEPAGE="http://toppler.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/toppler/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE="nls"
|
||||
|
||||
RDEPEND="media-libs/libsdl[video]
|
||||
media-libs/sdl-mixer[vorbis]
|
||||
nls? ( virtual/libintl )"
|
||||
DEPEND="${RDEPEND}
|
||||
nls? ( sys-devel/gettext )"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${P}-gentoo.patch )
|
||||
|
||||
src_configure() {
|
||||
egamesconf $(use_enable nls)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
dodoc AUTHORS ChangeLog README
|
||||
prepgamesdirs
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST xye-0.12.0.tar.gz 3074536 SHA256 0116afe64c64684feee3a3f9ea8e2308059afe3d3d30edc8c3731d573eb96a92 SHA512 c29d805239f401cd5f4e975651d49ab2fd12c12ab695e23e4303310497f46295208d7177bc5957287e2d6c43dfcc501f988e49c586e7f0616a13dc655c40a126 WHIRLPOOL abef97188564a8d380d06ab7c8da0d8f8cedb738e6db641735873f6878502a86244ee7842fcdfa4a9b5043f1fe2869255d00e072fa5057906eddb5c6ffb1296e
|
||||
DIST xye-0.12.1.tar.gz 2850776 SHA256 bbeb3265b0795f14deb2851b4a3bda7dde9b07d624a7ca5fb88cd7acabcf3967 SHA512 aadafdb7b8e0546435838279c2929803be8dde00f3f3c08668c35d0a8ccf5bad511e65629e3f7261140edcf0980d19fda2be1401593ac4c0410beede542e857b WHIRLPOOL 7a1aa2708361b4eddb266037af35e6915852ba1a5037fcfebd95c0a8caab54209ca1c9e3827acecff64772fd15b077f5cded64a50b5820abd7b3cde937bbc2e0
|
||||
|
@ -0,0 +1,22 @@
|
||||
--- src/editorsave.cpp.old
|
||||
+++ src/editorsave.cpp
|
||||
@@ -642,7 +642,8 @@
|
||||
file << "<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>\n";
|
||||
file << "<pack>\n<name>"<< stripXML(editorboard::filetitle) <<"</name><author>"<< stripXML(editorboard::author) <<"</author>\n<description>"<< stripXML(editorboard::description) <<"</description>\n";
|
||||
|
||||
- for (int i=first; i<editorboard::CountLevels(); i++) {
|
||||
+ int i;
|
||||
+ for (i=first; i<editorboard::CountLevels(); i++) {
|
||||
editorboard::LoadLevelNumber(board, i);
|
||||
file << "\n<level>\n";
|
||||
file << "<title>"<< stripXML(board->title) <<"</title>\n";
|
||||
--- src/gen.cpp.old
|
||||
+++ src/gen.cpp
|
||||
@@ -21,6 +21,7 @@
|
||||
#include<cstdio>
|
||||
#include<iostream>
|
||||
#include<fstream>
|
||||
+#include <unistd.h>
|
||||
|
||||
const float F_RAND_MAX = (float)(RAND_MAX);
|
||||
|
@ -0,0 +1,41 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/games-puzzle/xye/xye-0.12.1.ebuild,v 1.1 2013/01/17 21:25:39 mr_bones_ Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit autotools eutils games
|
||||
|
||||
DESCRIPTION="Free version of the classic game Kye"
|
||||
HOMEPAGE="http://xye.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/xye/${P}.tar.gz"
|
||||
|
||||
LICENSE="ZLIB"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="media-libs/libsdl[video]
|
||||
media-libs/sdl-ttf
|
||||
media-libs/sdl-image[png]
|
||||
media-fonts/dejavu"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-gcc47.patch
|
||||
sed -i -e '/^xye_LDFLAGS/d' Makefile.am || die
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dogamesbin "${PN}"
|
||||
insinto "${GAMES_DATADIR}/${PN}"
|
||||
doins -r levels res
|
||||
rm -f "${D}${GAMES_DATADIR}/${PN}"/res/DejaVuSans*
|
||||
dosym /usr/share/fonts/dejavu/DejaVuSans.ttf "${GAMES_DATADIR}/${PN}"/res/DejaVuSans.ttf
|
||||
dosym /usr/share/fonts/dejavu/DejaVuSans-Bold.ttf "${GAMES_DATADIR}/${PN}"/res/DejaVuSans-Bold.ttf
|
||||
dodoc AUTHORS ChangeLog README NEWS
|
||||
dohtml ReadMe.html
|
||||
doicon xye.svg
|
||||
make_desktop_entry ${PN} Xye
|
||||
prepgamesdirs
|
||||
}
|
@ -1,55 +0,0 @@
|
||||
--- makefile
|
||||
+++ makefile
|
||||
@@ -185,7 +185,7 @@
|
||||
#
|
||||
# This is my compiler of choice, it seems to work most everywhere
|
||||
#
|
||||
-CC = gcc
|
||||
+CC ?= gcc
|
||||
|
||||
# For allowing #if..#else..#endif constructs in LUA files - C. Blue
|
||||
# Note: The flags must contain
|
||||
@@ -197,11 +197,11 @@
|
||||
# need to use the gcc invocation below instead.
|
||||
#
|
||||
# cpp variant:
|
||||
-CPP = cpp
|
||||
-CPPFLAGS = -C -P
|
||||
+#CPP ?= cpp
|
||||
+#CPPFLAGS += -C -P
|
||||
# gcc variant:
|
||||
-#CPP = gcc
|
||||
-#CPPFLAGS = -x c -E -Wp,-C,-P
|
||||
+CPP ?= gcc
|
||||
+CPPFLAGS = -x c -E -Wp,-C,-P
|
||||
|
||||
|
||||
#
|
||||
@@ -225,6 +225,15 @@
|
||||
#CFLAGS = -Wall -g -pipe -DUSE_X11 -DUSE_GCU
|
||||
#LIBS = -L/usr/X11R6/lib -lX11 -lcurses
|
||||
|
||||
+# defines
|
||||
+ifdef USE_SDL
|
||||
+CFLAGS += -DSOUND_SDL
|
||||
+SDL_LIBS = $(shell sdl-config --libs) -lSDL_mixer
|
||||
+endif
|
||||
+
|
||||
+ifdef DEFAULT_PATH
|
||||
+CFLAGS += -DDEFAULT_PATH=\"$(DEFAULT_PATH)\"
|
||||
+endif
|
||||
|
||||
X11BASE = /usr/X11R6
|
||||
|
||||
@@ -241,8 +250,9 @@
|
||||
#LIBS = -L${X11BASE}/lib -L/usr/pkg/lib -lX11 -lncurses -lcrypt -lm
|
||||
##
|
||||
## With SDL
|
||||
-CFLAGS = -g -pipe -Wall -DUSE_X11 -DUSE_GCU -I${X11BASE}/include -O2 -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -DSOUND_SDL `sdl-config --cflags`
|
||||
-LIBS = -L${X11BASE}/lib -L/usr/pkg/lib -lX11 -lncurses -lcrypt -lm `sdl-config --libs` -lSDL_mixer
|
||||
+CFLAGS += -Wall
|
||||
+CFLAGS += -I${X11BASE}/include -DUSE_GCU -DUSE_X11 -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 $(shell sdl-config --cflags)
|
||||
+LIBS += -L${X11BASE}/lib -L/usr/pkg/lib -lX11 -lncurses -lcrypt -lm ${SDL_LIBS}
|
||||
#-lXtst (for numlock - obsolete)
|
||||
|
||||
## Uncomment this if you want to bundle libraries with the client
|
@ -1,96 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/games-roguelike/tomenet/tomenet-4.5.0.ebuild,v 1.1 2012/12/20 17:34:58 hasufell Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit eutils gnome2-utils games
|
||||
|
||||
DESCRIPTION="A MMORPG based on the works of J.R.R. Tolkien"
|
||||
HOMEPAGE="http://www.tomenet.net/"
|
||||
SRC_URI="http://www.tomenet.net/downloads/${P}.tar.bz2
|
||||
http://dev.gentoo.org/~hasufell/distfiles/${PN}4.png"
|
||||
|
||||
LICENSE="Moria"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="dedicated server +sound"
|
||||
|
||||
# VERSION BUMP REMINDER:
|
||||
# libX11 might be optional at next release
|
||||
# via -DUSE_X11
|
||||
DEPEND="sys-libs/ncurses
|
||||
x11-libs/libX11
|
||||
sound? (
|
||||
media-libs/libsdl[audio]
|
||||
media-libs/sdl-mixer[vorbis,smpeg,mp3]
|
||||
)"
|
||||
RDEPEND="${DEPEND}
|
||||
sound? ( app-arch/p7zip[wxwidgets] )"
|
||||
|
||||
S=${WORKDIR}/${P}/src
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-makefile.patch
|
||||
rm -r ../lib/{data,save} || die
|
||||
|
||||
sed \
|
||||
-e "s#@LIBDIR@#${GAMES_DATADIR}/${PN}#" \
|
||||
"${FILESDIR}"/${PN}-wrapper > "${T}"/${PN} || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local mytargets="$(usex dedicated "accedit tomenet.server evilmeta" "$(usex server "all" "tomenet")")"
|
||||
emake \
|
||||
$(usex sound "USE_SDL=1" "") \
|
||||
-f makefile \
|
||||
"${mytargets[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodoc ../{ChangeLog,TomeNET-Guide.txt,changes.txt}
|
||||
|
||||
if ! use dedicated ; then
|
||||
newgamesbin ${PN} ${PN}.bin
|
||||
dogamesbin "${T}"/${PN}
|
||||
|
||||
doicon -s 48 "${DISTDIR}"/${PN}4.png
|
||||
make_desktop_entry ${PN} ${PN} ${PN}4
|
||||
fi
|
||||
|
||||
if use server || use dedicated ; then
|
||||
dogamesbin accedit tomenet.server evilmeta
|
||||
docinto server
|
||||
dodoc runonce runserv runserv3
|
||||
fi
|
||||
|
||||
insinto "${GAMES_DATADIR}/${PN}"
|
||||
doins -r ../lib/*
|
||||
doins ../.tomenetrc
|
||||
|
||||
prepgamesdirs
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
games_pkg_preinst
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
games_pkg_postinst
|
||||
gnome2_icon_cache_update
|
||||
|
||||
if use server || use dedicated ; then
|
||||
elog "Server scripts in /usr/share/doc/${PF}/server will need adjustment."
|
||||
elog "\"lib\" dir is in ${GAMES_DATADIR}/${PN}"
|
||||
fi
|
||||
|
||||
if use sound; then
|
||||
elog "You can get soundepacks from here:"
|
||||
elog ' http://www.tomenet.net/phpBB3/viewtopic.php?f=4&t=120'
|
||||
elog "They must be placed inside ~/.tomenet directory."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
}
|
@ -0,0 +1,30 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/games-util/nml/nml-0.2.4-r1.ebuild,v 1.1 2013/01/17 16:04:36 hasufell Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_5 python2_6 python2_7 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Compiler of NML files into grf/nfo files"
|
||||
HOMEPAGE="http://dev.openttdcoop.org/projects/nml"
|
||||
SRC_URI="http://bundles.openttdcoop.org/nml/releases/${PV}/${P}.src.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-python/imaging
|
||||
dev-python/ply"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
|
||||
DOCS=( docs/{changelog,readme}.txt )
|
||||
|
||||
src_install() {
|
||||
distutils-r1_src_install
|
||||
doman docs/nmlc.1
|
||||
}
|
@ -0,0 +1,32 @@
|
||||
http://bugs.gentoo.org/452694
|
||||
|
||||
--- extern/bullet2/src/BulletSoftBody/btSoftBodyInternals.h
|
||||
+++ extern/bullet2/src/BulletSoftBody/btSoftBodyInternals.h
|
||||
@@ -18,6 +18,7 @@
|
||||
#define _BT_SOFT_BODY_INTERNALS_H
|
||||
|
||||
#include "btSoftBody.h"
|
||||
+#include <string.h>
|
||||
|
||||
#include "LinearMath/btQuickprof.h"
|
||||
#include "BulletCollision/BroadphaseCollision/btBroadphaseInterface.h"
|
||||
@@ -171,8 +172,7 @@
|
||||
template <typename T>
|
||||
static inline void ZeroInitialize(T& value)
|
||||
{
|
||||
- static const T zerodummy;
|
||||
- value=zerodummy;
|
||||
+ memset(&value,0,sizeof(T));
|
||||
}
|
||||
//
|
||||
template <typename T>
|
||||
--- intern/memutil/MEM_Allocator.h
|
||||
+++ intern/memutil/MEM_Allocator.h
|
||||
@@ -24,6 +24,7 @@
|
||||
#ifndef __MEM_Allocator_h_included__
|
||||
#define __MEM_Allocator_h_included__ 1
|
||||
|
||||
+#include <cstddef>
|
||||
#include "guardedalloc/MEM_guardedalloc.h"
|
||||
#include "guardedalloc/BLO_sys_types.h"
|
||||
|
@ -0,0 +1,59 @@
|
||||
https://bugs.gentoo.org/show_bug.cgi?id=445168
|
||||
|
||||
commit f586917ea4d66f9ba8910f0967a8830e54d50784
|
||||
Author: Yann Diorcet <yann.diorcet@belledonne-communications.com>
|
||||
Date: Tue Jun 5 11:07:48 2012 +0200
|
||||
|
||||
Fixes for new versions of ffmpeg
|
||||
|
||||
diff --git a/src/h264dec.c b/src/h264dec.c
|
||||
index c4a84ee..5229b5e 100644
|
||||
--- a/src/h264dec.c
|
||||
+++ b/src/h264dec.c
|
||||
@@ -45,7 +45,9 @@ typedef struct _DecData{
|
||||
static void ffmpeg_init(){
|
||||
static bool_t done=FALSE;
|
||||
if (!done){
|
||||
+#ifdef FF_API_AVCODEC_INIT
|
||||
avcodec_init();
|
||||
+#endif
|
||||
avcodec_register_all();
|
||||
done=TRUE;
|
||||
}
|
||||
diff --git a/src/videoenc.c b/src/videoenc.c
|
||||
index 21d016f..fb35760 100644
|
||||
--- a/src/videoenc.c
|
||||
+++ b/src/videoenc.c
|
||||
@@ -39,6 +39,10 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
|
||||
static bool_t avcodec_initialized=FALSE;
|
||||
|
||||
+#ifndef FF_I_TYPE
|
||||
+#define FF_I_TYPE AV_PICTURE_TYPE_I
|
||||
+#endif
|
||||
+
|
||||
#ifdef ENABLE_LOG_FFMPEG
|
||||
|
||||
void ms_ffmpeg_log_callback(void* ptr, int level, const char* fmt, va_list vl)
|
||||
@@ -53,7 +57,9 @@ void ms_ffmpeg_log_callback(void* ptr, int level, const char* fmt, va_list vl)
|
||||
|
||||
void ms_ffmpeg_check_init(){
|
||||
if(!avcodec_initialized){
|
||||
+#ifdef FF_API_AVCODEC_INIT
|
||||
avcodec_init();
|
||||
+#endif
|
||||
avcodec_register_all();
|
||||
avcodec_initialized=TRUE;
|
||||
#ifdef ENABLE_LOG_FFMPEG
|
||||
@@ -300,10 +306,10 @@ static void prepare_h263(EncState *s){
|
||||
if (s->profile==0){
|
||||
s->codec=CODEC_ID_H263;
|
||||
}else{
|
||||
+ /*
|
||||
c->flags|=CODEC_FLAG_H263P_UMV;
|
||||
c->flags|=CODEC_FLAG_AC_PRED;
|
||||
c->flags|=CODEC_FLAG_H263P_SLICE_STRUCT;
|
||||
- /*
|
||||
c->flags|=CODEC_FLAG_OBMC;
|
||||
c->flags|=CODEC_FLAG_AC_PRED;
|
||||
*/
|
@ -0,0 +1,14 @@
|
||||
https://bugs.gentoo.org/show_bug.cgi?id=443428
|
||||
|
||||
Index: image-0.3.1/liboutput/encode.c
|
||||
===================================================================
|
||||
--- image-0.3.1.orig/liboutput/encode.c
|
||||
+++ image-0.3.1/liboutput/encode.c
|
||||
@@ -49,7 +49,6 @@ cEncode::cEncode(unsigned int nNumberOfF
|
||||
|
||||
bool cEncode::Register()
|
||||
{
|
||||
- avcodec_init();
|
||||
#if 0
|
||||
// XXX to resolv: dosen't work with osdpip
|
||||
register_avcodec(&mpeg2video_encoder);
|
@ -1 +1 @@
|
||||
DIST aqualung-0.9beta11.tar.gz 1584700 RMD160 3ff28f7611db89290baa1b0b8528c0ba5e79a762 SHA1 7a52a82ced0554acad56bd18f5ec707bf9fa85a0 SHA256 315eae4539c1039978d38bd7bc8ef965f3e9dc518c7eb6f4e9da52a9bf332ddd
|
||||
DIST aqualung-0.9beta11.tar.gz 1584700 SHA256 315eae4539c1039978d38bd7bc8ef965f3e9dc518c7eb6f4e9da52a9bf332ddd SHA512 b5b7b8b8f10f0ac4bd332d7644e0f22003edc30c24aaac04b21ebe14b2a451ab3b06c6996e77b795a0fa600090a5bd42a8f993a28269dd8ec905c37b2debf399 WHIRLPOOL fc1c3516b55818979ae14080cae9ce9ed7ad8b57cf113fb90c66dec51ae75c9c176a32ad1be02cadac2a96799281d800e283a70743f876319f25e457fa6d672d
|
||||
|
@ -0,0 +1,108 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-sound/aqualung/aqualung-0.9_beta11-r2.ebuild,v 1.1 2013/01/17 21:16:54 billie Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit autotools eutils
|
||||
|
||||
MY_PV=${PV/_/}
|
||||
|
||||
DESCRIPTION="A music player for a wide range of formats designed for gapless playback"
|
||||
HOMEPAGE="http://aqualung.factorial.hu/"
|
||||
SRC_URI="mirror://sourceforge/aqualung/${PN}-${MY_PV}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="alsa cdda cddb debug flac ffmpeg ifp jack ladspa lame libsamplerate lua
|
||||
mac modplug mp3 musepack oss podcast pulseaudio sndfile speex systray vorbis wavpack"
|
||||
|
||||
RDEPEND="sys-libs/zlib
|
||||
app-arch/bzip2
|
||||
dev-libs/libxml2
|
||||
x11-libs/gtk+:2
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
jack? ( media-sound/jack-audio-connection-kit )
|
||||
pulseaudio? ( media-sound/pulseaudio )
|
||||
flac? ( media-libs/flac )
|
||||
lame? ( media-sound/lame )
|
||||
ffmpeg? ( >=virtual/ffmpeg-0.6.90 )
|
||||
mac? ( media-sound/mac )
|
||||
modplug? ( media-libs/libmodplug )
|
||||
musepack? ( >=media-sound/musepack-tools-444 )
|
||||
mp3? ( media-libs/libmad )
|
||||
sndfile? ( media-libs/libsndfile )
|
||||
speex? ( media-libs/speex media-libs/liboggz )
|
||||
vorbis? ( media-libs/libvorbis )
|
||||
wavpack? ( media-sound/wavpack )
|
||||
ladspa? ( media-libs/liblrdf )
|
||||
libsamplerate? ( media-libs/libsamplerate )
|
||||
cdda? ( || ( dev-libs/libcdio-paranoia <dev-libs/libcdio-0.90[-minimal] ) )
|
||||
ifp? ( media-libs/libifp )
|
||||
cddb? ( media-libs/libcddb )
|
||||
lua? ( dev-lang/lua )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
sys-devel/gettext
|
||||
virtual/pkgconfig"
|
||||
|
||||
S=${WORKDIR}/${PN}-${MY_PV}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-use_lrdf_cflags.patch \
|
||||
"${FILESDIR}"/${P}-ffmpeg.patch \
|
||||
"${FILESDIR}"/${P}-libavformat54.patch
|
||||
sed -i \
|
||||
-e 's:$(pkgdatadir)/doc:/usr/share/doc/${PF}:' \
|
||||
doc/Makefile.am || die
|
||||
sed -i \
|
||||
-e '/BUILD_CFLAGS/s:-O2::' \
|
||||
-e '/BUILD_CFLAGS/s: -ggdb -g -O0::' \
|
||||
configure.ac || die
|
||||
if has_version dev-libs/libcdio-paranoia; then
|
||||
sed -i \
|
||||
-e 's:cdio/cdda.h:cdio/paranoia/cdda.h:' \
|
||||
-e 's:cdio/paranoia.h:cdio/paranoia/paranoia.h:' \
|
||||
src/*.{c,h} src/decoder/dec_cdda.h || die
|
||||
fi
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable debug) \
|
||||
$(use_with alsa) \
|
||||
$(use_with jack) \
|
||||
$(use_with oss) \
|
||||
$(use_with pulseaudio pulse) \
|
||||
$(use_with flac) \
|
||||
$(use_with lame) \
|
||||
$(use_with ffmpeg lavc) \
|
||||
$(use_with mac) \
|
||||
$(use_with modplug mod) \
|
||||
$(use_with musepack mpc) \
|
||||
$(use_with podcast) \
|
||||
$(use_with mp3 mpeg) \
|
||||
$(use_with sndfile) \
|
||||
$(use_with speex) \
|
||||
$(use_with systray) \
|
||||
$(use_with vorbis ogg) \
|
||||
$(use_with vorbis vorbisenc) \
|
||||
--with-loop \
|
||||
$(use_with wavpack) \
|
||||
$(use_with ladspa) \
|
||||
$(use_with libsamplerate src) \
|
||||
$(use_with cdda) \
|
||||
$(use_with ifp) \
|
||||
$(use_with cddb) \
|
||||
$(use_with lua) \
|
||||
--docdir=/usr/share/doc/${PF}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
newicon src/img/icon_64.png aqualung.png
|
||||
make_desktop_entry aqualung Aqualung
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST potamus-0.12.tar.gz 127788 SHA256 5034e09c8646cbb299f895541e155b9d7012597210bc8b0ba213812928525e2d
|
||||
DIST potamus-0.12.tar.gz 127788 SHA256 5034e09c8646cbb299f895541e155b9d7012597210bc8b0ba213812928525e2d SHA512 ab88031eaa4608b4513aec75d86ab1b16e6e192926d0ca7b0616845ecb9a564f12affba9ed2a3fc903b8b9ac5481a1aabab8904df5546a3ea6a9f6f3eccc1ba0 WHIRLPOOL 4491a23f1e87fee6dab5e279630de4c1f5a85106263b6c11d2410c511ac838bd30e36057bf3a42960514559bbb71714f5839659b49ce04c15ac151e2cc609b7a
|
||||
DIST potamus-14.tar.gz 163164 SHA256 ae271a7101dbbd75c95faaa0afcd311cae24311a1c4eb01e73d1ffce43667194 SHA512 d6192e9e9114f4f88619751529718afb94f113613f23432646c1d5fa707a82ad10c70425135a5ca5a076b68a36ededdb01d73bc1dc6a92e2bdb644d624303394 WHIRLPOOL fc70d8043fec093be4781cdee5e615131f9bea3c375c9f22b290d4777b121c911c402298bac6b9253deb791580a98f224abd751d4912c46a1cb939d50a562b23
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue