Browse Source

Old/broken removed.

master
Kolan Sh 1 year ago
parent
commit
d422940985
96 changed files with 0 additions and 4111 deletions
  1. 0
    1
      app-cdr/mdf2iso/Manifest
  2. 0
    3
      app-cdr/mdf2iso/files/digest-mdf2iso-0.3.0-r1
  3. 0
    684
      app-cdr/mdf2iso/files/mdf2iso-0.3.0-bigfiles.patch
  4. 0
    28
      app-cdr/mdf2iso/mdf2iso-0.3.0-r1.ebuild
  5. 0
    2
      app-misc/nixnote/Manifest
  6. 0
    26
      app-misc/nixnote/nixnote-1.6.ebuild
  7. 0
    57
      app-misc/stderred/stderred-9999.ebuild
  8. 0
    3
      app-pda/libimobiledevice/Manifest
  9. 0
    3
      app-pda/libimobiledevice/files/Manifest.gentoo
  10. 0
    3
      app-pda/libimobiledevice/files/Manifest.gentoo_prefix
  11. 0
    62
      app-pda/libimobiledevice/libimobiledevice-9999.ebuild
  12. 0
    1
      dev-lang/gnu-smalltalk/Manifest
  13. 0
    7
      dev-lang/gnu-smalltalk/files/50gnu-smalltalk-gentoo.el
  14. 0
    69
      dev-lang/gnu-smalltalk/gnu-smalltalk-3.2.5.ebuild
  15. 0
    14
      dev-lang/gnu-smalltalk/metadata.xml
  16. 0
    3
      dev-lang/vala/Manifest
  17. 0
    43
      dev-lang/vala/vala-0.38.8.ebuild
  18. 0
    46
      dev-lang/vala/vala-0.39.7.ebuild
  19. 0
    48
      dev-lang/vala/vala-0.40.4.ebuild
  20. 0
    1
      dev-libs/libgee/Manifest
  21. 0
    29
      dev-libs/libgee/libgee-0.20.0.ebuild
  22. 0
    3
      dev-libs/vala-common/Manifest
  23. 0
    76
      dev-libs/vala-common/vala-common-0.38.8.ebuild
  24. 0
    76
      dev-libs/vala-common/vala-common-0.39.7.ebuild
  25. 0
    76
      dev-libs/vala-common/vala-common-0.40.4.ebuild
  26. 0
    1
      dev-perl/Term-Animation/Manifest
  27. 0
    24
      dev-perl/Term-Animation/Term-Animation-2.6.ebuild
  28. 0
    1
      games-fps/urbanterror/Manifest
  29. 0
    73
      games-fps/urbanterror/files/urbanterror-4.3-fix-build_system.patch
  30. 0
    59
      games-fps/urbanterror/files/urbanterror-4.3.3_p20180218-fix-loop.patch
  31. 0
    168
      games-fps/urbanterror/urbanterror-4.3.3_p20180218.ebuild
  32. 0
    1
      games-misc/asciiquarium/Manifest
  33. 0
    27
      games-misc/asciiquarium/asciiquarium-1.1.ebuild
  34. 0
    32
      media-libs/libfilteraudio/libfilteraudio-9999.ebuild
  35. 0
    1
      media-video/nvidia-settings/Manifest
  36. 0
    77
      media-video/nvidia-settings/nvidia-settings-340.58-r1.ebuild
  37. 0
    1
      media-video/v4l2ucp/Manifest
  38. 0
    13
      media-video/v4l2ucp/files/v4l2ucp-2.0.2-videodev2.patch
  39. 0
    22
      media-video/v4l2ucp/v4l2ucp-2.0.2-r2.ebuild
  40. 0
    28
      net-im/utox/utox-9999.ebuild
  41. 0
    1
      sys-apps/gcp/Manifest
  42. 0
    27
      sys-apps/gcp/gcp-0.1.3.ebuild
  43. 0
    17
      sys-apps/uksmstat/uksmstat-9999.ebuild
  44. 0
    36
      sys-fs/android-file-transfer/android-file-transfer-9999.ebuild
  45. 0
    1
      sys-power/bbswitch/Manifest
  46. 0
    46
      sys-power/bbswitch/bbswitch-0.8-r1.ebuild
  47. 0
    1
      sys-power/bbswitch/files/bbswitch.modprobe
  48. 0
    10
      sys-power/bbswitch/files/linux-4.12.patch
  49. 0
    4
      x11-drivers/nvidia-drivers/Manifest
  50. 0
    24
      x11-drivers/nvidia-drivers/files/3.18_kernel.patch
  51. 0
    11
      x11-drivers/nvidia-drivers/files/3.19_kernel.patch
  52. 0
    12
      x11-drivers/nvidia-drivers/files/4.0_kernel.patch
  53. 0
    22
      x11-drivers/nvidia-drivers/files/4.3_kernel.patch
  54. 0
    1
      x11-drivers/nvidia-drivers/files/50nvidia-prelink-blacklist
  55. 0
    2
      x11-drivers/nvidia-drivers/files/95-nvidia-settings
  56. 0
    2
      x11-drivers/nvidia-drivers/files/95-nvidia-settings-r1
  57. 0
    11
      x11-drivers/nvidia-drivers/files/NVIDIA_glx-defines.patch
  58. 0
    13
      x11-drivers/nvidia-drivers/files/NVIDIA_glx-glheader.patch
  59. 0
    32
      x11-drivers/nvidia-drivers/files/acpi_os_wait_events_complete-334.16.patch
  60. 0
    35
      x11-drivers/nvidia-drivers/files/acpi_os_wait_events_complete.patch
  61. 0
    18
      x11-drivers/nvidia-drivers/files/nv-linux.patch
  62. 0
    14
      x11-drivers/nvidia-drivers/files/nvidia-169.07
  63. 0
    15
      x11-drivers/nvidia-drivers/files/nvidia-drivers-334.21-linux-3.14.patch
  64. 0
    17
      x11-drivers/nvidia-drivers/files/nvidia-drivers-pax-const.patch
  65. 0
    54
      x11-drivers/nvidia-drivers/files/nvidia-drivers-pax-usercopy.patch
  66. 0
    7
      x11-drivers/nvidia-drivers/files/nvidia-drivers-settings.desktop
  67. 0
    8
      x11-drivers/nvidia-drivers/files/nvidia-persistenced.conf
  68. 0
    24
      x11-drivers/nvidia-drivers/files/nvidia-persistenced.init
  69. 0
    3
      x11-drivers/nvidia-drivers/files/nvidia-rmmod.conf
  70. 0
    24
      x11-drivers/nvidia-drivers/files/nvidia-smi.init
  71. 0
    17
      x11-drivers/nvidia-drivers/files/nvidia-udev.sh
  72. 0
    20
      x11-drivers/nvidia-drivers/files/nvidia-udev.sh-r1
  73. 0
    3
      x11-drivers/nvidia-drivers/files/nvidia-uvm.conf
  74. 0
    3
      x11-drivers/nvidia-drivers/files/nvidia-uvm.conf.1
  75. 0
    6
      x11-drivers/nvidia-drivers/files/nvidia.udev-rule
  76. 0
    87
      x11-drivers/nvidia-drivers/files/optimus-334.16.patch
  77. 0
    496
      x11-drivers/nvidia-drivers/nvidia-drivers-331.113.ebuild
  78. 0
    1
      x11-libs/gtkdatabox/Manifest
  79. 0
    58
      x11-libs/gtkdatabox/gtkdatabox-0.9.3.0.ebuild
  80. 0
    67
      x11-libs/gtkdatabox/gtkdatabox-9999.ebuild
  81. 0
    18
      x11-misc/trayion/Manifest
  82. 0
    31
      x11-misc/trayion/trayion-0.1.2.ebuild
  83. 0
    2
      x11-plugins/whatsapp-purple/Manifest
  84. 0
    38
      x11-plugins/whatsapp-purple/whatsapp-purple-0.8.6.ebuild
  85. 0
    1
      x11-themes/gtk-engines-equinox/Manifest
  86. 0
    57
      x11-themes/gtk-engines-equinox/gtk-engines-equinox-1.30.ebuild
  87. 0
    16
      x11-wm/ion3/ChangeLog
  88. 0
    24
      x11-wm/ion3/Manifest
  89. 0
    142
      x11-wm/ion3/files/ion-3-20090526.diff
  90. 0
    350
      x11-wm/ion3/files/ion-3plus.proportional.patch
  91. 0
    69
      x11-wm/ion3/files/ion3-fix_build_system.patch
  92. 0
    9
      x11-wm/ion3/files/ion3.desktop
  93. 0
    9
      x11-wm/ion3/files/pwm3.desktop
  94. 0
    113
      x11-wm/ion3/ion3-20090110-r1.ebuild
  95. 0
    19
      x11-wm/ion3/metadata.xml
  96. 0
    71
      xfce-base/thunar/thunar-9999.ebuild

+ 0
- 1
app-cdr/mdf2iso/Manifest View File

@@ -1 +0,0 @@
DIST mdf2iso-0.3.0-src.tar.bz2 97723 SHA256 7b6622c58bc6a5111eba719d2b55cdfab54cbb26f3aea98b7e5db0eb0062be84 SHA512 fa5360095824b6c833bcd04649f6dc864fa43196a5e737d24babd521fb6600fb60ea1129f53ba481255e79b31fa9e54f11662a37c6c8619f782c0c2c8e05f019 WHIRLPOOL 6fc326d3884a5e038e301da711f8004e217f5f8543a67c0b06a8904b64b72861c83024c730b92de350316321c30b12b663533131c0aaf0f4b8adc6c47e129a3e

+ 0
- 3
app-cdr/mdf2iso/files/digest-mdf2iso-0.3.0-r1 View File

@@ -1,3 +0,0 @@
MD5 a190625318476a196930ac66acd8fd07 mdf2iso-0.3.0-src.tar.bz2 97723
RMD160 ffb295133265197846758ea6746711a260969cef mdf2iso-0.3.0-src.tar.bz2 97723
SHA256 7b6622c58bc6a5111eba719d2b55cdfab54cbb26f3aea98b7e5db0eb0062be84 mdf2iso-0.3.0-src.tar.bz2 97723

+ 0
- 684
app-cdr/mdf2iso/files/mdf2iso-0.3.0-bigfiles.patch View File

