Skip to content
This repository was archived by the owner on Apr 12, 2021. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs-channels
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 37c22b49f520
Choose a base ref
...
head repository: NixOS/nixpkgs-channels
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: c2742295fb1f
Choose a head ref
  • 8 commits
  • 8 files changed
  • 6 contributors

Commits on May 18, 2019

  1. libqglviewer: 2.6.3 -> 2.7.1

    This transitions from Qt4 to Qt5.
    lopsided98 committed May 18, 2019

    Verified

    This commit was signed with the committer’s verified signature.
    edolstra Eelco Dolstra
    Copy the full SHA
    f22a561 View commit details
  2. Copy the full SHA
    d00ff51 View commit details

Commits on Jun 7, 2019

  1. Copy the full SHA
    1e93a11 View commit details

Commits on Aug 17, 2019

  1. cgdb: 0.7.0 -> 0.7.1

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/cgdb/versions
    r-ryantm committed Aug 17, 2019
    Copy the full SHA
    706f278 View commit details

Commits on Aug 18, 2019

  1. Merge pull request #66807 from r-ryantm/auto-update/cgdb

    cgdb: 0.7.0 -> 0.7.1
    aanderse authored Aug 18, 2019
    Copy the full SHA
    49ade73 View commit details
  2. chezmoi: 1.3.0 -> 1.5.5

    jhillyerd authored and Matthieu Coudron committed Aug 18, 2019
    Copy the full SHA
    04fb859 View commit details
  3. curlie: init at 1.2.0 (#66799)

    Ma27 authored and kalbasit committed Aug 18, 2019
    Copy the full SHA
    4d5d448 View commit details
  4. Merge pull request #61655 from lopsided98/g2o-fixes

    g2o: build g2o_viewer, libqglviewer: 2.6.3 -> 2.7.1
    samueldr authored Aug 18, 2019
    Copy the full SHA
    c274229 View commit details
32 changes: 29 additions & 3 deletions pkgs/development/libraries/g2o/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{ lib, stdenv, fetchFromGitHub, cmake, eigen, suitesparse }:
{ lib, stdenv, fetchFromGitHub, cmake, eigen, suitesparse, libGLU, qt5
, libsForQt5, makeWrapper }:

stdenv.mkDerivation rec {
pname = "g2o";
@@ -11,8 +12,33 @@ stdenv.mkDerivation rec {
sha256 = "1rgrz6zxiinrik3lgwgvsmlww1m2fnpjmvcx1mf62xi1s2ma5w2i";
};

nativeBuildInputs = [ cmake ];
buildInputs = [ eigen suitesparse ];
# Removes a reference to gcc that is only used in a debug message
patches = [ ./remove-compiler-reference.patch ];

separateDebugInfo = true;

nativeBuildInputs = [ cmake makeWrapper ];
buildInputs = [ eigen suitesparse libGLU qt5.qtbase libsForQt5.libqglviewer ];

cmakeFlags = [
# Detection script is broken
"-DQGLVIEWER_INCLUDE_DIR=${libsForQt5.libqglviewer}/include/QGLViewer"
"-DG2O_BUILD_EXAMPLES=OFF"
] ++ lib.optionals stdenv.isx86_64 ([ "-DDO_SSE_AUTODETECT=OFF" ] ++ {
"default" = [ "-DDISABLE_SSE3=ON" "-DDISABLE_SSE4_1=ON" "-DDISABLE_SSE4_2=ON" "-DDISABLE_SSE4_A=ON" ];
"westmere" = [ "-DDISABLE_SSE4_A=ON" ];
"sandybridge" = [ "-DDISABLE_SSE4_A=ON" ];
"ivybridge" = [ "-DDISABLE_SSE4_A=ON" ];
"haswell" = [ "-DDISABLE_SSE4_A=ON" ];
"broadwell" = [ "-DDISABLE_SSE4_A=ON" ];
"skylake" = [ "-DDISABLE_SSE4_A=ON" ];
"skylake-avx512" = [ "-DDISABLE_SSE4_A=ON" ];
}.${stdenv.hostPlatform.platform.gcc.arch or "default"});

postInstall = ''
wrapProgram $out/bin/g2o_viewer \
--prefix QT_PLUGIN_PATH : "${qt5.qtbase}/${qt5.qtbase.qtPluginPrefix}"
'';

meta = {
description = "A General Framework for Graph Optimization";
25 changes: 25 additions & 0 deletions pkgs/development/libraries/g2o/remove-compiler-reference.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
From b9bfed09e4e3c481b7eb36bee1ff4202ccf69dee Mon Sep 17 00:00:00 2001
From: Ben Wolsieffer <benwolsieffer@gmail.com>
Date: Fri, 17 May 2019 19:05:36 -0400
Subject: [PATCH] Remove reference to compiler.

---
CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index a3f66dd..bb05bd0 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -371,7 +371,7 @@ set(G2O_HAVE_CHOLMOD ${CHOLMOD_FOUND})
set(G2O_HAVE_CSPARSE ${CSPARSE_FOUND})
set(G2O_SHARED_LIBS ${BUILD_SHARED_LIBS})
set(G2O_LGPL_SHARED_LIBS ${BUILD_LGPL_SHARED_LIBS})
-set(G2O_CXX_COMPILER "${CMAKE_CXX_COMPILER_ID} ${CMAKE_CXX_COMPILER}")
+set(G2O_CXX_COMPILER "${CMAKE_CXX_COMPILER_ID} unknown")

configure_file(config.h.in "${PROJECT_BINARY_DIR}/g2o/config.h")
install(FILES ${PROJECT_BINARY_DIR}/g2o/config.h DESTINATION ${INCLUDES_DESTINATION}/g2o)
--
2.21.0

20 changes: 10 additions & 10 deletions pkgs/development/libraries/libqglviewer/default.nix
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
{ stdenv, fetchurl, qt4, qmake4Hook, AGL }:
{ stdenv, fetchurl, qmake, qtbase, libGLU, AGL }:

stdenv.mkDerivation rec {
name = "libqglviewer-2.6.3";
version = "2.6.3";
pname = "libqglviewer";
version = "2.7.1";

src = fetchurl {
url = "http://www.libqglviewer.com/src/libQGLViewer-${version}.tar.gz";
sha256 = "00jdkyk4wg1356c3ar6nk3hyp494ya3yvshq9m57kfmqpn3inqdy";
sha256 = "08f10yk22kjdsvrqhd063gqa8nxnl749c20mwhaxij4f7rzdkixz";
};

buildInputs = [ qt4 qmake4Hook ]
nativeBuildInputs = [ qmake ];
buildInputs = [ qtbase libGLU ]
++ stdenv.lib.optional stdenv.isDarwin AGL;

postPatch =
''
cd QGLViewer
'';
postPatch = ''
cd QGLViewer
'';

meta = with stdenv.lib; {
description = "C++ library based on Qt that eases the creation of OpenGL 3D viewers";
homepage = http://libqglviewer.com/;
homepage = "http://libqglviewer.com";
license = licenses.gpl2;
platforms = platforms.all;
};
4 changes: 2 additions & 2 deletions pkgs/development/tools/misc/cgdb/default.nix
Original file line number Diff line number Diff line change
@@ -2,11 +2,11 @@

stdenv.mkDerivation rec {
name = "cgdb-${version}";
version = "0.7.0";
version = "0.7.1";

src = fetchurl {
url = "https://cgdb.me/files/${name}.tar.gz";
sha256 = "08slzg3702v5nivjhdx2bciqxc5vqcn8pc4i4lsgkcwdcrj94ymz";
sha256 = "1671gpz5gx5j0zga8xy2x7h33vqh3nij93lbb6dbb366ivjknwmv";
};

buildInputs = [ ncurses readline flex texinfo ];
6 changes: 3 additions & 3 deletions pkgs/tools/misc/chezmoi/default.nix
Original file line number Diff line number Diff line change
@@ -2,21 +2,21 @@

buildGoPackage rec {
name = "chezmoi-${version}";
version = "1.3.0";
version = "1.5.5";

goPackagePath = "github.com/twpayne/chezmoi";

src = fetchFromGitHub {
owner = "twpayne";
repo = "chezmoi";
rev = "v${version}";
sha256 = "0dvdjx5khpw62lprn06k271xfc9fdrw4c1q74vd1vffaz60yfd8d";
sha256 = "18kc3b2ncjzxivycx3mhqw9kbqp0sxmlgc2ddvhgj2vpvlkayzkh";
};

goDeps = ./deps.nix;

buildFlagsArray = [
"-ldflags=-s -w -X ${goPackagePath}/cmd.version=${version}"
"-ldflags=-s -w -X ${goPackagePath}/cmd.VersionStr=${version}"
];

meta = with stdenv.lib; {
Loading