drgeo: drop

authored by

Weijia Wang and committed by
Anderson Torres
4a6dff8f 411b1527

+1 -103
-30
pkgs/applications/science/geometry/drgeo/default.nix
··· 1 - { lib, stdenv, fetchurl, libglade, gtk2, guile, libxml2, perl 2 - , intltool, libtool, pkg-config }: 3 - 4 - stdenv.mkDerivation rec { 5 - pname = "drgeo"; 6 - version = "1.1.0"; 7 - 8 - hardeningDisable = [ "format" ]; 9 - 10 - src = fetchurl { 11 - url = "mirror://sourceforge/ofset/${pname}-${version}.tar.gz"; 12 - sha256 = "05i2czgzhpzi80xxghinvkyqx4ym0gm9f38fz53idjhigiivp4wc"; 13 - }; 14 - patches = [ ./struct.patch ]; 15 - 16 - nativeBuildInputs = [ pkg-config intltool ]; 17 - buildInputs = [libglade gtk2 guile libxml2 18 - perl libtool ]; 19 - 20 - prebuild = '' 21 - cp drgeo.desktop.in drgeo.desktop 22 - ''; 23 - 24 - meta = with lib; { 25 - description = "Interactive geometry program"; 26 - homepage = "https://sourceforge.net/projects/ofset"; 27 - license = licenses.gpl2; 28 - platforms = platforms.linux; 29 - }; 30 - }
-68
pkgs/applications/science/geometry/drgeo/struct.patch
··· 1 - -- drgeo-1.1.0/debian/patches/00list 2 - ++ drgeo-1.1.0/debian/patches/00list 3 - @ -7 +7 @@ 4 - 5 - 07-fix_ftbfs-gcc-4.5.dpatch 6 - nly in patch2: 7 - nchanged: 8 - -- drgeo-1.1.0.orig/debian/patches/07-fix_ftbfs-gcc-4.5.dpatch 9 - ++ drgeo-1.1.0/debian/patches/07-fix_ftbfs-gcc-4.5.dpatch 10 - @ -0,0 +1,58 @@ 11 - #! /bin/sh /usr/share/dpatch/dpatch-run 12 - ## 07-fix_ftbfs-gcc-4.5.dpatch by Fabrice Coutadeur <fabric...@ubuntu.com> 13 - ## 14 - ## Description: fix FTBFS with gcc 4.5 with undefined reference to 15 - ## `drgeoDialogData' 16 - ## Author: Petr Gajdos <pgaj...@suse.cz> 17 - ## Origin: https://build.opensuse.org/package/files?package=drgeo&project=openSUSE%3A11.3%3AContrib 18 - 19 - ...@dpatch@ 20 - diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' drgeo-1.1.0~/geo/drgeo_dialog.cc drgeo-1.1.0/geo/drgeo_dialog.cc 21 - --- drgeo-1.1.0~/geo/drgeo_dialog.cc 2003-10-27 10:17:25.000000000 +0000 22 - +++ drgeo-1.1.0/geo/drgeo_dialog.cc 2010-11-13 07:26:03.258908003 +0000 23 - @@ -38,12 +38,7 @@ 24 - // Used in the style dialod callback, I know it's ugly, but so easy 25 - static drgeoFigure *selected_figure; 26 - 27 - -struct 28 - -{ 29 - - drgeoPoint mouse; 30 - - drgeoFigure *figure; 31 - -} 32 - -drgeoDialogData; 33 - +DialogData drgeoDialogData; 34 - 35 - 36 - static void drgeo_edit_dialog_cb (GtkWidget * dialog, 37 - diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' drgeo-1.1.0~/geo/drgeo_dialog.h drgeo-1.1.0/geo/drgeo_dialog.h 38 - --- drgeo-1.1.0~/geo/drgeo_dialog.h 2003-06-12 22:30:23.000000000 +0000 39 - +++ drgeo-1.1.0/geo/drgeo_dialog.h 2010-11-13 07:26:03.258908003 +0000 40 - @@ -34,4 +34,11 @@ 41 - } 42 - 43 - #endif /* __cplusplus */ 44 - + 45 - +typedef struct 46 - +{ 47 - + drgeoPoint mouse; 48 - + drgeoFigure *figure; 49 - +} DialogData; 50 - + 51 - #endif 52 - diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' drgeo-1.1.0~/geo/drgeo_figure.cc drgeo-1.1.0/geo/drgeo_figure.cc 53 - --- drgeo-1.1.0~/geo/drgeo_figure.cc 2005-07-14 07:30:01.000000000 +0000 54 - +++ drgeo-1.1.0/geo/drgeo_figure.cc 2010-11-13 07:26:03.258908003 +0000 55 - @@ -48,12 +48,7 @@ 56 - #include "drgeo_dialog.h" 57 - #include "traite.h" 58 - 59 - -extern struct 60 - -{ 61 - - drgeoPoint mouse; 62 - - drgeoFigure *figure; 63 - -} 64 - -drgeoDialogData; 65 - +extern DialogData drgeoDialogData; 66 - 67 - typedef struct drgeoSearchValue 68 - {
+1
pkgs/top-level/aliases.nix
··· 180 180 dot-http = throw "'dot-http' has been removed: abandoned by upstream. Use hurl instead."; # Added 2023-01-16 181 181 dotty = scala_3; # Added 2023-08-20 182 182 dotnet-netcore = dotnet-runtime; # Added 2021-10-07 183 + drgeo = throw "'drgeo' has been removed as it is outdated and unmaintained"; # Added 2023-10-15 183 184 dtv-scan-tables_linuxtv = dtv-scan-tables; # Added 2023-03-03 184 185 dtv-scan-tables_tvheadend = dtv-scan-tables; # Added 2023-03-03 185 186 dylibbundler = macdylibbundler; # Added 2021-04-24
-5
pkgs/top-level/all-packages.nix
··· 38828 38828 38829 38829 gama = callPackage ../applications/science/geometry/gama { }; 38830 38830 38831 - drgeo = callPackage ../applications/science/geometry/drgeo { 38832 - inherit (gnome2) libglade; 38833 - guile = guile_1_8; 38834 - }; 38835 - 38836 38831 tetgen = callPackage ../applications/science/geometry/tetgen { }; # AGPL3+ 38837 38832 tetgen_1_4 = callPackage ../applications/science/geometry/tetgen/1.4.nix { }; # MIT 38838 38833