@@ -1,684 +0,0 @@
Only in mdf2iso/src: .deps
Only in mdf2iso.new/src: .kdbgrc.mdf2iso
diff -bur mdf2iso/src/Makefile.am mdf2iso.new/src/Makefile.am
--- mdf2iso/src/Makefile.am 2005-05-19 11:24:11.000000000 +0200
+++ mdf2iso.new/src/Makefile.am 2005-07-31 17:47:36.000000000 +0200
@@ -1,2 +1,3 @@
bin_PROGRAMS = mdf2iso
mdf2iso_SOURCES = mdf2iso.c
+AM_CFLAGS = -D_FILE_OFFSET_BITS=64 -Wall
diff -bur mdf2iso/src/Makefile.in mdf2iso.new/src/Makefile.in
--- mdf2iso/src/Makefile.in 2005-05-22 21:42:09.000000000 +0200
+++ mdf2iso.new/src/Makefile.in 2005-07-31 17:49:16.000000000 +0200
@@ -136,6 +136,7 @@
sysconfdir = @sysconfdir@
target_alias = @target_alias@
mdf2iso_SOURCES = mdf2iso.c
+AM_CFLAGS = -D_FILE_OFFSET_BITS=64 -Wall
all: all-am
.SUFFIXES:
@@ -149,9 +150,9 @@
exit 1;; \
esac; \
done; \
- echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/Makefile'; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/Makefile'; \
cd $(top_srcdir) && \
- $(AUTOMAKE) --foreign src/Makefile
+ $(AUTOMAKE) --gnu src/Makefile
.PRECIOUS: Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
@case '$?' in \
diff -bur mdf2iso/src/mdf2iso.c mdf2iso.new/src/mdf2iso.c
--- mdf2iso/src/mdf2iso.c 2005-05-22 21:52:08.000000000 +0200
+++ mdf2iso.new/src/mdf2iso.c 2005-07-31 19:41:56.000000000 +0200
@@ -1,4 +1,4 @@
- /* $Id: mdf2iso.c, 22/05/05
+/* $Id: mdf2iso.c, 22/05/05
Copyright (C) 2004,2005 Salvatore Santagati <salvatore.santagati@gmail.com>
@@ -16,19 +16,14 @@
along with this program; if not, write to the
Free Software Foundation, Inc.,
59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
- */
+*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <errno.h>
-#define VERSION "0.3.0"
-
-/* Support Large File */
-
-#define _FILE_OFFSET_BITS 64
-
+#define VERSION "0.3.1"
const char SYNC_HEADER[12] = { (char) 0x00,
@@ -83,14 +78,21 @@
(char) 0x00
};
+#define ISO9660 0
+#define SYNC 1
+#define SYNC_MDF 2
+#define MDF_AUDIO 3
+#define UNKNOWN -1
-void
-toc_file (char *destfilename, int sub)
+int toc_file (char *destfilename, int sub)
{
- char destfiletoc[1024], destfiledat[1024];
+ int ret=0;
+ char *destfiletoc;
+ char *destfiledat;
FILE *ftoc;
- strcpy (destfiletoc, destfilename);
- strcpy (destfiledat, destfilename);
+
+ destfiletoc=strdup(destfilename);
+ destfiledat=strdup(destfilename);
strcpy (destfiletoc + strlen (destfilename) - 4, ".toc");
strcpy (destfiledat + strlen (destfilename) - 4, ".dat");
@@ -100,11 +102,8 @@
fprintf (ftoc, "// Track 1\n");
fprintf (ftoc, "TRACK MODE1_RAW");
- if (sub == 1)
- fprintf (ftoc, " RW_RAW\n");
-
- else
- fprintf (ftoc, "\n");
+ if (sub == 1) fprintf (ftoc, " RW_RAW\n");
+ else fprintf (ftoc, "\n");
fprintf (ftoc, "NO COPY\n");
fprintf (ftoc, "DATAFILE \"%s\"\n", destfiledat);
@@ -114,26 +113,27 @@
}
else
{
- printf ("%s\n", strerror (errno));
- exit (EXIT_FAILURE);
+ printf ("Error opening %s for output: %s\n",destfiletoc,strerror(errno));
+ ret=-1;
};
-
+ free(destfiletoc);
+ free(destfiledat);
+ return ret;
}
-int
-number_file (char *destfilename)
+/*
+int number_file (char *destfilename)
{
int i = 1, test_mdf = 0;
int n_mdf;
char mdf[2], destfilemdf[2354];
FILE *fsource;
+
strcpy (destfilemdf, destfilename);
strcpy (destfilemdf + strlen (destfilename) - 1, ".0");
for (i = 0; test_mdf == 0; i++)
-
{
if ((fsource = fopen (destfilemdf, "rb")) != NULL)
-
{
printf ("\nCheck : ");
sprintf (mdf, "md%d", i);
@@ -141,203 +141,219 @@
printf ("%s, ", destfilemdf);
fclose (fsource);
}
-
else
{
test_mdf = 1;
}
- };
+ }
printf ("\r \n");
n_mdf = i - 1;
return (n_mdf);
}
+*/
-void
-cuesheets (char *destfilename)
+int cuesheets (char *destfilename)
{
- char destfilecue[1024], destfilebin[1024];
+ int ret=0;
+ char *destfilecue;
+ char *destfilebin;
FILE *fcue;
- strcpy (destfilecue, destfilename);
- strcpy (destfilebin, destfilename);
+
+ destfilecue=strdup(destfilename);
+ destfilebin=strdup(destfilename);
strcpy (destfilecue + strlen (destfilename) - 4, ".cue");
strcpy (destfilebin + strlen (destfilename) - 4, ".bin");
- fcue = fopen (destfilecue, "w");
+ if ((fcue = fopen (destfilecue, "w"))!=NULL)
+ {
fprintf (fcue, "FILE \"%s\" BINARY\n", destfilebin);
fprintf (fcue, "TRACK 1 MODE1/2352\n");
fprintf (fcue, "INDEX 1 00:00:00\n");
rename (destfilename, destfilebin);
printf ("Create Cuesheets : %s\n", destfilecue);
fclose (fcue);
+ }
+ else
+ {
+ printf ("Error opening %s for output: %s\n",destfilecue,strerror(errno));
+ ret=-1;
+ }
+ return ret;
}
-void
-main_percent (int percent_bar)
+int previous_percent=-1;
+void main_percent (int percent_bar)
+// Prints a progress bar, takes a percentage as argument.
{
- int progress_bar, progress_space;
+ //int progress_bar, progress_space;
+
+ if (percent_bar==previous_percent) return; // Nothing changed, don't waste CPU cycles.
+
+ printf("%3d%% [:%.*s>%.*s:]\r",percent_bar,20-(percent_bar/5)," ",
+ percent_bar/5,"====================");
+ /*
printf ("%d%% [:", percent_bar);
- for (progress_bar = 1; progress_bar <= (int) (percent_bar / 5);
- progress_bar++)
+ for (progress_bar = 1; progress_bar <= (int) (percent_bar / 5); progress_bar++)
printf ("=");
printf (">");
- for (progress_space = 0; progress_space < (20 - progress_bar);
- progress_space++)
- printf (" ");
+ for (; progress_bar <= 20; ++progress_bar) printf (" ");
printf (":]\r");
+ */
}
-void
-usage ()
+void usage ()
+// Prints the command line syntax
{
- printf ("mdf2iso v%s by Salvatore Santagati\n", VERSION);
- printf ("Web : http//mdf2iso.berlios.de\n");
- printf ("Email : salvatore.santagati@gmail.com\n");
- printf ("Irc : irc.freenode.net #ignus\n");
- printf ("Note : iodellavitanonhocapitouncazzo\n");
- printf ("License : released under the GNU GPL v2 or later\n\n");
+ printf (" Web : http//mdf2iso.berlios.de\n");
+ printf (" Email : salvatore.santagati@gmail.com\n");
+ printf (" Irc : irc.freenode.net #ignus\n");
+ printf (" Note : iodellavitanonhocapitouncazzo\n\n");
printf ("Usage :\n");
- printf ("mdf2iso [OPTION] [BASENAME.MDF] [DESTINATION]\n\n");
- printf ("OPTION\n");
- printf ("\t--toc Generate toc file\n");
- printf ("\t--cue Generate cue file\n");
- printf ("\t--help display this notice\n\n");
+ printf ("mdf2iso [--cue|--toc|--help] <sourcefile> [destfile]\n\n");
+ printf ("Options:\n");
+ printf (" --toc Generate toc/dat files\n");
+ printf (" --cue Generate cue/bin files\n");
+ printf (" --help Display this notice\n");
+ printf (" sourcefile\tFilename of the .mdf file to be converted\n");
+ printf (" destfile\tFilename of the target ISO9660 file.\n"\
+ "\t\tIf none given, one is derived from sourcefile.\n\n");
}
-int
-main (int argc, char **argv)
+char mdftype(FILE *f)
+/* returns
+ -1 for unknown
+ 0 for ISO9660
+ 1 for SYNC
+ 2 for SYNC MDF
+ 3 for MDF Audio
+ (see #defines above)
+*/
{
- int seek_ecc, sector_size, seek_head, sector_data, n_mdf;
+ char buf[12];
+
+ fseek(f, 32768, SEEK_SET);
+ fread(buf, sizeof (char), 8, f);
+ if (!memcmp (ISO_9660, buf, 8)) return ISO9660; // File is ISO9660
+
+ fseek(f, 0L, SEEK_SET);
+ fread(buf, sizeof (char), 12, f);
+
+ fseek (f, 2352, SEEK_SET);
+
+ if (!memcmp (SYNC_HEADER, buf, 12)) // Has SYNC_HEADER
+ {
+ fread (buf, sizeof (char), 12, f);
+ if (!memcmp (SYNC_HEADER_MDF, buf, 12)) return SYNC_MDF; // File is SYNC MDF
+ if (!memcmp (SYNC_HEADER, buf, 12)) return SYNC; // File is SYNC
+ }
+ else // Does not have SYNC_HEADER
+ {
+ fread(buf, sizeof (char), 12, f);
+ if (!memcmp (SYNC_HEADER_MDF_AUDIO, buf, 12)) return MDF_AUDIO; // File is MDF Audio
+ }
+
+ // Reached a point where nothing else matters.
+ return UNKNOWN; // Unknown format
+}
+
+
+// === Main program code ===
+
+int main (int argc, char **argv)
+{
+ int seek_ecc, sector_size, seek_head, sector_data;//, n_mdf;
int cue = 0, cue_mode = 0, sub = 1, toc = 0, sub_toc = 0;
int opts = 0;
- double size_iso, write_iso;
- long percent = 0;
- long i, source_length, progressbar;
- char buf[2448], destfilename[2354];
+ long i, source_length;
+ char buf[2448];
+ char *destfilename=NULL;
+ char *basefilename=NULL;
FILE *fdest, *fsource;
+ // Print identification
+ printf ("mdf2iso v%s by Salvatore Santagati\n", VERSION);
+ printf ("Licensed under GPL v2 or later\n");
- if (argc < 2)
+ // *** Process command line options ***
+
+ if (argc < 2)
{
- usage ();
- exit (EXIT_FAILURE);
+ // Not enough parameters; print help
+ usage();
+ exit(EXIT_FAILURE);
}
- else
-
- {
+ // Search for options --cue and --toc
for (i = 0; i < argc; i++)
-
{
-
if (!strcmp (argv[i], "--help"))
-
{
usage ();
exit (EXIT_SUCCESS);
}
if (!strcmp (argv[i], "--cue"))
-
{
cue = 1;
opts++;
}
if (!strcmp (argv[i], "--toc"))
-
{
toc = 1;
opts++;
}
}
- if ((cue == 1) && (toc == 1))
-
- {
- usage ();
- exit (EXIT_FAILURE);
- }
- if ((opts == 1) && (argc <= 2))
-
+ // Catch impossible parameter combinations
+ if (((cue == 1) && (toc == 1)) ||
+ ((opts == 1) && (argc <= 2)))
{
- usage ();
- exit (EXIT_FAILURE);
+ usage();
+ exit(EXIT_FAILURE);
}
+ // Get the base filename
+ basefilename=argv[1+opts]; // simple pointer, but makes life easier.
+ // Get the destination filename
if (argc >= (3 + opts))
- strcpy (destfilename, argv[2 + opts]);
-
- else
-
- {
- strcpy (destfilename, argv[1 + opts]);
- if (strlen (argv[1 + cue]) < 5
- || strcmp (destfilename + strlen (argv[1 + opts]) - 4, ".mdf"))
- strcpy (destfilename + strlen (argv[1 + opts]), ".iso");
-
+ // The destination filename is explicitly entered at the prompt
+ destfilename=strdup(argv[2 + opts]);
else
- strcpy (destfilename + strlen (argv[1 + opts]) - 4, ".iso");
- }
- if ((fsource = fopen (argv[1 + opts], "rb")) != NULL)
-
{
- fseek (fsource, 32768, SEEK_CUR);
- fread (buf, sizeof (char), 8, fsource);
- if (memcmp (ISO_9660, buf, 8))
-
+ // Derive destination filename from the basename:
+ // If basename is "*.mdf" use "*.iso" als destname
+ // otherwise simply append ".iso" to the basename to create destname.
+ destfilename=strdup(basefilename);
+ i=strlen(destfilename); // Reusing 'i' here as temporary variable
+ if (i < 5 || strcmp(destfilename + i - 4, ".mdf"))
{
- fseek (fsource, 0L, SEEK_SET);
- fread (buf, sizeof (char), 12, fsource);
- if (!memcmp (SYNC_HEADER, buf, 12))
-
- {
- fseek (fsource, 0L, SEEK_SET);
- fseek (fsource, 2352, SEEK_CUR);
- fread (buf, sizeof (char), 12, fsource);
- if (!memcmp (SYNC_HEADER_MDF, buf, 12))
-
- {
- if (cue == 1)
- {
- cue_mode = 1;
-
- /* BAD SECTOR TO NORMAL IMAGE */
- seek_ecc = 96;
- sector_size = 2448;
- sector_data = 2352;
- seek_head = 0;
- }
-
- else if (toc == 0)
-
- {
-
- /*BAD SECTOR */
- seek_ecc = 384;
- sector_size = 2448;
- sector_data = 2048;
- seek_head = 16;
+ destfilename=realloc(destfilename,i+5);
+ strcat(destfilename, ".iso");
}
-
else
-
- {
-
- /*BAD SECTOR */
- seek_ecc = 0;
- sector_size = 2448;
- sector_data = 2448;
- seek_head = 0;
- sub_toc = 1;
- }
+ strcpy(destfilename + i - 3, "iso");
}
- else
+ // *** Preprocess basefile ***
+ // Try opening basefile
+ if ((fsource = fopen(basefilename, "rb")) == NULL)
{
- if (!memcmp (SYNC_HEADER, buf, 12))
+ free(destfilename);
+ printf ("Could not open %s: %s\n", basefilename, strerror(errno));
+ exit (EXIT_FAILURE);
+ }
+ // Determine filetype & set some stuff accordingly (or exit)
+ switch (mdftype(fsource))
{
+ case ISO9660:
+ printf("%s is already ISO9660.\n",basefilename);
+ fclose(fsource);
+ free(destfilename);
+ exit(EXIT_SUCCESS);
+ case SYNC:
if (cue == 1)
{
cue_mode = 1;
@@ -348,129 +364,134 @@
seek_head = 0;
}
if (toc == 0)
-
{
-
/*NORMAL IMAGE */
seek_ecc = 288;
sector_size = 2352;
sector_data = 2048;
seek_head = 16;
}
-
else
-
{
seek_ecc = 0;
sector_size = 2352;
sector_data = 2352;
seek_head = 0;
}
- }
-
- else
-
- {
- printf ("Sorry I don't know this format :(\n");
- exit (EXIT_FAILURE);
- }
- }
- }
-
- else
-
+ break;
+ case SYNC_MDF:
+ if (cue == 1)
{
- fseek (fsource, 0L, SEEK_SET);
- fseek (fsource, 2352, SEEK_CUR);
- fread (buf, sizeof (char), 12, fsource);
- if (memcmp (SYNC_HEADER_MDF_AUDIO, buf, 12))
+ cue_mode = 1;
+ /* BAD SECTOR TO NORMAL IMAGE */
+ seek_ecc = 96;
+ sector_size = 2448;
+ sector_data = 2352;
+ seek_head = 0;
+ }
+ else if (toc == 0)
{
- printf ("Sorry I don't know this format :(\n");
- exit (EXIT_FAILURE);
+ /*BAD SECTOR */
+ seek_ecc = 384;
+ sector_size = 2448;
+ sector_data = 2048;
+ seek_head = 16;
}
-
else
-
{
-
+ /*BAD SECTOR */
+ seek_ecc = 0;
+ sector_size = 2448;
+ sector_data = 2448;
+ seek_head = 0;
+ sub_toc = 1;
+ }
+ break;
+ case MDF_AUDIO:
/*BAD SECTOR AUDIO */
seek_head = 0;
sector_size = 2448;
seek_ecc = 96;
sector_data = 2352;
cue = 0;
+ break;
+ default:printf("Unknown format for %s.\n",basefilename);
+ fclose(fsource);
+ free(destfilename);
+ exit (EXIT_FAILURE);
}
- }
- if ((fdest = fopen (destfilename, "wb")) != NULL);
- else
+ // *** Create destination file ***
+
+ // Try opening the destination file for output
+ if ((fdest = fopen (destfilename, "wb")) == NULL)
{
- printf ("%s\n", strerror (errno));
+ printf ("Unable to open %s for output: %s\n",destfilename,strerror(errno));
+ free(destfilename);
+ fclose(fsource);
exit (EXIT_FAILURE);
- };
+ }
+
+
fseek (fsource, 0L, SEEK_END);
source_length = ftell (fsource) / sector_size;
- size_iso = (int) (source_length * sector_data);
- progressbar = 100 / source_length;
fseek (fsource, 0L, SEEK_SET);
-
{
for (i = 0; i < source_length; i++)
-
{
fseek (fsource, seek_head, SEEK_CUR);
- if (fread (buf, sizeof (char), sector_data, fsource));
-
- else
+ if (fread(buf, sizeof (char), sector_data, fsource)!=sector_data)
{
- printf ("%s\n", strerror (errno));
+ printf ("Error reading from %s: %s\n",basefilename, strerror (errno));
+ fclose(fsource);
+ fclose(fdest);
+ remove(destfilename);
+ free(destfilename);
exit (EXIT_FAILURE);
- };
- if (fwrite (buf, sizeof (char), sector_data, fdest));
-
- else
+ }
+ if (fwrite (buf, sizeof (char), sector_data, fdest)!=sector_data)
{
- printf ("%s\n", strerror (errno));
+ printf ("Error writing to %s: %s\n",destfilename, strerror (errno));
+ fclose(fsource);
+ fclose(fdest);
+ remove(destfilename);
+ free(destfilename);
exit (EXIT_FAILURE);
- };
+ }
fseek (fsource, seek_ecc, SEEK_CUR);
- write_iso = (int) (sector_data * i);
- if (i != 0)
- percent = (int) (write_iso * 100 / size_iso);
- main_percent (percent);
- }} printf ("100%%[:====================:]\n");
+ main_percent(i*100/source_length);
+ }
+ } printf ("100%% [:=====================:]\n");
fclose (fsource);
fclose (fdest);
- if (cue == 1)
- cuesheets (destfilename);
- if (toc == 1)
- toc_file (destfilename, sub_toc);
+ // *** create Toc or Cue file is requested ***
+ if (cue == 1) if (cuesheets(destfilename))
+ {
+ free(destfilename);
+ exit(EXIT_FAILURE);
+ }
+ if (toc == 1) if (toc_file(destfilename, sub_toc))
+ {
+ free(destfilename);
+ exit(EXIT_FAILURE);
+ }
if ((toc == 0) && (cue == 0))
- printf ("Create iso9660: %s\n", destfilename);
+ printf("Created iso9660: %s\n", destfilename);
+
+ free(destfilename);
exit (EXIT_SUCCESS);
- }
- else
- printf ("This is file iso9660 ;)\n");
+/*
n_mdf = number_file (destfilename) - 1;
- /* if (n_mdf > 1)
-
+ / * if (n_mdf > 1)
{
printf ("\rDetect %d md* file and now emerge this\n", n_mdf);
}
- */
+ * /
fclose (fsource);
- exit (EXIT_SUCCESS);
- }
-
- else
- {
- printf ("%s\n", strerror (errno));
- exit (EXIT_FAILURE);
- };
- }
+ exit (EXIT_SUCCESS);*/
}


+ 0
- 28
app-cdr/mdf2iso/mdf2iso-0.3.0-r1.ebuild View File

@@ -1,28 +0,0 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

inherit eutils toolchain-funcs

DESCRIPTION="Alcohol 120% bin image to ISO image file converter"
HOMEPAGE="http://mdf2iso.berlios.de/"
SRC_URI="http://download.berlios.de/${PN}/${P}-src.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE=""
DEPEND="virtual/libc"
RDEPEND="virtual/libc"

S=${WORKDIR}/${PN}

src_unpack() {
unpack ${A}
cd "${S}"

epatch "${FILESDIR}"/${P}-bigfiles.patch
}

src_install() {
dodoc ChangeLog
dobin src/${PN} || die "dobin failed"
}

+ 0
- 2
app-misc/nixnote/Manifest View File

@@ -1,2 +0,0 @@
DIST nixnote-1.6_amd64.tar.gz 53989217 SHA256 781f8b9cbe3e1137b62d4dbb76670b3e2d5a20403b04b3767e03a2e89dba860e SHA512 5c56bbc8b59be57437aa145c4414a2967ec6afe41372d399e2ca9934ab11d07559721ab860118f02e5b7ccc4c79232f7dc7761a9f5dfedd0c2ef44189b1fa57c WHIRLPOOL 0a230ba543ef0351a41b444cc64399ba00b6b0aea69f54f91bdc60f149693dee2872d961ac923faf621228bd4b6df2224db44aede3bc7c988f01f10b83b495b3
DIST nixnote-1.6_i386.tar.gz 53529229 SHA256 50be711e33d37fd43590845718e5e5710cc48a5f7f745df8990b0f792da3a7da SHA512 d051df6ed2902c129e883243e30ce5496b5694fe1f41d89d24b0214425797309233c0d066fe251fb38ca64dc8ae5b13057ed4f887e1d365d842a5fd3a001515f WHIRLPOOL f522a5e2c97c94ee82dede5077f13d95016249563ba06b8145356a9aea99f1370a8f52dadabbd210cd96dee020c90fb959c01f7265157c973578a801c0a6761a

+ 0
- 26
app-misc/nixnote/nixnote-1.6.ebuild View File

@@ -1,26 +0,0 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=2

inherit eutils

DESCRIPTION="An open source Evernote clone"
HOMEPAGE="http://nevernote.sourceforge.net/index.htm"
SRC_URI="x86? ( mirror://sourceforge/nevernote/${P}_i386.tar.gz )
amd64? ( mirror://sourceforge/nevernote/${P}_amd64.tar.gz )"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE=""

DEPEND=""
RDEPEND=">=virtual/jdk-1.5
media-libs/libpng:1.2"

S="${PN}"
src_install() {
cp -rf "${S}/usr" "${D}/"
}

+ 0
- 57
app-misc/stderred/stderred-9999.ebuild View File

@@ -1,57 +0,0 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=4

inherit eutils

if [[ ${PV} == "9999" ]] ; then
EGIT_REPO_URI=${EGIT_REPO_URI:-"git://github.com/albinoloverats/stderred.git"}
inherit git-r3
KEYWORDS=""
else
SRC_URI=""
KEYWORDS="-* ~x86 ~amd64"
fi

DESCRIPTION="Standard error output colorizer"

HOMEPAGE="https://github.com/albinoloverats/stderred"

SLOT="0"

LICENSE="GPL-3"

IUSE=""

DEPEND=""

RDEPEND="${DEPEND}"

src_prepare() {
if [[ ${PV} == "9999" ]] ; then
# Allow user patches to be applied without modifying the ebuild
epatch_user
fi
}

src_compile() {
if [[ amd64 == ${ARCH} ]]; then
make both
else
make lib/stderred
fi
}

src_install() {
if [[ amd64 == ${ARCH} ]]; then
install -d ${D}//usr/lib32
install -d ${D}//usr/lib64
install lib64/*.so ${D}/usr/lib64
install lib/*.so ${D}/usr/lib32
else
install -d ${D}//usr/lib32
install lib/*.so ${D}/usr/lib32
fi
}

+ 0
- 3
app-pda/libimobiledevice/Manifest View File

@@ -1,3 +0,0 @@
AUX Manifest.gentoo 165 SHA256 9992ec903f5b2405f540ebb22431614d13a31f6d15528f529255cf3e9ca6faee SHA512 13ddbcd9ccbf881dbe9c3f00cbedc192eb71d23109cc170d4a1c1e5fe88cb4e847da2aa014e3a7b75f75cbb74c5cd07a5ccbdedeebeedb8562c8c953a42832b7 WHIRLPOOL 8fa3469433a8d68294fad0c9fabde49306426c25f424b7bdc3e32f1fe6325d9dd1a18dd3ac93707c3e4eb595204e2395baf9c6d65eafa9e4e70381c1b8461661
AUX Manifest.gentoo_prefix 165 SHA256 9992ec903f5b2405f540ebb22431614d13a31f6d15528f529255cf3e9ca6faee SHA512 13ddbcd9ccbf881dbe9c3f00cbedc192eb71d23109cc170d4a1c1e5fe88cb4e847da2aa014e3a7b75f75cbb74c5cd07a5ccbdedeebeedb8562c8c953a42832b7 WHIRLPOOL 8fa3469433a8d68294fad0c9fabde49306426c25f424b7bdc3e32f1fe6325d9dd1a18dd3ac93707c3e4eb595204e2395baf9c6d65eafa9e4e70381c1b8461661
EBUILD libimobiledevice-9999.ebuild 1418 SHA256 d38712e85fafd38943fc7bfdbc56b006f601ca1fc6e6b662c46acaf5f770ff77 SHA512 1944a133b5960496b35728d1a5cd5c7dfb9b8519a9d4c7e96d3cbc9e0304f908c8d6831c8ef35613606d658b5829e4e46c9278494c34aa6bbbf5f0789ab9182f WHIRLPOOL 7ad7c94115c5b75f9b970e3a72113aa2a155276834205a373d492020bf08f0bf77608411f7e8f0a4646692788605f556a1157fe9ac137aec0ec6bc1ad0e0fbdd

+ 0
- 3
app-pda/libimobiledevice/files/Manifest.gentoo View File

@@ -1,3 +0,0 @@
files/gnutls-3.4.patch 71ed420e0565af28d038ddff8781165a
libimobiledevice-1.2.0.ebuild a9921545e8da7a755da065dab7efb93f
metadata.xml cb5d9bdaca573f38e988891b59c0ec8e

+ 0
- 3
app-pda/libimobiledevice/files/Manifest.gentoo_prefix View File

@@ -1,3 +0,0 @@
files/gnutls-3.4.patch 71ed420e0565af28d038ddff8781165a
libimobiledevice-1.2.0.ebuild a9921545e8da7a755da065dab7efb93f
metadata.xml cb5d9bdaca573f38e988891b59c0ec8e

+ 0
- 62
app-pda/libimobiledevice/libimobiledevice-9999.ebuild View File

@@ -1,62 +0,0 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: app-pda/libimobiledevice/libimobiledevice-9999.ebuild,v 1.0 2013/10/31 16:38:49 srcs Exp $

EAPI=5
PYTHON_COMPAT=( python2_7 )
EGIT_MASTER="master"
inherit autotools eutils git-2 python-r1 multilib

DESCRIPTION="Support library to communicate with Apple iPhone/iPod Touch devices"
HOMEPAGE="http://www.libimobiledevice.org/"
SRC_URI=""
EGIT_REPO_URI="https://github.com/libimobiledevice/libimobiledevice.git"

LICENSE="GPL-2 LGPL-2.1"
SLOT="0/6"
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
IUSE="gnutls python"

RDEPEND=">=app-pda/libplist-1.10[python?,${PYTHON_USEDEP}]
>=app-pda/libusbmuxd-1.0.9
gnutls? (
dev-libs/libgcrypt
>=dev-libs/libtasn1-1.1
>=net-libs/gnutls-2.2.0
)
!gnutls? ( dev-libs/openssl:0 )"
DEPEND="${RDEPEND}
virtual/pkgconfig
python? (
${PYTHON_DEPS}
>=dev-python/cython-0.17[${PYTHON_USEDEP}]
)"

DOCS=( AUTHORS NEWS README )

pkg_setup() {
# Prevent linking to the installed copy
if has_version "<${CATEGORY}/${P}"; then
rm -f "${EROOT}"/usr/$(get_libdir)/${PN}$(get_libname)
fi
}

src_prepare() {
eautoreconf
}

src_configure() {
use python && python_export_best

local myconf
use gnutls && myconf='--disable-openssl'
use python || myconf+=' --without-cython'

econf --disable-static ${myconf}
}

src_install() {
default

prune_libtool_files --all
}

+ 0
- 1
dev-lang/gnu-smalltalk/Manifest View File

@@ -1 +0,0 @@
DIST smalltalk-3.2.5.tar.gz 5779293 SHA256 06e574e818ec49f0555d948ae53b1453d8c1df59ef597dad911a4fd1ffba1cce SHA512 385e5fba2acb8870759e5178282210c09c45685d0cf776bc50f4ed10c9afacf9164547ba8099ea3ed9a92a2a253aa9c2b011a7a9f2dff47ea9cfdf3b42029ebc WHIRLPOOL 3c7f1bd451eae1372d06196e1dc8408a83d8a717e67f09be4b6172d0243bca71a11d298ac9e5946a2599c6322b2ef7c204fd54d41c818151661c04af4aa89f08

+ 0
- 7
dev-lang/gnu-smalltalk/files/50gnu-smalltalk-gentoo.el View File

@@ -1,7 +0,0 @@

;;; gnu-smalltalk site-lisp configuration

(add-to-list 'load-path "@SITELISP@")
(autoload 'smalltalk-mode "smalltalk-mode" "Autoload for smalltalk-mode" t)
(autoload 'gst "gst-mode" "Autoload for gst" t)
(add-to-list 'auto-mode-alist '("\\.st\\'" . smalltalk-mode))

+ 0
- 69
dev-lang/gnu-smalltalk/gnu-smalltalk-3.2.5.ebuild View File

@@ -1,69 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/gnu-smalltalk/gnu-smalltalk-3.2.5.ebuild,v 1.4 2012/06/06 03:07:09 zmedico Exp $

EAPI="3"

inherit elisp-common flag-o-matic eutils multilib

DESCRIPTION="GNU Smalltalk"
HOMEPAGE="http://smalltalk.gnu.org"
SRC_URI="mirror://gnu/smalltalk/smalltalk-${PV}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="tk readline emacs gtk gmp"

DEPEND="app-arch/zip
sys-libs/gdbm
sys-apps/debianutils
dev-libs/libsigsegv
virtual/libffi
emacs? ( virtual/emacs )
readline? ( sys-libs/readline )
tk? ( dev-lang/tk )
gtk? ( =x11-libs/gtk+-2* )
gmp? ( dev-libs/gmp )"
RDEPEND=""

S="${WORKDIR}/smalltalk-${PV}"

SITEFILE=50gnu-smalltalk-gentoo.el

src_configure() {
replace-flags '-O3' '-O2'
econf \
--libdir=/usr/$(get_libdir) \
--with-system-libsigsegv \
--with-system-libffi \
--with-system-libltdl \
$(use_with emacs emacs) \
$(use_with readline readline) \
$(use_with gmp gmp) \
$(use_with tk tcl /usr/$(get_libdir)) \
$(use_with tk tk /usr/$(get_libdir)) \
$(use_enable gtk gtk)
}

src_compile() {
emake || die "emake failed"
use emacs && elisp-compile *.el
}

src_install() {
emake DESTDIR="${D}" install || die
dodoc AUTHORS COPYING* ChangeLog NEWS README THANKS TODO
if use emacs; then
elisp-install "${PN}" *.el *.elc
elisp-site-file-install "${FILESDIR}/${SITEFILE}"
fi
fperms 0444 /usr/share/smalltalk/packages.xml
}

pkg_postinst() {
use emacs && elisp-site-regen
}

pkg_postrm() {
use emacs && elisp-site-regen
}

+ 0
- 14
dev-lang/gnu-smalltalk/metadata.xml View File

@@ -1,14 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer>
<email>pchrist@gentoo.org</email>
</maintainer>
<longdescription>
GNU Smalltalk is a free implementation of the Smalltalk-80
language which runs on most versions on Unix and, in general,
everywhere you can find a POSIX-compliance library. An uncommon
feature of it is that it is well-versed to scripting tasks and
headless processing.
</longdescription>
</pkgmetadata>

+ 0
- 3
dev-lang/vala/Manifest View File

@@ -1,4 +1 @@
DIST vala-0.38.8.tar.xz 3405060 SHA256 2fa746b51cd66e43577d1da06a80b708c2875cadaafee77e9700ea35cf23882c SHA512 de4e2d3d5fbe610a6ff4c42ab006ace803d2d90fe55a9c73262c4cda4e8bd352e010c6dcc8652bf439ae220b3090a8792eab55f70e296f62992cdb8ea23a6212 WHIRLPOOL 777b37e59d5a4b42a51cf217d0f4f7b1c860d0f506582856b1cd4d45de2da5adc01195306e32b40dfc7c6a4cebf87438bc4bb741f56d0b7706ea1ada84ab3bb7
DIST vala-0.39.7.tar.xz 3311764 SHA256 a54ec96125fdb63dbf96a8a3a65df41fdd88a617c1354088b5e10f8f0c89914d SHA512 5a801ed93af1cbe6c4739f6ed114ba7d598a537983b34f0e288304919d890f83e2f8658f1aa019670162382ec47fc4489e0aec2187b00ee3f6ddd494e0eb2068 WHIRLPOOL ff8950bd857ced4b408961930b049acf025b8249ee1a3ee76146d8fdc57e99acee0150636542794f7dc393afef452b040d2cb7ac0ebd7e3ecd9668a2cd761ead
DIST vala-0.40.4.tar.xz 3346216 SHA256 379354a2a2f7ee5c4d6e0f5e88b0e32620dcd5f51972baf6d90d9f18eb689198 SHA512 e8d2b02981e2a14ac1d336fa2e8d8d6ae5c207ad8991abfab135d06b2cef823966cca21bb7881257b80b7429738d11d9639b10b8a7031cef8f14f5d72b631af7 WHIRLPOOL 8c8ac76a62bf89603eccc8c3712e68e1af544b7f2401400867e28b19ac8bc7c02d6ab3e6fc4129095c0ab22cada3edfe52bd0d72ed849db5df6b46a06c3ee165
DIST vala-0.40.6.tar.xz 3351248 SHA256 6da450f1a73e0f1e17506e68cce5b9e8996349e576d3f8cb6b0b73ee22e44be2 SHA512 08d609d0a3e7acbf09eb720d19e2a6869be32a57f41e8c2c0f175712ed89f927e33d6080bc62b4eddeda586d720b0b17635828633fe0787b903c6b7b6354b6a5 WHIRLPOOL 0d9808f172347f42ab0429fc1f7c8670e4cf23823a20beafbf39b90eea7bd1b78f94c7fceb716974ad38fba9241001f1d6a929aa361ea4406ed3ce1352487da1

+ 0
- 43
dev-lang/vala/vala-0.38.8.ebuild View File

@@ -1,43 +0,0 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6
inherit gnome2

DESCRIPTION="Compiler for the GObject type system"
HOMEPAGE="https://wiki.gnome.org/Projects/Vala"

LICENSE="LGPL-2.1"
SLOT="0.38"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~arm-linux ~x86-linux"
IUSE="test"

RDEPEND="
>=dev-libs/glib-2.32:2
>=dev-libs/vala-common-${PV}
"
DEPEND="${RDEPEND}
!${CATEGORY}/${PN}:0
dev-libs/libxslt
sys-devel/flex
virtual/pkgconfig
virtual/yacc
test? (
dev-libs/dbus-glib
>=dev-libs/glib-2.26:2 )
>=media-gfx/graphviz-2.40.1
"

src_configure() {
gnome2_src_configure --disable-unversioned
}

src_install() {
emake DESTDIR="${D}" install
dosym /usr/bin/vala-"${SLOT}" /usr/bin/vala
dosym /usr/bin/vala-gen-introspect-"${SLOT}" /usr/bin/vala-gen-introspect
dosym /usr/bin/valac-"${SLOT}" /usr/bin/valac
dosym /usr/bin/valadoc-"${SLOT}" /usr/bin/valadoc
dosym /usr/bin/vapicheck-"${SLOT}" /usr/bin/vapicheck
dosym /usr/bin/vapigen-"${SLOT}" /usr/bin/vapigen
}

+ 0
- 46
dev-lang/vala/vala-0.39.7.ebuild View File

@@ -1,46 +0,0 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6
inherit gnome2

DESCRIPTION="Compiler for the GObject type system"
HOMEPAGE="https://wiki.gnome.org/Projects/Vala"

LICENSE="LGPL-2.1"
SLOT="0.40"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~arm-linux ~x86-linux"
IUSE="test"

RDEPEND="
>=dev-libs/glib-2.32:2
>=dev-libs/vala-common-${PV}
"

#TODO: slot install is a bit broken
DEPEND="${RDEPEND}
!${CATEGORY}/${PN}:0
dev-libs/libxslt
sys-devel/flex
virtual/pkgconfig
virtual/yacc
test? (
dev-libs/dbus-glib
>=dev-libs/glib-2.26:2 )
>=media-gfx/graphviz-2.40.1
!dev-lang/vala:0.38
"

src_configure() {
gnome2_src_configure --disable-unversioned
}

src_install() {
emake DESTDIR="${D}" install
dosym /usr/bin/vala-"${SLOT}" /usr/bin/vala
dosym /usr/bin/vala-gen-introspect-"${SLOT}" /usr/bin/vala-gen-introspect
dosym /usr/bin/valac-"${SLOT}" /usr/bin/valac
dosym /usr/bin/valadoc-"${SLOT}" /usr/bin/valadoc
dosym /usr/bin/vapicheck-"${SLOT}" /usr/bin/vapicheck
dosym /usr/bin/vapigen-"${SLOT}" /usr/bin/vapigen
}

+ 0
- 48
dev-lang/vala/vala-0.40.4.ebuild View File

@@ -1,48 +0,0 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6
inherit gnome2

DESCRIPTION="Compiler for the GObject type system"
HOMEPAGE="https://wiki.gnome.org/Projects/Vala"

SRC_URI="https://download.gnome.org/sources/vala/0.40/vala-${PV}.tar.xz"

LICENSE="LGPL-2.1"
SLOT="0.40"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~arm-linux ~x86-linux"
IUSE="test"

RDEPEND="
>=dev-libs/glib-2.32:2
>=dev-libs/vala-common-${PV}
"

#TODO: slot install is a bit broken
DEPEND="${RDEPEND}
!${CATEGORY}/${PN}:0
dev-libs/libxslt
sys-devel/flex
virtual/pkgconfig
virtual/yacc
test? (
dev-libs/dbus-glib
>=dev-libs/glib-2.26:2 )
>=media-gfx/graphviz-2.40.1
!dev-lang/vala:0.38
"

src_configure() {
gnome2_src_configure --disable-unversioned
}

src_install() {
emake DESTDIR="${D}" install
dosym /usr/bin/vala-"${SLOT}" /usr/bin/vala
dosym /usr/bin/vala-gen-introspect-"${SLOT}" /usr/bin/vala-gen-introspect
dosym /usr/bin/valac-"${SLOT}" /usr/bin/valac
dosym /usr/bin/valadoc-"${SLOT}" /usr/bin/valadoc
dosym /usr/bin/vapicheck-"${SLOT}" /usr/bin/vapicheck
dosym /usr/bin/vapigen-"${SLOT}" /usr/bin/vapigen
}

+ 0
- 1
dev-libs/libgee/Manifest View File

@@ -1 +0,0 @@
DIST libgee-0.20.0.tar.xz 678972 SHA256 21308ba3ed77646dda2e724c0e8d5a2f8d101fb05e078975a532d7887223c2bb SHA512 c01611ed34862888fa038111010ec9899465f43423c9c90a18050dc0b0c2a53cf0fe3c7affcbdee91e225622ccbfa08bfd0c08f0eb7935611b3d461b5b919e66 WHIRLPOOL eed68ca240309dc06576dfc03185d74087c6437eb1a2bf6ed291a2448bd3e4b997ccd111796bb05a057748ede3c22880917bba758612690ec6d823001865dfb0

+ 0
- 29
dev-libs/libgee/libgee-0.20.0.ebuild View File

@@ -1,29 +0,0 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6

inherit gnome2

DESCRIPTION="GObject-based interfaces and classes for commonly used data structures"
HOMEPAGE="https://wiki.gnome.org/Projects/Libgee"

LICENSE="LGPL-2.1+"
SLOT="0.8/2"
KEYWORDS="alpha amd64 arm ~arm64 ia64 ppc ppc64 ~sh sparc x86 ~x86-linux"
IUSE="+introspection"

# FIXME: add doc support, requires valadoc
RDEPEND="
>=dev-libs/glib-2.36:2
introspection? ( >=dev-libs/gobject-introspection-0.9.6:= )
"
DEPEND="${RDEPEND}
virtual/pkgconfig
"

src_configure() {
gnome2_src_configure \
$(use_enable introspection)
VALAC="$(type -P false)"
}

+ 0
- 3
dev-libs/vala-common/Manifest View File

@@ -1,4 +1 @@
DIST vala-0.38.8.tar.xz 3405060 SHA256 2fa746b51cd66e43577d1da06a80b708c2875cadaafee77e9700ea35cf23882c SHA512 de4e2d3d5fbe610a6ff4c42ab006ace803d2d90fe55a9c73262c4cda4e8bd352e010c6dcc8652bf439ae220b3090a8792eab55f70e296f62992cdb8ea23a6212 WHIRLPOOL 777b37e59d5a4b42a51cf217d0f4f7b1c860d0f506582856b1cd4d45de2da5adc01195306e32b40dfc7c6a4cebf87438bc4bb741f56d0b7706ea1ada84ab3bb7
DIST vala-0.39.7.tar.xz 3311764 SHA256 a54ec96125fdb63dbf96a8a3a65df41fdd88a617c1354088b5e10f8f0c89914d SHA512 5a801ed93af1cbe6c4739f6ed114ba7d598a537983b34f0e288304919d890f83e2f8658f1aa019670162382ec47fc4489e0aec2187b00ee3f6ddd494e0eb2068 WHIRLPOOL ff8950bd857ced4b408961930b049acf025b8249ee1a3ee76146d8fdc57e99acee0150636542794f7dc393afef452b040d2cb7ac0ebd7e3ecd9668a2cd761ead
DIST vala-0.40.4.tar.xz 3346216 SHA256 379354a2a2f7ee5c4d6e0f5e88b0e32620dcd5f51972baf6d90d9f18eb689198 SHA512 e8d2b02981e2a14ac1d336fa2e8d8d6ae5c207ad8991abfab135d06b2cef823966cca21bb7881257b80b7429738d11d9639b10b8a7031cef8f14f5d72b631af7 WHIRLPOOL 8c8ac76a62bf89603eccc8c3712e68e1af544b7f2401400867e28b19ac8bc7c02d6ab3e6fc4129095c0ab22cada3edfe52bd0d72ed849db5df6b46a06c3ee165
DIST vala-0.40.6.tar.xz 3351248 SHA256 6da450f1a73e0f1e17506e68cce5b9e8996349e576d3f8cb6b0b73ee22e44be2 SHA512 08d609d0a3e7acbf09eb720d19e2a6869be32a57f41e8c2c0f175712ed89f927e33d6080bc62b4eddeda586d720b0b17635828633fe0787b903c6b7b6354b6a5 WHIRLPOOL 0d9808f172347f42ab0429fc1f7c8670e4cf23823a20beafbf39b90eea7bd1b78f94c7fceb716974ad38fba9241001f1d6a929aa361ea4406ed3ce1352487da1

+ 0
- 76
dev-libs/vala-common/vala-common-0.38.8.ebuild View File

@@ -1,76 +0,0 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6
GNOME_ORG_MODULE="vala"

inherit gnome.org

DESCRIPTION="Build infrastructure for packages that use Vala"
HOMEPAGE="https://wiki.gnome.org/Projects/Vala"

LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~x64-macos ~x64-solaris"
IUSE=""

# Previously ${PN} was part of dev-lang/vala
RDEPEND="
!<dev-lang/vala-0.10.4-r2
!<dev-lang/vala-0.12.1-r1:0.12
!<dev-lang/vala-0.14.2-r2:0.14
!<dev-lang/vala-0.16.1-r2:0.16
!<dev-lang/vala-0.17.5:0.18
"
DEPEND=""

src_configure() { :; }

src_compile() { :; }

src_install() {
insinto /usr/share/aclocal
doins vala.m4 vapigen/vapigen.m4
insinto /usr/share/vala
doins vapigen/Makefile.vapigen
}

pkg_postinst() {
# Hack to prevent alternatives_auto_makesym in previously installed
# dev-lang/vala's pkg_postrm from overwriting vala-common's files
if has_version '<dev-lang/vala-0.10.4-r2:0.10' && [[ -f "${EROOT}usr/share/aclocal/vala-0-10.m4" ]]; then
ebegin "Removing old vala-0.10 macros"
rm "${EROOT}usr/share/aclocal/vala-0-10.m4" &> /dev/null
eend $?
fi
if has_version '<dev-lang/vala-0.12.1-r1:0.12' && [[ -f "${EROOT}usr/share/aclocal/vala-0-12.m4" ]]; then
ebegin "Removing old vala-0.12 macros"
rm "${EROOT}usr/share/aclocal/vala-0-12.m4" &> /dev/null
eend $?
fi
if has_version '<dev-lang/vala-0.14.2-r2:0.14' && [[ -f "${EROOT}usr/share/aclocal/vala-0-14.m4" ]]; then
ebegin "Removing old vala-0.14 macros"
rm "${EROOT}usr/share/aclocal/vala-0-14.m4" &> /dev/null
eend $?
fi
if has_version '<dev-lang/vala-0.16.1-r2:0.16' && [[ -f "${EROOT}usr/share/aclocal/vala-0-16.m4" ]]; then
ebegin "Removing old vala-0.16 macros"
rm "${EROOT}usr/share/aclocal/vala-0-14.m4" &> /dev/null
eend $?
if [[ -f "${EROOT}usr/share/vala-0.16/Makefile.vapigen" ]]; then
ebegin "Removing old vala-0.16 makefile template"
rm "${EROOT}usr/share/vala-0.16/Makefile.vapigen" &> /dev/null
eend $?
fi
fi
if has_version '<dev-lang/vala-0.17.5:0.18' && [[ -f "${EROOT}usr/share/aclocal/vala-0-18.m4" ]]; then
ebegin "Removing old vala-0.18 macros"
rm "${EROOT}usr/share/aclocal/vala-0-12.m4" &> /dev/null
eend $?
if [[ -f "${EROOT}usr/share/vala-0.18/Makefile.vapigen" ]]; then
ebegin "Removing old vala-0.18 makefile template"
rm "${EROOT}usr/share/vala-0.18/Makefile.vapigen" &> /dev/null
eend $?
fi
fi
}

+ 0
- 76
dev-libs/vala-common/vala-common-0.39.7.ebuild View File

@@ -1,76 +0,0 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6
GNOME_ORG_MODULE="vala"

inherit gnome.org

DESCRIPTION="Build infrastructure for packages that use Vala"
HOMEPAGE="https://wiki.gnome.org/Projects/Vala"

LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~x64-macos ~x64-solaris"
IUSE=""

# Previously ${PN} was part of dev-lang/vala
RDEPEND="
!<dev-lang/vala-0.10.4-r2
!<dev-lang/vala-0.12.1-r1:0.12
!<dev-lang/vala-0.14.2-r2:0.14
!<dev-lang/vala-0.16.1-r2:0.16
!<dev-lang/vala-0.17.5:0.18
"
DEPEND=""

src_configure() { :; }

src_compile() { :; }

src_install() {
insinto /usr/share/aclocal
doins vala.m4 vapigen/vapigen.m4
insinto /usr/share/vala
doins vapigen/Makefile.vapigen
}

pkg_postinst() {
# Hack to prevent alternatives_auto_makesym in previously installed
# dev-lang/vala's pkg_postrm from overwriting vala-common's files
if has_version '<dev-lang/vala-0.10.4-r2:0.10' && [[ -f "${EROOT}usr/share/aclocal/vala-0-10.m4" ]]; then
ebegin "Removing old vala-0.10 macros"
rm "${EROOT}usr/share/aclocal/vala-0-10.m4" &> /dev/null
eend $?
fi
if has_version '<dev-lang/vala-0.12.1-r1:0.12' && [[ -f "${EROOT}usr/share/aclocal/vala-0-12.m4" ]]; then
ebegin "Removing old vala-0.12 macros"
rm "${EROOT}usr/share/aclocal/vala-0-12.m4" &> /dev/null
eend $?
fi
if has_version '<dev-lang/vala-0.14.2-r2:0.14' && [[ -f "${EROOT}usr/share/aclocal/vala-0-14.m4" ]]; then
ebegin "Removing old vala-0.14 macros"
rm "${EROOT}usr/share/aclocal/vala-0-14.m4" &> /dev/null
eend $?
fi
if has_version '<dev-lang/vala-0.16.1-r2:0.16' && [[ -f "${EROOT}usr/share/aclocal/vala-0-16.m4" ]]; then
ebegin "Removing old vala-0.16 macros"
rm "${EROOT}usr/share/aclocal/vala-0-14.m4" &> /dev/null
eend $?
if [[ -f "${EROOT}usr/share/vala-0.16/Makefile.vapigen" ]]; then
ebegin "Removing old vala-0.16 makefile template"
rm "${EROOT}usr/share/vala-0.16/Makefile.vapigen" &> /dev/null
eend $?
fi
fi
if has_version '<dev-lang/vala-0.17.5:0.18' && [[ -f "${EROOT}usr/share/aclocal/vala-0-18.m4" ]]; then
ebegin "Removing old vala-0.18 macros"
rm "${EROOT}usr/share/aclocal/vala-0-12.m4" &> /dev/null
eend $?
if [[ -f "${EROOT}usr/share/vala-0.18/Makefile.vapigen" ]]; then
ebegin "Removing old vala-0.18 makefile template"
rm "${EROOT}usr/share/vala-0.18/Makefile.vapigen" &> /dev/null
eend $?
fi
fi
}

+ 0
- 76
dev-libs/vala-common/vala-common-0.40.4.ebuild View File

@@ -1,76 +0,0 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6
GNOME_ORG_MODULE="vala"

inherit gnome.org

DESCRIPTION="Build infrastructure for packages that use Vala"
HOMEPAGE="https://wiki.gnome.org/Projects/Vala"

LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~x64-macos ~x64-solaris"
IUSE=""

# Previously ${PN} was part of dev-lang/vala
RDEPEND="
!<dev-lang/vala-0.10.4-r2
!<dev-lang/vala-0.12.1-r1:0.12
!<dev-lang/vala-0.14.2-r2:0.14
!<dev-lang/vala-0.16.1-r2:0.16
!<dev-lang/vala-0.17.5:0.18
"
DEPEND=""

src_configure() { :; }

src_compile() { :; }

src_install() {
insinto /usr/share/aclocal
doins vala.m4 vapigen/vapigen.m4
insinto /usr/share/vala
doins vapigen/Makefile.vapigen
}

pkg_postinst() {
# Hack to prevent alternatives_auto_makesym in previously installed
# dev-lang/vala's pkg_postrm from overwriting vala-common's files
if has_version '<dev-lang/vala-0.10.4-r2:0.10' && [[ -f "${EROOT}usr/share/aclocal/vala-0-10.m4" ]]; then
ebegin "Removing old vala-0.10 macros"
rm "${EROOT}usr/share/aclocal/vala-0-10.m4" &> /dev/null
eend $?
fi
if has_version '<dev-lang/vala-0.12.1-r1:0.12' && [[ -f "${EROOT}usr/share/aclocal/vala-0-12.m4" ]]; then
ebegin "Removing old vala-0.12 macros"
rm "${EROOT}usr/share/aclocal/vala-0-12.m4" &> /dev/null
eend $?
fi
if has_version '<dev-lang/vala-0.14.2-r2:0.14' && [[ -f "${EROOT}usr/share/aclocal/vala-0-14.m4" ]]; then
ebegin "Removing old vala-0.14 macros"
rm "${EROOT}usr/share/aclocal/vala-0-14.m4" &> /dev/null
eend $?
fi
if has_version '<dev-lang/vala-0.16.1-r2:0.16' && [[ -f "${EROOT}usr/share/aclocal/vala-0-16.m4" ]]; then
ebegin "Removing old vala-0.16 macros"
rm "${EROOT}usr/share/aclocal/vala-0-14.m4" &> /dev/null
eend $?
if [[ -f "${EROOT}usr/share/vala-0.16/Makefile.vapigen" ]]; then
ebegin "Removing old vala-0.16 makefile template"
rm "${EROOT}usr/share/vala-0.16/Makefile.vapigen" &> /dev/null
eend $?
fi
fi
if has_version '<dev-lang/vala-0.17.5:0.18' && [[ -f "${EROOT}usr/share/aclocal/vala-0-18.m4" ]]; then
ebegin "Removing old vala-0.18 macros"
rm "${EROOT}usr/share/aclocal/vala-0-12.m4" &> /dev/null
eend $?
if [[ -f "${EROOT}usr/share/vala-0.18/Makefile.vapigen" ]]; then
ebegin "Removing old vala-0.18 makefile template"
rm "${EROOT}usr/share/vala-0.18/Makefile.vapigen" &> /dev/null
eend $?
fi
fi
}

+ 0
- 1
dev-perl/Term-Animation/Manifest View File

@@ -1 +0,0 @@
DIST Term-Animation-2.6.tar.gz 19395 SHA256 7d5c3c2d4f9b657a8b1dce7f5e2cbbe02ada2e97c72f3a0304bf3c99d084b045 SHA512 5d2c3e18e70d19fead2a2ad2d09bfb03f3f3d569f472ea43449799c089254a14ee9c4e695d5c93bda2a30d6e7538566c16a522ceac3c747a5cf0e522f21f1e18 WHIRLPOOL 6aca6fb8a492d6c276be0e7789ccb4ba2efcb635ce9f97737c69ff9135fc06a46624c9d333c50abb3e4488fbd99fbfe9b7f70a7e7120a38d0969d94ec1d252cc

+ 0
- 24
dev-perl/Term-Animation/Term-Animation-2.6.ebuild View File

@@ -1,24 +0,0 @@
# Copyright © 2009, 2010, 2011, 2012, 2013 James Rowe <jnrowe@gmail.com>
# Distributed under the terms of the GNU General Public License v2

EAPI=5

MODULE_AUTHOR=KBAUCOM

inherit perl-module

DESCRIPTION="ASCII sprite animation framework"

SLOT="0"
LICENSE="Artistic"
KEYWORDS="amd64 x86"
IUSE=""

SRC_TEST="do"

DEPEND="dev-perl/Curses"
RDEPEND="${DEPEND}"

src_test() {
perl-module_src_test
}

+ 0
- 1
games-fps/urbanterror/Manifest View File

@@ -1 +0,0 @@
DIST urbanterror-4.3.3_p20180218.tar.gz 10069644 SHA256 2f97ba0bd1fdd0a953f5888c9d385102f206336de417aa3cccff5884af52ce60 SHA512 e7f433b9971f5992efedee96123fe7c7665b6c7fa4a516df281e1f3635a9d56a653310e38f326a8e53640ed0a7d8e3bf6b44c08d70b8378d1ccdd75c05b31dc8 WHIRLPOOL 3b2cd8b46f611d2d8b61a8befae003fa795d3cea9650f0a72d83453ac84e7c58bb890a1b5f59b3bcf8c6cf21a0ef1e627db854155470dd026fe4a9b48cfd69c0

+ 0
- 73
games-fps/urbanterror/files/urbanterror-4.3-fix-build_system.patch View File

@@ -1,73 +0,0 @@
Author: Nils Freydank <holgersson@posteo.de>
Date: Fri Nov 17 20:30:00 2017 +0100

Respect CFLAGS, CPPFLAGS etc. This patch is inspired
by hasufell’s patch.

--- a/Makefile 2017-03-31 11:08:58.419210817 +0200
+++ b/Makefile 2017-11-17 20:30:00.000000000 +0100
@@ -223,7 +223,7 @@
ifndef USE_ALTGAMMA
# Clearskies - X11-based gamma for Linux
USE_ALTGAMMA=1
-endif
+ endif
ifndef USE_SKEETMOD
USE_SKEETMOD=0
@@ -306,34 +306,33 @@
CLIENT_EXTRA_FILES=
ifneq (,$(findstring "$(PLATFORM)", "linux" "gnu_kfreebsd" "kfreebsd-gnu" "gnu"))
- BASE_CFLAGS = -Wall -fno-strict-aliasing -Wimplicit -Wstrict-prototypes \
- -pipe -DUSE_ICON -DARCH_STRING=\\\"$(ARCH)\\\"
+ BASE_CFLAGS = -DUSE_ICON -DARCH_STRING=\\\"$(ARCH)\\\"
CLIENT_CFLAGS += $(SDL_CFLAGS)
- OPTIMIZEVM = -O3
- OPTIMIZE = $(OPTIMIZEVM) -ffast-math
+ OPTIMIZEVM =
+ OPTIMIZE = $(OPTIMIZEVM)
ifeq ($(ARCH),x86_64)
- OPTIMIZEVM = -O3
- OPTIMIZE = $(OPTIMIZEVM) -ffast-math
+ OPTIMIZEVM =
+ OPTIMIZE = $(OPTIMIZEVM)
HAVE_VM_COMPILED = true
else
ifeq ($(ARCH),x86)
- OPTIMIZEVM = -O3 -march=i586
- OPTIMIZE = $(OPTIMIZEVM) -ffast-math
+ OPTIMIZEVM =
+ OPTIMIZE = $(OPTIMIZEVM)
HAVE_VM_COMPILED=true
else
ifeq ($(ARCH),ppc)
- BASE_CFLAGS += -maltivec
+ BASE_CFLAGS +=
HAVE_VM_COMPILED=true
endif
ifeq ($(ARCH),ppc64)
- BASE_CFLAGS += -maltivec
+ BASE_CFLAGS +=
HAVE_VM_COMPILED=true
endif
ifeq ($(ARCH),sparc)
- OPTIMIZE += -mtune=ultrasparc3 -mv8plus
- OPTIMIZEVM += -mtune=ultrasparc3 -mv8plus
+ OPTIMIZE +=
+ OPTIMIZEVM +=
HAVE_VM_COMPILED=true
endif
ifeq ($(ARCH),armv7l)
@@ -1124,7 +1123,7 @@
define DO_CC
$(echo_cmd) "CC $<"
-$(Q)$(CC) $(NOTSHLIBCFLAGS) $(CFLAGS) $(CLIENT_CFLAGS) $(OPTIMIZE) -o $@ -c $<
+$(Q)$(CC) $(NOTSHLIBCFLAGS) $(CFLAGS) $(CPPFLAGS) $(CLIENT_CFLAGS) $(OPTIMIZE) -o $@ -c $<
endef
define DO_REF_CC


+ 0
- 59
games-fps/urbanterror/files/urbanterror-4.3.3_p20180218-fix-loop.patch View File

@@ -1,59 +0,0 @@
Author: Nils Freydank <holgersson@posteo.de>
Date: Wed Mar 14 21:00:00 2017 +0100

Imported patch written by Tom Murphy via github.com:

https://github.com/ioquake/ioq3/pull/356

diff --git a/code/sys/con_tty.c b/code/sys/con_tty.c
index 2c2b595cf..58f178ade 100644
--- a/code/sys/con_tty.c
+++ b/code/sys/con_tty.c
@@ -73,20 +73,6 @@ static int hist_current = -1, hist_count = 0;
#define TTY_CONSOLE_PROMPT "]"
#endif
-/*
-==================
-CON_FlushIn
-
-Flush stdin, I suspect some terminals are sending a LOT of shit
-FIXME relevant?
-==================
-*/
-static void CON_FlushIn( void )
-{
- char key;
- while (read(STDIN_FILENO, &key, 1)!=-1);
-}
-
/*
==================
CON_Back
@@ -441,7 +427,7 @@ char *CON_Input( void )
TTY_con = *history;
CON_Show();
}
- CON_FlushIn();
+ tcflush(STDIN_FILENO, TCIFLUSH);
return NULL;
break;
case 'B':
@@ -455,7 +441,7 @@ char *CON_Input( void )
Field_Clear(&TTY_con);
}
CON_Show();
- CON_FlushIn();
+ tcflush(STDIN_FILENO, TCIFLUSH);
return NULL;
break;
case 'C':
@@ -467,7 +453,7 @@ char *CON_Input( void )
}
}
Com_DPrintf("droping ISCTL sequence: %d, TTY_erase: %d\n", key, TTY_erase);
- CON_FlushIn();
+ tcflush(STDIN_FILENO, TCIFLUSH);
return NULL;
}
if (TTY_con.cursor >= sizeof(text) - 1)

+ 0
- 168
games-fps/urbanterror/urbanterror-4.3.3_p20180218.ebuild View File

@@ -1,168 +0,0 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI="6"
inherit eapi7-ver flag-o-matic toolchain-funcs xdg-utils

DESCRIPTION="Hollywood tactical shooter based on the ioquake3 engine"
HOMEPAGE="http://urbanterror.info https://github.com/mickael9/ioq3"

if [[ ${PV} == *9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/mickael9/ioq3.git"
EGIT_BRANCH="urt"
else
COMMIT_ID="d93f05de38a6cae60fbf0f073aace64b3adc7aaf"
SRC_URI="https://github.com/mickael9/ioq3/archive/${COMMIT_ID}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/ioq3-${COMMIT_ID}"
KEYWORDS="~amd64 ~x86"
fi

LICENSE="GPL-2"
SLOT="0"
IUSE="+altgamma +client +curl debug mumble openal +opus server +skeetshootmod voip vorbis"
REQUIRED_USE="|| ( client server )
voip? ( opus )"

DOCS=( ChangeLog README.md README.ioq3.md md4-readme.txt )
PATCHES=(
"${FILESDIR}"/${PN}-4.3-fix-build_system.patch
"${FILESDIR}"/${PN}-4.3.3_p20180218-fix-loop.patch
)

RDEPEND="
client? (
media-libs/libsdl2:=[X,sound,joystick,opengl,video]
mumble? ( media-sound/mumble:= )
openal? ( media-libs/openal:= )
opus? ( media-libs/opusfile:= )
vorbis? ( media-libs/libvorbis:= )
)
curl? ( net-misc/curl )
~games-fps/urbanterror-data-4.3.3
sys-libs/zlib:=[minizip]
virtual/jpeg:0
"

DEPEND="${RDEPEND}"

pkg_pretend() {
if use client; then
if ! use openal && ! use opus && ! use vorbis; then
ewarn
ewarn "No sound implementation selected. Enable 'openal', 'opus' or 'vorbis' USE flag to get sound!"
fi
fi
}

src_configure() {
default

tc-export CC
}

src_compile() {
# Workaround for used zlib macro, which got renamed in Gentoo
# wrt bug #449510
append-cppflags "-DOF=_Z_OF"
append-cflags "-DOF=_Z_OF"

local my_arch=$(usex amd64 "x86_64" "i386")

emake \
ARCH=${my_arch} \
DEFAULT_BASEDIR="/usr/share/urbanterror" \
BUILD_CLIENT=$(usex "client" 1 0) \
BUILD_SERVER=$(usex "server" 1 0) \
BUILD_BASEGAME=1 \
BUILD_MISSIONPACK=0 \
BUILD_GAME_SO=0 \
BUILD_GAME_QVM=0 \
BUILD_STANDALONE=1 \
SERVERBIN="Quake3-UrT-Ded" \
CLIENTBIN="Quake3-UrT" \
USE_RENDERER_DLOPEN=0 \
USE_YACC=0 \
BASEGAME="q3ut4"\
BASEGAME_CFLAGS="${CFLAGS}" \
USE_OPENAL=$(usex "openal" 1 0) \
USE_OPENAL_DLOPEN=$(usex "openal" 1 0) \
USE_CURL=$(usex "curl" 1 0) \
USE_CURL_DLOPEN=$(usex "curl" 1 0) \
USE_CODEC_VORBIS=$(usex "vorbis" 1 0) \
USE_CODEC_OPUS=$(usex "opus" 1 0) \
USE_MUMBLE=$(usex "mumble" 1 0) \
USE_SKEETMOD=$(usex "skeetshootmod" 1 0) \
USE_VOIP=$(usex "mumble" 1 0) \
USE_INTERNAL_LIBS=0 \
USE_LOCAL_HEADERS=0 \
USE_ALTGAMMA=$(usex "altgamma" 1 0) \
$(usex "debug" "debug" "release")
}

src_install() {
local my_arch=$(usex amd64 "x86_64" "i386")

if use client; then
newbin build/$(usex debug "debug" "release")-linux-${my_arch}/Quake3-UrT.${my_arch} ${PN}
# Shooter as defined in https://specifications.freedesktop.org/menu-spec/latest/apas02.html
make_desktop_entry ${PN} "UrbanTerror" ${PN}
fi

if use server && ! use client; then
# dedicated server only
newbin build/$(usex debug "debug" "release")-linux-${my_arch}/Quake3-UrT-Ded.${my_arch} ${PN}-ded
fi

einstalldocs
}

pkg_postinst() {
use client && xdg_desktop_database_update

if [[ -z "${REPLACING_VERSIONS}" ]]; then
# ^this is a new installation, so:
if use openal; then
elog ""
elog "You might need to set:"
elog " seta s_useopenal \"1\""
elog "in your ~/.q3a/q3ut4/q3config.cfg for openal to work."
fi

if use altgamma; then
elog ""
elog "You might need to set:"
elog " seta r_altgamma \"1\""
elog "in your ~/.q3a/q3ut4/q3config.cfg for altgamma to work."
elog "Be aware that altgamme works on a global scale, so external"
elog "applications like redshift can cause trouble. Disabling"
elog "these while playing is a usable workaround."
fi

if ! use altgamma; then
elog ""
elog "If you are using a modesetting graphics driver you might"
elog "consider setting USE=\"altgamma\"."
elog "For details take a look at:"
elog "https://bugs.freedesktop.org/show_bug.cgi?id=27222"
fi

if ! use client; then
elog ""
elog "You disabled client support. You won't be able to connect"
elog "to any servers and play. If you want to do so, enable"
elog "USE=\"client\"."
fi

if use skeetshootmod; then
elog ""
elog "You might need to set:"
elog " seta sv_skeetshoot \"1\""
elog "in your ~/.q3a/q3ut4/q3config.cfg to use the skeetshoot mod."
fi
fi
}

pkg_postrm() {
use client && xdg_desktop_database_update
}

+ 0
- 1
games-misc/asciiquarium/Manifest View File

@@ -1 +0,0 @@
DIST asciiquarium_1.1.tar.gz 15436 SHA256 1b08c6613525e75e87546f4e8984ab3b33f1e922080268c749f1777d56c9d361 SHA512 109da0aaba272465aa2cf5ce010e9ca1ece3be5be996dfe12709b3c10e44572492196b1852e8c103ed89d2c6efd0b05e454a718267cbcc4924806d30a072d926 WHIRLPOOL 968020520c5f2a4de60870327d575233ee8d90af0bcb6666ddb0d0002cd29550f2a1caaf69022a80cbf661d258a4e35f17e5b73a08fb655d72cbf67246ec58d2

+ 0
- 27
games-misc/asciiquarium/asciiquarium-1.1.ebuild View File

@@ -1,27 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=4

MY_P=${P/-/_}
DESCRIPTION="an aquarium/sea animation in ASCII art"
HOMEPAGE="http://www.robobunny.com/projects/asciiquarium/html/"
SRC_URI="http://www.robobunny.com/projects/asciiquarium/${MY_P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

DEPEND=">=dev-lang/perl-5.6
dev-perl/Term-Animation"
RDEPEND="${DEPEND}"

S=${WORKDIR}/${MY_P}

src_install()
{
dodoc README CHANGES
dobin asciiquarium
}

+ 0
- 32
media-libs/libfilteraudio/libfilteraudio-9999.ebuild View File

@@ -1,32 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=5

inherit eutils git-2 toolchain-funcs

DESCRIPTION="Lightweight audio filtering library made from webrtc code."
HOMEPAGE="https://github.com/irungentoo/filter_audio"
SRC_URI=""
EGIT_REPO_URI="https://github.com/irungentoo/filter_audio"

LICENSE="BSD"
SLOT="0"
KEYWORDS=""
IUSE=""

DEPEND=""
RDEPEND="${DEPEND}"

src_prepare() {
epatch_user
}

src_compile() {
emake CC="$(tc-getCC)"
}

src_install() {
emake DESTDIR="${D}" PREFIX="/usr" LIBDIR="$(get_libdir)" install
}

+ 0
- 1
media-video/nvidia-settings/Manifest View File

@@ -1 +0,0 @@
DIST nvidia-settings-340.58.tar.bz2 1549850 SHA256 21cd29fea50e62766d1985c84f6d6de8efa911e32abcbff8e7ccf0e43ebe25c0 SHA512 4c581a940c99fac28564ab6154f47cae496ebfda6339b7f10c5decf8fea52b6c12e5b63dfcf78f8365909e49539560a50338edb17117881b6a03c196bd51836c WHIRLPOOL b486032339c4f8c4767239e3a4b001667bceb2c3ef5f3e94f08d1c54c60a958e1c76456415769ce9ff0503b6eb3d903aa89599a0234e08447c33671c598e66c8

+ 0
- 77
media-video/nvidia-settings/nvidia-settings-340.58-r1.ebuild View File

@@ -1,77 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=5

inherit eutils multilib toolchain-funcs

DESCRIPTION="NVIDIA Linux X11 Settings Utility"
HOMEPAGE="http://www.nvidia.com/"
SRC_URI="ftp://download.nvidia.com/XFree86/${PN}/${P}.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd"
IUSE="examples"

COMMON_DEPEND="x11-libs/libX11
x11-libs/libXext
x11-libs/libXxf86vm
x11-libs/gtk+:2
x11-libs/gdk-pixbuf[X]
media-libs/mesa
x11-libs/pango[X]
x11-libs/libXv
x11-libs/libXrandr
dev-libs/glib:2
dev-libs/jansson"

RDEPEND="
x11-drivers/nvidia-drivers
${COMMON_DEPEND}
x11-libs/libvdpau"
DEPEND="${RDEPEND}
virtual/pkgconfig
x11-proto/xproto"

src_compile() {
einfo "Building libXNVCtrl..."
emake -C src/ \
CC="$(tc-getCC)" \
AR="$(tc-getAR)" \
RANLIB="$(tc-getRANLIB)" \
build-xnvctrl

einfo "Building nvidia-settings..."
emake -C src/ \
CC="$(tc-getCC)" \
LD="$(tc-getLD)" \
STRIP_CMD="$(type -P true)" \
NV_VERBOSE=1 \
NV_USE_BUNDLED_LIBJANSSON=0
}

src_install() {
emake -C src/ DESTDIR="${D}" PREFIX=/usr NV_USE_BUNDLED_LIBJANSSON=0 install

insinto /usr/$(get_libdir)
doins src/libXNVCtrl/libXNVCtrl.a

insinto /usr/include/NVCtrl
doins src/libXNVCtrl/*.h

# doicon doc/${PN}.png # Installed through nvidia-drivers
make_desktop_entry ${PN} "NVIDIA X Server Settings" ${PN} Settings

# bug 412569 - Installed through nvidia-drivers
# rm -rf "${D}"/usr/share/man

dodoc doc/*.txt

if use examples; then
docinto examples/
dodoc samples/*.c
dodoc samples/README
fi
}

+ 0
- 1
media-video/v4l2ucp/Manifest View File

@@ -1 +0,0 @@
DIST v4l2ucp-2.0.2.tar.bz2 41380 SHA256 e525add8788fa9ce613705a2a88947d4d1ef1c2bde8aa9f3e8ef19207271c1be SHA512 4c1e4e9fa5f8388a179632918edda2f5b84737370bf6eb67fe4b05215f0fc67f59df4749d7e86aa4da288da0eedf646978e0c84332054ec561a7c814b079fefc WHIRLPOOL 753323c49f821e7121dcc3a7c0a7861ae14bdba3e7ef72f2ab483ef4c4971bcb3e23d993ad815a6f1d75d77cdf027f79522eb3947d4b5efd0399acf6804d57d7

+ 0
- 13
media-video/v4l2ucp/files/v4l2ucp-2.0.2-videodev2.patch View File

@@ -1,13 +0,0 @@
diff --git a/src/v4l2ctrl.c b/src/v4l2ctrl.c
index 4eccb7b..393303c 100644
--- a/src/v4l2ctrl.c
+++ b/src/v4l2ctrl.c
@@ -26,7 +26,7 @@
#include <sys/stat.h>
#include <sys/types.h>
#include <linux/types.h>
-#include <linux/videodev.h>
+#include <linux/videodev2.h>
#include <libv4l2.h>
#define FORMATW "%u:%31s:%d\n"

+ 0
- 22
media-video/v4l2ucp/v4l2ucp-2.0.2-r2.ebuild View File

@@ -1,22 +0,0 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=2

inherit cmake-utils eutils

DESCRIPTION="A universal control panel for all Video for Linux Two (V4L2) devices"
HOMEPAGE="http://v4l2ucp.sf.net/"
SRC_URI="mirror://sourceforge/v4l2ucp/${P}.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

RDEPEND="media-libs/libv4l
dev-qt/qtgui:4"
DEPEND="${RDEPEND}"

PATCHES=( "${FILESDIR}/${P}-videodev2.patch" )

+ 0
- 28
net-im/utox/utox-9999.ebuild View File

@@ -1,28 +0,0 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=5

inherit gnome2-utils cmake-utils git-r3

DESCRIPTION="Lightweight Tox client"
HOMEPAGE="https://github.com/uTox/uTox"
EGIT_REPO_URI="https://github.com/uTox/uTox.git
git://github.com/uTox/uTox.git"

LICENSE="GPL-3"
SLOT="0"
IUSE="+dbus +filter_audio"

RDEPEND="net-libs/tox[av]
media-libs/freetype
filter_audio? ( media-libs/libfilteraudio )
media-libs/libv4l
media-libs/libvpx
media-libs/openal
x11-libs/libX11
x11-libs/libXext
dbus? ( sys-apps/dbus )"
DEPEND="${RDEPEND}
virtual/pkgconfig"

+ 0
- 1
sys-apps/gcp/Manifest View File

@@ -1 +0,0 @@
DIST gcp-0.1.3.tar.bz2 30946 SHA256 e53c6dd6146cb81421f10fe31c1a7175c24c4aabbc235e4e908b6dbab4e0c8bd SHA512 856561d7d1514b7e90ed4e976b4572b6a82113edb9c3127168053d8993f67ea4efa1d3d5543c318dd961ee9d42679232444e1f397b1c7ba22bfba6b5d7acfc76 WHIRLPOOL 3d1349eef678a614c4b37624829c1063e0c650ad05845d26222f731b5c8fdca6415a86e73bc7e346383b32b7395961115e20ec38f845ce12ed3ce835bcd18c0e

+ 0
- 27
sys-apps/gcp/gcp-0.1.3.ebuild View File

@@ -1,27 +0,0 @@
# Copyright 2012-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=5

PYTHON_COMPAT=( python{2_5,2_6,2_7} )

inherit distutils-r1

DESCRIPTION="gcp (Goffi's cp) is a file copier with queuing, progress, FAT
support."
HOMEPAGE="http://wiki.goffi.org/wiki/Gcp"
SRC_URI="ftp://ftp.goffi.org/${PN}/${P}.tar.bz2"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
RDEPEND="dev-python/progressbar[${PYTHON_USEDEP}]"

src_prepare() {
sed -i "s#.\+share/doc.\+#],#" setup.py
}

DOCS=( README CHANGELOG COPYING )

+ 0
- 17
sys-apps/uksmstat/uksmstat-9999.ebuild View File

@@ -1,17 +0,0 @@
# Copyright 2008-2012 Funtoo Technologies
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=4
inherit git-r3 cmake-utils
DESCRIPTION="Small tool to show UKSM statistics."
HOMEPAGE="http://github.com/pfactum/uksmstat"
EGIT_REPO_URI="https://github.com/pfactum/uksmstat.git"